
/* Unified responsive header, footer and legal templates */
.site-header{position:relative;z-index:1000;background:#10171d}
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px}
.site-header .logo{flex:0 0 auto}.site-header .logo img{height:auto;max-height:60px;width:auto;max-width:165px;object-fit:contain}
.site-header .main-menu{flex:1;min-width:0;display:flex;justify-content:center}
.site-header .main-menu>ul{display:flex;flex-wrap:nowrap;align-items:center;gap:clamp(8px,1.15vw,22px);padding:0;margin:0;list-style:none}
.site-header .main-menu>ul>li>a{display:block;white-space:nowrap;padding:18px 0;color:#eee8df;font-size:clamp(11px,.94vw,14px);text-decoration:none}
.site-header .main-menu>ul>li>a:hover{color:#e9d5aa}
.site-header .main-menu li{position:relative}
.site-header .main-menu .submenu{display:none;position:absolute;z-index:50;top:100%;left:0;min-width:225px;padding:12px;list-style:none;background:#172321;border:1px solid rgba(199,165,107,.3);border-radius:14px;box-shadow:0 18px 40px #0008}
.site-header .main-menu li:hover>.submenu,.site-header .main-menu li:focus-within>.submenu{display:block}
.site-header .main-menu .submenu li a{display:block;padding:10px 12px;color:#f3eadf;font-size:13px;text-decoration:none;border-radius:7px}
.site-header .main-menu .submenu li a:hover{background:#236657;color:#fff}
.site-header .header-play-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:11px 17px;border-radius:40px;background:linear-gradient(125deg,#e9d5aa,#c7a56b);color:#181711!important;font-weight:800;font-size:12px;text-decoration:none}
.site-nav-toggle{display:none;flex:0 0 43px;width:43px;height:43px;padding:9px;border:1px solid #c7a56b88;border-radius:12px;background:#1c2b29;cursor:pointer}
.site-nav-toggle span{display:block;height:2px;margin:5px 0;background:#e9d5aa;border-radius:3px}
.site-mobile-nav[hidden]{display:none!important}
.site-mobile-nav{display:grid;gap:0;padding:9px 0 18px;border-top:1px solid #c7a56b44;background:#111c21}
.site-mobile-nav a{display:block;padding:12px 20px;border-bottom:1px solid #ffffff12;color:#f3ede4;text-decoration:none;font-size:14px}
.site-mobile-nav a:hover{background:#23665744}
.site-footer{background:linear-gradient(150deg,#111b21,#102b28 90%)!important;border-top:1px solid #c7a56b55;color:#e9e5dd;padding:65px 0 24px}
.site-footer .footer-main{display:grid;grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(140px,1fr));gap:clamp(20px,3vw,45px);align-items:start}
.site-footer .footer-brand .footer-logo img{max-width:175px;width:auto;height:auto;max-height:75px;object-fit:contain}
.site-footer .footer-brand p{max-width:370px;color:#c6cbc5;font-size:14px;line-height:1.8;margin:20px 0}
.site-footer .footer-badges{display:flex;flex-wrap:wrap;gap:7px}
.site-footer .footer-badges span{display:inline-block;border:1px solid #c7a56b55;border-radius:20px;padding:6px 10px;color:#e9d5aa;font-size:11px}
.site-footer .footer-column h4{font-size:17px;color:#e9d5aa;margin-bottom:20px}
.site-footer .footer-column ul{padding:0;margin:0;list-style:none;display:grid;gap:12px}
.site-footer .footer-column li a{font-size:13px;line-height:1.5;color:#d8e1da;text-decoration:none}
.site-footer a:hover{color:#fff}
.site-footer .footer-notice{margin-top:40px;padding:22px 25px;border:1px solid #c7a56b33;border-radius:16px;background:#ffffff05}
.site-footer .footer-notice p{margin:0;color:#c6cbc5;font-size:13px;line-height:1.75}
.site-footer .footer-notice a{color:#e9d5aa}
.site-footer .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-top:25px;padding-top:23px;border-top:1px solid #c7a56b33}
.site-footer .footer-bottom p{color:#b9c6c2;font-size:12px;margin:0}
.site-footer .footer-legal-links{display:flex;flex-wrap:wrap;gap:18px}
.site-footer .footer-legal-links a{color:#ded5c6;font-size:12px;text-decoration:none}
.legal-page{background:radial-gradient(circle at 80% 1%,#23665733,transparent 32%),#0c1015;color:#edeae5;padding:62px 0 110px}
.legal-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#bbafa0;margin-bottom:33px}
.legal-breadcrumb a{color:#e9d5aa;text-decoration:none}
.legal-hero{max-width:970px;margin-bottom:45px}
.legal-eyebrow{display:inline-block;font-size:11px;letter-spacing:.19em;font-weight:800;color:#c7a56b;margin-bottom:16px}
.legal-hero h1{color:#fff;font-size:clamp(38px,5vw,67px);line-height:1.08;letter-spacing:-.04em;margin:0 0 23px}
.legal-hero p{max-width:820px;line-height:1.85;color:#cad0cd;font-size:16px}
.legal-updated{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;border:1px solid #c7a56b55;border-radius:24px;padding:9px 15px;margin-top:10px;color:#e9d5aa;font-size:12px}
.legal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:34px;align-items:start}
.legal-toc{position:sticky;top:115px;border:1px solid #c7a56b40;border-radius:19px;padding:23px;background:#172521}
.legal-toc strong{display:block;color:#e9d5aa;font-size:15px;margin-bottom:18px}
.legal-toc a{display:block;padding:8px 0;color:#dde4dd;font-size:13px;line-height:1.5;text-decoration:none}
.legal-toc a:hover{color:#c7a56b}
.legal-document{min-width:0;display:grid;gap:18px}
.legal-part{scroll-margin-top:115px;padding:34px 38px;background:#151d22;border:1px solid #c7a56b33;border-radius:22px}
.legal-part h2{font-size:clamp(22px,2.4vw,30px);color:#f9f5eb;margin-bottom:19px}
.legal-part h3{font-size:18px;color:#e9d5aa;margin:22px 0 10px}
.legal-part p,.legal-part li{font-size:14px;line-height:1.88;color:#c9d0ce}
.legal-part p:last-child{margin-bottom:0}
.legal-part ul{padding-left:20px;margin:14px 0}
.legal-part li{margin-bottom:7px}
.legal-part strong{color:#f5e9d5}
.legal-warning{padding:18px 20px;border-left:3px solid #c7a56b;background:#c7a56b10;border-radius:0 12px 12px 0}
.legal-part a{color:#e9d5aa;overflow-wrap:anywhere}
.legal-ending{padding:29px;border-radius:20px;border:1px solid #c7a56b55;background:linear-gradient(120deg,#244638,#201d2a)}
.legal-ending h2{color:#fff;font-size:23px;margin:0 0 12px}.legal-ending p{color:#d2d6d0;line-height:1.8;font-size:14px;margin:0}
@media(max-width:1200px){.site-header .header-inner{gap:10px}.site-header .logo img{max-width:145px}.site-header .main-menu>ul{gap:11px}.site-header .header-play-btn{padding:10px 12px}}
@media(max-width:1070px){.site-header .main-menu{display:none!important}.site-nav-toggle{display:block}.site-header .header-inner{justify-content:space-between}.site-header .header-play-btn{margin-left:auto}.site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1071px){.site-mobile-nav{display:none!important}}
@media(max-width:850px){.legal-layout{grid-template-columns:1fr}.legal-toc{position:static;display:flex;gap:8px 16px;flex-wrap:wrap}.legal-toc strong{flex:0 0 100%;margin-bottom:5px}.legal-toc a{padding:4px 0}}
@media(max-width:600px){.site-header .logo img{max-width:125px}.site-header .header-play-btn{font-size:11px;min-width:98px;padding:9px 11px}.site-header .header-inner{min-height:70px}.site-footer .footer-main{grid-template-columns:1fr;gap:30px}.site-footer{padding-top:48px}.site-footer .footer-bottom{align-items:flex-start;flex-direction:column}.legal-page{padding:39px 0 70px}.legal-part{padding:25px 22px}.legal-hero p{font-size:14px}}
@media(max-width:360px){.site-header .logo img{max-width:95px}.site-header .header-play-btn{min-width:89px;padding:9px 8px;font-size:10px}.site-nav-toggle{width:40px;flex-basis:40px}}

/* Header and hero layout corrections — 2026-10 */
.site-header,
.site-header#sticky-header,
.site-header#sticky-header.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  z-index: 10000 !important;
  height: auto;
  background: #10171d;
}
.site-header .header-area {
  padding: 0 !important;
  background: rgba(12,16,21,.96) !important;
}
/* Only the first page uses the hero; it already sits behind the fixed navigation. */
.hero-section {
  padding-top: 116px !important;
  padding-bottom: 90px;
  min-height: auto;
}
.hero-section .hero-inner { align-items: center; }
/* Legal pages do not have a hero, so reserve the header's actual height. */
body.legal-body { padding-top: 84px; }
html { scroll-padding-top: 98px; }
section[id], div[id="tournaments"] { scroll-margin-top: 98px; }
@media (max-width:1070px) {
  .site-header .header-inner { min-height: 78px; }
  .hero-section { padding-top: 108px !important; padding-bottom: 65px; }
  body.legal-body { padding-top: 78px; }
}
@media (max-width:600px) {
  .site-header .header-inner { min-height: 70px; }
  .hero-section { padding-top: 95px !important; padding-bottom: 50px; }
  body.legal-body { padding-top: 70px; }
  html { scroll-padding-top: 84px; }
  section[id], div[id="tournaments"] { scroll-margin-top: 84px; }
}
