/* =============================================
   TOMODACHI LIFE: LIVING THE DREAM
   Mobile-first CSS — style.css
   ============================================= */

/* ── Tomodachi Font ─────────────────────────── */
@font-face {
  font-family: 'Tomodachi';
  src: url('tomodachi_font_by_pokemon_diamond-d82qlqz.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ──────────────────────────── */
:root {
  --sky:        #c9eeff;
  --yellow:     #ffe44d;
  --yellow-dk:  #f5c800;
  --mint:       #b8f0c8;
  --coral:      #ff7f7f;
  --coral-dk:   #ff5555;
  --pink:       #ffb3c6;
  --lavender:   #d6c9ff;
  --white:      #ffffff;
  --text:       #2d2d2d;
  --text-soft:  #666;
  --shadow-sm:  0 4px 14px rgba(0,0,0,0.09);
  --shadow-md:  0 8px 28px rgba(0,0,0,0.13);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.18);
  --radius-sm:  12px;
  --radius-md:  20px;
  --radius-lg:  28px;
  --font-head:  'Tomodachi', 'Nunito', sans-serif;
  --font-body:  'Nunito', sans-serif;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sky);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { text-decoration: none; color: inherit; }

/* ── Shared Section Labels ──────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-dk);
  background: var(--pink);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.section-label i {
  font-size: 0.88rem;
  line-height: 1;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.15;
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.18s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.95) !important; }

.btn--primary {
  background: linear-gradient(135deg, var(--yellow), #ffc200);
  color: #2d2d2d;
  box-shadow: 0 6px 0 var(--yellow-dk), 0 8px 20px rgba(255,193,0,0.4);
}

.btn--xl {
  font-size: clamp(1rem, 4vw, 1.15rem);
  padding: 16px 36px;
}

.btn__icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(175deg, #c2eeff 0%, #daf5ff 45%, #f0fcff 80%, #fffde8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 20px 90px;
  overflow: hidden;
}

/* Clouds */
.hero__clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 99px;
  opacity: 0.65;
  filter: blur(1.5px);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud--1 { width: 84px; height: 26px; top: 8%; left: -8px; animation: floatCloud 12s ease-in-out infinite; }
.cloud--1::before { width: 40px; height: 40px; top: -20px; left: 10px; }
.cloud--1::after  { width: 30px; height: 30px; top: -14px; left: 36px; }

.cloud--2 { width: 68px; height: 20px; top: 20%; right: -4px; animation: floatCloud 16s ease-in-out 2s infinite reverse; }
.cloud--2::before { width: 34px; height: 34px; top: -17px; left: 8px; }
.cloud--2::after  { width: 24px; height: 24px; top: -11px; left: 28px; }

.cloud--3 { width: 100px; height: 28px; top: 36%; left: 6%; animation: floatCloud 19s ease-in-out 4s infinite; }
.cloud--3::before { width: 46px; height: 46px; top: -24px; left: 14px; }
.cloud--3::after  { width: 34px; height: 34px; top: -16px; left: 48px; }

@keyframes floatCloud {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(20px); }
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.hero__logo {
  width: min(280px, 82vw);
  animation: heroBounce 0.65s cubic-bezier(.34,1.56,.64,1) both;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.2));
}

@keyframes heroBounce {
  0%   { transform: scale(0.55) translateY(-24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 800;
  color: #2a607a;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 22px;
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
}

.hero__badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.badge--free   { background: var(--mint);    color: #1a7a3a; }
.badge--switch { background: var(--lavender); color: #4a2d8a; }

/* Hero visual */
.hero__visual {
  position: relative;
  z-index: 1;
  width: min(380px, 94vw);
  margin-top: 28px;
  animation: visualPop 0.6s 0.2s cubic-bezier(.34,1.56,.64,1) both;
}

.hero__visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.85);
  aspect-ratio: 16 / 9;
}

.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes visualPop {
  0%   { opacity: 0; transform: scale(0.88) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Wave */
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(56% 100% at 50% 100%);
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  background: var(--white);
  padding: 56px 20px 64px;
  text-align: center;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 500px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 14px 22px;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(0,0,0,0.05);
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
  cursor: default;
}

@media (hover: hover) {
  .feature-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-md);
  }
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature-card__icon i {
  font-size: 1.5rem;
  line-height: 1;
}

.feature-card__title {
  font-family: var(--font-head);
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.2;
}

.feature-card__desc {
  font-size: clamp(0.7rem, 2.4vw, 0.78rem);
  color: var(--text-soft);
  line-height: 1.55;
}

/* =============================================
   SAFETY VERIFICATION
   ============================================= */
.safety {
  background: var(--white);
  padding: 40px 20px 60px;
  text-align: center;
}

.safety__card {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.safety__text {
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  color: var(--text-soft);
  margin-bottom: 25px;
  line-height: 1.6;
}

.safety__proof {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid white;
  margin-bottom: 25px;
  background: #f8f9fa;
  aspect-ratio: 16 / 8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.safety__proof:hover .safety__image {
  transform: scale(1.05);
}

.safety__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #2e7d32;
  color: white;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.safety__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0f4f8;
  color: #2a607a;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1.5px solid rgba(42, 96, 122, 0.1);
}

.safety__link:hover {
  background: #2a607a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 96, 122, 0.2);
}

/* =============================================
   SLIDER
   ============================================= */
.slider-section {
  background: var(--sky);
  padding: 56px 0 64px;
  text-align: center;
  overflow: hidden;
}

.slider-section .section-label,
.slider-section .section-title {
  padding-left: 20px;
  padding-right: 20px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  margin-bottom: 20px;
}

.slider-wrapper:active { cursor: grabbing; }

.slider-track {
  display: flex;
  gap: 16px;
  padding: 12px 24px;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(.34,1.38,.64,1);
}

.slide {
  flex: 0 0 calc(100vw - 48px);
  max-width: 420px;
}

.slide__frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  border: 3px solid rgba(255,255,255,0.9);
}

.slide__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Arrow buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), background 0.15s;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.slider-btn i {
  font-size: 1.15rem;
  line-height: 1;
}

.slider-btn:active { transform: translateY(-50%) scale(0.9); }

@media (hover: hover) {
  .slider-btn:hover {
    transform: translateY(-50%) scale(1.15);
    background: var(--yellow);
  }
}

.slider-btn--prev { left: 6px; }
.slider-btn--next { right: 6px; }
.slider-btn.hidden { opacity: 0; pointer-events: none; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.22s, transform 0.22s cubic-bezier(.34,1.56,.64,1), width 0.22s;
  -webkit-tap-highlight-color: transparent;
}

.dot.active {
  background: var(--coral);
  width: 24px;
  border-radius: 99px;
  transform: scale(1.1);
}

/* =============================================
   DOWNLOAD CTA
   ============================================= */
.download {
  position: relative;
  background: linear-gradient(160deg, #ffe8a3 0%, #ffd04a 55%, #ffb347 100%);
  padding: 70px 20px 90px;
  text-align: center;
  overflow: hidden;
}

.download__bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: bubbleFloat 6s ease-in-out infinite;
}
.download__bubble--1 { width: 150px; height: 150px; background: var(--coral);   top: -36px; left: -36px; animation-delay: 0s; }
.download__bubble--2 { width: 100px; height: 100px; background: var(--mint);    bottom: 36px; right: -18px; animation-delay: 1.5s; }
.download__bubble--3 { width: 68px;  height: 68px;  background: var(--lavender); top: 48%; right: 18px; animation-delay: 3s; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-16px) scale(1.05); }
}

.download__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Small gameplay preview in CTA */
.download__preview {
  width: min(300px, 88vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.8);
  aspect-ratio: 16 / 9;
  animation: miiFloat 4s ease-in-out infinite;
}

.download__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.download__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}

.download__sub {
  font-size: clamp(0.88rem, 3.2vw, 1rem);
  font-weight: 600;
  color: #5a4a00;
  max-width: 290px;
  line-height: 1.55;
}

.download__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.switch-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 99px;
  padding: 8px 18px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text);
}

.switch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.switch-dot--red  { background: #e4000f; }
.switch-dot--blue { background: #009ac7; }

.age-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
}

.age-rating__box {
  width: 34px;
  height: 34px;
  background: #009a44;
  border-radius: 8px;
  color: white;
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-rating__label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.3;
  text-align: left;
}

.download__disclaimer {
  font-size: 0.62rem;
  color: #7a6000;
  max-width: 280px;
  line-height: 1.5;
  opacity: 0.75;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #1e2a3a;
  color: rgba(255,255,255,0.55);
  padding: 26px 20px;
  text-align: center;
}

.footer__copy {
  font-size: 0.7rem;
  margin-bottom: 12px;
}

.footer__links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--yellow); }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.34,1.38,.64,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card.reveal:nth-child(2) { transition-delay: 0.07s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.14s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.21s; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Small phones — extra tight */
@media (max-width: 360px) {
  .hero { padding: 44px 16px 80px; }
  .hero__logo { width: 240px; }
  .features__grid { gap: 10px; }
  .btn--xl { padding: 14px 28px; }
}

/* Wider phones & small tablets */
@media (min-width: 480px) {
  .features__grid { max-width: 520px; gap: 16px; }
  .slide { flex: 0 0 440px; }
  .hero__visual { width: min(400px, 90vw); }
}

/* Tablets */
@media (min-width: 640px) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 620px;
    gap: 14px;
  }
  .download__preview { width: min(380px, 80vw); }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(26px + env(safe-area-inset-bottom));
  }
}

/* =============================================
   STORE BUTTONS (App Store / Google Play)
   ============================================= */
.store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
  min-width: 150px;
  text-decoration: none;
}

.store-btn:active {
  transform: scale(0.95) !important;
}

@media (hover: hover) {
  .store-btn:hover {
    transform: scale(1.06) translateY(-2px);
  }
}

.store-btn--apple {
  background: #000;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.store-btn--google {
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
  border: 1.5px solid rgba(0,0,0,0.08);
}

.store-btn--windows {
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(0,120,212,0.15);
  border: 1.5px solid rgba(0,120,212,0.1);
}

.store-btn--macos {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
}

.store-btn__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn__text small {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.78;
  letter-spacing: 0.02em;
}

.store-btn__text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* =============================================
   POPUP MODAL
   ============================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 40, 70, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;        /* slide up from bottom on mobile */
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup {
  position: relative;
  background: var(--white);
  border-radius: 32px 32px 0 0;
  padding: 32px 24px 48px;
  width: 100%;
  max-width: 480px;
  max-height: 92svh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(.34,1.22,.64,1);
  /* drag handle visual */
}

.popup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(0,0,0,0.14);
  border-radius: 99px;
}

.popup-overlay.active .popup {
  transform: translateY(0);
}

.popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-soft);
  transition: background 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.popup__close:hover { background: #e0e0e0; transform: scale(1.1); }

/* Icon */
.popup__icon-wrap {
  margin-top: 8px;
}

.popup__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb3c6, #ff7f7f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 24px rgba(255,100,120,0.35);
  animation: heartPulse 2s ease-in-out infinite;
}

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

.popup__title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}

.popup__lead {
  font-size: 0.92rem;
  color: var(--text-soft);
  max-width: 300px;
  line-height: 1.55;
}

.popup__lead strong { color: var(--text); }

/* Info box */
.popup__info-box {
  background: #f0f8ff;
  border: 1.5px solid #c3dff5;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 360px;
}

.popup__info-icon {
  font-size: 1.2rem;
  color: #2a82c4;
  flex-shrink: 0;
  margin-top: 1px;
}

.popup__info-box p {
  font-size: 0.82rem;
  color: #2a4a6a;
  line-height: 1.55;
}

.popup__info-box strong { color: #1a3a5a; }

/* Steps */
.popup__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.popup__step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: left;
}

.popup__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.82rem;
  color: #5a4a00;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(255,193,0,0.35);
}

.popup__step p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.popup__step p strong { color: var(--text); }

/* Sponsor button */
.popup__sponsor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4CAF50, #2e7d32);
  color: white;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 0 #1b5e20, 0 10px 24px rgba(76,175,80,0.35);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
  text-decoration: none;
  width: 100%;
  max-width: 340px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.popup__sponsor-btn:hover  { transform: scale(1.04) translateY(-2px); }
.popup__sponsor-btn:active { transform: scale(0.96); }
.popup__sponsor-btn i      { font-size: 1.1rem; }

/* Proceed button */
.popup__proceed-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--yellow), #ffc200);
  color: #2d2d2d;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--yellow-dk), 0 8px 20px rgba(255,193,0,0.3);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s, opacity 0.2s;
  width: 100%;
  max-width: 340px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.popup__proceed-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}

.popup__proceed-btn:not(:disabled):hover  { transform: scale(1.04) translateY(-2px); }
.popup__proceed-btn:not(:disabled):active { transform: scale(0.96); }
.popup__proceed-btn i { font-size: 1.1rem; }

.popup__note {
  font-size: 0.68rem;
  color: rgba(0,0,0,0.35);
  margin-top: -8px;
}

