:root{--bg:#050608;--panel:#0b0d12;--gold:#ffd56a;--gold2:#f7b928;--soft:#fff0b3;--text:#fff;--muted:#b9bbc3;--line:rgba(255,215,120,.24);--font:'Kanit','Prompt',sans-serif}*{box-sizing:border-box}html{width:100%;max-width:100%;overflow-x:clip;scroll-behavior:smooth;scroll-padding-top:90px}body{width:100%;max-width:100%;margin:0;background:radial-gradient(ellipse at 78% 16%,rgba(125,76,11,.15),transparent 35%),radial-gradient(ellipse at 6% 64%,rgba(19,79,105,.12),transparent 28%),var(--bg);color:var(--text);font-family:var(--font);overflow-x:clip}a{color:inherit;text-decoration:none}button,input{font:inherit}.wrap{width:min(1320px,calc(100% - 7.5%));margin-inline:auto}.ambient{position:absolute;pointer-events:none;width:360px;height:360px;filter:blur(100px);opacity:.08;border-radius:50%;z-index:-1}.ambient-one{top:520px;left:-170px;background:#00d5ff}.ambient-two{top:950px;right:-180px;background:#b14bff}.site-header{height:86px;padding:0 max(3.2%,calc((100% - 1390px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:50;background:rgba(5,6,8,.86);border-bottom:1px solid rgba(255,213,106,.2);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#fff3b2,#f8c84c 52%,#b87a10);color:#17120a;font-size:24px;font-weight:800;box-shadow:0 0 24px #ffc84c3d,inset 0 1px 1px #fff}.brand-copy{display:flex;flex-direction:column;line-height:1.1}.brand-copy strong{font-size:24px;letter-spacing:.4px;color:var(--soft)}.brand-copy small{font-size:10px;letter-spacing:1.3px;color:#c6c6c8;margin-top:5px}.desktop-nav,.header-actions{display:flex;align-items:center;gap:9px}.nav-link{display:flex;align-items:center;gap:7px;padding:14px 16px;border:1px solid transparent;border-radius:13px;background:transparent;color:#f5f5f5;font-size:13px;white-space:nowrap;cursor:pointer}.nav-link:hover,.nav-link:focus-visible,.nav-link.active{background:linear-gradient(145deg,rgba(255,216,112,.15),rgba(255,255,255,.025));border-color:rgba(255,215,120,.15);color:var(--soft)}.nav-drop{position:relative}.dropdown{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:175px;padding:8px;background:#0b0d12;border:1px solid var(--line);border-radius:13px;box-shadow:0 16px 40px #000b}.nav-drop.open .dropdown{display:grid}.dropdown a{padding:10px 12px;border-radius:8px;color:#ddd;font-size:13px}.dropdown a:hover{background:#ffffff0c;color:var(--gold)}.icon-btn{width:43px;height:43px;border:1px solid #ffffff22;border-radius:50%;display:grid;place-items:center;background:#ffffff05;color:white;cursor:pointer}.icon-btn:hover{border-color:var(--gold);color:var(--gold)}.icon-btn svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8}.login-btn,.gold-btn{border:1px solid #ffe7a1;border-radius:999px;background:linear-gradient(120deg,#fff0a8,#f7c44d 48%,#a96e10);color:#201606;font-weight:700;box-shadow:0 0 24px #f8bc3b35,inset 0 1px #fff8;padding:11px 24px;white-space:nowrap}.login-btn:hover,.gold-btn:hover{transform:translateY(-2px);box-shadow:0 0 32px #f8bc3b65}.hamb{display:flex;flex-direction:column;gap:4px}.hamb i{width:17px;height:1.5px;background:currentColor;display:block}.menu-open{display:none}.search-panel{display:none;position:fixed;top:86px;left:0;right:0;z-index:49;background:#090a0df2;border-bottom:1px solid var(--line);padding:18px max(4%,calc((100% - 900px)/2));backdrop-filter:blur(18px)}.search-panel.show{display:block}.search-panel form{display:flex;gap:10px}.search-panel input{flex:1;min-width:0;background:#11141b;border:1px solid #ffffff2b;border-radius:12px;padding:13px 16px;color:#fff;outline:none}.search-panel input:focus{border-color:var(--gold)}.search-panel button{border:0;border-radius:12px;padding:0 20px;background:var(--gold);color:#17120a;cursor:pointer}.search-panel .search-close{background:transparent;color:#ddd;border:1px solid #ffffff2b}.mobile-nav{display:none}.hero{min-height:430px;position:relative;display:flex;align-items:center;border-bottom:1px solid #ffffff10;isolation:isolate}.hero-art{position:absolute;inset:0 0 0 24%;z-index:-1;background-image:linear-gradient(90deg,rgba(5,6,8,.82) 0%,rgba(5,6,8,.68) 24%,rgba(5,6,8,.34) 52%,rgba(5,6,8,.12) 100%),linear-gradient(180deg,rgba(5,6,8,.24) 0%,rgba(5,6,8,.10) 35%,rgba(5,6,8,.42) 70%,rgba(5,6,8,.78) 100%),url('assets/hero-banner.png');background-size:cover;background-position:center right;opacity:1}.hero-content{padding:34px 0 26px;max-width:570px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--gold);margin:0 0 6px;font-weight:500}.hero h1{margin:0;line-height:.98;display:flex;flex-direction:column;gap:3px}.hero h1 span{font-size:clamp(27px,3.5vw,42px);font-weight:800;letter-spacing:.5px}.hero h1 strong{font-size:clamp(54px,6.4vw,82px);letter-spacing:1px;background:linear-gradient(180deg,#fff9d5 10%,#ffdf75 48%,#b87911 95%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 14px #f4b93345)}.hero h2{font-size:17px;margin:12px 0 2px;font-weight:600}.hero-description{font-size:13px;line-height:1.65;color:#c6c6c9;max-width:455px;margin:3px 0 17px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.gold-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 26px;transition:.25s}.glass-btn{display:inline-flex;align-items:center;gap:10px;padding:11px 20px;border:1px solid #ffffff3b;border-radius:999px;background:linear-gradient(135deg,#ffffff12,#ffffff03);backdrop-filter:blur(12px);font-size:13px}.glass-btn:hover{border-color:var(--gold);background:#fbd36a12}.shield{font-size:20px;color:var(--gold)}.hero-stats{display:flex;gap:26px;margin-top:25px}.stat{display:flex;align-items:center;gap:10px;padding-right:22px;border-right:1px solid #ffffff20}.stat:last-child{border:0}.stat-icon,.highlight-icon{width:47px;height:47px;border:1px solid #ffd56a70;border-radius:50%;display:grid;place-items:center;color:var(--gold);font-size:24px;background:radial-gradient(circle,#ffd56a20,transparent 72%);box-shadow:inset 0 0 13px #ffcf4a14}.stat p{display:flex;flex-direction:column;margin:0;line-height:1.15}.stat b{font-size:17px;color:var(--gold)}.stat small{font-size:10px;color:#ddd;letter-spacing:.3px;margin-top:4px}.section{padding-top:27px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.section-heading h2{font-size:27px;line-height:1.2;margin:0;font-weight:600}.section-heading .eyebrow{font-size:10px;margin-bottom:4px}.outline-btn{border:1px solid #ffffff28;border-radius:999px;padding:8px 17px;font-size:12px;white-space:nowrap;background:#ffffff03}.outline-btn span{color:var(--gold);font-size:17px;margin-left:5px}.outline-btn:hover{border-color:var(--gold)}.portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.portal-card{height:274px;position:relative;overflow:hidden;border-radius:17px;border:1px solid var(--portal);display:flex;align-items:center;flex-direction:column;padding:18px 18px 17px;text-align:center;background-image:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.6) 48%,rgba(0,0,0,.88)),var(--portal-image);background-size:cover;background-position:center;box-shadow:inset 0 0 35px var(--portal-glow),0 0 16px color-mix(in srgb,var(--portal) 12%,transparent);transition:transform .3s,box-shadow .3s}.portal-card:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--portal) 28%,transparent),transparent 56%);pointer-events:none}.portal-card:hover{transform:translateY(-5px);box-shadow:inset 0 0 38px var(--portal-glow),0 10px 28px color-mix(in srgb,var(--portal) 22%,transparent)}.portal-blue{--portal:#28dfff;--portal-glow:#05baff24}.portal-gold{--portal:#ffd15e;--portal-glow:#ffc13b2b}.portal-purple{--portal:#d56aff;--portal-glow:#b329ff2b}.portal-logo{display:flex;align-items:center;flex-direction:column;gap:0;position:relative;margin-top:10px;color:var(--portal);font-size:25px;line-height:1.1;text-shadow:0 0 15px var(--portal)}.portal-logo strong{font-size:34px;color:#fff;text-shadow:0 2px 4px #000,0 0 12px var(--portal);letter-spacing:.5px}.portal-card p{position:relative;margin:12px 0 auto;font-size:13px;line-height:1.55;color:#f4f4f4;text-shadow:0 1px 5px #000}.portal-cta{position:relative;width:85%;padding:10px;border-radius:999px;border:1px solid var(--portal);background:linear-gradient(110deg,color-mix(in srgb,var(--portal) 80%,#fff),color-mix(in srgb,var(--portal) 45%,#120b1b));box-shadow:0 0 19px color-mix(in srgb,var(--portal) 45%,transparent),inset 0 1px #ffffff70;font-size:13px;font-weight:600;color:#fff;text-shadow:0 1px 3px #000;transition:.2s}.portal-cta span{margin-left:9px}.portal-cta:hover{filter:brightness(1.15);transform:translateY(-1px)}.games-section{padding-top:24px}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 17px}.filter{min-width:83px;padding:8px 18px;border:1px solid #ffffff25;border-radius:999px;color:#eee;background:linear-gradient(180deg,#111319,#08090c);font-size:12px;cursor:pointer;transition:.2s}.filter:hover{border-color:#e6bf55}.filter.active{background:linear-gradient(120deg,#fff0a8,#f4bd43);color:#1c160a;border-color:#ffe7a1;box-shadow:0 0 18px #f8c34a2d;font-weight:600}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 18px}.game-card{min-width:0;overflow:hidden;border:1px solid #ffffff2b;border-radius:13px;background:linear-gradient(180deg,#101218,#07080b);transition:transform .25s,border-color .25s,box-shadow .25s}.game-card:hover{transform:translateY(-4px);border-color:#eac45e8c;box-shadow:0 8px 24px #0008,0 0 16px #ffc64a16}.game-card[hidden]{display:none}.game-image{position:relative;aspect-ratio:1.37/1;overflow:hidden;background:#101218}.game-image:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#06070a55);pointer-events:none}.game-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .4s}.game-card:hover img{transform:scale(1.055)}.badge{position:absolute;top:9px;left:9px;z-index:1;border-radius:999px;padding:3px 8px;font-size:9px;line-height:1.4;font-weight:700;box-shadow:0 2px 9px #0007}.hot{background:linear-gradient(120deg,#ff7a65,#a91722)}.new{background:linear-gradient(120deg,#5ac9ff,#1472c7)}.popular{background:linear-gradient(120deg,#9a62ff,#4a21a4)}.live{background:linear-gradient(120deg,#ff6d68,#9f202a)}.game-info{padding:8px 11px 10px;display:flex;align-items:center;justify-content:space-between;gap:5px}.game-info>div{min-width:0;display:flex;flex-direction:column}.game-info strong{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-info small{font-size:11px;color:#c5c5ca;margin-top:3px}.rating{white-space:nowrap;color:#ffdb67;font-size:12px;background:#ffffff09;border-radius:8px;padding:3px 6px}.empty-state{color:var(--muted);text-align:center;padding:35px}.bottom-highlight{margin-top:28px;margin-bottom:24px;border:1px solid #e3b74c75;border-radius:25px;min-height:132px;padding:22px 4%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 1.15fr;align-items:center;gap:20px;background:radial-gradient(ellipse at 50% 0%,#f8bd3b16,transparent 60%),linear-gradient(120deg,#090a0e,#0b0d12 50%,#050608);box-shadow:0 0 28px #ffc64a15,inset 0 0 22px #ffcc4a08;position:relative}.bottom-highlight:before,.bottom-highlight:after{content:"";position:absolute;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,#ffd56a70,transparent)}.bottom-highlight:before{top:0}.bottom-highlight:after{bottom:0}.highlight-item{display:flex;align-items:center;gap:12px;min-width:0;border-right:1px solid #ffffff20;padding-right:14px}.highlight-icon{width:52px;height:52px;flex-shrink:0;font-size:26px}.highlight-item div{display:flex;flex-direction:column;min-width:0}.highlight-item b{color:var(--gold);font-size:18px;line-height:1.2}.highlight-item b span{font-size:12px;color:#fff}.highlight-item small,.highlight-action small{font-size:11px;color:#c4c4c9;line-height:1.5;margin-top:5px}.highlight-action{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.highlight-action .gold-btn{width:100%;padding:10px 14px;font-size:12px}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0 25px;color:#a8a8ae;font-size:11px}.site-footer .brand-mark{width:39px;height:39px;font-size:18px;border-radius:11px}.site-footer .brand-copy strong{font-size:18px}.site-footer .brand-copy small{font-size:8px}.back-top{position:fixed;right:20px;bottom:20px;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#11141bd9;color:var(--gold);font-size:22px;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s;z-index:30}.back-top.show{opacity:1;pointer-events:auto;transform:none}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:#101218;color:#fff;box-shadow:0 10px 30px #0009;opacity:0;pointer-events:none;transition:.25s;z-index:100;font-size:13px;max-width:calc(100% - 32px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}:focus-visible{outline:2px solid var(--gold);outline-offset:3px} @media(max-width:1120px){.desktop-nav{gap:0}.nav-link{padding:12px 10px;font-size:12px}.brand-copy strong{font-size:21px}.brand-mark{width:48px;height:48px}.hero-art{left:15%;opacity:.82}.hero-content{max-width:530px}.bottom-highlight{padding-inline:2.5%;gap:12px}.highlight-item{gap:8px}.highlight-icon{width:44px;height:44px}.highlight-item b{font-size:15px}}@media(max-width:1024px){.wrap{width:calc(100% - 40px)}.site-header{height:76px;padding:0 20px}.desktop-nav{display:none}.menu-open{display:grid}.header-actions{margin-left:auto}.search-panel{top:76px}.mobile-nav{position:fixed;top:76px;left:0;right:0;z-index:48;background:#08090df7;border-bottom:1px solid var(--line);padding:10px 20px 18px;display:none;backdrop-filter:blur(18px)}.mobile-nav.show{display:grid}.mobile-nav a{padding:13px;border-bottom:1px solid #ffffff10}.mobile-nav a:hover{color:var(--gold)}.hero{min-height:425px}.hero-art{inset:0 0 0 8%;background-position:60% center;opacity:.72}.hero-content{max-width:500px}.portal-grid{gap:13px}.portal-card{height:260px;padding:16px 12px}.portal-logo strong{font-size:29px}.portal-card p{font-size:12px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.bottom-highlight{grid-template-columns:repeat(2,minmax(0,1fr));padding:22px}.highlight-item:nth-child(2){border-right:0}.highlight-action{grid-column:1/-1;border-top:1px solid #ffffff1a;padding-top:16px;flex-direction:row;justify-content:center}.highlight-action .gold-btn{width:auto;min-width:190px}.highlight-action small{text-align:left;margin:0}}@media(max-width:620px){.wrap{width:calc(100% - 30px)}.site-header{height:68px;padding:0 14px;gap:8px}.brand{gap:8px}.brand-mark{width:42px;height:42px;border-radius:12px;font-size:20px}.brand-copy strong{font-size:18px}.brand-copy small{font-size:7px;letter-spacing:.8px}.header-actions{gap:7px}.icon-btn{width:39px;height:39px}.login-btn{display:none}.search-panel{top:68px;padding:12px}.mobile-nav{top:68px}.hero{width:100%;padding:0 18px;min-height:570px;align-items:flex-end}.hero-art{inset:0;background-image:linear-gradient(180deg,rgba(5,6,8,.12) 0%,rgba(5,6,8,.20) 28%,rgba(5,6,8,.48) 48%,rgba(5,6,8,.76) 68%,rgba(5,6,8,.90) 100%),linear-gradient(90deg,rgba(5,6,8,.34) 0%,rgba(5,6,8,.12) 56%,rgba(5,6,8,.30) 100%),url('assets/hero-banner.png');background-position:center top,center top,58% top;background-size:100% 100%,100% 100%,cover;background-repeat:no-repeat;opacity:1}.hero-content{padding:230px 0 24px;max-width:none;width:100%}.eyebrow{font-size:9px;letter-spacing:2.4px}.hero h1 span{font-size:28px}.hero h1 strong{font-size:57px}.hero h2{font-size:15px}.hero-description{font-size:12px;max-width:100%}.hero-buttons{gap:8px}.gold-btn,.glass-btn{padding:11px 16px;font-size:12px}.hero-stats{gap:10px;justify-content:space-between;margin-top:22px}.stat{gap:6px;padding-right:9px}.stat-icon{width:35px;height:35px;font-size:18px}.stat b{font-size:13px}.stat small{font-size:8px}.section{padding-top:24px}.section-heading h2{font-size:23px}.section-heading .eyebrow{font-size:9px}.outline-btn{padding:7px 11px;font-size:11px}.portal-grid{grid-template-columns:1fr;gap:13px}.portal-card{height:265px;padding:18px}.portal-logo strong{font-size:34px}.portal-card p{font-size:13px}.portal-cta{max-width:300px}.games-section{padding-top:24px}.filters{gap:6px}.filter{min-width:0;padding:8px 13px;font-size:11px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-info{padding:7px 8px 9px;align-items:flex-start;flex-direction:column;gap:4px}.game-info strong{font-size:12px}.game-info small{font-size:10px}.rating{font-size:10px;padding:2px 5px}.badge{top:6px;left:6px;font-size:8px}.bottom-highlight{margin-top:23px;margin-bottom:15px;border-radius:18px;padding:18px 14px;gap:15px}.highlight-item{align-items:center;border-right:0;padding:0;gap:8px}.highlight-icon{width:38px;height:38px;font-size:20px}.highlight-item b{font-size:13px}.highlight-item b span{font-size:10px}.highlight-item small{font-size:9px}.highlight-action{grid-column:1/-1;flex-direction:column;padding-top:14px}.highlight-action .gold-btn{width:100%}.highlight-action small{text-align:center;font-size:10px}.site-footer{flex-wrap:wrap;justify-content:center;text-align:center;gap:9px;padding-bottom:22px}.site-footer p{width:100%;order:3;margin:0}.site-footer>span{font-size:10px}}@media(max-width:380px){.brand-copy small{letter-spacing:.3px}.hero h1 strong{font-size:49px}.hero-buttons{flex-direction:column;align-items:stretch}.hero-buttons a{justify-content:center}.hero-stats{gap:6px}.stat{padding-right:5px}.stat-icon{width:31px;height:31px}.stat b{font-size:11px}.stat small{font-size:7px}.filter{padding:7px 10px}.game-info strong{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Footer SEO links: clear spacing and responsive wrapping */
.site-footer .footer-seo-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 0;margin-top:14px;width:100%;padding-top:14px;border-top:1px solid rgba(255,213,106,.16)}
.site-footer .footer-seo-links a{display:inline-flex;align-items:center;padding:5px 16px;color:#e8d8a8;font-size:12px;line-height:1.6;white-space:nowrap;transition:color .2s ease}
.site-footer .footer-seo-links a+a{border-left:1px solid rgba(255,213,106,.35)}
.site-footer .footer-seo-links a:hover{color:var(--gold);text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.site-footer .footer-seo-links{gap:4px 0;margin-top:12px;padding-top:12px}.site-footer .footer-seo-links a{padding:6px 10px;font-size:11px}.site-footer .footer-seo-links a+a{border-left:1px solid rgba(255,213,106,.35)}}


/* Responsive overflow guard: prevent horizontal page dragging on small screens */
html, body { overflow-x: clip; }
body { min-width: 0; }
main, header, footer, section, nav, article, .wrap, .hero, .section, .portal-grid, .portal-card, .game-grid, .game-card, .bottom-highlight { min-width: 0; }
img, svg, video, canvas, iframe { max-width: 100%; }
@media (max-width: 1024px) {
  .site-header { gap: 12px; }
  .desktop-nav { display: none; }
  .menu-open { display: grid; }
  .header-actions { flex-shrink: 0; }
}
@media (max-width: 420px) {
  .site-header { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .brand { min-width: 0; gap: 7px; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 6px; letter-spacing: .25px; }
  .header-actions { gap: 5px; }
  .icon-btn { width: 36px; height: 36px; }
  .hero-buttons { min-width: 0; }
  .hero-buttons a { max-width: 100%; }
}


/* Final mobile viewport guard: keep the document within the screen width. */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
}
body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  position: relative;
}
*, *::before, *::after { box-sizing: border-box; }
main, section, header, footer, nav, .wrap, .section, .hero,
.hero-content, .portal-grid, .portal-card, .game-grid, .game-card,
.bottom-highlight, .site-footer, .section-heading {
  min-width: 0;
  max-width: 100%;
}
img, svg, video, canvas, iframe { max-width: 100%; }
.hero-art { right: 0; }
@media (max-width: 620px) {
  .site-header, .section-heading, .hero-buttons, .hero-stats,
  .site-footer, .footer-seo-links { min-width: 0; max-width: 100%; }
  .hero { overflow: hidden; }
  .hero-art { inset: 0; max-width: 100%; }
  .section-heading { flex-wrap: wrap; }
  .site-footer .footer-seo-links { justify-content: center; }
}

/* OK HUB UI/UX refresh v2: refined hierarchy, glass surfaces, keyboard focus and mobile polish */
:root{--surface-glass:rgba(16,20,29,.78);--focus-ring:#8be9ff}
::selection{background:rgba(57,221,255,.32);color:#fff}
:where(a,button,input,[tabindex]):focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}
.site-header{box-shadow:0 8px 32px rgba(0,0,0,.18)}
.brand-mark{border-radius:17px;position:relative;isolation:isolate}
.brand-mark:after{content:"";position:absolute;inset:3px;border:1px solid #ffffff5c;border-radius:13px;pointer-events:none}
.hero{min-height:465px;border-radius:0 0 26px 26px;overflow:hidden}
.hero-art{inset:0 0 0 18%;background-position:center right;mask-image:linear-gradient(90deg,transparent 0%,#000 16%);}
.hero-content{max-width:600px;position:relative}
.hero-content:before{content:"";position:absolute;z-index:-1;inset:-22px -28px -18px -18px;border:1px solid rgba(255,255,255,.055);border-radius:26px;background:linear-gradient(120deg,rgba(6,9,15,.4),rgba(6,9,15,.08));backdrop-filter:blur(2px);pointer-events:none}
.hero-description{font-size:14px;line-height:1.85}
.hero-stats{gap:16px}.stat{padding-right:17px}.stat-icon{width:42px;height:42px}
.section{padding-top:34px}.section-heading{margin-bottom:19px}.section-heading h2{letter-spacing:-.02em}
.portal-card{height:300px;border-radius:21px;background-position:center;background-size:cover;isolation:isolate}
.portal-card:after{content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;border:1px solid rgba(255,255,255,.12);pointer-events:none}
.portal-logo,.portal-card p,.portal-cta{z-index:1}.portal-logo{margin-top:16px}.portal-card p{max-width:270px;font-size:13px;line-height:1.75}.portal-cta{width:min(88%,300px);padding:12px 15px;letter-spacing:.01em}
.game-card{border-radius:16px}.game-image img{transition:transform .45s cubic-bezier(.2,.7,.2,1)}.game-card:hover .game-image img{transform:scale(1.055)}
.filter,.outline-btn,.glass-btn,.gold-btn,.portal-cta,.login-btn{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.filter:active,.gold-btn:active,.portal-cta:active{transform:scale(.98)}
.bottom-highlight{border-radius:24px;box-shadow:0 18px 55px #0003;backdrop-filter:blur(14px)}
.site-footer{padding-top:27px}
@media(max-width:900px){.hero{min-height:430px}.hero-art{inset:0 0 0 8%;opacity:.82}.hero-content:before{inset:-15px -15px -12px -10px}.portal-card{height:275px}.portal-logo strong{font-size:30px}}
@media(max-width:620px){.hero{min-height:600px;border-radius:0 0 20px 20px}.hero-art{mask-image:none;background-position:center top,center top,58% top}.hero-content:before{inset:-12px -8px -12px;background:linear-gradient(135deg,rgba(5,6,8,.22),rgba(5,6,8,.05));border-radius:18px}.hero-description{font-size:12px;line-height:1.75}.hero-stats{gap:8px}.stat{padding-right:7px}.portal-card{height:265px;border-radius:18px}.section{padding-top:28px}.game-card{border-radius:13px}.site-footer{padding-top:22px}}
@media(prefers-reduced-motion:reduce){.portal-card,.game-card,.game-image img,.filter,.outline-btn,.glass-btn,.gold-btn,.portal-cta{transition:none!important}}


/* Homepage hero CTA and statistics styled to match the three portal banners */
.hero-content{max-width:100%;width:100%;padding:34px 0 26px}
.hero-buttons{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:22px}
.hero-buttons .gold-btn,.hero-buttons .glass-btn{
  min-height:68px;padding:15px 32px;border-radius:999px;display:inline-flex;align-items:center;
  justify-content:center;gap:16px;font-size:clamp(16px,1.9vw,23px);font-weight:600;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.hero-buttons .gold-btn{
  min-width:260px;color:#17130a;
  background:linear-gradient(110deg,#fff0a8 0%,#ffd56a 56%,#b77c19 100%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 26px rgba(255,196,61,.16)
}
.hero-buttons .glass-btn{
  min-width:300px;color:#f7f7f8;background:rgba(255,255,255,.035);
  border:2px solid rgba(255,255,255,.23);backdrop-filter:blur(12px)
}
.hero-buttons .gold-btn:hover,.hero-buttons .glass-btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(255,196,61,.18)}
.hero-buttons .shield{font-size:30px;color:#ffd56a;line-height:1}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:0;margin-top:30px;width:100%}
.hero-stats .stat{min-width:0;display:flex;align-items:center;gap:15px;padding:0 28px;border-right:1px solid rgba(255,255,255,.2);min-height:84px}
.hero-stats .stat:first-child{padding-left:0}
.hero-stats .stat:last-child{border-right:0;padding-right:0}
.hero-stats .stat-icon{width:76px;height:76px;flex:0 0 76px;border:2px solid rgba(255,213,106,.42);border-radius:50%;display:grid;place-items:center;color:#ffd56a;font-size:30px;background:rgba(255,213,106,.045)}
.hero-stats .stat p{min-width:0;margin:0}
.hero-stats .stat b{display:block;color:#ffd56a;font-size:clamp(17px,2.1vw,27px);font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.hero-stats .stat small{display:block;color:#d5d5d9;font-size:clamp(10px,1.3vw,15px);letter-spacing:.045em;margin-top:7px;white-space:normal}
@media(max-width:760px){
  .hero-content{padding:26px 0 22px}
  .hero-buttons{gap:10px;margin-top:18px}
  .hero-buttons .gold-btn,.hero-buttons .glass-btn{min-height:58px;min-width:0;padding:12px 20px;font-size:16px;flex:1}
  .hero-stats{grid-template-columns:1fr;margin-top:22px}
  .hero-stats .stat,.hero-stats .stat:first-child,.hero-stats .stat:last-child{padding:12px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.14);min-height:72px}
  .hero-stats .stat:last-child{border-bottom:0}
  .hero-stats .stat-icon{width:54px;height:54px;flex-basis:54px;font-size:23px}
  .hero-stats .stat b{font-size:18px}
  .hero-stats .stat small{font-size:11px;margin-top:3px}
}
@media(max-width:390px){
  .hero-buttons{flex-direction:column;align-items:stretch}
  .hero-buttons .gold-btn,.hero-buttons .glass-btn{width:100%}
}


/* Homepage hero: remove the dark glass overlay and match portal banner controls */
.hero-art{
  background-image:linear-gradient(90deg,rgba(5,6,8,.32) 0%,rgba(5,6,8,.12) 34%,rgba(5,6,8,0) 68%),
    linear-gradient(180deg,rgba(5,6,8,0) 0%,rgba(5,6,8,.08) 70%,rgba(5,6,8,.24) 100%),
    url('assets/hero-banner.png') !important;
}
.hero-content{position:relative;z-index:1;max-width:100%;width:100%;padding:34px 0 8px}
.hero-action-area{position:relative;z-index:2;width:100%;padding:12px 0 22px}
.hero-buttons{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0 30px}
.hero-buttons .gold-btn,.hero-buttons .glass-btn{
  min-height:76px;padding:16px 34px;border-radius:999px;display:inline-flex;align-items:center;
  justify-content:center;gap:16px;font-size:clamp(16px,2vw,24px);font-weight:600;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.hero-buttons .gold-btn{
  min-width:260px;color:#17130a;
  background:linear-gradient(110deg,#fff0a8 0%,#ffd56a 56%,#b77c19 100%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 8px 26px rgba(255,196,61,.16)
}
.hero-buttons .glass-btn{
  min-width:300px;color:#f7f7f8;background:rgba(12,12,12,.16);
  border:2px solid rgba(255,255,255,.23);backdrop-filter:none
}
.hero-buttons .shield{font-size:30px;color:#ffd56a;line-height:1}
.hero-buttons .gold-btn:hover,.hero-buttons .glass-btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(255,196,61,.18)}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:0;margin-top:0;width:100%}
.hero-stats .stat{min-width:0;display:flex;align-items:center;gap:15px;padding:0 28px;border-right:1px solid rgba(255,255,255,.2);border-bottom:0;min-height:84px;text-decoration:none}
.hero-stats .stat:first-child{padding-left:0}
.hero-stats .stat:last-child{border-right:0;padding-right:0}
.hero-stats .stat-icon{width:76px;height:76px;flex:0 0 76px;border:2px solid rgba(255,213,106,.42);border-radius:50%;display:grid;place-items:center;color:#ffd56a;font-size:30px;background:rgba(255,213,106,.045);box-shadow:none}
.hero-stats .stat p{min-width:0;display:block;margin:0;line-height:1.2}
.hero-stats .stat b{display:block;color:#ffd56a;font-size:clamp(17px,2.1vw,27px);font-weight:800;overflow-wrap:anywhere}
.hero-stats .stat small{display:block;color:#d5d5d9;font-size:clamp(10px,1.3vw,15px);letter-spacing:.045em;margin-top:7px;white-space:normal}
.hero-stats .stat:hover .stat-icon{border-color:#ffd56a;box-shadow:0 0 18px #ffd56a22}
@media(max-width:760px){
 .hero-content{padding:26px 0 8px}
 .hero-action-area{padding:10px 0 18px}
 .hero-buttons{gap:10px;margin:12px 0 23px}
 .hero-buttons .gold-btn,.hero-buttons .glass-btn{min-height:58px;min-width:0;padding:12px 20px;font-size:16px;flex:1}
 .hero-stats{grid-template-columns:1fr}
 .hero-stats .stat,.hero-stats .stat:first-child,.hero-stats .stat:last-child{padding:12px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.14);min-height:72px}
 .hero-stats .stat:last-child{border-bottom:0}
 .hero-stats .stat-icon{width:54px;height:54px;flex-basis:54px;font-size:23px}
 .hero-stats .stat b{font-size:18px}
 .hero-stats .stat small{font-size:11px;margin-top:3px}
}
@media(max-width:390px){
 .hero-buttons{flex-direction:column;align-items:stretch}
 .hero-buttons .gold-btn,.hero-buttons .glass-btn{width:100%}
}


/* Final banner placement: controls sit on the image, bottom-left, across all four pages */
.hero.wrap{
  min-height:690px;align-items:flex-start;padding-bottom:245px;
}
.hero-content{position:relative;z-index:1;max-width:620px;width:100%;padding-top:44px}
.hero-action-area{
  position:absolute;left:0;bottom:20px;width:100%;z-index:3;
  padding:0 0 0;max-width:100%;
}
.hero-buttons{margin:0 0 24px;gap:16px}
.hero-stats{margin-top:0}
@media(max-width:760px){
  .hero.wrap{min-height:760px;padding-bottom:300px}
  .hero-content{padding-top:30px}
  .hero-action-area{bottom:16px}
  .hero-buttons{margin-bottom:18px}
}
@media(max-width:390px){
  .hero.wrap{min-height:820px;padding-bottom:320px}
}


/* Requested final polish: remove dark glass panel under homepage hero copy */
.hero-content,
.hero-content::before,
.hero-content::after{
  background:transparent !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  box-shadow:none !important;
}
.hero-content::before,.hero-content::after{content:none !important;display:none !important}
.hero-art{
  background-image:linear-gradient(90deg,rgba(5,6,8,.18) 0%,rgba(5,6,8,.07) 34%,rgba(5,6,8,0) 68%),
    linear-gradient(180deg,rgba(5,6,8,0) 0%,rgba(5,6,8,.03) 70%,rgba(5,6,8,.12) 100%),
    url('assets/hero-banner.png') !important;
}
/* Make all three information-strip labels and subtitles white on the homepage */
.hero-stats .stat b,
.hero-stats .stat small{color:#fff !important}


/* Responsive Web Design foundation — OK HUB homepage */
*,*::before,*::after{box-sizing:border-box}
html{width:100%;max-width:100%;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;max-width:100%;margin:0;overflow-x:hidden}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
button,input,select,textarea{max-width:100%;font:inherit}
a{overflow-wrap:anywhere}
.wrap,.section,.hero{width:min(100% - 40px,1280px);margin-left:auto;margin-right:auto}
.hero{min-width:0}
.hero-art{max-width:100%;background-size:cover;background-position:center right}
.hero-content,.hero-action-area,.hero-stats,.hero-buttons,.portal-grid,.section-heading{min-width:0;max-width:100%}
.hero h1,.hero h2,.hero-description{overflow-wrap:anywhere}
.portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px)}
.portal-card{min-width:0}
.portal-card img{width:100%;height:auto;object-fit:cover}
.hero-buttons .gold-btn,.hero-buttons .glass-btn{white-space:normal;text-align:center}
.hero-stats .stat{min-width:0}
@media (min-width:1440px){
  .wrap,.section,.hero{width:min(100% - 64px,1360px)}
}
@media (max-width:1024px){
  .wrap,.section,.hero{width:calc(100% - 36px)}
  .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero.wrap{min-height:720px;padding-bottom:290px}
  .hero-content{padding-top:32px}
  .hero-stats .stat{padding-left:14px;padding-right:14px;gap:10px}
  .hero-stats .stat-icon{width:60px;height:60px;flex-basis:60px}
}
@media (max-width:760px){
  .wrap,.section,.hero{width:calc(100% - 28px)}
  .hero.wrap{min-height:0;padding-bottom:0;display:flex;flex-direction:column}
  .hero-art{inset:0;min-height:100%;background-position:62% center}
  .hero-content{padding:26px 0 8px}
  .hero-action-area{position:relative;left:auto;right:auto;bottom:auto;width:100%;padding:12px 0 18px;margin-top:auto}
  .hero-buttons{display:flex;flex-wrap:wrap;gap:10px}
  .hero-buttons .gold-btn,.hero-buttons .glass-btn{flex:1 1 220px;min-width:0;min-height:54px;padding:12px 16px;font-size:clamp(14px,3.6vw,17px)}
  .hero-stats{grid-template-columns:1fr;gap:0}
  .hero-stats .stat,.hero-stats .stat:first-child,.hero-stats .stat:last-child{min-height:60px;padding:9px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}
  .hero-stats .stat:last-child{border-bottom:0}
  .hero-stats .stat-icon{width:44px;height:44px;flex-basis:44px;font-size:20px}
  .hero-stats .stat b{font-size:16px}
  .hero-stats .stat small{font-size:10px}
  .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .section-heading{align-items:flex-start;flex-wrap:wrap}
  .section-heading h2{font-size:clamp(21px,5vw,27px)}
}
@media (max-width:420px){
  .wrap,.section,.hero{width:calc(100% - 24px)}
  .hero h1 span{font-size:clamp(23px,7vw,32px)}
  .hero h1 strong{font-size:clamp(44px,13vw,60px)}
  .hero h2{font-size:15px}
  .hero-description{font-size:12px}
  .hero-buttons{flex-direction:column;align-items:stretch}
  .hero-buttons .gold-btn,.hero-buttons .glass-btn{width:100%;flex:0 0 auto}
  .portal-grid{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
