:root {
  --bg: #101010;
  --panel: #171717;
  --line: #292929;
  --line-warm: #2d2420;
  --orange: #ff5500;
  --text: #f1f1f1;
  --muted: #a7a7a7;
  --left: 239px;
  --right: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.6 "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p, ol, figure { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ===== LEFT SIDEBAR ===== */
.left-sidebar {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: var(--left);
  display: flex;
  flex-direction: column;
  padding: 23px 22px 8px 18px;
  background: #111;
  border-right: 1px solid var(--line);
  color: var(--muted);
  overflow-y: auto;
  z-index: 30;
}

.sidebar-brand { display: flex; align-items: center; height: 36px; margin: 0 4px 24px; }
.native-home-mark { width: 32px; height: 32px; }

.sidebar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px;
  background: #1d1d1d;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
}
.sidebar-search:hover { color: #e6e6e6; }
.native-search-icon { width: 22px; height: 22px; }

.game-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  margin-top: 8px;
  padding: 0 11px;
  background: #111;
  border: 1px solid #262626;
  border-radius: 7px;
  color: #a4a4b0;
  font-size: 13px;
}
.game-switch:hover { border-color: #454545; }
.cs2-original-icon { width: 24px; height: 24px; border-radius: 50%; }
.game-switch strong { font-weight: 700; color: #e6e6e6; }
.game-dot { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #5f5f5f; }

.main-nav { display: flex; flex-direction: column; margin-top: 20px; }
.main-nav a, .nav-item, .club-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 7px;
  color: var(--muted);
  font-size: 16px;
  border-radius: 6px;
}
.main-nav a:hover, .nav-item:hover { color: #fff; background: #1e1e1e; }
.faceit-menu-icon { width: 24px; height: 24px; object-fit: contain; }

.nav-divider { height: 1px; margin: 24px 0; background: var(--line); }

.club-heading { height: 44px; cursor: default; }
.club-heading:hover { color: #fff; }

.club-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 8px;
  font-size: 16px;
  color: #d8d8d8;
}
.club-selected:hover { color: #fff; }
.club-logo { width: 28px; height: 28px; flex: none; border-radius: 50%; overflow: hidden; }
.club-logo img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-bottom {
  margin-top: auto;
  padding: 20px 22px 0 18px;
  margin-left: -18px;
  margin-right: -22px;
  border-top: 1px solid #262626;
}
.sidebar-bottom .main-nav { margin-top: 0; }
.premium, .premium:hover { color: #b4ff00 !important; }

/* ===== RIGHT RAIL ===== */
.right-sidebar {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: var(--right);
  background: #111;
  border-left: 1px solid var(--line);
  z-index: 40;
}
.right-sidebar > * { position: absolute; left: 13px; }
.rail-avatar { top: 14px; width: 40px; height: 40px; }
.rail-vs { top: 70px; left: 12px; display: grid; place-items: center; width: 44px; height: 40px; color: var(--muted); font-weight: 700; font-size: 16px; border-radius: 6px; }
.rail-vs:hover { color: var(--orange); }

.rail-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  color: var(--muted);
  border-radius: 6px;
}
.rail-button:hover { background: #202020; }
.faceit-rail-icon { width: 24px; height: 24px; object-fit: contain; }

.right-sidebar > .rail-button[aria-label="Notifications"] { top: 120px; left: 12px; }
.rail-friends { top: 168px !important; left: 12px; }
.rail-friends-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 14px; padding: 0 3px;
  background: #263d2d; color: #96d67a;
  font-size: 10px; font-weight: 700; line-height: 14px;
  text-align: center; border-radius: 7px;
}

.rail-party-block {
  top: 226px; left: 9px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 46px; padding: 4px 2px 8px;
  background: #1c1c1c; border: 1px solid #282828; border-radius: 8px;
}
.rail-party-block .rail-button { width: 40px; height: 40px; }
.rail-group { position: relative; background: #282828; }
.rail-group-count {
  position: absolute; top: -4px; right: -2px;
  min-width: 15px; height: 15px; padding: 0 3px;
  background: #333; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 15px;
  text-align: center; border-radius: 9px;
}
.rail-party-block .rail-divider { width: 28px; height: 1px; background: #272727; margin: 2px 0; }
.small-rail { display: grid; place-items: center; width: 40px; height: 40px; }
.rail-party-block .support { color: var(--orange); }

.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: #29231f;
  border: 1px solid #554331;
  border-radius: 50%;
  color: #d8a17e;
  overflow: hidden;
}
.avatar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.small-rail .avatar { width: 30px; height: 30px; }
.small-rail .avatar svg { width: 17px; height: 17px; }
.rail-avatar .profile-loaded-dot {
  position: absolute; bottom: -1px; right: -1px;
  width: 11px; height: 11px;
  background: #00ff08; border: 2px solid #111; border-radius: 50%;
}

/* ===== MAIN COMMUNITY AREA ===== */
.main-area {
  margin-left: var(--left);
  margin-right: var(--right);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 36px;
  background: #111;
  border-bottom: 1px solid var(--line);
}
.site-wordmark { display: inline-flex; align-items: center; }
.site-wordmark img { height: 19px; width: auto; }

.site-sep { width: 1px; height: 26px; background: #343434; margin: 0 20px; }

.site-club { display: inline-flex; align-items: center; gap: 11px; }
.site-club-logo { width: 30px; height: 30px; border-radius: 50%; }
.site-club-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-club-text strong { font-size: 14px; letter-spacing: .04em; }
.site-club-text small { font-size: 10px; color: var(--muted); letter-spacing: .06em; }

.site-nav {
  position: absolute;
  right: 36px;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  font: 700 11px/1 "Play", sans-serif;
  letter-spacing: .12em;
  color: var(--muted);
}
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { color: var(--orange); }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; filter: brightness(.48) grayscale(1) contrast(.86); }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,13,14,.6) 0%, rgba(13,13,14,.32) 48%, rgba(13,13,14,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,.46) 100%),
    rgba(26,26,28,.14);
}

.hero-frame { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 448px;
  align-items: center;
  gap: 52px;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 44px max(48px, 5%);
}

.eyebrow {
  display: flex; align-items: center;
  margin-bottom: 28px;
  font: 700 13px/1 "Play", sans-serif;
  letter-spacing: .2em;
  color: #cbbdb6;
}
.eyebrow span { color: var(--orange); margin: 0 9px; font-size: 12px; }

h1 {
  font: 700 clamp(46px, 5.9vw, 72px)/1.07 "Play", sans-serif;
  text-transform: uppercase;
  letter-spacing: .005em;
}
h1 span {
  display: block;
  background: linear-gradient(180deg, #ffffff 30%, #8d8d8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 32px;
  max-width: 500px;
  font: 400 17px/1.75 "Play", sans-serif;
  color: #dcdcdc;
}

.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 22px;
  background: var(--orange);
  border-radius: 5px;
  color: #fff;
  font: 700 13px/1 "Play", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: #ff6d24; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 85, 0, .28); }
.btn.ghost { background: transparent; border: 1px solid var(--orange); color: var(--orange); }
.btn.ghost:hover { background: rgba(255, 85, 0, .1); box-shadow: none; }

.fineprint { margin-top: 30px; font: 400 13px/1 "Play", sans-serif; color: #8d8d8d; }

/* Club card */
.club-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  background: rgba(22, 22, 22, .9);
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  backdrop-filter: blur(3px);
}
.club-card-left { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.club-card-logo { width: 106px; height: 106px; border-radius: 50%; }
.tag {
  padding: 4px 10px;
  border: 1px solid #454545;
  border-radius: 3px;
  color: var(--muted);
  font: 700 10px/1 "Play", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.club-card-body h2 {
  margin-bottom: 13px;
  font: 700 16px/1.2 "Play", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.club-card-body p { font: 400 14px/1.65 "Play", sans-serif; color: var(--muted); }
.club-card-body p + p { margin-top: 11px; }

/* One game. One community. */
.community {
  padding: 62px max(36px, 4%);
}
.section-title {
  text-align: center;
  font: 700 20px/1 "Play", sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.section-title.orange { color: var(--orange); }
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 38px auto 0;
}
.tile {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 24px;
  background: #1a1a1a;
  border-radius: 4px;
  font: 400 14px/1.5 "Play", sans-serif;
  color: var(--muted);
  transition: background .18s, transform .18s;
}
.tile:hover { background: #212121; transform: translateY(-2px); }
.tile b { color: var(--orange); }
.tile-icon {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: var(--orange); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.tile-icon.solid { fill: var(--orange); stroke: none; }

/* How it works */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 74px max(36px, 4%) 90px;
}
.steps { list-style: none; }
.steps li {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.step-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  background: #171717;
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: border-color .18s, transform .18s;
}
.steps li:hover .step-icon { border-color: var(--orange); transform: translateY(-2px); }
.step-icon svg {
  width: 23px; height: 23px;
  fill: none; stroke: var(--orange); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.steps small {
  display: block;
  font: 700 10px/1.5 "Play", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}
.steps strong {
  font: 700 14px/1.3 "Play", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.how-copy h2 {
  margin-bottom: 16px;
  font: 700 30px/1.1 "Play", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--orange);
}
.how-copy p { font: 400 15px/1.7 "Play", sans-serif; color: var(--muted); }
.how-copy p + p { margin-top: 11px; }
.how-copy .btn { margin-top: 26px; }

/* Made for your next match */
.made {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 78px max(36px, 4%);
}
.made-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-height: 300px;
  justify-content: center;
}
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-1 { width: 300px; height: 300px; }
.orbit-2 { width: 220px; height: 220px; border-style: dashed; border-color: rgba(255, 255, 255, .05); animation: spin 60s linear infinite; }
.link-stack { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 268px;
  padding: 15px 18px;
  background: #171717;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color .18s, transform .18s;
}
.link-card:hover { border-color: #3a3a3a; transform: translateY(-2px); }
.link-logo { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.link-card small {
  display: block;
  font: 700 9px/1.5 "Play", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7c7c7c;
}
.link-card strong { font: 700 16px/1.2 "Play", sans-serif; }
.link-card strong b { color: #2f78ea; font-weight: 700; }
.link-chain {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  color: var(--orange);
  animation: chainPulse 2.4s ease-in-out infinite;
}
.link-chain svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.made-tag {
  position: relative; z-index: 1;
  margin-top: 6px;
  font: 700 9px/1 "Play", sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #6e6e6e;
}
.made-copy h2 {
  margin-bottom: 18px;
  font: 700 32px/1.1 "Play", sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--orange);
}
.made-lead { font: 400 16px/1.6 "Play", sans-serif; color: #e4e4e4; margin-bottom: 12px; }
.made-copy > p:last-child { font: 400 15px/1.75 "Play", sans-serif; color: var(--muted); max-width: 440px; }

/* The next round */
.next-round {
  padding: 70px max(36px, 4%) 80px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(120,50,12,.32), transparent 60%),
    #0d0b0a;
}
.nr-cards {
  display: grid;
  gap: 14px;
  max-width: 1040px;
  margin: 40px auto 0;
}
.nr-card {
  padding: 22px 26px;
  background: rgba(26, 24, 23, .72);
  border: 1px solid #2c2622;
  border-radius: 8px;
  transition: border-color .18s, transform .18s;
}
.nr-card:hover { border-color: #4a3a2c; transform: translateY(-2px); }
.nr-card h3 {
  margin-bottom: 10px;
  font: 700 13px/1 "Play", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.nr-card p { font: 400 14px/1.7 "Play", sans-serif; color: #bdbdbd; }
.nr-sub { margin-top: 8px; color: #8d8d8d !important; }
.nr-actions { display: flex; gap: 14px; max-width: 1040px; margin: 24px auto 0; }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 30px max(36px, 4%);
  font: 400 12px/1 "Play", sans-serif;
  color: #7a7a7a;
}
.footer-left, .footer-legal, .footer-right { display: flex; align-items: center; gap: 20px; }
.footer-dart { width: 24px; height: 24px; }
.site-footer a { transition: color .15s; }
.site-footer a:hover { color: #e6e6e6; }
.footer-legal { color: #666; flex-wrap: wrap; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border: 1px solid #333;
  border-radius: 4px;
  color: #bdbdbd;
  letter-spacing: .08em;
}
.lang em { font-style: normal; color: #7a7a7a; }
.socials { display: flex; align-items: center; gap: 15px; }
.socials img { width: 18px; height: 18px; object-fit: contain; opacity: .7; transition: opacity .15s, transform .15s; }
.socials a:hover img { opacity: 1; transform: translateY(-2px); }

/* Scroll reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes chainPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.9); } }

/* Glowing section dividers */
.community, .how, .made, .next-round, .site-footer { position: relative; }
.community::before, .how::before, .made::before, .next-round::before, .site-footer::before,
.community::after, .how::after, .made::after, .next-round::after, .site-footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}
/* faint line with a gentle warm centre */
.community::before, .how::before, .made::before, .next-round::before, .site-footer::before {
  top: 0; height: 1px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 2%,
    rgba(255, 255, 255, .035) 25%,
    rgba(255, 120, 50, .22) 50%,
    rgba(255, 255, 255, .035) 75%,
    rgba(255, 255, 255, 0) 98%);
}
/* very soft bloom above the line */
.community::after, .how::after, .made::after, .next-round::after, .site-footer::after {
  top: -8px; height: 16px;
  background: radial-gradient(38% 100% at 50% 50%, rgba(255, 85, 0, .05), transparent 74%);
}

/* Verification modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(2px);
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  width: min(440px, 100%);
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  animation: modalIn .18s ease;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  color: #9a9a9a;
  font-size: 24px; line-height: 1;
  border-radius: 4px;
}
.modal-close:hover { color: #fff; background: #242424; }
.modal-title {
  margin: 0;
  padding: 23px 48px 18px;
  text-align: center;
  font: 700 20px/1.2 "Play", sans-serif;
  letter-spacing: .01em;
}
.modal-body { padding: 0 24px 22px; }
.modal-body p { font: 400 14px/1.6 "Play", sans-serif; color: #b5b5b5; }
.modal-body p + p { margin-top: 14px; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 17px 24px;
  border-top: 1px solid #2a2a2a;
}
.modal-actions .btn,
.modal-actions .btn-text {
  margin: 0;
}
.btn-text {
  padding: 12px 16px;
  color: #9a9a9a;
  font: 700 12px/1 "Play", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 5px;
  transition: color .15s;
}
.btn-text:hover { color: #fff; }
.modal-verify, .next-btn { margin-top: 0; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Anti-cheat modal */
.ac-card {
  position: relative;
  width: min(580px, 100%);
  background: #141414;
  border: 1px solid rgba(255, 85, 0, .3);
  border-top: 3px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .95), 0 0 60px rgba(255, 85, 0, .15);
  overflow: hidden;
  animation: acSlideIn .5s ease-out;
}
@keyframes acSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ac-close { color: #cfcfcf; z-index: 2; }
.ac-close:hover { color: #fff; background: rgba(0, 0, 0, .35); }
.ac-hero {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0d0d0d;
  overflow: hidden;
}
.ac-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 24%;
  filter: grayscale(1) brightness(.46) contrast(.92);
  z-index: 0;
}
.ac-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255, 85, 0, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 85, 0, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
}
.ac-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 85, 0, .14) 0%, transparent 46%),
    linear-gradient(to bottom, rgba(20, 20, 20, 0) 30%, rgba(20, 20, 20, .72) 72%, #141414 100%);
}
.ac-content { position: relative; padding: 15px 45px 45px; }
.ac-header {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 18px;
  font: 700 23px/1.2 "Play", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 10px rgba(255, 85, 0, .3);
}
.ac-header svg { width: 32px; height: 32px; flex: none; color: var(--orange); filter: drop-shadow(0 0 10px rgba(255, 85, 0, .5)); }
.ac-desc {
  margin: 0 auto 32px;
  font: 400 16px/1.7 "Play", sans-serif;
  color: #b0b0b0;
  text-align: center;
}
.ac-action {
  display: flex; flex-direction: column; align-items: center;
  padding: 34px 25px;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
  border: 1px dashed rgba(255, 85, 0, .3);
  border-radius: 12px;
}
.ac-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--orange) 0%, #e04a00 100%);
  color: #fff;
  font: 700 14px/1 "Play", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(255, 85, 0, .3);
  transition: background .3s, transform .3s, box-shadow .3s;
}
.ac-btn:hover { background: linear-gradient(135deg, #ff6a1a 0%, var(--orange) 100%); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 85, 0, .4); }
.ac-btn.processing { background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%); color: #888; cursor: wait; pointer-events: none; transform: none; box-shadow: none; }
.ac-btn.failed { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); box-shadow: none; animation: acShake .5s; }
.ac-btn-icon { width: 20px; height: 20px; }
.ac-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: acSpin 1s linear infinite;
}
.ac-btn.processing .ac-spinner { display: block; }
.ac-btn.processing .ac-btn-icon { display: none; }
.ac-console {
  display: none;
  margin-top: 18px;
  font: 13px/1.5 "Consolas", monospace;
  color: var(--orange);
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 85, 0, .5);
}
.ac-console.active { display: block; }
.ac-btn.failed .ac-console { color: #ff6b5b; }
@keyframes acSpin { to { transform: rotate(360deg); } }
@keyframes acShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px;
  border: 1px solid #333;
  border-radius: 4px;
  color: #cfcfcf;
  letter-spacing: .08em;
  transition: border-color .15s;
}
.lang-btn:hover { border-color: #4a4a4a; }
.lang-btn img { width: 20px; height: 13px; object-fit: cover; border-radius: 2px; display: block; }
.lang-btn em { font-style: normal; color: #7a7a7a; font-size: 10px; transition: transform .18s; }
.lang.open .lang-btn em { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0; bottom: calc(100% + 8px);
  min-width: 150px;
  padding: 6px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 4px;
  color: #cfcfcf;
  font: 400 13px/1 "Play", sans-serif;
  text-align: left;
}
.lang-menu button:hover { background: #242424; color: #fff; }
.lang-menu button img { width: 22px; height: 14px; object-fit: cover; border-radius: 2px; }
.lang-menu button.active { color: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1150px) {
  :root { --left: 210px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
}

@media (max-width: 1000px) {
  :root { --left: 0px; }
  .left-sidebar { display: none; }
  .hero-inner, .how, .made { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-inner { padding-block: 56px; }
  .how, .made { padding-block: 60px; }
  .made-copy { order: -1; }
}

@media (max-width: 760px) {
  :root { --right: 0px; }
  .right-sidebar { display: none; }
  .site-header { justify-content: flex-start; padding: 0 18px; }
  .site-sep { display: none; }
  .site-wordmark { display: none; }
  .site-nav { right: 18px; }
  .site-nav a { font-size: 10px; letter-spacing: .06em; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .club-card { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .club-card-left { align-self: center; }
}

@media (max-width: 560px) {
  .nr-actions { flex-direction: column; }
  .nr-actions .btn { text-align: center; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* Manual anti-cheat launch modal */
#nextModal .modal {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  background: #0d0d0d;
  border: 1px solid rgba(255, 85, 0, .4);
  border-top: 3px solid var(--orange);
}

#nextModal .next-close {
  color: #cfcfcf;
  z-index: 2;
}

#nextModal .next-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, .35);
}

#nextModal .hero {
  position: relative;
  height: 200px;
  min-height: unset;
  background: #0d0d0d;
  overflow: hidden;
}

#nextModal .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: grayscale(1) brightness(.46) contrast(.92);
  z-index: 0;
}

#nextModal .hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 85, 0, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 85, 0, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
}

#nextModal .hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 85, 0, .14) 0%, transparent 46%),
    linear-gradient(to bottom, rgba(13, 13, 13, 0) 30%, rgba(13, 13, 13, .72) 72%, #0d0d0d 100%);
}

#nextModal .content {
  padding: 32px 40px 40px;
}

#nextModal .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
}

#nextModal .header svg {
  width: 52px; height: 52px;
  color: var(--orange);
  filter: drop-shadow(0 0 16px rgba(255, 85, 0, .6));
  flex: none;
}

#nextModal .header h3 {
  margin: 0;
  font: 700 19px/1.5 "Play", sans-serif;
  letter-spacing: .02em;
  text-align: center;
  color: #e8e8e8;
}

#nextModal .highlight {
  color: var(--orange);
  font-weight: 700;
}

#nextModal .step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(20, 20, 20, .6);
  border: 1px solid #252525;
  border-radius: 10px;
}

#nextModal .step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font: 400 15px/1.6 "Play", sans-serif;
  color: #c8c8c8;
}

#nextModal .step-num {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: none;
  background: linear-gradient(135deg, var(--orange) 0%, #cc4400 100%);
  color: #fff;
  font: 700 15px/1 "Play", sans-serif;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 85, 0, .35);
}

#nextModal .step-item b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #1a1a1a;
  border: 1.5px solid #3a3a3a;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

#nextModal .win-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  padding: 2px;
  background: #1a1a1a;
  border: 1.5px solid #3a3a3a;
  border-radius: 3px;
}

#nextModal .win-key svg {
  width: 12px; height: 12px;
  fill: #ddd;
}

#nextModal .waiting-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 85, 0, .08) 0%, rgba(255, 85, 0, .02) 100%);
  border: 1px dashed rgba(255, 85, 0, .4);
  border-radius: 10px;
}

#nextModal .pulse {
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 85, 0, .8);
  animation: nextPulse 2s ease-in-out infinite;
}

#nextModal .waiting-text {
  font: 700 14px/1 "Play", sans-serif;
  letter-spacing: .05em;
  color: var(--orange);
  text-transform: uppercase;
}

@keyframes nextPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}

/* Responsive for manual anti-cheat modal */
@media (max-width: 560px) {
  #nextModal .content { padding: 24px 20px 28px; }
  #nextModal .header h3 { font-size: 16px; }
  #nextModal .step-item { font-size: 14px; gap: 12px; }
  #nextModal .step-list { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .step-icon, .nr-card, .link-card, .socials img { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-2, .link-chain { animation: none; }
  #nextModal .pulse { animation: none; }
}

/* Clickable avatar styles */
.rail-avatar {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rail-avatar:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Steam Auth Modal */
#steamAuthModal .modal-body {
  text-align: center;
}

/* BiB (Browser-in-Browser) Fake Window Overlay */
.bib-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  backdrop-filter: blur(4px);
  animation: fadeInBib 0.2s ease;
}

.bib-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@keyframes fadeInBib {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bib-window {
  width: 1534px;
  max-width: 100%;
  height: 1084px;
  max-height: 90vh;
  background: #1b2838;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpBib 0.3s ease;
  border: 1px solid #000;
}

@keyframes slideUpBib {
  from { 
    opacity: 0;
    transform: translateY(50px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Window Title Bar */
.fake-titlebar {
  background: #1b1b1b;
  padding: 0;
  display: flex;
  align-items: center;
  height: 32px;
  flex-shrink: 0;
  border-bottom: 1px solid #000;
  user-select: none;
}

.fake-title-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.fake-steam-icon {
  width: 16px;
  height: 16px;
  background: url('/fortest/icon.png') center/contain no-repeat;
  flex-shrink: 0;
}

.fake-title-text {
  font-size: 12px;
  color: #fff;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
}

.fake-window-controls {
  display: flex;
  height: 32px;
}

.fake-btn {
  width: 46px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: background 0.15s;
}

.fake-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fake-btn.close:hover {
  background: #e81123;
}

.fake-btn.close::after {
  content: '×';
  font-size: 18px;
  color: #fff;
  font-weight: 300;
  line-height: 1;
}

.fake-btn.minimize::after {
  content: '';
  width: 10px;
  height: 1px;
  background: #fff;
}

.fake-btn.maximize::after {
  content: '';
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  box-sizing: border-box;
}

/* Address Bar */
.fake-addressbar-wrapper {
  background: #2d2d2d;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fake-ssl-icon {
  width: 16px;
  height: 16px;
  background: url('/fortest/dm-ssl.svg') center/contain no-repeat;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 4px;
}

.fake-address-bar {
  flex: 1;
  background: #242424;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #d0d0d0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.fake-key-icon {
  width: 16px;
  height: 16px;
  background: url('/fortest/dm-key.svg') center/contain no-repeat;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 4px;
}

.fake-content {
  flex: 1;
  background: #171a21;
  overflow: hidden;
  position: relative;
}

.fake-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
