/* ==========================================================================
   Lucky365 — Lucky Charm Bright Design System
   Fonts: Fredoka (headings) + Golos Text (body)
   ========================================================================== */

:root {
  --primary: #ff6034;
  --primary-dark: #e04e25;
  --secondary: #1989fa;
  --bg-body: #ebedf0;
  --bg-section: #f5f6f8;
  --bg-dark: #1a1c20;
  --bg-card: #ffffff;
  --border: #d8dbe0;
  --text-primary: #1a1c20;
  --text-muted: #5b6270;
  --accent: #1989fa;
  --gold: #ffb400;

  --shadow-sm: 0 2px 8px rgba(26, 28, 32, 0.06);
  --shadow-md: 0 6px 20px rgba(26, 28, 32, 0.08);
  --shadow-lg: 0 14px 40px rgba(26, 28, 32, 0.12);
  --shadow-coral: 0 8px 22px rgba(255, 96, 52, 0.28);
  --shadow-blue: 0 8px 22px rgba(25, 137, 250, 0.24);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1160px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Fredoka', 'Golos Text', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
p { color: var(--text-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; position: relative; }
.section--gray { background: var(--bg-section); }
.section--dark { background: var(--bg-dark); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 96, 52, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-head p { font-size: 1.08rem; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-coral); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 96, 52, 0.36); }
.btn--secondary { background: transparent; color: var(--secondary); border-color: var(--secondary); }
.btn--secondary:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn--ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3); }
.btn--wa:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 36px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(235, 237, 240, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo-text { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text-primary); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-primary);
  padding: 9px 15px;
  border-radius: 100px;
  transition: all var(--transition);
}
.nav__links a:hover { color: var(--primary); background: rgba(255, 96, 52, 0.08); }
.nav__links a.active { color: var(--primary); background: rgba(255, 96, 52, 0.12); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 24px; height: 2.5px; background: var(--text-primary); border-radius: 3px; transition: all var(--transition); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255, 96, 52, 0.22) 0%, transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -12%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(25, 137, 250, 0.18) 0%, transparent 62%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #ffd9cc;
  background: rgba(255, 96, 52, 0.14);
  border: 1px solid rgba(255, 96, 52, 0.3);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--primary); }
.hero__lead { color: #c3c8d2; font-size: 1.14rem; max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stat .num { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.7rem; color: #fff; }
.hero__stat .lbl { font-size: 0.85rem; color: #9aa1af; }

/* Scattered image cards */
.hero__cards { position: relative; min-height: 380px; }
.hero__card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.9);
  transition: transform var(--transition);
}
.hero__card img { width: 100%; display: block; }
.hero__card--1 { top: 6%; left: 2%; width: 74%; transform: rotate(-5deg); z-index: 2; }
.hero__card--2 { bottom: 4%; right: 0%; width: 66%; transform: rotate(4deg); z-index: 3; }
.hero__card:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.hero__chip {
  position: absolute;
  z-index: 4;
  background: #fff;
  color: var(--text-primary);
  border-radius: 100px;
  padding: 9px 16px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero__chip--live { top: 0; right: 12%; }
.hero__chip--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,0.2); }
.hero__chip--lucky { bottom: 30%; left: -4%; color: var(--primary); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 27px; height: 27px; }
.feature__icon--coral { background: rgba(255, 96, 52, 0.12); color: var(--primary); }
.feature__icon--blue { background: rgba(25, 137, 250, 0.12); color: var(--secondary); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }

/* ---------- Games grid ---------- */
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.game-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.game-card__body { padding: 16px 18px; }
.game-card__body h4 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem; }
.game-card__body span { font-size: 0.85rem; color: var(--text-muted); }
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-coral); border-color: var(--primary); }
.game-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  font-size: 0.72rem; padding: 4px 11px; border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Simple game tiles (no image) */
.tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.tile:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-coral); }
.tile__emoji { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.tile h4 { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.02rem; margin-bottom: 4px; }
.tile p { font-size: 0.85rem; margin: 0; }

/* ---------- Steps ---------- */
.step { text-align: center; position: relative; }
.step__num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-coral);
}
.step:nth-child(even) .step__num { background: var(--secondary); box-shadow: var(--shadow-blue); }
.step h4 { font-family: 'Fredoka', sans-serif; margin-bottom: 8px; }
.step p { font-size: 0.95rem; }

/* ==========================================================================
   Interactive Tools
   ========================================================================== */
.tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.tool__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.tool__head .feature__icon { margin-bottom: 0; }
.tool__head h3 { margin: 0; }
.tool > p.tool__desc { margin-bottom: 24px; font-size: 0.97rem; }

.tool label { display: block; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 0.92rem; margin-bottom: 8px; color: var(--text-primary); }
.tool select, .tool input[type="text"] {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--text-primary);
  background: var(--bg-section);
  transition: border-color var(--transition);
}
.tool select:focus, .tool input:focus { outline: none; border-color: var(--primary); }

/* Streak Tracker */
.streak__actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.streak__actions .btn { flex: 1; min-width: 120px; }
.btn--win { background: #22b573; color: #fff; box-shadow: 0 6px 18px rgba(34,181,115,0.28); }
.btn--win:hover { background: #1c9c62; color: #fff; transform: translateY(-2px); }
.btn--loss { background: #ef4a5a; color: #fff; box-shadow: 0 6px 18px rgba(239,74,90,0.26); }
.btn--loss:hover { background: #d93a49; color: #fff; transform: translateY(-2px); }
.btn--reset { background: transparent; color: var(--text-muted); border-color: var(--border); box-shadow: none; }
.btn--reset:hover { background: var(--bg-section); color: var(--text-primary); }

.streak__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.streak__stat { background: var(--bg-section); border-radius: var(--radius-sm); padding: 16px 12px; text-align: center; border: 1px solid var(--border); }
.streak__stat .v { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--primary); line-height: 1; }
.streak__stat .l { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

.luck-score { margin-bottom: 20px; }
.luck-score__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.luck-score__top .lbl { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 0.9rem; }
.luck-score__top .val { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--secondary); }
.luck-bar { height: 14px; background: var(--bg-section); border-radius: 100px; overflow: hidden; border: 1px solid var(--border); }
.luck-bar__fill { height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, var(--primary), var(--gold)); transition: width 0.6s cubic-bezier(0.4,0,0.2,1); }

.streak__viz { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 18px; min-height: 26px; }
.streak__pip { width: 22px; height: 22px; border-radius: 6px; background: var(--bg-section); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.streak__pip.win { background: #22b573; border-color: #22b573; }
.streak__pip.loss { background: #ef4a5a; border-color: #ef4a5a; }
.streak__milestone { text-align: center; font-family: 'Fredoka', sans-serif; font-weight: 500; color: var(--primary); min-height: 24px; }

/* Zodiac */
.zodiac__signs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 22px; }
.zodiac__sign {
  background: var(--bg-section); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 4px; text-align: center; cursor: pointer; transition: all var(--transition);
}
.zodiac__sign:hover { border-color: var(--primary); transform: translateY(-2px); }
.zodiac__sign.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.zodiac__sign .em { font-size: 1.4rem; display: block; }
.zodiac__sign .nm { font-size: 0.7rem; font-family: 'Fredoka', sans-serif; margin-top: 3px; }
.zodiac__result { display: none; }
.zodiac__result.show { display: block; animation: fade 0.4s ease; }
.zodiac__fortune {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
}
.zodiac__fortune h4 { color: #fff; font-family: 'Fredoka', sans-serif; margin-bottom: 8px; }
.zodiac__fortune p { color: #c3c8d2; margin: 0; font-size: 0.98rem; }
.zodiac__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zodiac__cell { background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.zodiac__cell .l { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.zodiac__cell .v { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem; margin-top: 4px; }
.zodiac__swatch { width: 20px; height: 20px; border-radius: 50%; margin: 4px auto 0; border: 2px solid #fff; box-shadow: var(--shadow-sm); }

/* Risk Reward Slider */
.risk__slider-wrap { margin: 26px 0 20px; }
.risk__track { position: relative; }
input[type="range"].risk__range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px;
  border-radius: 100px; outline: none;
  background: linear-gradient(90deg, #22b573 0%, var(--gold) 50%, #ef4a5a 100%);
}
input[type="range"].risk__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary); cursor: pointer;
  box-shadow: var(--shadow-md);
}
input[type="range"].risk__range::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary); cursor: pointer;
  box-shadow: var(--shadow-md);
}
.risk__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.82rem; color: var(--text-muted); font-family: 'Fredoka', sans-serif; }
.risk__level {
  text-align: center; font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 1.5rem; margin-bottom: 6px; transition: color var(--transition);
}
.risk__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.risk__stat { background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.risk__stat .l { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.risk__stat .v { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.25rem; margin-top: 4px; }
.risk__desc { background: rgba(25,137,250,0.06); border: 1px solid rgba(25,137,250,0.2); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.95rem; color: var(--text-primary); }
.risk__desc strong { font-family: 'Fredoka', sans-serif; }
.risk__games { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.risk__game-pill { background: var(--bg-section); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; font-size: 0.85rem; font-family: 'Fredoka', sans-serif; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: box-shadow var(--transition); }
.faq__item.open { box-shadow: var(--shadow-md); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 1.06rem; color: var(--text-primary);
}
.faq__q .icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,96,52,0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: transform var(--transition); font-family: 'Golos Text',sans-serif; }
.faq__item.open .faq__q .icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a-inner { padding: 0 24px 22px; }
.faq__a-inner p { margin: 0; }

/* ---------- Auth (login / signup) ---------- */
.auth { padding: 60px 0; min-height: 70vh; display: flex; align-items: center; }
.auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; max-width: 980px; margin: 0 auto; width: 100%; }
.auth__panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.auth__panel h1 { font-size: 1.9rem; margin-bottom: 8px; }
.auth__panel > p { margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 0.9rem; margin-bottom: 7px; }
.form-group input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--bg-section); transition: border-color var(--transition);
}
.form-group input:focus { outline: none; border-color: var(--primary); background: #fff; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; text-align: center; }
.auth__aside h2 { margin-bottom: 16px; }
.auth__benefits li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--text-primary); }
.auth__benefits li svg { flex-shrink: 0; width: 22px; height: 22px; color: #22b573; margin-top: 2px; }
.auth__disclaimer { background: rgba(255,180,0,0.1); border: 1px solid rgba(255,180,0,0.35); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.85rem; color: #7a5a00; margin-top: 22px; }

/* ---------- APK page ---------- */
.apk-hero { background: var(--bg-dark); color: #fff; padding: 70px 0; }
.apk-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.apk-hero h1 { color: #fff; }
.apk-hero p { color: #c3c8d2; }
.apk-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(37,211,102,0.14); border: 1px solid rgba(37,211,102,0.34); color: #7ee2a8; padding: 7px 16px; border-radius: 100px; font-size: 0.85rem; font-family: 'Fredoka',sans-serif; margin-bottom: 20px; }
.apk-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.apk-spec { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 16px; }
.apk-spec .l { font-size: 0.78rem; color: #9aa1af; text-transform: uppercase; letter-spacing: 0.04em; }
.apk-spec .v { font-family: 'Fredoka',sans-serif; font-weight: 600; font-size: 1.1rem; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); border-radius: var(--radius-lg); padding: 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: "🍀"; position: absolute; font-size: 9rem; opacity: 0.12; top: -10px; left: 20px; }
.cta-band::after { content: "⭐"; position: absolute; font-size: 7rem; opacity: 0.12; bottom: -20px; right: 30px; }
.cta-band h2 { color: #fff; position: relative; z-index: 2; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); position: relative; z-index: 2; margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn--primary { background: #fff; color: var(--primary); box-shadow: 0 8px 22px rgba(0,0,0,0.15); }
.cta-band .btn--primary:hover { background: #fff8f6; color: var(--primary-dark); }
.cta-band .hero__actions { justify-content: center; position: relative; z-index: 2; margin-bottom: 0; }

/* ---------- Legal / Content pages ---------- */
.page-hero { background: var(--bg-dark); color: #fff; padding: 56px 0; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #c3c8d2; max-width: 640px; margin: 0 auto; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text-primary); }
.prose ul { margin: 0 0 18px 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-primary); }
.prose ul li::before { content: "✦"; position: absolute; left: 0; color: var(--primary); }
.prose a { font-weight: 500; }
.prose .updated { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }

/* Contact */
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.contact-card .feature__icon { margin-bottom: 0; flex-shrink: 0; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #c3c8d2; padding: 60px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 42px; }
.footer__brand img { height: 30px; margin-bottom: 16px; }
.footer__brand p { color: #9aa1af; font-size: 0.92rem; max-width: 280px; }
.footer h4 { color: #fff; font-family: 'Fredoka',sans-serif; font-size: 1rem; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #9aa1af; font-size: 0.92rem; }
.footer__links a:hover { color: var(--primary); }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { color: #7d8494; font-size: 0.85rem; margin: 0; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: #7d8494; font-size: 0.85rem; }
.footer__legal a:hover { color: var(--primary); }
.footer__disclaimer { background: rgba(255,180,0,0.08); border: 1px solid rgba(255,180,0,0.2); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.82rem; color: #b5a06a; margin-bottom: 30px; text-align: center; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Helpers ---------- */
.age-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(239,74,90,0.12); color: #d93a49; font-family: 'Fredoka',sans-serif; font-weight: 600; font-size: 0.8rem; padding: 5px 12px; border-radius: 100px; }
.mt-lg { margin-top: 40px; }
.text-center { text-align: center; }

@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid, .auth__grid, .apk-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__cards { min-height: 320px; max-width: 460px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .zodiac__signs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-body); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; gap: 4px;
    transform: translateY(-130%); transition: transform var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 15px; }
  .nav__cta { margin: 6px 0 0; }
  .nav__toggle { display: flex; }
  .section { padding: 56px 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .streak__stats, .zodiac__meta { grid-template-columns: 1fr 1fr; }
  .risk__stats { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .tool { padding: 24px; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .zodiac__signs { grid-template-columns: repeat(3, 1fr); }
  .streak__stats { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
}
