/* ============================================================
   NEXUS DESIGN SYSTEM — Null's DNS WordPress Theme
   ============================================================ */

/* ── Tokens ── */
:root {
  --bg:          #060917;
  --bg-1:        #0a0d22;
  --bg-2:        #0e1330;
  --bg-glass:    rgba(255,255,255,0.035);
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.05);
  --text:        #eef2ff;
  --text-2:      #7a8fb5;
  --text-3:      #3a4a6a;
  --blue:        #1d6fef;
  --blue-2:      #4090ff;
  --purple:      #7b3aed;
  --purple-2:    #a855f7;
  --cyan:        #00d4ff;
  --green:       #00e599;
  --red:         #ef4444;
  --yellow:      #f59e0b;
  --gradient:    linear-gradient(135deg, #1d6fef 0%, #7b3aed 100%);
  --grad-text:   linear-gradient(135deg, #4090ff 0%, #a855f7 100%);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --r:           12px;
  --r-lg:        18px;
  --r-xl:        24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ol, ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--blue);
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 44px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(29,111,239,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(29,111,239,0.48); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: var(--bg-glass);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.065); border-color: rgba(255,255,255,0.14); }
.btn--outline {
  background: transparent;
  color: var(--blue-2);
  border: 1px solid rgba(29,111,239,0.5);
}
.btn--outline:hover { background: rgba(29,111,239,0.1); border-color: var(--blue); }
.btn--sm { padding: 8px 18px; font-size: 13px; border-radius: 9px; }
.btn--full { width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s;
}
.nav.scrolled {
  background: rgba(6,9,23,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-2);
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  margin-right: 16px;
}
.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav__links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav__links a,
.nav-item__link {
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__links a:hover,
.nav-item__link:hover,
.nav-item.is-active .nav-item__link { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__actions { margin-left: auto; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav__burger:hover { background: rgba(255,255,255,0.05); }
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--text-2); border-radius: 2px; transition: all 0.3s; }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  background: rgba(6,9,23,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-2);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 13px 0;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-2);
  transition: color 0.2s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--text); }

/* Dropdown */
.nav-item { position: relative; list-style: none; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 6px;
  z-index: 200;
}
.dropdown-menu .nav-item__link { display: block; padding: 8px 12px; border-radius: 8px; }
.dropdown-icon { margin-left: 2px; opacity: 0.5; }

/* ── Hero ── */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -240px; left: -160px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(29,111,239,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -180px; right: -120px;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(123,58,237,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(29,111,239,0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-2);
  background: rgba(29,111,239,0.07);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero__title { font-size: clamp(52px, 7.5vw, 92px); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 26px; color: var(--text); }
.hero__desc { font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 460px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__actions .btn { min-width: 200px; }
.hero__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.hero__status:hover { color: var(--text-2); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.hero__visual { display: flex; align-items: center; justify-content: center; }
.network-svg { width: 100%; max-width: 100%; display: block; }

/* ── How It Works ── */
.how-works { padding: 64px 0; position: relative; }
.how-works::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--border) 40%, var(--border) 60%, transparent 100%); }
.how-works .section-title { margin-bottom: 40px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.flow__step { min-height: 160px; padding: 28px 20px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r-lg); text-align: center; transition: all 0.25s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flow__step:hover { border-color: rgba(29,111,239,0.28); background: rgba(29,111,239,0.04); transform: translateY(-3px); }
.flow__step--accent { background: rgba(29,111,239,0.07); border-color: rgba(29,111,239,0.3); }
.flow__step--accent:hover { background: rgba(29,111,239,0.12); border-color: rgba(29,111,239,0.5); }
.flow__icon { width: 48px; height: 48px; margin: 0 auto 14px; background: var(--bg-2); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.flow__step--accent .flow__icon { background: rgba(29,111,239,0.15); }
.flow__name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.flow__desc { font-size: 11px; color: var(--text-3); font-family: var(--mono); line-height: 1.55; max-width: 220px; margin: 0 auto; overflow-wrap: anywhere; }
.flow__arrow { display: flex; align-items: center; justify-content: center; width: 36px; color: var(--text-3); font-size: 16px; flex-shrink: 0; }

/* ── Connect ── */
.connect { padding: 64px 0; background: var(--bg-1); position: relative; }
.connect::before, .connect::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.connect::before { top: 0; }
.connect::after  { bottom: 0; }
.connect__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.connect-card {
  padding: 36px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.connect-card--ios,
.connect-card--android {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.connect-card--ios::before,
.connect-card--ios::after,
.connect-card--android::before,
.connect-card--android::after { content: none; }
.connect-card--ios:hover,
.connect-card--android:hover { border-color: rgba(64,144,255,0.28); }
.connect-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.connect-card__platform-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.connect-card--ios .connect-card__platform-icon,
.connect-card--android .connect-card__platform-icon { background: rgba(255,255,255,0.08); }
.connect-card__platform-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.connect-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 5px; }
.connect-card__sub { font-size: 13px; color: var(--text-2); margin-bottom: 28px; }
.steps { counter-reset: step; margin-bottom: 30px; display: flex; flex-direction: column; gap: 11px; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-2); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 10px; font-weight: 700; font-family: var(--mono); color: var(--blue-2); background: rgba(29,111,239,0.1); border: 1px solid rgba(29,111,239,0.22); border-radius: 6px; padding: 2px 7px; flex-shrink: 0; min-width: 36px; text-align: center; }
.connect-card .btn--full { margin-top: auto; }

/* ── Games ── */
.games { padding: 64px 0; }
.games__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game-card { display: block; padding: 32px 28px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r-lg); position: relative; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s; }
.game-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.3s; }
.game-card:hover { transform: translateY(-5px); }
.game-card--brawl:hover { border-color: rgba(255,64,140,0.3); box-shadow: 0 12px 40px rgba(255,64,140,0.12); }
.game-card--brawl:hover::before { background: linear-gradient(90deg, #ff408c, #ff7040); }
.game-card--royale:hover { border-color: rgba(255,200,64,0.3); box-shadow: 0 12px 40px rgba(255,200,64,0.1); }
.game-card--royale:hover::before { background: linear-gradient(90deg, #ffc840, #ff9500); }
.game-card--clash:hover { border-color: rgba(29,111,239,0.35); box-shadow: 0 12px 40px rgba(29,111,239,0.12); }
.game-card--clash:hover::before { background: linear-gradient(90deg, #1d6fef, #00d4ff); }
.game-card__icon { font-size: 32px; margin-bottom: 18px; }
.game-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.game-card__desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.game-card__link { font-size: 13px; font-weight: 600; color: var(--blue-2); transition: gap 0.2s; }

/* ── News — 3-card grid ── */
.news { padding: 64px 0; background: var(--bg-1); position: relative; }
.news::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.news__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.news__header .section-title { margin-bottom: 0; }
.news__cards { display: grid; grid-template-columns: 2fr 1fr 1fr; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.news-entry { padding: 28px 28px 26px; background: var(--bg-glass); border-left: 1px solid var(--border); display: flex; flex-direction: column; transition: background 0.2s; }
.news-entry:first-child { border-left: none; }
.news-entry:hover { background: rgba(255,255,255,0.025); }
.news-entry__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.news-entry__title { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); margin-bottom: 9px; transition: color 0.2s; flex: 1; }
.news-entry__title a { color: inherit; }
.news-entry:hover .news-entry__title { color: var(--blue-2); }
.news-entry--main .news-entry__title { font-size: 20px; letter-spacing: -0.02em; }
.news-entry__date { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.news-entry__desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }

/* ── FAQ ── */
.faq { padding: 64px 0; }
.faq::before { content: ''; display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin-bottom: 64px; }
.faq__inner { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.faq__left { position: sticky; top: 88px; }
.faq__sub { font-size: 14px; color: var(--text-2); margin-top: -24px; }
.faq__list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border-2); }
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-glass);
  transition: color 0.2s, background 0.2s;
}
.faq-item__q:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.faq-item__q.open { color: var(--text); background: rgba(29,111,239,0.05); }
.faq-item__icon { flex-shrink: 0; transition: transform 0.25s; color: var(--text-3); }
.faq-item__q.open .faq-item__icon { transform: rotate(180deg); color: var(--blue-2); }
.faq-item__a { display: none; padding: 0 24px; background: rgba(255,255,255,0.015); }
.faq-item__a.open { display: block; }
.faq-item__body { padding: 16px 0 20px; font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── Tags & Badges ── */
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.tag--brawl  { background: rgba(255,64,140,0.15);  color: #ff408c; }
.tag--royale { background: rgba(255,200,64,0.15);  color: #ffc840; }
.tag--clash  { background: rgba(29,111,239,0.15);  color: var(--blue-2); }
.tag--dns    { background: rgba(123,58,237,0.15);  color: var(--purple-2); }
time { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-2); transition: gap 0.2s; }
.link-arrow:hover { gap: 10px; }

/* Status badges */
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.status-badge__dot { width: 7px; height: 7px; border-radius: 50%; }
.status--online      { background: rgba(0,229,153,0.1);  color: var(--green);  border: 1px solid rgba(0,229,153,0.2); }
.status--online .status-badge__dot { background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 2s ease-in-out infinite; }
.status--maintenance { background: rgba(245,158,11,0.1); color: var(--yellow); border: 1px solid rgba(245,158,11,0.2); }
.status--maintenance .status-badge__dot { background: var(--yellow); }
.status--offline     { background: rgba(239,68,68,0.1);  color: var(--red);    border: 1px solid rgba(239,68,68,0.2); }
.status--offline .status-badge__dot { background: var(--red); }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 20px; }
.breadcrumb__list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--text-3); }
.breadcrumb__item a { color: var(--text-3); transition: color 0.2s; }
.breadcrumb__item a:hover { color: var(--blue-2); }
.breadcrumb__item[aria-current] span { color: var(--text-2); }
.breadcrumb__sep { color: var(--text-3); margin: 0 2px; }

/* ── Footer ── */
.footer { padding: 64px 0 0; background: var(--bg-1); border-top: 1px solid var(--border-2); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.footer__desc { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 9px; background: var(--bg-glass); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: all 0.2s; }
.social-link:hover { background: rgba(29,111,239,0.12); border-color: rgba(29,111,239,0.3); color: var(--blue-2); }
.footer__col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a,
.footer__links .nav-item__link { font-size: 14px; color: var(--text-2); transition: color 0.2s; display: block; padding: 0; background: none; border-radius: 0; }
.footer__links a:hover,
.footer__links .nav-item__link:hover { color: var(--text); background: none; }
.footer__bottom { padding: 18px 0; border-top: 1px solid var(--border-2); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; width: 100%; }
.footer__copy  { font-size: 12px; color: var(--text-3); }
.footer__legal { font-size: 12px; color: var(--text-3); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 100px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(29,111,239,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero--archive { background: var(--bg-1); border-bottom: 1px solid var(--border-2); }
.page-hero__title { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.page-hero__desc { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.65; }

/* ── Archive / Blog ── */
.archive-section { padding: 48px 0 80px; }
.archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.archive-main { min-width: 0; }
.archive-search { margin-bottom: 24px; }
.cat-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-filter__item {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  transition: all 0.2s;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cat-filter__item:hover,
.cat-filter__item.is-active { background: rgba(29,111,239,0.12); border-color: rgba(29,111,239,0.35); color: var(--blue-2); }
.post-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.news-entry--list { border-left: none; border-bottom: 1px solid var(--border-2); border-radius: 0; }
.news-entry--list:last-child { border-bottom: none; }
.news-entry--list .news-entry__meta { margin-bottom: 8px; }
.news-entry--list .news-entry__title { font-size: 16px; }

/* Search form */
.search-form { display: flex; gap: 0; }
.search-form__input {
  flex: 1;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--r) 0 0 var(--r);
  padding: 11px 16px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.search-form__input::placeholder { color: var(--text-3); }
.search-form__input:focus { border-color: rgba(29,111,239,0.4); }
.search-form__btn {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 11px 16px;
  color: var(--text-2);
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-family: var(--font);
  font-weight: 600;
}
.search-form__btn:hover { background: rgba(29,111,239,0.1); border-color: rgba(29,111,239,0.3); color: var(--blue-2); }
.search-form--large .search-form__input { padding: 14px 20px; font-size: 16px; }
.search-form--large .search-form__btn { padding: 14px 20px; }

/* Sidebar */
.archive-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.sidebar-widget__title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.sidebar-widget--cta { background: rgba(29,111,239,0.05); border-color: rgba(29,111,239,0.2); }
.sidebar-widget--cta p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 0; }
.sidebar-cat-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-cat-list__link { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-2); transition: all 0.2s; }
.sidebar-cat-list__link:hover,
.sidebar-cat-list__link.is-active { background: rgba(29,111,239,0.1); color: var(--blue-2); }
.sidebar-cat-list__count { font-size: 11px; color: var(--text-3); font-family: var(--mono); }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination__inner { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pagination__item a,
.pagination__item span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: 13px; font-weight: 600; background: var(--bg-glass); border: 1px solid var(--border); color: var(--text-2); transition: all 0.2s; }
.pagination__item .current { background: var(--gradient); color: #fff; border-color: transparent; }
.pagination__item a:hover { background: rgba(29,111,239,0.12); border-color: rgba(29,111,239,0.3); color: var(--blue-2); }
.pagination__arrow a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-glass); transition: all 0.2s; }
.pagination__arrow a:hover { color: var(--blue-2); border-color: rgba(29,111,239,0.3); }

/* Search count */
.search-count { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.search-count strong { color: var(--text); }

/* ── Single Post ── */
.single__header { padding: 100px 0 48px; position: relative; }
.single__header::before { content: ''; position: absolute; top: -200px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(29,111,239,0.08) 0%, transparent 65%); pointer-events: none; }
.single__header-inner { max-width: 800px; }
.single__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.single__date { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.single__reading { font-size: 12px; color: var(--text-3); }
.single__title { font-size: clamp(28px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 18px; }
.single__lead { font-size: 18px; color: var(--text-2); line-height: 1.65; max-width: 640px; }
.single__body-wrap { padding-bottom: 80px; }
.single__layout { display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: start; }
.single__content { min-width: 0; }
.single__sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }

/* Table of Contents */
.toc { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 20px 16px; }
.toc__title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc__item { }
.toc__item--h3 { padding-left: 14px; }
.toc__link { display: block; padding: 5px 8px; border-radius: 6px; font-size: 12px; color: var(--text-2); transition: all 0.2s; line-height: 1.4; }
.toc__link:hover,
.toc__link.is-active { color: var(--blue-2); background: rgba(29,111,239,0.1); }

/* Prev/Next nav */
.single__content-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border-2); }
.content-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--r); background: var(--bg-glass); transition: all 0.2s; }
.content-nav-link:hover { border-color: rgba(29,111,239,0.3); background: rgba(29,111,239,0.05); }
.content-nav-link--next { text-align: right; }
.content-nav-link__label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.content-nav-link__title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }

/* Related posts */
.related-posts { padding: 48px 0 80px; border-top: 1px solid var(--border-2); }

/* ── Prose (article content) ── */
.prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 68ch;
}
.prose p { margin-bottom: 1.4em; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.prose a:hover { color: var(--blue); }
.prose h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 2.4em 0 0.8em; line-height: 1.2; padding-bottom: 12px; border-bottom: 1px solid var(--border-2); }
.prose h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 2em 0 0.7em; line-height: 1.25; }
.prose h4 { font-size: 16px; font-weight: 700; color: var(--text); margin: 1.6em 0 0.6em; }
.prose ul { list-style: none; margin-bottom: 1.4em; }
.prose ul li { padding-left: 20px; position: relative; margin-bottom: 0.5em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); opacity: 0.7; }
.prose ol { list-style: none; counter-reset: item; margin-bottom: 1.4em; }
.prose ol li { counter-increment: item; padding-left: 28px; position: relative; margin-bottom: 0.5em; }
.prose ol li::before { content: counter(item) '.'; position: absolute; left: 0; font-size: 13px; font-weight: 700; color: var(--blue-2); font-family: var(--mono); }
.prose blockquote { margin: 1.8em 0; padding: 20px 20px 20px 24px; border-left: 3px solid var(--blue); background: rgba(29,111,239,0.05); border-radius: 0 var(--r) var(--r) 0; font-style: italic; color: var(--text-2); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--mono); font-size: 0.875em; background: rgba(255,255,255,0.07); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; color: var(--cyan); }
.prose pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; overflow-x: auto; margin: 1.6em 0; }
.prose pre code { background: none; border: none; padding: 0; font-size: 13px; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14px; }
.prose th { background: var(--bg-2); color: var(--text); font-weight: 600; text-align: left; padding: 10px 16px; border: 1px solid var(--border); }
.prose td { padding: 10px 16px; border: 1px solid var(--border-2); color: var(--text-2); vertical-align: top; }
.prose tr:nth-child(even) td { background: rgba(255,255,255,0.018); }
.prose hr { border: none; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.prose img { border-radius: var(--r); margin: 1.6em 0; border: 1px solid var(--border-2); }

/* Code blocks */
.code-block { position: relative; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r); margin: 1.6em 0; }
.code-block__header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border-2); }
.code-block__lang { font-size: 11px; font-family: var(--mono); color: var(--text-3); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.code-block__copy { font-size: 11px; color: var(--text-3); cursor: pointer; transition: color 0.2s; }
.code-block__copy:hover { color: var(--blue-2); }
.code-block pre { padding: 18px 20px; margin: 0; overflow-x: auto; border: none; background: none; border-radius: 0; }

/* Notices / Alerts */
.notice { border-radius: var(--r); padding: 14px 18px; font-size: 14px; line-height: 1.6; margin: 1.2em 0; border-left: 3px solid; }
.notice--info    { background: rgba(29,111,239,0.07);  border-color: var(--blue);   color: var(--text-2); }
.notice--success { background: rgba(0,229,153,0.07);   border-color: var(--green);  color: var(--text-2); }
.notice--warning { background: rgba(245,158,11,0.08);  border-color: var(--yellow); color: var(--text-2); }
.notice--error   { background: rgba(239,68,68,0.07);   border-color: var(--red);    color: var(--text-2); }
.notice strong   { color: var(--text); }

/* ── FAQ Page ── */
.faq-page { padding: 48px 0 80px; }
.faq-search-wrap { margin-bottom: 24px; max-width: 560px; }
.faq-search { display: flex; align-items: center; gap: 12px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r); padding: 0 16px; }
.faq-search:focus-within { border-color: rgba(29,111,239,0.4); }
.faq-search__icon { color: var(--text-3); flex-shrink: 0; }
.faq-search__input { flex: 1; background: none; border: none; outline: none; font-size: 15px; font-family: var(--font); color: var(--text); padding: 14px 0; }
.faq-search__input::placeholder { color: var(--text-3); }
.faq-cat-filter { margin-bottom: 40px; }
.faq-groups { display: flex; flex-direction: column; gap: 36px; }
.faq-group__title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.faq-group__items .faq-item:first-child { border-top: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.faq-group__items .faq-item:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.faq-group__items { border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; }

/* ── Guide Pages (iOS / Android) ── */
.guide-page { padding: 48px 0 80px; }
.guide-layout { display: grid; grid-template-columns: 1fr 240px; gap: 56px; align-items: start; }
.guide-steps { display: flex; flex-direction: column; gap: 0; }
.guide-step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border-2); }
.guide-step:last-child { border-bottom: none; }
.guide-step__num { font-size: 22px; font-weight: 800; font-family: var(--mono); color: var(--blue-2); opacity: 0.4; padding-top: 2px; line-height: 1; }
.guide-step__title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.guide-step__desc { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.guide-step__screenshot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px 20px; border: 1px dashed var(--border); border-radius: var(--r); color: var(--text-3); font-size: 12px; text-align: center; margin-top: 16px; min-height: 120px; }
.guide-req-list { display: flex; flex-direction: column; gap: 8px; }
.guide-req-list li { font-size: 13px; color: var(--text-2); padding-left: 16px; position: relative; }
.guide-req-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-size: 11px; }
.guide-methods { display: flex; flex-direction: column; gap: 40px; }
.guide-method { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.guide-method__header { margin-bottom: 24px; }
.guide-method__badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-2); background: rgba(29,111,239,0.1); border: 1px solid rgba(29,111,239,0.2); padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.guide-method__title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.guide-method__desc { font-size: 14px; color: var(--text-2); }
.guide-method__steps { margin-top: 20px; }

/* ── Connect Hub ── */
.connect-hub { display: grid; gap: 28px; }
.connect-hub__intro { max-width: 760px; color: var(--text-2); font-size: 16px; line-height: 1.7; margin: 0; }
.connect-hub__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.connect-hub__card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; position: relative; overflow: hidden; }
.connect-hub__card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at top right, rgba(29,111,239,0.12), transparent 42%); }
.connect-hub__label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 16px; }
.connect-hub__title { font-size: 24px; line-height: 1.2; margin: 0 0 10px; color: var(--text); }
.connect-hub__text { color: var(--text-2); font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.connect-hub__steps { margin: 0 0 24px; padding-left: 20px; color: var(--text-2); }
.connect-hub__steps li { margin-bottom: 8px; line-height: 1.55; }
.connect-hub__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.connect-hub__note { border: 1px solid rgba(29,111,239,0.18); border-radius: var(--r-lg); background: rgba(29,111,239,0.06); padding: 22px 24px; color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* ── Status Page ── */
.status-page { padding: 48px 0 80px; }
.status-overview { text-align: center; padding: 40px 24px; margin-bottom: 40px; border: 1px solid rgba(0,229,153,0.2); border-radius: var(--r-xl); background: rgba(0,229,153,0.04); }
.status-overview__badge { margin-bottom: 12px; }
.status-overview__desc { font-size: 15px; color: var(--text-2); }
.status-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 48px; }
.status-item { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--border-2); background: var(--bg-glass); gap: 24px; flex-wrap: wrap; transition: background 0.2s; }
.status-item:last-child { border-bottom: none; }
.status-item:hover { background: rgba(255,255,255,0.025); }
.status-item__info { flex: 1; min-width: 200px; }
.status-item__name { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.status-item__desc { font-size: 13px; color: var(--text-2); }
.status-item__right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.status-item__uptime { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.incident-history { margin-bottom: 48px; }
.incident-history__title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.incident-day { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border-2); }
.incident-day:last-child { border-bottom: none; }
.incident-day__date { font-size: 14px; color: var(--text-2); }
.status-cta { text-align: center; padding: 40px 24px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg-glass); }
.status-cta p { font-size: 16px; color: var(--text-2); margin-bottom: 20px; }

/* ── Page Content ── */
.page-content-section { padding: 48px 0 80px; }
.page-prose { max-width: 72ch; }

/* ── 404 ── */
.error-404 { padding: 120px 0 100px; text-align: center; }
.error-404__inner { max-width: 540px; margin: 0 auto; }
.error-404__code { font-size: clamp(80px, 14vw, 140px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; opacity: 0.4; }
.error-404__title { font-size: clamp(24px, 4vw, 38px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.error-404__desc { font-size: 16px; color: var(--text-2); line-height: 1.65; margin-bottom: 0; }
.error-404__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-state__icon { font-size: 48px; margin-bottom: 16px; }
.empty-state__title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.empty-state__text { font-size: 15px; color: var(--text-2); margin-bottom: 24px; }

/* ── Screen reader ── */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1/-1; }
  .single__layout { grid-template-columns: 1fr; }
  .single__sidebar { position: static; }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-widget { flex: 1; min-width: 240px; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__left { position: static; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .connect-hub__grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .network-svg { max-width: 460px; }
  .hero__title { font-size: clamp(46px, 10vw, 72px); }
  .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow__arrow { display: none; }
  .connect__grid { grid-template-columns: 1fr; }
  .games__grid { grid-template-columns: 1fr 1fr; }
  .game-card:nth-child(3) { grid-column: 1/-1; }
  .news__cards { grid-template-columns: 1fr; }
  .news-entry { border-left: none; border-top: 1px solid var(--border); }
  .news-entry:first-child { border-top: none; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 80px 0 48px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; min-width: 0; }
  .network-svg { max-width: 100%; }
  .games__grid { grid-template-columns: 1fr; }
  .game-card:nth-child(3) { grid-column: auto; }
  .news__header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news-entry { padding: 20px; }
  .single__content-nav { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }
  .guide-step { grid-template-columns: 40px 1fr; gap: 16px; }
  .page-hero { padding: 80px 0 40px; }
  .connect-hub__card { padding: 24px; }
  .connect-hub__actions .btn { width: 100%; }
  .single__header { padding: 80px 0 36px; }
  .status-item { flex-direction: column; align-items: flex-start; }
  .faq-cat-filter { gap: 6px; }
  .cat-filter__item { font-size: 11px; padding: 4px 10px; }
}
