/* ==========================================================================
   ATO GIMTADIENIS — DIZAINO SISTEMA IR STILIAI (karmalink.lt/atas)
   Modernus, šiltas, žaismingas, mobile-first kvietimas
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Smaragdo miesto ir stebuklingo miško paletė */
  --bg-main: #F4F8F5;
  --bg-gradient: linear-gradient(180deg, #F4F8F5 0%, #E8F3EB 100%);
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F7FAF8;
  
  --emerald-deep: #064E3B;
  --emerald-primary: #059669;
  --emerald-hover: #047857;
  --emerald-vibrant: #10B981;
  --emerald-light: #ECFDF5;
  --emerald-cyan: #34D399;
  --emerald-border: rgba(16, 185, 129, 0.22);
  
  --navy-deep: #064E3B;
  --navy-text: #132E24;
  --navy-muted: #486B5D;
  
  --gold-lantern: #F59E0B;
  --gold-light: #FEF3C7;
  
  --coral-red: #EF4444;
  --coral-light: #FEE2E2;

  /* Šešėliai ir apvalinimai */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-soft: 0 8px 24px -4px rgba(6, 78, 59, 0.08), 0 2px 6px -1px rgba(6, 78, 59, 0.04);
  --shadow-elevated: 0 16px 36px -6px rgba(6, 78, 59, 0.14), 0 4px 12px -2px rgba(6, 78, 59, 0.05);
  --shadow-btn: 0 8px 24px -2px rgba(5, 150, 105, 0.45);
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* =========================================================================
     ✈️ LĖKTUVĖLIO SKRYDŽIO GREIČIO IR AUKŠČIO KONTROLĖ (GREITAI KEISKITE ČIA!)
     =========================================================================
     --plane-duration-desktop : Skrydžio ciklo trukmė kompiuteryje (į abi puses).
                                Pavyzdžiui: 15s = greitas ciklas, 12s = dar greitesnis, 22s = ramesnis.
     --plane-duration-mobile  : Skrydžio ciklo trukmė telefone.
     --flight-corridor-height-desktop : Viršutinės skrydžio zonos aukštis kompiuteryje.
     --flight-corridor-height-mobile  : Viršutinės skrydžio zonos aukštis telefone (saugo nuo persidengimo).
  */
  --plane-duration-desktop: 15s;
  --plane-duration-mobile: 13s;
  --flight-corridor-height-desktop: 84px;
  --flight-corridor-height-mobile: 74px;
}

/* ----------------- Reset & Baziniai stiliai ----------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: #FAF8F5;
  color: var(--navy-text);
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ----------------- Fono elementai: fiksuotas sluoksnis, kuris niekada neslankioja ----------------- */
.sky-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #FAF8F5;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(167, 243, 208, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(254, 243, 199, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(209, 250, 229, 0.35) 0%, transparent 60%),
    radial-gradient(rgba(180, 215, 195, 0.45) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
}

.forest-horizon-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

/* Nuramintas pastelinis fonas — jokių blaškančių mirgėjimų */
.firefly {
  display: none !important;
}

.smoke-trail {
  display: none !important;
}

.cloud {
  position: absolute;
  fill: #FFFFFF;
  opacity: 0.45;
  filter: drop-shadow(0 4px 12px rgba(210, 225, 215, 0.35));
  animation: none !important;
  pointer-events: none;
}

.cloud-1 {
  top: 4%;
  left: 5%;
  width: 130px;
}

.cloud-2 {
  top: 18%;
  right: 6%;
  width: 160px;
  opacity: 0.35;
}

.cloud-3 {
  top: 60%;
  left: 4%;
  width: 140px;
  opacity: 0.25;
}

/* Dedikuota skrydžio zona viršuje — lėktuvėlis turi savo atskirą erdvę ir niekada nepersidengia su tekstu */
.sky-flight-corridor {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: var(--flight-corridor-height-desktop);
  margin-bottom: 0.85rem;
  z-index: 15;
  pointer-events: none;
  overflow: hidden; /* Griežtai nukerpa lėktuvo išsikišimą už ekrano ribų — neleidžia plėstis puslapiui */
}

.gnome-flight-rig {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 15;
  pointer-events: auto;
  cursor: pointer;
  animation: gnomeFlyTwoWayLoop var(--plane-duration-desktop) linear infinite;
  will-change: transform;
}

@keyframes gnomeFlyTwoWayLoop {
  /* 1. Skrydis: Kairė -> Dešinė (0% - 44%) */
  0% {
    transform: translate3d(-460px, 0, 0) scaleX(1) rotate(1deg);
  }
  11% {
    transform: translate3d(20vw, 4px, 0) scaleX(1) rotate(-1.5deg);
  }
  22% {
    transform: translate3d(48vw, -3px, 0) scaleX(1) rotate(1.5deg);
  }
  33% {
    transform: translate3d(76vw, 4px, 0) scaleX(1) rotate(-1deg);
  }
  44% {
    transform: translate3d(calc(100vw + 60px), 0, 0) scaleX(1) rotate(1deg);
  }

  /* 2. Apsisukimas dešinėje (už ekrano ribų) (45% - 49%) */
  46% {
    transform: translate3d(calc(100vw + 120px), 0, 0) scaleX(1) rotate(0deg);
  }
  47% {
    transform: translate3d(calc(100vw + 120px), 0, 0) scaleX(-1) rotate(0deg);
  }
  49% {
    transform: translate3d(calc(100vw + 60px), 0, 0) scaleX(-1) rotate(-1deg);
  }

  /* 3. Skrydis: Dešinė -> Kairė (50% - 94%) */
  50% {
    transform: translate3d(calc(100vw + 50px), 0, 0) scaleX(-1) rotate(-1deg);
  }
  61% {
    transform: translate3d(76vw, -4px, 0) scaleX(-1) rotate(1.5deg);
  }
  72% {
    transform: translate3d(48vw, 3px, 0) scaleX(-1) rotate(-1.5deg);
  }
  83% {
    transform: translate3d(20vw, -4px, 0) scaleX(-1) rotate(1deg);
  }
  94% {
    transform: translate3d(-460px, 0, 0) scaleX(-1) rotate(-1deg);
  }

  /* 4. Apsisukimas kairėje (už ekrano ribų) (95% - 100%) */
  96% {
    transform: translate3d(-480px, 0, 0) scaleX(-1) rotate(0deg);
  }
  97% {
    transform: translate3d(-480px, 0, 0) scaleX(1) rotate(0deg);
  }
  100% {
    transform: translate3d(-460px, 0, 0) scaleX(1) rotate(1deg);
  }
}

.gnome-flight-rig:hover {
  filter: brightness(1.1);
}


@keyframes gnomeFlyTwoWayLoopMobile {
  /* Skrydis kairė -> dešinė */
  0% {
    transform: translate3d(-340px, 0, 0) scaleX(1) rotate(1deg);
  }
  11% {
    transform: translate3d(20vw, 3px, 0) scaleX(1) rotate(-1deg);
  }
  22% {
    transform: translate3d(48vw, -2px, 0) scaleX(1) rotate(1.5deg);
  }
  33% {
    transform: translate3d(76vw, 3px, 0) scaleX(1) rotate(-1deg);
  }
  44% {
    transform: translate3d(calc(100vw + 40px), 0, 0) scaleX(1) rotate(1deg);
  }

  /* Apsisukimas dešinėje (už ekrano) */
  46% {
    transform: translate3d(calc(100vw + 80px), 0, 0) scaleX(1) rotate(0deg);
  }
  47% {
    transform: translate3d(calc(100vw + 80px), 0, 0) scaleX(-1) rotate(0deg);
  }
  49% {
    transform: translate3d(calc(100vw + 40px), 0, 0) scaleX(-1) rotate(-1deg);
  }

  /* Skrydis dešinė -> kairė */
  50% {
    transform: translate3d(calc(100vw + 35px), 0, 0) scaleX(-1) rotate(-1deg);
  }
  61% {
    transform: translate3d(76vw, -3px, 0) scaleX(-1) rotate(1.5deg);
  }
  72% {
    transform: translate3d(48vw, 2px, 0) scaleX(-1) rotate(-1.5deg);
  }
  83% {
    transform: translate3d(20vw, -3px, 0) scaleX(-1) rotate(1deg);
  }
  94% {
    transform: translate3d(-340px, 0, 0) scaleX(-1) rotate(-1deg);
  }

  /* Apsisukimas kairėje (už ekrano) */
  96% {
    transform: translate3d(-360px, 0, 0) scaleX(-1) rotate(0deg);
  }
  97% {
    transform: translate3d(-360px, 0, 0) scaleX(1) rotate(0deg);
  }
  100% {
    transform: translate3d(-340px, 0, 0) scaleX(1) rotate(1deg);
  }
}

@keyframes bannerTextCounterFlipMobile {
  0%, 46.5% {
    transform: scaleX(1);
  }
  46.6%, 96.5% {
    transform: scaleX(-1);
  }
  96.6%, 100% {
    transform: scaleX(1);
  }
}


.gnome-plane-assembly {
  position: relative;
  display: flex;
  align-items: center;
  animation: planeFloatBob 3.5s ease-in-out infinite alternate;
}

@keyframes planeFloatBob {
  0% { transform: translateY(-4px) rotate(-1deg); }
  100% { transform: translateY(5px) rotate(2deg); }
}

.propeller-spin {
  transform-origin: 138px 48px;
  animation: spinProp 0.12s linear infinite;
}

@keyframes spinProp {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dūmų pūkai */
.smoke-trail {
  position: absolute;
  left: 10px;
  top: 38px;
  display: flex;
  gap: 6px;
}

.puff {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: inline-block;
  filter: blur(1px);
  animation: puffFade 1.6s ease-out infinite;
}

.puff-1 { animation-delay: 0s; transform: scale(0.8); }
.puff-2 { animation-delay: 0.5s; transform: scale(1.1); }
.puff-3 { animation-delay: 1s; transform: scale(1.4); }

@keyframes puffFade {
  0% { opacity: 0.85; transform: translate(0, 0) scale(0.8); }
  100% { opacity: 0; transform: translate(-28px, -8px) scale(2.2); }
}

/* Tempiamas baneris */
.plane-streamer-banner {
  position: absolute;
  right: 100%;
  top: 34px;
  display: flex;
  align-items: center;
  transform-origin: right center;
  animation: bannerFlutter 1.8s ease-in-out infinite alternate;
}

@keyframes bannerFlutter {
  0% { transform: rotate(-3deg) scaleY(0.96); }
  100% { transform: rotate(3deg) scaleY(1.04); }
}

.streamer-line {
  width: 24px;
  height: 10px;
}

.streamer-text-pill {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald-deep);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.1);
  display: inline-block;
  transform-origin: center center;
  animation: bannerTextCounterFlip var(--plane-duration-desktop) linear infinite;
}

@keyframes bannerTextCounterFlip {
  0%, 46.5% {
    transform: scaleX(1);
  }
  46.6%, 96.5% {
    transform: scaleX(-1);
  }
  96.6%, 100% {
    transform: scaleX(1);
  }
}

/* Mobilios versijos skrydžio zonos ir greičio pritaikymai */
@media (max-width: 768px) {
  .sky-flight-corridor {
    height: var(--flight-corridor-height-mobile);
    margin-bottom: 1.25rem;
    overflow: hidden;
  }

  .gnome-flight-rig {
    top: 2px;
    animation: gnomeFlyTwoWayLoopMobile var(--plane-duration-mobile) linear infinite;
  }

  .gnome-plane-assembly {
    transform: scale(0.65);
    transform-origin: left center;
  }

  .streamer-text-pill {
    animation: bannerTextCounterFlipMobile var(--plane-duration-mobile) linear infinite;
  }
}

/* ----------------- Pagrindinis konteineris ----------------- */
.app-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
}

/* ----------------- 1 PUSLAPIS: KLAUSIMAS ----------------- */
.screen-question {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0.5rem 1.5rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (min-height: 750px) and (min-width: 600px) {
  .screen-question {
    min-height: calc(100dvh - 6rem);
    justify-content: center;
  }
}

.screen-question.fade-out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

/* Pagrindinė antraštė: Žaliai žėrintis tekstas */
.hero-title-glowing {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5.8vw, 2.75rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 620px;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;

  /* Sodri smaragdo spalva su žėrinčiu gradientu */
  color: #047857;
  background: linear-gradient(135deg, #065F46 0%, #059669 30%, #10B981 50%, #34D399 70%, #047857 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Žaliai žėrintis švytėjimas */
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.45)) drop-shadow(0 0 16px rgba(5, 150, 105, 0.3));
  animation: emeraldGlowShimmer 3.5s ease-in-out infinite alternate;
}

@keyframes emeraldGlowShimmer {
  0% {
    background-position: 0% center;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4)) drop-shadow(0 0 14px rgba(5, 150, 105, 0.25));
  }
  100% {
    background-position: 100% center;
    filter: drop-shadow(0 3px 14px rgba(16, 185, 129, 0.7)) drop-shadow(0 0 26px rgba(16, 185, 129, 0.5));
  }
}

/* Klausimo blokas */
.question-prompt-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 2.2rem;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.05);
}

.question-prompt {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 800;
  color: var(--navy-deep);
}

/* Mygtukų interakcijos erdvė */
.interaction-arena {
  width: 100%;
  max-width: 440px;
  min-height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

/* ✅ DALYVAUSIU! Mygtukas (Smaragdinė žalia) */
.btn-yes {
  width: 100%;
  max-width: 320px;
  padding: 1.15rem 2rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: 1.5px solid rgba(110, 231, 183, 0.45);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  position: relative;
  z-index: 5;
  user-select: none;
}

.btn-yes:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -2px rgba(5, 150, 105, 0.55);
}

.btn-yes:active {
  transform: translateY(1px) scale(0.98);
}

.btn-yes .yes-sparkle {
  display: inline-block;
  animation: spinSparkle 3s linear infinite;
}

@keyframes spinSparkle {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* ❌ NE, NEGALĖSIU — Realaus laiko bėgantis mygtukas */
.btn-no {
  padding: 0.85rem 1.6rem;
  background: #FFFFFF;
  color: var(--navy-muted);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  user-select: none;
  touch-action: none;
  z-index: 10;
  position: relative;
  will-change: transform;
  /* Transformaciją sklandžiai valdo 60/120fps RAF ciklas, o spalvas — CSS */
  transition: background-color 0.2s ease, 
              border-color 0.2s ease, 
              color 0.2s ease,
              box-shadow 0.2s ease;
}

/* Kai mygtukas pajunta artėjančią pelę / pirštą */
.btn-no.retreating {
  border-color: var(--coral-red);
  color: var(--coral-red);
  background: #FFF1F2;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}


/* ----------------- PATIKRINIMO EKRANAS (MISIJOS KONTROLĖ) ----------------- */
.verification-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: none; /* Neleidžia jokio šoninio slankiojimo liečiant patikros metu */
  overscroll-behavior: contain;
}

.verification-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.verification-card {
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.verification-overlay.active .verification-card {
  transform: translateY(0) scale(1);
}

/* Radaro / Skrydžių kontrolės animacija */
.radar-hub {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  animation: pulseRadar 2s ease-out infinite;
}

.radar-ring:nth-child(2) {
  animation-delay: 0.6s;
}

.radar-ring:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes pulseRadar {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.radar-center {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #059669, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.verification-badge {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-primary);
  background: var(--emerald-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.verification-status-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: all 0.25s ease;
}

/* Progreso juosta */
.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-bar-fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, #2563EB, #38BDF8, #10B981);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Patikros žingsnių sąrašas */
.steps-checklist {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.step-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.4;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.step-item.active {
  opacity: 1;
  color: var(--sky-blue);
  font-weight: 700;
}

.step-item.completed {
  opacity: 1;
  color: var(--emerald-green);
}

.step-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Paskutinio patvirtinimo stilius */
.verification-status-text.confirmed {
  font-size: 1.55rem;
  color: var(--emerald-green);
  animation: popConfirmed 0.5s cubic-bezier(0.18, 1.25, 0.4, 1);
}

@keyframes popConfirmed {
  0% { transform: scale(0.85); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Šmaikštus Ato galvosūkis patikros lange */
.verification-riddle-box {
  margin: 1.1rem 0 0.8rem 0;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  text-align: left;
  animation: popInRiddle 0.35s cubic-bezier(0.18, 1.25, 0.4, 1);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.06);
}

@keyframes popInRiddle {
  0% { opacity: 0; transform: scale(0.94) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.riddle-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.riddle-icon {
  font-size: 1.6rem;
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.riddle-title-group {
  flex: 1;
}

.riddle-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--emerald-deep);
  margin: 0 0 0.25rem 0;
}

.riddle-prompt {
  font-size: 0.86rem;
  color: var(--navy-text);
  line-height: 1.4;
  margin: 0;
}

.riddle-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.btn-riddle-opt {
  background: #FFFFFF;
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-deep);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-riddle-opt:hover:not(:disabled) {
  background: #ECFDF5;
  border-color: var(--emerald-primary);
  transform: translateX(3px);
}

.opt-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--navy-muted);
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
}

.btn-riddle-opt.opt-correct {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border-color: #059669 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6) !important;
  transform: scale(1.02);
}

.btn-riddle-opt.opt-correct .opt-letter {
  background: #FFFFFF;
  color: #059669;
}

.btn-riddle-opt.shake-error {
  animation: shakeErr 0.4s ease;
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
  color: #991B1B !important;
}

@keyframes shakeErr {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.riddle-feedback {
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  animation: fadeInModal 0.2s ease;
}

.riddle-feedback.feedback-wrong {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.riddle-feedback.feedback-correct {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Veiksmų blokas patvirtinimo lange */
.verification-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  animation: popInActions 0.4s cubic-bezier(0.18, 1.25, 0.4, 1) forwards;
}

@keyframes popInActions {
  0% { opacity: 0; transform: translateY(14px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.btn-modal-cal {
  width: 100%;
  padding: 1.05rem 1.6rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px -2px rgba(5, 150, 105, 0.45);
  border: 1.5px solid rgba(110, 231, 183, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: pulseCalModal 2.5s ease-in-out infinite;
}

@keyframes pulseCalModal {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.btn-modal-cal:hover {
  background: var(--emerald-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px -2px rgba(5, 150, 105, 0.6);
}

.btn-modal-skip {
  background: transparent;
  border: none;
  color: var(--navy-muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  transition: color 0.2s ease;
}

.btn-modal-skip:hover {
  color: var(--emerald-deep);
  text-decoration: underline;
}

/* ----------------- 2 PUSLAPIS: KVIETIMO DETALĖS (MINIMALIST) ----------------- */
.screen-details {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.screen-details.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.stories-section-wrapper {
  margin: 1.8rem 0 1.2rem 0;
}

/* Smaragdo Pasas Patvirtintas antraštė */
.confirmed-pass-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 900;
  color: var(--emerald-deep);
  text-align: center;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* Kuo gyvena Atas? antraštė */
.stories-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.8vw, 1.7rem);
  font-weight: 800;
  color: var(--navy-deep);
  text-align: center;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .screen-details {
    padding-top: 2.4rem;
  }
  .confirmed-pass-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }
}

/* Renginio pagrindinių faktų kortelės */
.event-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

@media (min-width: 520px) {
  .event-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

/* 1 puslapio renginio faktų kortelės virš klausimo */
.hero-event-cards {
  margin: 1.6rem auto 1.4rem auto;
  max-width: 820px;
  width: 100%;
}

.hero-event-cards .event-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(6, 78, 59, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
}

.link-card-map {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284C7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: #E0F2FE;
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.link-card-map:hover {
  background: #BAE6FD;
  border-color: #0284C7;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.16);
}

/* Atsisakymo modalinis langas (kai paspaudžiama „NE“) */
.decline-card {
  text-align: center;
  max-width: 440px;
}

.decline-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  animation: popConfirmed 0.4s ease;
}

.decline-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.decline-text {
  font-size: 0.95rem;
  color: var(--navy-text);
  line-height: 1.5;
  margin-bottom: 1.4rem;
}

.decline-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.event-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.icon-calendar { 
  background: transparent; 
  box-shadow: none;
}
.icon-time { background: #FEF3C7; color: #D97706; }
.icon-location { background: #E0F2FE; color: #0284C7; }

/* Tikras Ato gimtadienio kalendoriaus lapelis (vietoj Apple "JUL 17" emoji) */
.custom-calendar-badge {
  display: inline-flex;
  flex-direction: column;
  width: 44px;
  height: 46px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.18), 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1.5px solid #FCA5A5;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s ease;
}

.event-card:hover .custom-calendar-badge {
  transform: scale(1.06) rotate(-2deg);
}

.cal-badge-month {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 3px 0;
  text-transform: uppercase;
}

.cal-badge-day {
  color: #0F172A;
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.btn-cal-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.event-card-label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-muted);
  margin-bottom: 0.35rem;
}

.event-card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
}

.event-card-sub {
  font-size: 0.82rem;
  color: var(--navy-muted);
  margin-top: 0.25rem;
}

/* Veiksmų mygtukai (Kalendorius) */
.event-actions-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  margin-bottom: 2.8rem;
}

.event-actions-bar .action-btn {
  max-width: 440px;
  width: 100%;
}

.action-btn {
  flex: 1;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.action-btn-primary {
  background: var(--emerald-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
  border: 1px solid rgba(110, 231, 183, 0.3);
}

.action-btn-primary:hover {
  background: var(--emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.45);
}

.action-btn-secondary {
  background: #FFFFFF;
  color: var(--navy-text);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  box-shadow: var(--shadow-soft);
}

.action-btn-secondary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
}

/* Hero Smaragdo Miesto Iliustracijos Kortelė */
.hero-emerald-container {
  margin: 1.2rem 0 2rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: var(--shadow-elevated);
  border: 2px solid rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-emerald-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -6px rgba(6, 78, 59, 0.2);
}

.hero-emerald-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.08);
}

.hero-emerald-caption {
  padding: 0.85rem 0.6rem 0.3rem;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--emerald-deep);
  line-height: 1.45;
}

.hero-emerald-caption .caption-highlight {
  color: var(--gold-lantern);
  font-weight: 800;
}

/* ----------------- SKIRTUKAI IR SEKCIJŲ ANTRAŠTĖS ----------------- */
.section-wrapper {
  margin-bottom: 3.2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.6rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-blue);
  background: var(--sky-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}

.section-intro {
  font-size: 0.98rem;
  color: var(--navy-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ----------------- SEKCIJA: KUO GYVENA ATAS? (SWIPEABLE STORIES) ----------------- */
.stories-viewer {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--shadow-elevated);
  border: 2px solid rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
  max-width: 580px;
  margin: 0 auto;
}

/* Instagram-style progress bars */
.stories-progress-bars {
  display: flex;
  gap: 6px;
  margin-bottom: 0.9rem;
  padding: 0 0.2rem;
}

.story-bar {
  flex: 1;
  height: 4px;
  background: rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--emerald-primary);
  border-radius: 999px;
  transition: width 0.25s linear;
}

.story-bar.passed .story-bar-fill {
  width: 100%;
}

.story-bar.active .story-bar-fill {
  width: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

/* Carousel track */
.stories-track-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
}

.stories-track-container:active {
  cursor: grabbing;
}

.stories-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.story-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0.2rem;
}

.story-card-inner {
  background: var(--story-bg, #F8FAFC);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  border: 1.5px solid var(--story-accent, rgba(16, 185, 129, 0.3));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.story-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: var(--story-accent, #059669);
  border-radius: 4px 0 0 4px;
}

.story-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.story-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.story-pill {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--story-accent, var(--emerald-primary));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.story-desc {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.story-action-wrap {
  margin-top: 0.3rem;
}

.btn-story-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-story-game {
  background: linear-gradient(135deg, #059669, #10B981);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-story-game:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

.btn-leaderboard-card {
  background: linear-gradient(135deg, #D97706, #F59E0B);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-leaderboard-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

/* Stories Navigation Bar */
.stories-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  padding: 0 0.3rem;
}

.btn-story-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-surface);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  color: var(--navy-deep);
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.btn-story-nav:hover {
  background: #FFFFFF;
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  transform: scale(1.08);
}

.btn-story-nav:active {
  transform: scale(0.92);
}

.story-counter-pill {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy-muted);
  background: var(--navy-surface);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.05);
}



/* ----------------- SEKCIJA: DOVANŲ RADARAS ----------------- */
.radar-card-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.7);
  position: relative;
  overflow: hidden;
}

.radar-card-container::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.radar-intro-text {
  font-size: 0.98rem;
  color: #334155;
  margin-bottom: 1.4rem;
  line-height: 1.55;
}

/* Kategorijų pūslelės / kortelės */
.radar-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

@media (min-width: 480px) {
  .radar-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.radar-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.radar-item:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.radar-item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.radar-item-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-text);
}

/* Auksinė taisyklė / Saugus planas */
.golden-rule-box {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px dashed #F59E0B;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.golden-rule-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.golden-rule-text {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #92400E;
  line-height: 1.4;
}

/* ----------------- FINALINĖ SEKCIJA ----------------- */
.final-section {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.final-balloon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  animation: floatBalloon 3s ease-in-out infinite;
}

@keyframes floatBalloon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.3rem);
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}





/* ----------------- ŽAIDIMO MODALINIS LANGAS ----------------- */
.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 78, 59, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.game-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 24px 60px -10px rgba(6, 78, 59, 0.4);
  width: 100%;
  max-width: 660px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: popInDialog 0.3s cubic-bezier(0.18, 1.25, 0.4, 1);
}

@keyframes popInDialog {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.game-dialog-header {
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAF8;
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.2);
}

.game-badge {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--emerald-deep);
  letter-spacing: 0.04em;
}

.game-stats-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #FFFFFF;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.86rem;
  font-weight: 700;
}

.game-stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.highscore-stat {
  color: var(--gold-lantern);
}

.btn-game-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.btn-game-close:hover {
  color: #EF4444;
  background: #FEE2E2;
}

.game-canvas-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  background: #FAF5EB;
  overflow: hidden;
  touch-action: none;
}

#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.game-screen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 78, 59, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.game-prompt-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  border: 2px solid rgba(16, 185, 129, 0.35);
  animation: popInCard 0.25s ease;
}

@keyframes popInCard {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.game-prompt-icon {
  font-size: 2.3rem;
  margin-bottom: 0.3rem;
}

.game-prompt-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.45rem;
}

.game-prompt-text {
  font-size: 0.9rem;
  color: var(--navy-muted);
  line-height: 1.45;
  margin-bottom: 1.3rem;
}

.btn-game-primary {
  background: linear-gradient(135deg, #059669, #047857);
  color: #FFFFFF;
  border: 1px solid rgba(110, 231, 183, 0.4);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, background 0.15s ease;
  width: 100%;
}

.btn-game-primary:hover {
  background: var(--emerald-hover);
  transform: scale(1.02);
}

.btn-game-secondary {
  background: #F1F5F9;
  color: var(--navy-text);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
  width: 100%;
}

.btn-game-secondary:hover {
  background: #E2E8F0;
}

.game-over-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.game-dialog-footer {
  padding: 0.5rem 1rem;
  background: #F8FAF8;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  font-size: 0.76rem;
  color: var(--navy-muted);
  text-align: center;
}

/* ----------------- LYDERIŲ LENTELĖS MYGTUKAI IR FORMA ----------------- */
.game-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-header-leaderboard {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.15s ease;
}

.btn-header-leaderboard:hover {
  background: #FDE68A;
  transform: translateY(-1px);
}

.leaderboard-submit-form {
  margin: 1rem 0 1.2rem 0;
  text-align: left;
  background: #F8FAF8;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.form-label-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-deep);
  margin-bottom: 0.4rem;
}

.form-group-name {
  display: flex;
  gap: 0.4rem;
}

.player-name-input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A !important;
  background: #FFFFFF !important;
  outline: none;
  transition: all 0.2s ease;
}

.player-name-input::placeholder {
  color: #94A3B8 !important;
  font-weight: 500;
}

.player-name-input:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.btn-submit-score {
  background: linear-gradient(135deg, #059669, #047857);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-submit-score:hover:not(:disabled) {
  background: var(--emerald-hover);
  transform: translateY(-1px);
}

.submit-score-feedback {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-deep);
  background: #ECFDF5;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
}

.btn-leaderboard-card {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: #FFF7ED;
  border: 1.5px solid rgba(234, 88, 12, 0.4);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: #C2410C;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.btn-leaderboard-card:hover {
  background: #EA580C;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ----------------- LYDERIŲ LENTELĖS MODALAS IR PJEDESTALAS ----------------- */
.leaderboard-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 78, 59, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  animation: fadeInModal 0.25s ease-out;
}

.leaderboard-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 24px 60px -10px rgba(6, 78, 59, 0.45);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: popInDialog 0.3s cubic-bezier(0.18, 1.25, 0.4, 1);
}

.leaderboard-header {
  padding: 1rem 1.25rem 0.75rem 1.25rem;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.leaderboard-title-wrap {
  flex: 1;
}

.leaderboard-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: #B45309;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.leaderboard-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 0.2rem 0;
}

.leaderboard-subtitle {
  font-size: 0.82rem;
  color: #78350F;
  margin: 0;
}

.leaderboard-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-refresh-leaderboard {
  background: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400E;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.btn-refresh-leaderboard:hover {
  background: #FEF3C7;
  transform: translateY(-1px);
}

.leaderboard-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  flex: 1;
  background: #FAF5EB;
}

.leaderboard-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  font-size: 0.82rem;
  color: #92400E;
  background: #FEF3C7;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
}

.loading-spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* TOP 3 Pjedestalas */
.leaderboard-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.8rem 0 1.4rem 0;
  padding: 0 0.5rem;
}

.podium-step {
  flex: 1;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.podium-crown {
  font-size: 1.3rem;
  margin-bottom: -4px;
  animation: crownBob 2s ease-in-out infinite;
}

@keyframes crownBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.podium-medal {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.podium-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-bottom: 0.15rem;
}

.podium-score {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-deep);
  margin-bottom: 0.25rem;
}

.podium-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-full);
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.35rem;
  display: inline-block;
  white-space: nowrap;
}

.podium-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-1 .podium-block {
  height: 85px;
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
  border: 2px solid #FCD34D;
  border-bottom: none;
}

.step-2 .podium-block {
  height: 65px;
  background: linear-gradient(180deg, #94A3B8 0%, #64748B 100%);
  border: 2px solid #CBD5E1;
  border-bottom: none;
}

.step-3 .podium-block {
  height: 50px;
  background: linear-gradient(180deg, #D97706 0%, #B45309 100%);
  border: 2px solid #FDE68A;
  border-bottom: none;
}

/* Likusių dalyvių sąrašas */
.leaderboard-list-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.05);
}

.list-heading {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  background: #F8FAF8;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.12);
  transition: all 0.15s ease;
}

.leaderboard-row:hover {
  background: #ECFDF5;
  border-color: rgba(16, 185, 129, 0.3);
}

.leaderboard-row.row-highlight {
  background: #ECFDF5;
  border: 2px solid #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.row-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy-muted);
  width: 32px;
}

.row-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-deep);
  display: flex;
  flex-direction: column;
}

.row-date {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 400;
}

.row-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--emerald-deep);
}

.row-score small {
  font-size: 0.72rem;
  color: var(--navy-muted);
}

.leaderboard-empty {
  text-align: center;
  padding: 1.2rem;
  color: var(--navy-muted);
  font-size: 0.88rem;
}

.leaderboard-footer {
  padding: 0.6rem 1rem;
  background: #F8FAF8;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 0.76rem;
  color: var(--navy-muted);
  text-align: center;
}

/* ----------------- FONINĖS MUZIKOS VALDYMAS ----------------- */
.music-controller-wrap {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 80;
  pointer-events: auto;
}

.music-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.12);
  transition: all 0.2s ease;
}

.music-pill:hover {
  background: #FFFFFF;
  border-color: var(--emerald-primary);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.22);
}

.btn-music-toggle {
  background: transparent;
  border: none;
  padding: 0.2rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-deep);
  border-radius: var(--radius-full);
}

.btn-music-toggle:hover {
  color: var(--emerald-primary);
}

.btn-music-toggle.playing {
  color: var(--emerald-primary);
}

.music-icon {
  font-size: 1rem;
}

.music-label {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Equalizer animacija */
.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  margin-left: 2px;
}

.eq-bar {
  width: 2.5px;
  background: var(--emerald-primary);
  border-radius: 1px;
}

.btn-music-toggle.playing .eq-bar.bar-1 {
  animation: eqBounce1 0.7s ease-in-out infinite alternate;
}

.btn-music-toggle.playing .eq-bar.bar-2 {
  animation: eqBounce2 0.5s ease-in-out infinite alternate;
}

.btn-music-toggle.playing .eq-bar.bar-3 {
  animation: eqBounce3 0.85s ease-in-out infinite alternate;
}

@keyframes eqBounce1 {
  0% { height: 3px; }
  100% { height: 12px; }
}

@keyframes eqBounce2 {
  0% { height: 11px; }
  100% { height: 4px; }
}

@keyframes eqBounce3 {
  0% { height: 5px; }
  100% { height: 13px; }
}

/* Garsumo reguliavimas (Slider) */
.music-volume-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 0.4rem;
  border-left: 1px solid rgba(16, 185, 129, 0.25);
}

.music-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 65px;
  height: 5px;
  border-radius: 99px;
  background: #E2E8F0;
  outline: none;
  cursor: pointer;
}

.music-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--emerald-primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.1s ease;
}

.music-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.music-volume-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--emerald-primary);
  border: none;
  cursor: pointer;
}

.music-volume-text {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-muted);
  min-width: 28px;
}

.yt-hidden-player {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .music-controller-wrap {
    top: 8px;
    right: 8px;
  }
  .music-pill {
    padding: 0.25rem 0.55rem 0.25rem 0.35rem;
    gap: 0.35rem;
  }
  .music-label {
    display: none;
  }
  .music-volume-slider {
    width: 48px;
  }
}

/* ----------------- PREFERS REDUCED MOTION ----------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================================
   📱 MOBILŪS — PAGRINDINIS OPTIMIZAVIMAS
   =========================================== */

@media (max-width: 600px) {

  /* Hero title */
  .hero-title {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
    line-height: 1.2;
    padding: 0 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .badge-top {
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
  }

  /* Renginio info kortelės — tvarkingos ir erdvios mobiliuose */
  .hero-event-cards.event-cards-grid,
  .event-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    padding: 0 0.5rem !important;
    margin: 0.8rem auto 1.2rem auto !important;
  }

  .event-card {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0.85rem 1rem !important;
    gap: 0.85rem !important;
  }

  .event-card-icon {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    font-size: 1.35rem !important;
    margin-bottom: 0 !important;
    margin-top: 2px !important;
  }

  .event-card-body {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .event-card-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--emerald-primary) !important;
    margin-bottom: 0.15rem !important;
  }

  .event-card-value {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: var(--navy-deep) !important;
    line-height: 1.3 !important;
  }

  .event-card-sub {
    font-size: 0.8rem !important;
    color: var(--navy-muted) !important;
    margin-top: 0.2rem !important;
    line-height: 1.4 !important;
  }

  .link-card-map {
    margin-top: 0.45rem !important;
    display: inline-flex !important;
  }

  .screen-question {
    padding-top: 2.6rem;
    padding-bottom: 3.5rem;
  }

  /* Klausimo zona */
  .question-prompt-box {
    margin: 0.5rem 0.5rem 0.75rem;
    padding: 0.7rem 1rem;
  }

  .question-prompt {
    font-size: 1.05rem;
  }

  /* Mygtukų zona — platesni */
  .interaction-arena {
    padding: 0 0.75rem 1.5rem;
    gap: 0.75rem;
    min-height: 120px;
  }

  .btn-yes {
    min-height: 56px;
    font-size: 1.05rem;
    padding: 0.9rem 1.5rem;
  }

  .btn-no {
    min-height: 48px;
    font-size: 0.9rem;
    padding: 0.75rem 1.2rem;
  }

  /* Verification overlay (patikrinimo langas) */
  .verification-card {
    padding: 1.5rem 1.1rem;
    margin: 0 auto;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .radar-hub {
    width: 72px;
    height: 72px;
    margin-bottom: 0.8rem;
  }

  .verification-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
  }

  .riddle-options {
    gap: 0.55rem;
  }

  .btn-riddle-opt {
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
  }

  .btn-modal-cal,
  .btn-modal-skip {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    min-height: 48px;
  }

  /* Detalių puslapis */
  .details-title {
    font-size: 1.6rem;
  }

  .event-actions-bar {
    flex-direction: column;
    gap: 0.6rem;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 0.9rem;
  }

  /* App container padding */
  .app-container {
    padding: 0.25rem 1rem 2rem;
  }



  /* Lyderių lentelė */
  .leaderboard-wrapper {
    border-radius: 16px 16px 0 0;
  }
}

/* ===========================================
   🎮 ŽAIDIMO SUDĖTINGUMO IR GARSO STILIAI
   =========================================== */
.difficulty-selector-wrap {
  margin: 0.75rem 0 1.25rem 0;
  text-align: center;
}

.diff-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #A7F3D0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.diff-pills {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.diff-btn {
  flex: 1;
  max-width: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(110, 231, 183, 0.3);
  border-radius: 14px;
  color: #ECFDF5;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.18, 1.25, 0.4, 1);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.diff-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #6EE7B7;
}

.diff-btn.active {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(16, 185, 129, 0.95));
  border-color: #FCD34D;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4), 0 0 0 2px rgba(252, 211, 77, 0.6);
  transform: scale(1.03);
}

.diff-icon {
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0.1rem;
}

.diff-label {
  font-family: var(--font-display, sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
}

.diff-sub {
  font-size: 0.68rem;
  color: #A7F3D0;
  opacity: 0.85;
}

.diff-btn.active .diff-sub {
  color: #FEF3C7;
  opacity: 1;
  font-weight: 700;
}

