@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary:  #0b1622;
  --bg-surface:  #1a2c38;
  --bg-card:     #213743;
  --bg-alt:      #172530;
  --accent:      #00c74d;
  --accent-dark: #00a83e;
  --accent-gold: #f0b429;
  --text:        #f2f2f2;
  --muted:       #7f8fa4;
  --border:      rgba(255,255,255,0.07);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --shadow-g:    0 8px 32px rgba(0,199,77,0.18);
  --shadow-c:    0 4px 24px rgba(0,0,0,0.45);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg-primary); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }

/* ---- HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: 68px; display: flex; align-items: center;
  background: rgba(11,22,34,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.logo-link { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; flex-shrink: 0; }
.logo-link img { width: 34px; height: 34px; border-radius: 8px; }
.logo-link .brand-num { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 0.15rem; flex: 1; overflow-x: auto; }
.main-nav a { padding: 0.45rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.87rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 0.2s, background 0.2s; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,0.06); }
.header-cta { margin-left: auto; background: var(--accent); color: #000; padding: 0.5rem 1.15rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.88rem; white-space: nowrap; transition: background 0.2s, transform 0.2s; flex-shrink: 0; }
.header-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 0.4rem; margin-left: auto; }

/* ---- HERO ---- */
.hero { min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 4.5rem 0; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(0,199,77,0.13) 0%, transparent 65%), radial-gradient(ellipse 55% 45% at 90% 50%, rgba(0,199,77,0.06) 0%, transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,199,77,0.1); border: 1px solid rgba(0,199,77,0.3); color: var(--accent); padding: 0.32rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; margin-bottom: 1.5rem; }
.live-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; flex-shrink: 0; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(1.5)} }
.hero h1 { font-size: clamp(2.4rem,4.8vw,3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 1.2rem; }
.hero h1 .green { color: var(--accent); }
.hero-desc { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 470px; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-primary { background: var(--accent); color: #000; padding: 0.85rem 1.9rem; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.97rem; box-shadow: var(--shadow-g); transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,199,77,0.35); }
.btn-secondary { background: rgba(255,255,255,0.06); color: #fff; padding: 0.85rem 1.9rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.97rem; border: 1px solid var(--border); transition: background 0.2s, transform 0.2s; }
.btn-secondary:hover { background: rgba(255,255,255,0.11); transform: translateY(-2px); }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border-radius: var(--radius-md); overflow: hidden; }
.hero-stat { background: var(--bg-surface); padding: 1rem; text-align: center; }
.hero-stat-num { font-size: 1.45rem; font-weight: 800; color: var(--accent); }
.hero-stat-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }
.hero-visual {}
.hero-img-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-c); position: relative; }
.hero-img-wrap img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-live-pill { position: absolute; top: 1rem; left: 1rem; background: rgba(0,199,77,0.15); border: 1px solid rgba(0,199,77,0.4); color: var(--accent); padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.76rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; backdrop-filter: blur(8px); }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.stats-row { display: flex; justify-content: space-around; gap: 1.5rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.65rem; font-weight: 800; color: var(--accent-gold); }
.stat-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }

/* ---- SECTION HEADER ---- */
.sec-head { text-align: center; margin-bottom: 3rem; }
.sec-head h2 { font-size: clamp(1.75rem,3.5vw,2.65rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.65rem; }
.sec-head h2 .green { color: var(--accent); }
.sec-head p { color: var(--muted); font-size: 0.97rem; max-width: 540px; margin: 0 auto; }

/* ---- GAME TABS ---- */
.games-section { padding: 4.5rem 0; }
.game-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.game-tab { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.83rem; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; font-family: 'Outfit', sans-serif; }
.game-tab.active, .game-tab:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ---- GAME GRID ---- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1rem; }
.game-card { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.game-card:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(0,199,77,0.38); box-shadow: 0 14px 38px rgba(0,0,0,0.55); }
.game-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.4s var(--ease); }
.game-card:hover .game-card-img { transform: scale(1.06); }
.game-card-body { padding: 0.8rem 0.95rem; }
.game-card-title { font-size: 0.93rem; font-weight: 700; margin-bottom: 0.4rem; }
.game-card-meta { display: flex; align-items: center; justify-content: space-between; }
.game-tag { font-size: 0.68rem; font-weight: 600; padding: 0.18rem 0.5rem; border-radius: 999px; background: rgba(0,199,77,0.1); color: var(--accent); }
.game-play { font-size: 0.76rem; font-weight: 700; background: var(--accent); color: #000; padding: 0.28rem 0.75rem; border-radius: var(--radius-sm); transition: background 0.2s; }
.game-play:hover { background: var(--accent-dark); }

/* ---- BENTO ---- */
.bento-section { padding: 4.5rem 0; background: var(--bg-alt); }
.bento-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 255px; gap: 1rem; }
.bento-card { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.bento-card:hover { transform: translateY(-6px) scale(1.015); border-color: rgba(0,199,77,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.6); z-index: 5; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity 0.4s, transform 0.4s; }
.bento-card:hover img { opacity: 0.85; transform: scale(1.07); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,34,0.95) 0%, transparent 60%); }
.bento-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.4rem; z-index: 1; }
.bento-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.7rem; letter-spacing: -0.025em; }
.bento-play { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent); color: #000; padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 800; font-size: 0.83rem; transition: background 0.2s, transform 0.2s; }
.bento-play:hover { background: var(--accent-dark); transform: translateY(-2px); }
.span-2-col { grid-column: span 2; }
.span-2-row { grid-row: span 2; }
.span-2-row .bento-title { font-size: 1.9rem; }

/* ---- CONTENT LAYOUT ---- */
.content-section { padding: 4.5rem 0; }
.content-layout { display: grid; grid-template-columns: 1fr 330px; gap: 3rem; align-items: start; }
.article-body h2 { font-size: 1.55rem; font-weight: 800; margin: 2rem 0 0.7rem; letter-spacing: -0.025em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.4rem 0 0.55rem; color: #e2e8f0; }
.article-body p { color: #94a3b8; line-height: 1.8; margin-bottom: 0.9rem; font-size: 0.96rem; }
.article-body a.wiki-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { padding-left: 1.35rem; color: #94a3b8; margin-bottom: 0.9rem; }
.article-body ul li { margin-bottom: 0.38rem; font-size: 0.96rem; line-height: 1.7; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: 84px; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.15rem; }
.sidebar-card-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.45rem; }
.winner-item { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.83rem; }
.winner-item:last-child { border-bottom: none; }
.winner-name { font-weight: 600; }
.winner-amt { color: var(--accent); font-weight: 700; }
.winner-game { color: var(--muted); font-size: 0.74rem; display: block; }
.telemetry-row { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0; font-size: 0.81rem; border-bottom: 1px solid var(--border); }
.telemetry-row:last-child { border-bottom: none; }
.st-online { color: var(--accent); font-weight: 700; }
.quick-links { display: flex; flex-direction: column; gap: 0.45rem; }
.quick-link-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 500; color: var(--muted); transition: background 0.2s, color 0.2s; }
.quick-link-item:hover { background: rgba(0,199,77,0.08); color: var(--accent); }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); margin: 1.25rem 0; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.comp-table thead { background: var(--bg-surface); }
.comp-table th { padding: 0.9rem 1.15rem; text-align: left; font-weight: 700; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.comp-table td { padding: 0.85rem 1.15rem; border-top: 1px solid var(--border); }
.comp-table tr.hl td { background: rgba(0,199,77,0.04); }
.comp-table td.win { color: var(--accent); font-weight: 700; }

/* ---- FAQ ---- */
.faq-section { padding: 4.5rem 0; background: var(--bg-alt); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.4rem; cursor: pointer; font-weight: 700; font-size: 0.97rem; transition: background 0.2s; }
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-icon { color: var(--accent); font-size: 1.35rem; font-weight: 300; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s; }
.faq-item.open .faq-answer { max-height: 280px; padding: 0 1.4rem 1.15rem; }
.faq-answer p { color: var(--muted); line-height: 1.75; font-size: 0.92rem; }

/* ---- FOOTER ---- */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 3.5rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; line-height: 1.7; margin-top: 0.65rem; max-width: 270px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { color: var(--muted); font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.9rem; font-size: 0.8rem; color: var(--muted); }
.trust-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.trust-badge { background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }

/* ---- FLOATING WA ---- */
.floating-wa { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 999; background: #25d366; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 22px rgba(37,211,102,0.5); animation: float 3s ease-in-out infinite; transition: transform 0.2s, box-shadow 0.2s; }
.floating-wa:hover { transform: scale(1.12); box-shadow: 0 8px 36px rgba(37,211,102,0.7); animation: none; }
.floating-wa svg { width: 28px; height: 28px; fill: #fff; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }

/* ---- RESPONSIVE ---- */
@media(max-width:1100px){.footer-grid{grid-template-columns:1fr 1fr;gap:1.75rem;}.content-layout{grid-template-columns:1fr;}.sidebar{position:static;}}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:2.25rem;}.bento-grid{grid-template-columns:repeat(2,1fr);}.span-2-col{grid-column:span 2;}.span-2-row{grid-row:span 1;}}
@media(max-width:768px){.main-nav{display:none;flex-direction:column;gap:0;position:absolute;top:68px;left:0;right:0;background:var(--bg-surface);border-bottom:1px solid var(--border);padding:0.65rem;z-index:999;}.main-nav.open{display:flex;}.main-nav a{padding:0.7rem 1rem;border-radius:var(--radius-sm);font-size:0.97rem;}.menu-toggle{display:flex;}.header-cta{display:none;}.hero{min-height:auto;padding:3rem 0 2rem;}.hero h1{font-size:2rem;}.bento-grid{grid-template-columns:1fr;}.span-2-col{grid-column:span 1;}.footer-grid{grid-template-columns:1fr;gap:1.5rem;}.footer-bottom{flex-direction:column;text-align:center;}.game-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));}}
@media(max-width:480px){.hero-stats{grid-template-columns:1fr;}.game-grid{grid-template-columns:repeat(2,1fr);}.stats-row{gap:0.75rem;}}


/* ===== hamburger tap target + legacy mobile menu + responsive hardening (2026-06) ===== */
.menu-toggle{ min-width:44px; min-height:44px; align-items:center; justify-content:center; border-radius:8px; }
.hamburger{ display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:46px; height:46px; padding:10px; margin-left:auto; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14); border-radius:10px; cursor:pointer; }
.hamburger span{ display:block; width:26px; height:3px; border-radius:2px; background:var(--accent,#00c74d); transition:transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
html{ overflow-x:hidden; max-width:100%; }
img{ max-width:100%; height:auto; }
@media(max-width:768px){
  .hamburger{ display:flex; }
  .header-container{ position:relative; flex-wrap:nowrap; }
  .nav-menu{ display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0; gap:0; margin:0; padding:0 16px; background:var(--bg-surface,#1a2c38); border-top:1px solid var(--border,rgba(255,255,255,.07)); box-shadow:0 12px 30px rgba(0,0,0,.5); max-height:0; overflow:hidden; opacity:0; pointer-events:none; transition:max-height .3s ease, opacity .3s ease, padding .3s ease; z-index:999; list-style:none; }
  .nav-menu.open{ max-height:75vh; opacity:1; pointer-events:auto; padding:12px 16px; }
  .nav-menu li{ width:100%; }
  .nav-menu a{ display:block; width:100%; padding:12px 6px; border-bottom:1px solid rgba(255,255,255,.06); }
  table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }
  h1,h2,h3{ overflow-wrap:break-word; word-break:break-word; }
}
