:root {
  --bg0: #120a18;
  --bg1: #1a0f22;
  --surface: rgba(42, 28, 58, 0.55);
  --surface2: rgba(58, 36, 72, 0.4);
  --text: #f4eef8;
  --muted: #b9a8c4;
  --accent: #e8c49a;
  --accent2: #c76b9a;
  --line: rgba(232, 196, 154, 0.15);
  --glow: rgba(199, 107, 154, 0.25);
  --radius: 20px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #fx-particles {
    opacity: 0.15 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  background: radial-gradient(ellipse 900px 600px at 80% -20%, rgba(199, 107, 154, 0.18), transparent 50%),
    radial-gradient(ellipse 700px 500px at 0% 40%, rgba(90, 50, 110, 0.35), transparent 55%),
    linear-gradient(168deg, var(--bg0) 0%, #0d0612 55%, var(--bg1) 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

#fx-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

h1,
h2,
.section__title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #f0dcc0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.narrow {
  max-width: 720px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 10000;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(18, 10, 24, 0.94), rgba(18, 10, 24, 0.75));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  flex-wrap: wrap;
}

.site-header__mark img {
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 0 28px var(--glow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    min-height: 220px;
  }
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent2);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__orb {
  position: absolute;
  inset: 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(232, 196, 154, 0.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(199, 107, 154, 0.4), transparent 50%);
  filter: blur(2px);
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.hero__ring {
  position: absolute;
  inset: 18% 22%;
  border-radius: 50%;
  border: 1px solid rgba(232, 196, 154, 0.35);
  animation: spinSlow 28s linear infinite;
}

.hero__spark {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 20%;
  right: 12%;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(135deg, rgba(199, 107, 154, 0.5), transparent);
  animation: spark 9s ease-in-out infinite;
}

@keyframes orbDrift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(4%, -3%);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spark {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: rotate(18deg) scale(1.12);
    opacity: 1;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #c76b9a, #9a4d78);
  color: #fff;
  box-shadow: 0 12px 32px rgba(154, 77, 120, 0.45);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(154, 77, 120, 0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(232, 196, 154, 0.06);
}

.btn--small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
}

.section--tight {
  padding: 1.5rem 0 2rem;
}

.section__title {
  text-align: center;
  margin-bottom: 2rem;
}

.section--offer {
  background: linear-gradient(180deg, transparent, rgba(42, 28, 58, 0.25) 40%, transparent);
}

.section--panels {
  padding-bottom: 1rem;
}

.section--contact {
  padding-bottom: 3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 196, 154, 0.35);
}

.feature__icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Offer */
.offer {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, rgba(58, 36, 72, 0.65), rgba(26, 15, 34, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-items: start;
}

@media (max-width: 720px) {
  .offer {
    grid-template-columns: 1fr;
  }
}

.offer__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
}

.offer__img {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
}

.offer__rating {
  margin-bottom: 0.5rem;
}

.offer__stars {
  color: var(--accent);
  letter-spacing: 0.15em;
  font-size: 1rem;
}

.offer__body h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--accent);
}

.offer__body p {
  color: var(--muted);
}

.offer__list {
  margin: 1rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.offer__list li {
  margin-bottom: 0.4rem;
}

.offer__cta {
  margin-top: 0.5rem;
}

.offer__disclaimer {
  font-size: 0.82rem;
  color: #8f7a9c;
  margin-top: 1rem;
}

.offer__disclaimer a {
  color: var(--accent2);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface2);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: rotate(-0.5deg) translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.card__icon {
  color: var(--accent2);
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Panels */
.panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .panels {
    grid-template-columns: 1fr;
  }
}

.panel {
  position: relative;
  padding: 2rem 1.5rem 2rem 4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(90, 50, 110, 0.35), rgba(26, 15, 34, 0.85));
  border: 1px solid var(--line);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 154, 0.06), transparent);
  animation: panelShine 8s ease-in-out infinite;
}

@keyframes panelShine {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.panel__num {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.85;
}

.panel__text {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--muted);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.checklist {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 0.55rem;
}

.split__h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.bar__label {
  font-size: 0.88rem;
  color: var(--muted);
}

.bar__track {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid var(--line);
}

.bar__fill {
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, #c76b9a, #e8c49a);
  animation: barGrow 1.2s ease-out forwards;
  transform-origin: left;
}

@keyframes barGrow {
  from {
    transform: scaleX(0.3);
  }
  to {
    transform: scaleX(1);
  }
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 1rem;
}

.faq__item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  color: var(--text);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item[open] {
  border-color: rgba(232, 196, 154, 0.45);
}

.faq__item[open] summary {
  color: var(--accent);
}

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.form__field input,
.form__field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 196, 154, 0.15);
}

.form__note {
  font-size: 0.88rem;
  color: var(--accent2);
  min-height: 1.2em;
}

/* Age modal */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 4, 12, 0.88);
  backdrop-filter: blur(10px);
}

.age-overlay[hidden] {
  display: none;
}

.age-dialog {
  width: min(480px, 100%);
  padding: 2rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, #2a1c3a, #140a1a);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.age-dialog__brand {
  text-align: center;
  margin-bottom: 1rem;
}

.age-logo {
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
}

.age-dialog__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin: 0;
  color: var(--accent);
}

.age-dialog__text {
  text-align: center;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.puzzle-box {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}

.puzzle-box__label {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

#puzzle-canvas {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(232, 196, 154, 0.35);
}

.puzzle-range input[type="range"] {
  width: 100%;
  accent-color: #c76b9a;
}

.puzzle-status {
  text-align: center;
  font-size: 0.82rem;
  margin: 0.5rem 0 0;
  color: var(--accent2);
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.age-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(18, 10, 24, 0.97), rgba(18, 10, 24, 0.88));
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cookie-banner__logo {
    margin: 0 auto;
  }
}

.cookie-banner__logo {
  border-radius: 10px;
  border: 1px solid var(--line);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 4, 14, 0.6);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__about p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.badge-link img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge-link:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--bg0);
  background: linear-gradient(145deg, #e8c49a, #c9a06d);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-footer__legal {
  text-align: center;
  font-size: 0.8rem;
  color: #7a6a86;
  margin: 0;
}
