/* 6E Club Guide – design tokens */
:root {
  --bg: #021a12;
  --bg-2: #04261b;
  --surface: #073324;
  --surface-2: #0b4230;
  --line: rgba(64, 222, 152, .16);
  --text: #e8fff4;
  --muted: #9cc9b5;
  --green: #1fd38a;
  --green-2: #0ea56a;
  --gold: #f5c542;
  --gold-2: #ff9d1c;
  --tg: #2aa4e0;
  --danger: #ff8a6b;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px var(--line), 0 18px 60px -25px rgba(31, 211, 138, .45);
  --grad-gold: linear-gradient(135deg, #ffe17a 0%, var(--gold) 40%, var(--gold-2) 100%);
  --grad-green: linear-gradient(180deg, #34e79c 0%, var(--green-2) 100%);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(31, 211, 138, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(245, 197, 66, .07), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 36px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 36px); }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, filter .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: .92rem; }
.btn-lg { --h: 54px; padding: 0 30px; font-size: 1.08rem; }
.btn-gold { background: var(--grad-gold); color: #2b1600; box-shadow: 0 10px 30px -10px rgba(245, 197, 66, .7); }
.btn-green { background: var(--grad-green); color: #00170c; box-shadow: 0 10px 30px -10px rgba(31, 211, 138, .7); }
.btn-ghost { background: rgba(31, 211, 138, .08); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-tg { background: var(--tg); color: #fff; box-shadow: 0 10px 30px -12px rgba(42, 164, 224, .8); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(2, 26, 18, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: baseline; text-decoration: none; font-family: var(--font-head); font-weight: 900; font-style: italic; }
.logo-6e { font-size: 1.9rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-club { font-size: 1.05rem; color: var(--gold); margin-left: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: rgba(31, 211, 138, .08); }
.top-cta { display: flex; gap: 8px; }

/* Hero */
.hero { padding: 56px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--green); background: rgba(31, 211, 138, .1); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 580px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.hero-cta.center { justify-content: center; }
.tg-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.tg-link svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--tg); fill: #fff; }
.tg-link:hover { color: var(--tg); }
.invite-pill { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--surface); border: 1px dashed rgba(245, 197, 66, .5); color: var(--muted); font-size: .95rem; }
.invite-pill strong { color: var(--gold); letter-spacing: .08em; }
.copy { font-family: var(--font-head); font-weight: 700; cursor: pointer; }
.invite-pill .copy { border: 0; background: var(--gold); color: #2b1600; border-radius: 999px; padding: 6px 14px; }

.hero-visual { position: relative; justify-self: center; }
.phone { position: relative; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #1b5a43, #052016 60%); box-shadow: var(--shadow), var(--glow); }
.phone img { border-radius: 26px; width: 100%; height: auto; }
.phone-hero { width: min(330px, 78vw); transform: rotate(3deg); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotate(3deg) translateY(-12px); } }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.float-card b { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); line-height: 1.1; }
.float-card span { font-size: .8rem; color: var(--muted); }
.fc-1 { left: -50px; top: 22%; }
.fc-2 { right: -40px; bottom: 18%; }

/* Gift code bar */
.giftbar { padding: 10px 0 30px; }
.gift-card {
  position: relative; border-radius: 26px; padding: 30px; overflow: hidden;
  background: linear-gradient(135deg, #0b4632 0%, #062a1d 60%), var(--surface);
  border: 1px solid rgba(245, 197, 66, .35);
  box-shadow: 0 30px 80px -30px rgba(245, 197, 66, .35);
}
.gift-card::after { content: "🎁"; position: absolute; right: 24px; top: 14px; font-size: 5rem; opacity: .18; transform: rotate(12deg); }
.gift-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gift-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.badge-live { font-size: .75rem; font-weight: 800; color: #ffd0c4; background: rgba(255, 90, 60, .22); padding: 4px 10px; border-radius: 999px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .55; } }
.code-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0 8px; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(1.25rem, 3.5vw, 1.9rem); font-weight: 800; letter-spacing: .06em; color: var(--gold); background: rgba(0, 0, 0, .3); border: 2px dashed rgba(245, 197, 66, .6); padding: 12px 20px; border-radius: 14px; word-break: break-all; }
.gift-meta { color: var(--muted); margin: 6px 0 18px; }
.gift-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.recent { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.recent-title { font-size: .85rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.recent ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.recent li { display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: .9rem; }
.recent code { color: var(--text); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); }
.recent span { color: var(--muted); font-size: .8rem; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: linear-gradient(180deg, rgba(7, 51, 36, .55), rgba(7, 51, 36, .2)); border-block: 1px solid var(--line); }
.sec-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
.sec-sub { color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.step-tag { color: var(--gold); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }

.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 26px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.fact b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); }
.fact span { font-size: .85rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--bg-2); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 34%; color: var(--muted); font-weight: 600; }

/* Guides */
.guide { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.guide.reverse .guide-text { order: 2; }
.guide.reverse .guide-shots { order: 1; }
.guide-text h3 { margin-top: 1.4em; }
.guide-shots { display: flex; justify-content: center; gap: 18px; }
.guide-shots .shot { width: min(300px, 80vw); }
.guide-shots.two .shot { width: min(250px, 42vw); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 22px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 16px 58px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: #00170c; background: var(--grad-green);
  box-shadow: 0 8px 20px -8px rgba(31, 211, 138, .8);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 2px; width: 2px; background: var(--line); }
.steps b { color: var(--text); }
.steps em, .guide-text em, .offer em { color: var(--green); font-style: normal; font-weight: 600; }
.tip { background: rgba(31, 211, 138, .08); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 0 14px 14px 0; color: var(--muted); margin-bottom: 22px; }
.tip.warn { background: rgba(255, 138, 107, .08); border-color: var(--danger); }
.tip b { color: var(--text); }
.guide-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 20px; }
.bonus-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.bonus-grid b { display: block; font-family: var(--font-head); }
.bonus-grid span { color: var(--gold); font-weight: 700; font-size: .9rem; }

.shot { margin: 0; }
.shot figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 12px; font-weight: 600; }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 8px; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.ticks b { color: var(--text); }

/* Games */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.game { position: relative; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid rgba(245, 197, 66, .3); border-radius: var(--radius); padding: 22px; }
.game p { color: var(--muted); margin: 0; }
.rank { position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--gold); opacity: .8; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cat p { color: var(--muted); margin: 0; }
.cat b { color: var(--text); }

/* Offers */
.offer-banner { max-width: 640px; margin: 0 auto 30px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow), var(--glow); }
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .2s, border-color .2s; }
.offer:hover { transform: translateY(-4px); border-color: rgba(245, 197, 66, .5); }
.offer h3 { color: var(--gold); }
.offer p { color: var(--muted); margin: 0; font-size: .95rem; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Final + footer */
.final { padding: 80px 0; text-align: center; background: radial-gradient(600px 300px at 50% 100%, rgba(245, 197, 66, .16), transparent 70%); }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.final p { color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: .9rem; color: var(--muted); }
.disclaimer b { color: var(--text); }
.copy-line a { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--gold); color: #2b1600; font-weight: 700; padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Notification bar */
.notify { position: sticky; top: 64px; z-index: 39; background: linear-gradient(90deg, #3a2400 0%, #6b4200 30%, #0b4630 70%, #063322 100%); border-bottom: 1px solid rgba(245, 197, 66, .45); box-shadow: 0 10px 30px -18px rgba(245, 197, 66, .7); overflow: hidden; }
.notify::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 225, 122, .18) 50%, transparent 70%); background-size: 250% 100%; animation: shine 4.5s linear infinite; pointer-events: none; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.notify.hide { display: none; }
.notify-in { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px 0 14px; }
.notify-bell { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); box-shadow: 0 0 0 4px rgba(245, 197, 66, .18); }
.notify-bell svg { width: 18px; height: 18px; fill: #2b1600; transform-origin: 50% 10%; animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 8% { transform: rotate(18deg); } 16% { transform: rotate(-16deg); } 24% { transform: rotate(12deg); } 32% { transform: rotate(-8deg); } 40% { transform: rotate(4deg); } }
.notify-dot { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 2px #3a2400; animation: blink 1.2s infinite; }
.notify-tag { flex: none; font-family: var(--font-head); font-weight: 900; font-size: .7rem; letter-spacing: .08em; color: #fff; background: #ff4d4d; padding: 3px 8px; border-radius: 6px; }
.notify-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.notify-marquee { display: flex; width: max-content; animation: marquee var(--notify-speed, 28s) linear infinite; }
.notify:hover .notify-marquee, .notify:focus-within .notify-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.notify-group { display: flex; align-items: center; flex: none; }
.notify-item { color: #fff3cf; font-weight: 700; font-size: .95rem; white-space: nowrap; text-decoration: none; padding: 0 6px; }
a.notify-item:hover { color: var(--gold); text-decoration: underline; }
.notify-go { color: var(--gold); }
.notify-sep { color: var(--gold); padding: 0 18px; opacity: .8; }
.notify-close { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0, 0, 0, .3); color: #fff3cf; font-size: 1.2rem; line-height: 1; }
.notify-close:hover { background: rgba(0, 0, 0, .5); }
@media (prefers-reduced-motion: reduce) { .notify-marquee, .notify::before, .notify-bell svg { animation: none; } .notify-track { overflow-x: auto; } }

/* Telegram join block */
.tg-join { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 14px 14px 16px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(120deg, #1f8fd0, #2aa4e0 50%, #45b9ee); box-shadow: 0 16px 40px -18px rgba(42, 164, 224, .9); transition: transform .2s; }
.tg-join:hover { transform: translateY(-2px); }
.tg-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; animation: pulse-tg 2s infinite; }
.tg-icon svg { width: 26px; height: 26px; fill: var(--tg); margin-left: -2px; }
@keyframes pulse-tg { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.tg-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.tg-text b { font-family: var(--font-head); font-size: 1.08rem; }
.tg-text small { opacity: .9; font-size: .88rem; }
.tg-btn { flex: none; font-family: var(--font-head); font-weight: 800; color: var(--tg); background: #fff; padding: 10px 18px; border-radius: 999px; }
.guide-text .tg-join { margin-top: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { padding-top: 30px; }
  .hero-grid, .guide { grid-template-columns: 1fr; gap: 30px; }
  .guide.reverse .guide-text, .guide.reverse .guide-shots { order: initial; }
  .phone-hero { width: min(250px, 66vw); }
  .fc-1 { left: -30px; }
  .fc-2 { right: -26px; }
  .games, .cats { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; gap: 16px; }
  .shot-row .shot { scroll-snap-align: center; }
  .section { padding: 50px 0; }
  .gift-card { padding: 22px; }
}
@media (max-width: 520px) {
  .notify-in { height: 42px; gap: 8px; padding-left: 10px; }
  .notify-tag { display: none; }
  .notify-item { font-size: .88rem; }
  .tg-join { flex-wrap: wrap; }
  .tg-btn { width: 100%; text-align: center; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; }
  .top-cta .btn-ghost { display: none; }
  .hero-cta .btn { flex: 1; }
  .code-row .btn, .gift-actions .btn { flex: 1; }
  .guide-shots.two .shot { width: 46%; }
  th { width: 40%; }
  th, td { padding: 12px 14px; }
}
