/* =========================
   TOKENS / RESET
========================= */
:root {
  /* Kids / storybook palette */
  --bg: #fff9fe;
  --ink: #1c1b22;
  --muted: rgba(28, 27, 34, 0.62);
  --line: rgba(28, 27, 34, 0.10);

  --padX: clamp(20px, 5vw, 64px);
  --padY: clamp(24px, 6vw, 80px);
  --gap: clamp(20px, 4vw, 48px);
  --logoOffset: 160px;

  /* Font tokens */
  --font-body: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Baloo 2", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Surfaces / shadows */
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 14px 40px rgba(18, 24, 40, 0.12);
  --shadow-soft: 0 10px 28px rgba(18, 24, 40, 0.10);

  /* Butoane */
  --btn-radius: 999px;
  --btn-pad-y: 14px;
  --btn-pad-x: 28px;

  /* fallback dacă lipsește o clasă de variantă */
  --btn-fallback: linear-gradient(135deg, #60a5fa, #34d399);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;

  /* Sky-like background with soft blobs */
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 182, 193, 0.35), transparent 42%),
    radial-gradient(circle at 82% 16%, rgba(173, 216, 230, 0.38), transparent 46%),
    radial-gradient(circle at 80% 82%, rgba(255, 235, 153, 0.40), transparent 50%),
    linear-gradient(180deg, #fff9fe 0%, #f3fbff 55%, #ffffff 100%);
}

html, body {
  height: 100%;
}

::selection {
  background: rgba(251, 191, 36, 0.35);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================
   LAYOUT
========================= */
.wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

@supports (height: 100svh) {
  .wrap {
    min-height: 100svh;
  }
}

.left {
  /* spațiu sub logo fixed */
  padding: calc(var(--padY) + var(--logoOffset)) var(--padX) var(--padY);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--gap);

  border-right: 1px solid rgba(28,27,34,0.08);
  position: relative;
  z-index: 3;

  background: var(--card);
  backdrop-filter: blur(10px);
}

.left > * {
  max-width: 70ch;
}



.kicker {
  font-size: clamp(10px, 1.8vw, 12px);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(12, 12, 15, 0.50);
  font-weight: 400;
}


h1, h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* =============================
   GRUP BUTOANE + BUTOANE
============================= */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 24px 0;
}

.btn {
  --_bg: var(--btn-fallback);
  --_text: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;

  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--btn-radius);

  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;

  color: var(--_text);
  text-decoration: none;
  background: var(--_bg);

  box-shadow: var(--shadow-soft);

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  forced-color-adjust: none;

  position: relative;
  overflow: hidden;
  transform: translateZ(0);

  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
  will-change: transform, opacity, filter;
}

/* shiny sweep */
.btn::after{
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  transform: translateX(-60%) rotate(8deg);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn:hover::after{
  transform: translateX(60%) rotate(8deg);
}

.btn:visited {
  color: var(--_text);
}

.btn:hover,
.btn:active {
  opacity: 0.94;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.16);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 4px;
}

/* Variante de culoare (light mode) – candy pastel */
.btn-prima {
  --_bg: linear-gradient(135deg, #60a5fa, #34d399);
}

.btn-capitol {
  --_bg: linear-gradient(135deg, #fb7185, #fbbf24);
}

.btn-aventura {
  --_bg: linear-gradient(135deg, #a78bfa, #22d3ee);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --ink: #f6f7fb;
    --muted: rgba(246, 247, 251, 0.70);
    --line: rgba(246, 247, 251, 0.14);
    --card: rgba(20, 27, 48, 0.62);
    --shadow: 0 18px 50px rgba(0,0,0,0.40);
    --shadow-soft: 0 12px 30px rgba(0,0,0,0.35);
  }

  body{
    background:
      radial-gradient(circle at 14% 18%, rgba(99,102,241,0.22), transparent 45%),
      radial-gradient(circle at 82% 16%, rgba(34,211,238,0.18), transparent 48%),
      radial-gradient(circle at 78% 82%, rgba(251,191,36,0.16), transparent 52%),
      linear-gradient(180deg, #0b1020 0%, #0a1428 55%, #0b1020 100%);
  }

  .btn-prima {
    --_bg: linear-gradient(135deg, #2563eb, #10b981);
    filter: brightness(0.98) saturate(1.08);
  }

  .btn-capitol {
    --_bg: linear-gradient(135deg, #f43f5e, #f59e0b);
    filter: brightness(0.98) saturate(1.10);
  }

  .btn-aventura {
    --_bg: linear-gradient(135deg, #7c3aed, #06b6d4);
    filter: brightness(0.98) saturate(1.08);
  }
}

/* Mobile – butoane */
@media (max-width: 600px) {
  .btn-group {
    flex-direction: column;
    gap: 20px;
    margin-block: 32px 48px;
    padding-inline: 8px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0.85em 1.5em;
    font-size: 1.08rem;
    justify-content: center;
    text-align: center;
  }

  .btn + .btn {
    margin-block-start: 0;
  }
}

/* =========================
   RIGHT – VIDEO / HERO
========================= */
.right {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

@supports (height: 100svh) {
  .hero {
    min-height: 100svh;
  }
}

.hero .video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .video-wrap .bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.hero .hero-content,
.hero .content,
.hero nav,
.hero header {
  position: relative;
  z-index: 2;
}

/* =========================
   LOGO FIXED
========================= */
.site-logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 52.38095%;
  padding: 20px var(--padX);

  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);

  border-right: 1px solid rgba(28,27,34,0.08);
}

.site-logo img {
  width: clamp(260px, 20vw, 380px);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.18));
}

@media (max-width: 600px) {
  .site-logo {
    width: 100%;
    border-right: none;
  }
}

/* =========================
   RESPONSIVE GLOBAL
========================= */
@media (max-width: 1024px) {
  .wrap {
    grid-template-columns: 1fr;
  }

  .left {
    border-right: none;
    border-bottom: 1px solid rgba(28,27,34,0.10);
    text-align: center;
  }

  .right {
    min-height: 55vh;
  }
}

@media (max-width: 768px) {
  :root {
    --padX: clamp(18px, 6vw, 36px);
    --padY: clamp(32px, 10vw, 64px);
    --gap: 32px;
    --logoOffset: 120px;
  }
}

@media (max-width: 480px) {
  :root {
    --logoOffset: 110px;
  }
}

/* =========================
   STORY
========================= */
.story p{
  margin: 0 0 0.55em;
  line-height: 1.75;
  font-size: 1.05rem;
}

.story p:last-child{ margin-bottom: 0; }

.story p:has(br){ margin-bottom: 0.7em; }

.story p strong{ font-weight: 800; }

.story p.spaced{ margin: 1.0em 0; }

.story p.center{
  text-align: center;
  margin: 0.9em 0;
}

@media (max-width: 640px){
  .story p{
    margin-bottom: 0.5em;
    line-height: 1.7;
    font-size: 1.03rem;
  }
}

/* =========================
   PAYWALL
========================= */
.paywall{
  max-width: 62ch;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px);

  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(28,27,34,0.10);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.paywall h1,
.paywall h2{
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.paywall h1{
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 0.35em;
}

.paywall h2{
  font-size: clamp(18px, 4vw, 34px);
  line-height: 1.05;
  margin: 0 0 0.35em;
}

.paywall .price{
  font-size: 0.65em;
  opacity: 0.80;
  font-weight: 800;
}

.paywall .sub{
  margin: 0 0 1em;
  line-height: 1.55;
  opacity: 0.95;
}

.paywall .bullets{
  margin: 0 0 1.1em;
  padding-left: 1.1em;
  line-height: 1.55;
}

.paywall .cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 18px;
  border-radius: 16px;

  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;

  border: 1px solid rgba(28,27,34,0.12);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,0.88);

  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;

  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.paywall .cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.14);
}

.paywall .cta:active{
  transform: translateY(0);
  opacity: 0.96;
}

.paywall .cta:focus{ outline: none; }
.paywall .cta:focus-visible{
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 4px;
}

.paywall .fine{
  margin: 0.8em 0 0;
  font-size: 0.95em;
  opacity: 0.78;
}

.paywall .faq{
  margin-top: 1.2em;
  border-top: 1px solid rgba(28,27,34,0.10);
  padding-top: 0.9em;
}

.paywall details summary{
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 0.6em;
}