/* =============================================================
   balloonslot.com — Sunset Drift design system
   ============================================================= */

:root {
  /* Sunset palette */
  --sky-1: #ffe4cc;
  --sky-2: #ffb88c;
  --sky-3: #ff7a8a;
  --sky-4: #c084fc;
  --sky-5: #6366f1;

  --bg: #fff8f0;
  --bg-soft: #fff1e0;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.72);

  --ink: #1a1430;
  --ink-2: #3d3554;
  --ink-3: #6b6480;
  --ink-4: #a09bb0;
  --line: rgba(26, 20, 48, 0.08);

  /* Accents */
  --flame: #f97316;
  --flame-dark: #ea580c;
  --rose: #ec4899;
  --azure: #0ea5e9;
  --mint: #10b981;
  --gold: #f59e0b;

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* Shadows */
  --shadow-soft: 0 2px 8px rgba(26,20,48,0.04), 0 12px 32px -12px rgba(26,20,48,0.10);
  --shadow-card: 0 4px 16px rgba(236, 72, 153, 0.08), 0 24px 48px -16px rgba(99, 102, 241, 0.18);
  --shadow-cta: 0 8px 28px -8px rgba(249, 115, 22, 0.5);
  --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.35);

  /* Fonts */
  --f-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* === Background sky === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, var(--sky-1), transparent 65%),
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255,184,140,0.55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 25%, rgba(192,132,252,0.35), transparent 70%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(99,102,241,0.18), transparent 70%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(26,20,48,0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

/* === Decorative floating clouds layer === */
.cloud-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.cloud {
  position: absolute;
  opacity: 0.5;
  filter: blur(0.5px);
  will-change: transform;
}
.cloud-1 { top: 8%; left: -10%; animation: drift-r 80s linear infinite; }
.cloud-2 { top: 22%; right: -10%; animation: drift-l 90s linear infinite; }
.cloud-3 { top: 60%; left: -8%; animation: drift-r 110s linear infinite; }

@keyframes drift-r {
  from { transform: translateX(0); }
  to { transform: translateX(120vw); }
}
@keyframes drift-l {
  from { transform: translateX(0); }
  to { transform: translateX(-120vw); }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.header .container { padding: 0 36px; }
@media (max-width: 640px) { .header .container { padding: 0 24px; } .container { padding: 0 20px; } }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(255, 248, 240, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--flame) 0%, var(--rose) 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-cta);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute; bottom: -3px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 6px;
  background: linear-gradient(180deg, #92400e, #451a03);
  border-radius: 0 0 3px 3px;
}
.logo-mark svg { width: 22px; height: 22px; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--flame); }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--flame) 0%, var(--rose) 100%);
  color: #fff; font-weight: 600; font-size: 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(249,115,22,0.6); }

.menu-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative; padding: 80px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--flame-dark);
  font-weight: 600; font-size: 13px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(249, 115, 22, 0.2);
}
.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--flame), var(--rose) 60%, var(--sky-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 18px; color: var(--ink-3);
  max-width: 540px; margin-bottom: 36px;
}
.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.btn-primary {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--flame), var(--rose));
  color: #fff; font-weight: 600; font-size: 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(249,115,22,0.6); }
.btn-secondary {
  padding: 16px 28px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600; font-size: 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 36px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--f-display);
  font-size: 28px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
}
.hero-stat .num .x { color: var(--flame); }
.hero-stat .label { font-size: 13px; color: var(--ink-3); }

/* Hero balloon visual */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.balloon-main {
  position: relative;
  animation: float-up 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(236, 72, 153, 0.25));
}
@keyframes float-up {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-24px) rotate(2deg); }
}

.multiplier-badge {
  position: absolute;
  top: 18%; right: -10px;
  background: #fff;
  padding: 14px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  font-family: var(--f-display);
  font-weight: 700; font-size: 22px;
  color: var(--flame);
  border: 2px solid rgba(249,115,22,0.15);
  animation: pulse-badge 2s ease-in-out infinite;
}
.multiplier-badge .mlabel { font-size: 10px; font-weight: 500; color: var(--ink-4); display: block; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.cashout-badge {
  position: absolute;
  bottom: 16%; left: -10px;
  background: linear-gradient(135deg, var(--mint), #34d399);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 28px -8px rgba(16,185,129,0.4);
  display: flex; align-items: center; gap: 8px;
  animation: float-up 5s ease-in-out infinite reverse;
}

/* Mini balloons floating */
.mini-balloon {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}
.mini-1 { top: 10%; left: 5%; width: 60px; animation: bob 7s ease-in-out infinite; }
.mini-2 { bottom: 15%; right: 8%; width: 48px; animation: bob 9s ease-in-out infinite; animation-delay: -2s; }
.mini-3 { top: 60%; left: 0%; width: 40px; animation: bob 8s ease-in-out infinite; animation-delay: -4s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-15px) translateX(8px); }
  66% { transform: translateY(8px) translateX(-6px); }
}

/* ============ SECTION TITLES ============ */
.section { padding: 80px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--sky-5);
  font-weight: 600; font-size: 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 17px; color: var(--ink-3);
}

/* ============ FEATURES GRID ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--flame), var(--rose));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(236,72,153,0.15));
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.feature h3 {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p { color: var(--ink-3); font-size: 15px; }

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
  text-align: center;
}
.step-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--flame), var(--rose));
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700; font-size: 18px;
  box-shadow: var(--shadow-cta);
}
.step h4 {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 600; margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--ink-3); }

/* ============ MULTIPLIER SHOWCASE ============ */
.multiplier-showcase {
  background: linear-gradient(135deg, #1a1430 0%, #3d2966 50%, #5b21b6 100%);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.multiplier-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(249,115,22,0.3), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236,72,153,0.3), transparent 50%);
  pointer-events: none;
}
.ms-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; position: relative;
}
.ms-grid h2 {
  font-family: var(--f-display);
  font-size: 2.6rem; line-height: 1.1; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.ms-grid p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 28px; }
.ms-numbers { display: flex; gap: 36px; flex-wrap: wrap; }
.ms-num .v {
  font-family: var(--f-display);
  font-weight: 700; font-size: 36px;
  background: linear-gradient(135deg, #fbbf24, var(--flame));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ms-num .l { color: rgba(255,255,255,0.6); font-size: 13px; }
.ms-visual { text-align: center; position: relative; }
.ms-visual .big-mult {
  font-family: var(--f-display);
  font-weight: 700; font-size: 6rem;
  background: linear-gradient(135deg, #fbbf24 20%, var(--flame) 60%, var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.05em;
  text-shadow: 0 0 60px rgba(251, 191, 36, 0.4);
}

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  background: var(--card);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.faq:hover { box-shadow: var(--shadow-soft); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
}
.faq-q h3 {
  font-family: var(--f-display);
  font-weight: 600; font-size: 16px;
  margin: 0; line-height: 1.4;
  color: var(--ink);
  flex: 1;
}
.faq-icon {
  width: 28px; height: 28px;
  background: rgba(249,115,22,0.1);
  color: var(--flame);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
  transition: transform 0.3s;
}
.faq.open .faq-icon { transform: rotate(45deg); background: var(--flame); color: #fff; }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--ink-3);
}
.faq.open .faq-body { max-height: 400px; padding: 0 24px 22px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--flame) 0%, var(--rose) 60%, var(--sky-4));
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-family: var(--f-display);
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.9); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary {
  background: #fff; color: var(--flame-dark);
  box-shadow: 0 12px 36px -8px rgba(0,0,0,0.25);
}
.cta-banner .btn-primary:hover { background: #fff8f0; }

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(180deg, transparent, rgba(26,20,48,0.04));
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .tagline { color: var(--ink-3); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-col .footer-col-title {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-3); transition: color 0.2s; }
.footer-col a:hover { color: var(--flame); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 16px;
}
.footer-base p { font-size: 13px; color: var(--ink-4); }
.age-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(236, 72, 153, 0.1);
  color: var(--rose);
  border-radius: 100px;
  font-weight: 600; font-size: 12px;
}

/* ============ ARTICLE / CONTENT PAGES ============ */
.article {
  max-width: 820px; margin: 0 auto;
  padding: 60px 24px 0;
}
.article h1 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 16px;
}
.article .lede {
  font-size: 19px; color: var(--ink-3); margin-bottom: 36px;
}
.article h2 {
  font-family: var(--f-display);
  font-size: 1.8rem; font-weight: 700;
  margin: 48px 0 16px;
  letter-spacing: -0.015em;
}
.article h3 {
  font-family: var(--f-display);
  font-size: 1.25rem; font-weight: 600;
  margin: 28px 0 12px;
}
.article p { margin-bottom: 14px; color: var(--ink-2); font-size: 16px; }
.article ul.bullets { margin: 14px 0 14px 24px; }
.article ul.bullets li {
  position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--ink-2);
}
.article ul.bullets li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--flame), var(--rose));
  border-radius: 50%;
}
.info-callout {
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(236,72,153,0.08));
  border-left: 4px solid var(--flame);
  padding: 20px 24px;
  border-radius: var(--r-sm);
  margin: 24px 0;
}
.info-callout p { color: var(--ink-2); margin: 0; }

.article-figure {
  margin: 32px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--card);
}
.article-figure img,
.article-figure svg {
  width: 100%; height: auto; display: block;
}
.article-figure figcaption {
  padding: 12px 20px;
  font-size: 13px; color: var(--ink-3);
  background: var(--bg-soft);
  text-align: center;
  font-style: italic;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 36px 0 48px; }
  .hero-text { text-align: center; }
  .hero-cta-row { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; } /* hide big balloon on mobile */
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ms-grid { grid-template-columns: 1fr; text-align: center; }
  .ms-numbers { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .hero-stats { display: none; } /* keep hero clean: heading + text + button only */
  .hero h1 { font-size: 2rem; }
  .hero p.lede { font-size: 16px; margin-bottom: 24px; }
  .hero-cta-row .btn-secondary { display: none; } /* one primary CTA on mobile */
  .nav { display: none; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 16px; right: 16px;
    background: var(--card);
    border-radius: var(--r-md);
    padding: 16px;
    box-shadow: var(--shadow-card);
    gap: 4px;
  }
  .nav.open a { padding: 10px 14px; border-radius: 8px; }
  .nav.open a:hover { background: var(--bg-soft); }
  .features, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 22px; }
  .multiplier-showcase, .cta-banner { padding: 40px 24px; }
  .ms-visual .big-mult { font-size: 4rem; }
  .section { padding: 56px 0; }
  .article { padding: 40px 16px 0; }
  .multiplier-badge, .cashout-badge { transform: scale(0.85); }
}

/* ==== Mobile safety (prevent horizontal scroll, long-key overflow) ==== */
html, body { overflow-x: hidden; }
h1, h2, h3 { overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
img, svg, video, iframe { max-width: 100%; }
@media (max-width: 480px) {
  .btn, button { white-space: normal; min-height: 44px; }
  .hero-actions, .hero-cta, .hero-cta-row, .content-cta, .section-cta { width: 100%; }
  .hero-actions a, .hero-cta a, .hero-cta-row a, .content-cta a, .section-cta a { flex: 1 1 calc(50% - 6px); justify-content: center; }
}
@media (max-width: 360px) {
  .hero-actions a, .hero-cta a, .hero-cta-row a, .content-cta a, .section-cta a { flex: 1 1 100%; }
}

