/**
 * Core Dynamic System - Reusable Components & Visual Effects
 */

/* Icons */
.ic {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ic.f {
  fill: currentColor;
  stroke: none;
}

/* Glassmorphism Card */
.glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s, border-color 0.5s;
}

.glass::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.32) 50%, rgba(52, 231, 255, 0.22) 56%, transparent 62%);
  transform: translateX(-130%) skewX(-25deg);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.glass:hover::before {
  transform: translateX(130%) skewX(-25deg);
}

/* Lift Effect */
.lift:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(52, 231, 255, 0.5);
  box-shadow: 0 35px 75px -15px rgba(0, 0, 0, 0.9), 0 0 50px 5px rgba(52, 231, 255, 0.45), inset 0 0 20px rgba(52, 231, 255, 0.22);
}

.lift.gold:hover {
  border-color: rgba(255, 200, 87, 0.6);
  box-shadow: 0 35px 75px -15px rgba(0, 0, 0, 0.9), 0 0 50px 5px rgba(229, 167, 46, 0.5), inset 0 0 20px rgba(229, 167, 46, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 15px/1 var(--fh);
  padding: 16px 26px;
  border-radius: 14px;
  transition: transform 0.35s, box-shadow 0.35s, filter 0.35s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #1a1204;
  box-shadow: 0 12px 32px -10px rgba(229, 167, 46, 0.55);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -10px rgba(229, 167, 46, 0.75), 0 0 30px rgba(255, 200, 87, 0.35);
  filter: saturate(1.1);
}

.btn-cyan {
  border: 1.5px solid rgba(52, 231, 255, 0.55);
  color: var(--cyan);
  background: rgba(52, 231, 255, 0.06);
}

.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(52, 231, 255, 0.35), inset 0 0 14px rgba(52, 231, 255, 0.15);
}

/* Scroll Reveal Animations */
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.rv.in {
  opacity: 1;
  transform: none;
}
