/* JAGOWIN404 Official Landing v2 */

/* Popup / floating banners — disabled for now, re-enable when offer is ready */
.ticker,
.hero__badge,
.game-card__tag {
  display: none !important;
}

:root {
  --bg: #07050f;
  --bg-2: #0f0a1c;
  --surface: #16102a;
  --surface-2: #1f1638;
  --surface-glass: rgba(22, 16, 42, .72);
  --border: #3a2860;
  --primary: #f5c842;
  --primary-dark: #d9a018;
  --accent: #a855f7;
  --accent-2: #6366f1;
  --coral: #ff4d7a;
  --gold: #ffe082;
  --text: #fff9f0;
  --muted: #b9a8d4;
  --danger: #ff5a6e;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 28px 70px rgba(0, 0, 0, .55);
  --glow: 0 0 60px rgba(245, 200, 66, .16);
  --container: 1200px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, .18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(245, 200, 66, .08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(99, 102, 241, .1), transparent);
}

.site { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 80px; }
.section--tight { padding-block: 40px; }

h1, h2, h3 { line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--primary);
  background: rgba(245, 200, 66, .1);
  border: 1px solid rgba(245, 200, 66, .28);
  padding: 7px 16px; border-radius: 999px;
}

.text-grad {
  background: linear-gradient(105deg, var(--primary) 0%, #ffb347 40%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: .94rem; cursor: pointer;
  padding: 14px 28px; border-radius: 14px; border: none;
  transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}
.btn--primary {
  background: linear-gradient(100deg, var(--primary), #ffb830);
  color: #1a0a00; box-shadow: 0 12px 32px rgba(245, 200, 66, .35);
}
.btn--primary:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn--accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 12px 32px rgba(168, 85, 247, .3);
}
.btn--accent:hover { transform: translateY(-3px); }
.btn--gold {
  background: linear-gradient(100deg, var(--gold), #f5a623);
  color: #2a1500; box-shadow: 0 12px 32px rgba(255, 224, 130, .25);
}
.btn--gold:hover { transform: translateY(-3px); }
.btn--ghost {
  background: rgba(255, 255, 255, .04); color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(7, 5, 15, .82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .45);
}
.nav { display: flex; align-items: center; height: 72px; gap: 16px; }
.nav__logo img { height: 38px; width: auto; }
.nav__menu {
  display: flex; gap: 6px; margin-left: 24px; flex-wrap: wrap;
}
.nav__menu a {
  padding: 8px 14px; border-radius: 10px; font-size: .86rem; font-weight: 700;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--primary); background: rgba(245, 200, 66, .06); }
.nav__buttons { display: flex; gap: 10px; margin-left: auto; }
.nav__buttons .btn { padding: 10px 20px; font-size: .86rem; }

@media (max-width: 900px) { .nav__menu { display: none; } }
@media (max-width: 480px) {
  .nav { height: 64px; }
  .nav__logo img { height: 30px; }
  .nav__buttons .btn--ghost { display: none; }
}

/* Ticker */
.ticker {
  background: linear-gradient(90deg, rgba(245, 200, 66, .1), rgba(168, 85, 247, .08));
  border-bottom: 1px solid var(--border);
  padding-block: 11px;
}
.ticker__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ticker__label {
  flex-shrink: 0; font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--bg); background: var(--primary); padding: 5px 12px; border-radius: 999px;
}
.ticker p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Hero */
.hero { padding-block: 56px 40px; position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
}
.hero__title { margin: 18px 0 16px; }
.hero__desc { color: var(--muted); font-size: 1.08rem; max-width: 580px; }
.hero__desc strong { color: var(--text); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px;
}
.hero__stat {
  background: var(--surface-glass); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.hero__stat b { display: block; font-size: 1.5rem; color: var(--primary); font-weight: 800; }
.hero__stat span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glow);
}
.hero__badge {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--coral), #ff6b4a);
  color: #fff; font-weight: 800; padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 16px 36px rgba(255, 77, 122, .4);
  font-size: clamp(.74rem, 2.5vw, .9rem); white-space: nowrap;
}
.hero__glow {
  position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(circle, rgba(168, 85, 247, .15), transparent 65%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { order: -1; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { position: static; transform: none; display: inline-block; margin-top: 16px; }
}

/* Jackpot */
.jackpot-section { padding-block: 0 32px; }
.jackpot-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1f1638 0%, #120a22 50%, #1a1030 100%);
  border: 1px solid rgba(245, 200, 66, .25); border-radius: 28px;
  padding: 36px 40px; text-align: center;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.jackpot-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245, 200, 66, .12), transparent);
  pointer-events: none;
}
.jackpot-card__head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 14px; position: relative;
}
.jackpot-card__currency { color: var(--muted); font-size: .88rem; font-weight: 700; }
.jackpot-card__amount {
  font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 900; color: var(--gold);
  letter-spacing: -.02em; margin-bottom: 12px; position: relative;
  text-shadow: 0 0 40px rgba(255, 224, 130, .35);
}
.jackpot-card__cta { margin-top: 20px; position: relative; }

/* Trust */
.trust {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding-block: 28px; border-block: 1px solid var(--border);
}
.trust__item {
  display: flex; align-items: center; gap: 10px; color: var(--muted);
  font-weight: 600; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--border);
  padding: 11px 18px; border-radius: 999px;
}
.trust__item .ic { color: var(--primary); font-size: 1.1rem; }

/* Section head */
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.sec-head h2 { margin: 14px 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }

/* Games */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .28s ease, border-color .28s, box-shadow .28s;
}
.game-card:hover {
  transform: translateY(-8px); border-color: rgba(245, 200, 66, .5);
  box-shadow: var(--glow);
}
.game-card__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.game-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.game-card:hover .game-card__img img { transform: scale(1.08); }
.game-card__body { padding: 16px 18px; }
.game-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: linear-gradient(100deg, var(--coral), #ff6b4a);
  color: #fff; font-weight: 800; font-size: .68rem;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.game-card__name { font-weight: 700; font-size: 1rem; }
.game-card__meta { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.game-card__play {
  display: block; margin-top: 12px; text-align: center;
  padding: 10px; border-radius: 10px; font-size: .82rem; font-weight: 800;
  background: rgba(245, 200, 66, .1); border: 1px solid rgba(245, 200, 66, .25);
  color: var(--primary); transition: background .2s;
}
.game-card:hover .game-card__play { background: rgba(245, 200, 66, .18); }

@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .games-grid { gap: 12px; } .game-card__body { padding: 12px; } }

/* Providers */
.providers {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding: 28px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.providers span {
  padding: 10px 18px; border-radius: 12px; font-size: .82rem; font-weight: 800;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--muted);
  letter-spacing: .5px;
}

/* Tournament */
.tournament {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 36px; overflow: hidden;
}
.tournament__head h2 { margin: 12px 0 10px; }
.tournament__meta {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin: 24px 0 28px;
}
.tournament__meta div strong {
  display: block; font-size: .7rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted); margin-bottom: 4px;
}
.tournament__meta div span { font-weight: 700; font-size: 1rem; }
.countdown { display: flex; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.countdown span {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 16px; font-size: .78rem; color: var(--muted); text-align: center; min-width: 64px;
}
.countdown b { display: block; font-size: 1.35rem; color: var(--primary); line-height: 1.2; }
.wins-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.wins-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .9rem; }
.wins-table thead { background: linear-gradient(100deg, var(--primary-dark), var(--accent)); color: #1a0a00; }
.wins-table th, .wins-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.wins-table tbody tr { background: var(--surface-2); }
.wins-table tbody tr:nth-child(even) { background: var(--surface); }
.wins-table tr.highlight { background: rgba(245, 200, 66, .1) !important; }
.wins-table tr.highlight td { color: var(--gold); font-weight: 700; }

/* Screens */
.screens-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.screen-card {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.screen-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--glow); }
.screen-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.screen-card__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  color: #fff; font-size: .78rem; font-weight: 700;
  padding: 24px 12px 10px; text-align: center;
}
@media (max-width: 900px) { .screens-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .screens-grid { grid-template-columns: repeat(2, 1fr); } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.split__body h2 { margin-bottom: 16px; }
.split__body p { color: var(--muted); margin-bottom: 12px; }
.split__list { display: grid; gap: 12px; margin: 20px 0; }
.split__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.split__list .ic { color: var(--primary); font-weight: 800; flex-shrink: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: -1; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
  transition: border-color .25s, transform .25s;
}
.step:hover { border-color: rgba(245, 200, 66, .4); transform: translateY(-4px); }
.step__num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; color: #1a0a00; margin-bottom: 14px;
  background: linear-gradient(100deg, var(--primary), var(--accent));
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Bonus banner */
.bonus-banner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
  border: 1px solid rgba(245, 200, 66, .2); border-radius: 28px;
  padding: 48px; position: relative; overflow: hidden;
}
.bonus-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 95% 5%, rgba(168, 85, 247, .15), transparent);
  pointer-events: none;
}
.bonus-banner__big { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; margin: 12px 0 14px; }
.bonus-banner__media img { border-radius: 20px; border: 1px solid var(--border); }
@media (max-width: 820px) {
  .bonus-banner { grid-template-columns: 1fr; padding: 32px 24px; }
  .bonus-banner__media { order: -1; }
}

/* Info grid */
.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.info-row {
  padding: 16px 18px; background: var(--bg-2);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.info-row dt { font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.info-row dd { font-weight: 700; font-size: .96rem; }
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }

/* Article */
.article { max-width: 880px; margin-inline: auto; }
.article h2 { margin: 40px 0 16px; }
.article h3 { margin: 28px 0 12px; color: var(--gold); }
.article p { color: var(--muted); margin-bottom: 16px; line-height: 1.75; }
.article strong { color: var(--text); }

/* FAQ */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq__q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-weight: 700; font-size: 1rem; padding: 20px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q .plus { color: var(--primary); font-size: 1.5rem; transition: transform .25s; flex-shrink: 0; }
.faq__item.open .faq__q .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 22px; }
.faq__item.open .faq__a { max-height: 600px; padding: 0 22px 20px; }
.faq__a p { color: var(--muted); margin: 0; }

/* Chips / SEO keywords */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1040px; margin-inline: auto; }
.chip {
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--primary); border-color: var(--primary); background: rgba(245, 200, 66, .06); }

/* CTA */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(245, 200, 66, .08), rgba(168, 85, 247, .06));
  border: 1px solid var(--border); border-radius: 28px; padding: 56px 32px;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

/* Features (subpages) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px;
  transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(245, 200, 66, .35); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: rgba(245, 200, 66, .1); border: 1px solid rgba(245, 200, 66, .22);
}
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* Footer */
.footer {
  border-top: 1px solid var(--border); background: var(--bg-2);
  padding-block: 52px 28px; margin-top: 32px;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo img { height: 36px; margin-bottom: 16px; }
.footer__about { color: var(--muted); font-size: .88rem; max-width: 320px; line-height: 1.7; }
.footer h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: var(--text); font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--primary); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); transition: all .2s;
}
.footer__social a:hover { border-color: var(--primary); transform: translateY(-3px); }
.footer__social img { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid var(--border); margin-top: 36px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .8rem;
}
.footer__age {
  border: 1px solid var(--danger); color: var(--danger); font-weight: 800;
  padding: 4px 12px; border-radius: 8px; font-size: .78rem;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Subpage hero compact */
.page-hero { padding-block: 48px 32px; }
.page-hero .hero__grid { gap: 40px; }

@media (max-width: 640px) {
  .section { padding-block: 52px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .jackpot-card { padding: 24px 18px; }
  .tournament { padding: 24px 18px; }
  .countdown { margin-left: 0; width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .cta-band { padding: 40px 20px; }
  .cta-band .btn { width: 100%; }
}
