:root{
  color-scheme:dark;
  --topbar-height:60px;
  --bg:#0c0d0f;
  --bg-2:#0b0b0b;
  --panel:#121212;
  --panel-2:#181818;
  --line:#2a2a2a;
  --line-soft:rgba(255,255,255,.075);
  --border:#2a2a2a;
  --text:#ffffff;
  --soft:#d8d8d8;
  --muted:#a7a7a7;
  --muted-2:#747474;
  --blue:#00a4dc;
  --blue-2:#78dfff;
  --blue-dark:#0085b4;
  --green:#45d17f;
  --shadow:0 24px 80px rgba(0,0,0,.34);
  --radius:8px;
  font-family:"Segoe UI Variable Text","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  background:var(--bg);
}

body{
  margin:0;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
  color:var(--text);
  background:var(--bg);
  font-size:14px;
  line-height:1.45;
}

a,
button{
  -webkit-tap-highlight-color:transparent;
}

a{
  color:inherit;
}

a:focus-visible,
button:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
}

h1,
h2,
h3,
p{
  margin:0;
}

.page{
  width:min(1180px,calc(100% - 36px));
  min-height:calc(100vh - var(--topbar-height));
  min-height:calc(100svh - var(--topbar-height));
  margin:0 auto;
  display:flex;
  flex:1;
  flex-direction:column;
}

main{
  flex:1 0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(9,9,9,.82);
  backdrop-filter:blur(14px);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  width:100%;
  min-height:59px;
  padding:10px 16px;
  margin:0 auto;
}

.topbar .topbar-inner{
  justify-content:flex-start;
  position:relative;
  width:100%;
  padding:10px 16px;
}

.brand{
  display:flex;
  align-items:center;
  min-width:0;
  text-decoration:none;
}

.brand img{
  display:block;
  width:auto;
  height:32px;
  max-width:190px;
  object-fit:contain;
}

.site-nav{
  position:absolute;
  top:50%;
  left:max(130px,calc((100% - 1180px) / 2));
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:6px;
  margin-left:0;
}

.site-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-bottom:2px solid transparent;
  color:var(--soft);
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  transition:color 140ms ease,border-color 140ms ease;
}

.site-nav a:hover,
.site-nav a.active{
  border-color:var(--blue);
  color:#fff;
}

.nav-dropdown{
  position:relative;
}

.nav-dropdown::after{
  content:"";
  position:absolute;
  top:100%;
  right:-8px;
  left:-8px;
  height:10px;
}

.nav-trigger{
  gap:8px;
}

.nav-trigger::after{
  content:"";
  width:7px;
  height:7px;
  margin-top:-3px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  opacity:.72;
  transform:rotate(45deg);
}

.nav-dropdown:hover .nav-trigger,
.nav-dropdown:focus-within .nav-trigger,
.nav-dropdown.active .nav-trigger{
  border-color:var(--blue);
  color:#fff;
}

.nav-menu{
  position:absolute;
  top:100%;
  left:0;
  z-index:20;
  display:none;
  min-width:170px;
  margin-top:8px;
  padding:8px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:#151515;
  box-shadow:0 16px 38px rgba(0,0,0,.38);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu{
  display:grid;
}

.nav-menu a{
  justify-content:flex-start;
  min-height:34px;
  padding:0 10px;
  border:0;
  border-radius:7px;
  color:#fff;
}

.nav-menu a:hover,
.nav-menu a:focus-visible{
  border-color:transparent;
  background:rgba(255,255,255,.08);
}

@media(min-width:1430px){
  .site-nav{
    left:calc((100% - 1180px) / 2);
  }
}

.topbar-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
  margin-left:auto;
}

.topbar-actions .roosted-auth{
  margin-left:0;
}

.hero{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);
  gap:56px;
  align-items:center;
  padding:44px 0 26px;
}

.eyebrow{
  color:var(--blue-2);
  font-size:12px;
  font-weight:850;
  letter-spacing:0;
  text-transform:uppercase;
}

h1{
  max-width:700px;
  margin-top:16px;
  color:#fff;
  font-size:52px;
  font-weight:900;
  letter-spacing:0;
  line-height:1.02;
}

h1 span{
  display:block;
  color:var(--blue);
}

.hero-copy{
  max-width:610px;
  margin-top:18px;
  color:var(--soft);
  font-size:17px;
  line-height:1.55;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 22px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius);
  background:rgba(255,255,255,.045);
  color:#fff;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:background 140ms ease,border-color 140ms ease,transform 140ms ease;
}

.btn:hover{
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.07);
}

.btn:active{
  transform:translateY(1px);
}

.btn.primary{
  border-color:transparent;
  background:var(--blue);
  box-shadow:none;
}

.btn.primary:hover{
  background:var(--blue-dark);
}

.btn.small{
  min-height:34px;
  padding:0 14px;
  font-size:12px;
}

.btn.disabled{
  cursor:default;
  color:var(--muted);
  background:rgba(255,255,255,.025);
}

.snapshot{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015)),
    var(--panel);
  box-shadow:var(--shadow);
}

.snapshot-head{
  padding:18px 20px 12px;
}

.snapshot-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:14px 18px 20px;
}

.snapshot-item{
  min-width:0;
  padding:0 16px;
  text-align:center;
  border-right:1px solid var(--line-soft);
}

.snapshot-item:last-child{
  border-right:0;
}

.snapshot-value{
  color:#fff;
  font-size:23px;
  font-weight:900;
  line-height:1;
}

.snapshot-label{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
}

.snapshot-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 20px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}

.system-ok{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.system-ok::before,
.live-pill::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 12px rgba(69,209,127,.55);
}

.section{
  padding:24px 0 0;
}

.section + .section{
  margin-top:30px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
  padding-top:18px;
  border-top:1px solid transparent;
  border-image:linear-gradient(90deg,transparent,rgba(255,255,255,.04) 10%,rgba(255,255,255,.1) 30%,rgba(255,255,255,.1) 70%,rgba(255,255,255,.04) 90%,transparent) 1;
}

.section-head h2{
  color:var(--muted);
  font-size:14px;
  font-weight:850;
  letter-spacing:0;
  text-transform:uppercase;
}

.section-head p{
  max-width:520px;
  color:var(--muted);
  font-size:13px;
}

.games-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.game-card,
.feature{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:
    linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018)),
    var(--panel);
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}

.game-card{
  min-height:0;
  aspect-ratio:16 / 9;
  display:flex;
  align-items:stretch;
  position:relative;
  overflow:hidden;
}

.game-link{
  color:inherit;
  text-decoration:none;
  transition:transform 140ms ease;
}

.game-link:active{
  transform:translateY(0);
}

.game-art{
  flex:0 0 42%;
  display:grid;
  place-items:center;
  min-width:148px;
  padding:0;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 30%,rgba(101,255,94,.18),transparent 52%),
    linear-gradient(135deg,rgba(19,31,22,.9),rgba(10,10,10,.92));
}

.game-art img{
  width:100%;
  height:100%;
  min-height:0;
  display:block;
  object-fit:contain;
  transition:transform 180ms ease;
}

.iw4x-logo{
  color:#bdf575;
  font-size:34px;
  font-weight:900;
  letter-spacing:.02em;
  text-shadow:0 0 24px rgba(189,245,117,.22);
}

.game-body{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px;
}

.featured-game{
  position:relative;
  isolation:isolate;
}

.featured-game .game-art{
  position:absolute;
  inset:0;
  z-index:-1;
  min-width:0;
  min-height:0;
  width:100%;
}

.featured-game .game-art::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,10,14,.92),rgba(5,10,14,.58) 48%,rgba(5,10,14,.16)),
    linear-gradient(0deg,rgba(5,10,14,.82),rgba(5,10,14,.16) 64%,rgba(5,10,14,.34));
}

.featured-game .game-art img{
  min-height:100%;
}

.featured-game .game-body{
  min-height:0;
  justify-content:flex-end;
  text-shadow:0 2px 10px rgba(0,0,0,.65);
}

.featured-game .game-card p,
.featured-game p{
  max-width:310px;
  color:rgba(235,243,255,.82);
}

.card-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.featured-game .card-title-row{
  padding-right:52px;
}

.game-card h3{
  color:#fff;
  font-size:18px;
  font-weight:850;
  line-height:1.15;
}

.featured-game .iw4x-title-accent{
  color:#bdf575;
  text-shadow:0 0 24px rgba(189,245,117,.18);
}

.game-card p,
.feature p{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.42;
}

.live-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:22px;
  padding:0 8px;
  border:1px solid rgba(69,209,127,.28);
  border-radius:999px;
  background:rgba(69,209,127,.09);
  color:#c6f7da;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}

.featured-game .live-pill{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
}

.placeholder-card{
  min-height:142px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:22px;
  color:var(--muted);
}

.placeholder-icon{
  flex:0 0 auto;
  width:54px;
  height:38px;
  border:4px solid rgba(143,159,172,.22);
  border-radius:18px 18px 14px 14px;
  position:relative;
}

.placeholder-icon::before,
.placeholder-icon::after{
  content:"";
  position:absolute;
  top:12px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(143,159,172,.32);
}

.placeholder-icon::before{
  left:12px;
}

.placeholder-icon::after{
  right:12px;
}

.placeholder-card strong{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
}

.placeholder-card span{
  display:block;
  margin-top:5px;
  color:var(--soft);
  font-size:13px;
  line-height:1.35;
}

.features{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.stats-section{
  margin-top:38px;
  padding-top:30px;
  border-top:1px solid transparent;
  border-image:linear-gradient(90deg,transparent,rgba(255,255,255,.04) 10%,rgba(255,255,255,.1) 30%,rgba(255,255,255,.1) 70%,rgba(255,255,255,.04) 90%,transparent) 1;
}

.feature{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  min-height:86px;
  padding:18px;
  background:transparent;
  box-shadow:none;
  border-color:transparent;
  border-right:1px solid var(--line-soft);
}

.feature:last-child{
  border-right-color:transparent;
}

.feature h3{
  color:var(--blue-2);
  font-size:14px;
  font-weight:850;
}

.footer{
  display:grid;
  grid-template-columns:minmax(220px,1fr) repeat(4,minmax(120px,.45fr)) minmax(120px,.45fr);
  gap:24px;
  margin-top:auto;
  padding:34px 0 38px;
  color:var(--muted);
}

.footer-brand img{
  display:block;
  width:160px;
  max-width:100%;
  height:auto;
}

.footer-brand p{
  max-width:260px;
  margin-top:10px;
  font-size:13px;
}

.footer h3{
  margin-bottom:10px;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
}

.footer a,
.footer span{
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:13px;
  text-decoration:none;
}

.footer a:hover{
  color:#fff;
}

.copyright{
  align-self:end;
  font-size:13px;
  text-align:right;
}

@media(max-width:1060px){
  .hero{
    grid-template-columns:1fr;
    gap:28px;
  }

  .games-grid{
    grid-template-columns:1fr 1fr;
  }

  .features{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .feature:nth-child(2){
    border-right-color:transparent;
  }

  .footer{
    grid-template-columns:1fr 1fr;
  }

  .copyright{
    text-align:left;
  }
}

@media(max-width:760px){
  :root{
    --topbar-height:65px;
  }

  .page{
    width:min(100% - 24px,1180px);
  }

  .topbar-inner{
    align-items:center;
    justify-content:space-between;
    min-height:64px;
    padding:14px 16px 8px;
    width:100%;
  }

  .topbar .topbar-inner{
    width:100%;
    padding:14px 16px 8px;
  }

  .brand img{
    height:42px;
    max-width:min(170px,45vw);
  }

  .site-nav{
    display:none;
  }

  .topbar-actions{
    gap:8px;
  }


  .hero{
    padding-top:36px;
  }

  h1{
    font-size:38px;
  }

  .hero-copy{
    font-size:15px;
  }

  .hero-actions{
    display:grid;
  }

  .btn{
    width:100%;
  }

  .snapshot-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 0;
  }

  .snapshot-item:nth-child(2){
    border-right:0;
  }

  .snapshot-foot,
  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .games-grid,
  .features,
  .footer{
    grid-template-columns:1fr;
  }

  .game-card{
    flex-direction:column;
  }

  .game-body{
    gap:18px;
  }

  .game-body .hero-actions{
    margin-top:0;
  }

  .game-body .btn.small{
    min-height:38px;
    line-height:1.1;
  }

  .game-art{
    min-height:110px;
  }

  .game-art img{
    min-height:0;
  }

  .placeholder-card{
    min-height:118px;
  }

  .feature{
    border-right:0;
    border-color:var(--line);
    background:#101010;
  }
}

@media(max-width:460px){
  h1{
    font-size:34px;
  }

  .snapshot-grid{
    padding:12px 12px 16px;
  }

  .snapshot-item{
    padding:0 10px;
  }

  .game-body,
  .placeholder-card{
    padding:16px;
  }
}
