/* nerodrift — skeuomorphic yoga studio. Bright red palette. */

html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}

:root {
  --primary: #d32f2f;
  --secondary: #ef9a9a;
  --accent: #ffd835;
  --neutral: #fafafa;
  --ink: #212121;
}

body {
  background-color: var(--neutral);
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  background-size: 18px 18px, 18px 18px, 100% 100%;
  background-position: 0 0, 9px 9px, 0 0;
  background-attachment: fixed;
}

/* ---------- Skeuomorphic cards / panels ---------- */
.skeu-card {
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 38px -18px rgba(33, 33, 33, 0.45), 0 2px 6px rgba(33, 33, 33, 0.08);
}

.skeu-inset {
  background: linear-gradient(180deg, #efefef 0%, #f9f9f9 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  box-shadow: inset 0 2px 6px rgba(33, 33, 33, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.85);
}

.skeu-leather {
  background-color: var(--primary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(160deg, #e14a4a 0%, #d32f2f 45%, #ad2020 100%);
  background-size: 14px 14px, 100% 100%;
  border: 1px solid rgba(120, 16, 16, 0.7);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 -10px 24px -12px rgba(0, 0, 0, 0.4) inset,
    0 22px 44px -20px rgba(120, 16, 16, 0.7);
}

/* ---------- Skeuomorphic buttons ---------- */
.skeu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 14px;
  padding: 0.95rem 1.7rem;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
}
.skeu-btn:active {
  transform: translateY(2px);
}

.skeu-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #e94f4f 0%, #d32f2f 55%, #b62525 100%);
  border-color: #931c1c;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -3px 8px rgba(0, 0, 0, 0.2) inset, 0 12px 22px -10px rgba(179, 30, 30, 0.7);
}
.skeu-btn-primary:hover {
  filter: brightness(1.05);
}
.skeu-btn-primary:active {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) inset;
}

.skeu-btn-accent {
  color: #4a3b00;
  background: linear-gradient(180deg, #ffe46b 0%, #ffd835 55%, #e8be1c 100%);
  border-color: #c79f13;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -3px 8px rgba(150, 110, 0, 0.25) inset,
    0 12px 22px -10px rgba(200, 160, 20, 0.7);
}
.skeu-btn-accent:hover {
  filter: brightness(1.04);
}

.skeu-btn-ghost {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 16px -10px rgba(0, 0, 0, 0.4);
}

/* ---------- Embossed circular icon badge ---------- */
.skeu-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f4d2d2 55%, #ef9a9a 100%);
  border: 1px solid rgba(160, 40, 40, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -4px 8px rgba(160, 40, 40, 0.2) inset,
    0 12px 20px -10px rgba(160, 40, 40, 0.5);
}

.skeu-coin {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff4bf 0%, #ffd835 55%, #d9b41c 100%);
  border: 2px solid #c79f13;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 -4px 8px rgba(150, 110, 0, 0.3) inset,
    0 12px 22px -10px rgba(200, 160, 20, 0.6);
  color: #4a3b00;
}

/* ---------- Avatars (team) ---------- */
.skeu-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #f07070 0%, #d32f2f 70%, #a51f1f 100%);
  border: 3px solid #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 14px 26px -12px rgba(160, 30, 30, 0.7);
}

/* ---------- Inputs (carved) ---------- */
.skeu-field {
  background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  width: 100%;
  color: var(--ink);
  box-shadow: inset 0 2px 5px rgba(33, 33, 33, 0.14);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.skeu-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: inset 0 2px 5px rgba(33, 33, 33, 0.16),
    0 0 0 3px rgba(211, 47, 47, 0.18);
}

/* ---------- Price tag ---------- */
.price-old {
  position: relative;
  color: #8a8a8a;
  text-decoration: line-through;
  font-weight: 600;
}
.price-now {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.price-badge {
  display: inline-block;
  background: linear-gradient(180deg, #ffe46b, #e8be1c);
  color: #4a3b00;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #c79f13;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 6px 12px -6px rgba(200, 160, 20, 0.6);
}

/* ---------- Nav link underline ---------- */
.nav-link {
  position: relative;
  color: var(--ink);
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* ---------- CTA pulse ---------- */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
      0 12px 22px -10px rgba(179, 30, 30, 0.7), 0 0 0 0 rgba(211, 47, 47, 0.45);
  }
  70% {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
      0 12px 22px -10px rgba(179, 30, 30, 0.7), 0 0 0 14px rgba(211, 47, 47, 0);
  }
  100% {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
      0 12px 22px -10px rgba(179, 30, 30, 0.7), 0 0 0 0 rgba(211, 47, 47, 0);
  }
}
.cta-pulse {
  animation: ctaPulse 2.4s infinite;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Accordion ---------- */
.acc-item .acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.acc-item.open .acc-body {
  max-height: 460px;
}
.acc-item .acc-icon {
  transition: transform 0.3s ease;
}
.acc-item.open .acc-icon {
  transform: rotate(45deg);
}

/* ---------- Cookie toggle ---------- */
.toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 50px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8d8d8, #efefef);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
  flex: 0 0 auto;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e2e2e2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.toggle:checked {
  background: linear-gradient(180deg, #e94f4f, #b62525);
}
.toggle:checked::after {
  transform: translateX(22px);
}
.toggle:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------- Cookie bar visibility ---------- */
.hidden-bar {
  display: none;
}

/* ---------- Misc ---------- */
.hero-photo {
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 26px 50px -22px rgba(33, 33, 33, 0.6);
  object-fit: cover;
}
