* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a1628;
  --bg-2: #0e1e38;
  --bg-3: #132844;
  --bg-4: #1a3050;
  --line: #1f3a5c;
  --line-2: #2a4a72;
  --text: #e8eef7;
  --text-2: #b6c3d9;
  --muted: #7a8aa8;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --red: #e63946;
  --gold: #d4af37;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 10px;
  --max: 1340px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: "SF Mono", "Roboto Mono", "Consolas", monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.fix-cover { width: 100%; height: 100%; object-fit: cover; }

/* ============ TOP BAR ============ */
.top-bar {
  background: #061225;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--blue);
}
.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.2px;
}
.brand-accent { color: var(--blue); }
.brand-tag {
  padding: 2px 7px;
  background: var(--blue);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  border-radius: 3px;
}

.main-nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  flex: 1;
}
.main-nav > a {
  display: inline-block !important;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
  border-radius: 6px;
  white-space: nowrap;
  transition: all .2s ease;
}
.main-nav > a:hover {
  background: var(--bg-3);
  color: var(--white);
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}
.top-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-3);
  border-radius: 6px;
  overflow: hidden;
  width: 220px;
}
.top-search input {
  flex: 1;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--white);
  font-family: var(--sans);
  min-width: 0;
}
.top-search input::placeholder { color: var(--muted); }
.top-search button {
  padding: 9px 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .2s ease;
}
.top-search button:hover { color: var(--white); }

.btn-corporate, .btn-playin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-corporate {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line-2);
}
.btn-corporate:hover {
  border-color: var(--blue);
  color: var(--white);
}
.btn-playin {
  background: var(--blue);
  color: #ffffff;
}
.btn-playin:hover { background: var(--blue-2); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* ============ PAGE WRAP ============ */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ============ BREADCRUMB ============ */
.breadcrumb-bar {
  padding: 24px 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-bar a { color: var(--text-2); transition: color .2s ease; }
.breadcrumb-bar a:hover { color: var(--blue); }
.bc-sep { color: var(--line-2); }

/* ============ PAGE HEADER ============ */
.page-header {
  text-align: center;
  padding: 30px 0 50px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 50px;
}
.page-header h1 {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto;
}

/* ============ FEATURED BLOCK ============ */
.featured-block { margin-bottom: 60px; }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.block-head h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.2px;
}
.see-all {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: var(--blue);
  transition: color .2s ease;
}
.see-all:hover { color: var(--white); }

.featured-scroll {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.game-card { transition: transform .2s ease; }
.game-card:hover { transform: translateY(-4px); }
.game-thumb {
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  margin-bottom: 10px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .35);
}
.game-title {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 600;
  line-height: 1.4;
}
.game-title a:hover { color: var(--blue); }

/* ============ INTRO BLOCK ============ */
.intro-block {
  max-width: 900px;
  margin: 0 auto 60px;
}
.intro-block h2 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.4px;
  margin-bottom: 18px;
}
.intro-block p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ============ GAME DETAIL ROWS ============ */
.game-detail {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.game-detail:last-of-type { border-bottom: 0; }
.gd-thumb {
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .4);
}
.gd-body { min-width: 0; }
.gd-body h3 {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.3px;
  margin-bottom: 14px;
}
.gd-body p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.gd-body p:last-child { margin-bottom: 0; }

/* ============ KNOWLEDGE HUB ============ */
.knowledge-hub {
  padding: 60px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.knowledge-hub h2 {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.4px;
  margin-bottom: 30px;
}
.kb-article {
  max-width: 900px;
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.kb-article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.kb-article h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.2px;
  margin-bottom: 16px;
}
.kb-article p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 16px;
}
.kb-article p:last-child { margin-bottom: 0; }

/* ============ LIST PAGE ============ */
.page-hero {
  padding: 38px 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.4px;
  margin: 14px 0 10px;
}
.page-hero p { color: var(--text-2); max-width: 720px; font-size: 14.5px; }
.hero-chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chip {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffffff;
}
.chip-blue { background: var(--blue); }
.chip-navy { background: var(--bg-4); color: var(--white); }
.chip-grey { background: var(--bg-3); color: var(--text-2); }

.breadcrumb {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue); }
.bc-sep { color: var(--line-2); }

/* ============ GRID 3 ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.post-thumb {
  height: 190px;
  overflow: hidden;
  background: var(--bg-3);
}
.post-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post-tag {
  font-size: 10.5px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 10px;
}
.post-body h3 a:hover { color: var(--blue); }
.post-body p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 12px;
  flex: 1;
}
.post-meta {
  font-size: 11px !important;
  color: var(--muted) !important;
  margin-bottom: 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ============ PAGER ============ */
.pager { margin-top: 34px; }
.pager ul { display: flex; gap: 6px; flex-wrap: wrap; }
.pager li a, .pager li span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
}
.pager li a:hover, .pager li span.current {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

/* ============ ARTICLE PAGE ============ */
.article-wrap { max-width: 900px; margin: 0 auto; }
.page-main > .article-wrap { padding-top: 36px; }

.article-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.6px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.article-head h1 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -.4px;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta .dot { color: var(--line-2); }
.article-meta .verified { color: var(--blue); font-weight: 900; }

.article-body {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  margin-top: 8px;
}
.article-body p { margin-bottom: 22px; }
.article-body h2, .article-body h3 {
  font-family: var(--serif);
  color: var(--white);
  margin: 30px 0 14px;
  font-weight: 900;
  letter-spacing: -.3px;
}
.article-body h2 { font-size: 24px; }
.article-body h3 { font-size: 19px; }
.article-body img { border-radius: var(--radius); margin: 22px 0; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 10px 0 10px 20px;
  margin: 22px 0;
  font-style: italic;
  color: var(--text-2);
  font-size: 17px;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-pager div {
  padding: 16px 20px;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  border: 1px solid var(--line);
}
.article-pager a { color: var(--blue); font-weight: 700; }

/* ============ FOOTER ============ */
.site-footer {
  background: #061225;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px 24px 30px;
}

.footer-presents {
  text-align: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.presents-label {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.brand-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.brand-chip {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.2px;
  opacity: .85;
  transition: opacity .2s ease;
}
.brand-chip:hover { opacity: 1; color: var(--blue); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.footer-col li { padding: 6px 0; }
.footer-col a {
  font-size: 13.5px;
  color: var(--text-2);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--blue); }

.footer-cert-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cert-badge {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--bg-3);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.cert-badge-text {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-2);
  letter-spacing: 1.2px;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 30px 0 20px;
}
.footer-social-row a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg-3);
  color: var(--text-2);
  border-radius: 50%;
  transition: all .2s ease;
}
.footer-social-row a:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-legal-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0 24px;
  font-size: 12.5px;
}
.footer-legal-nav a {
  color: var(--text-2);
  font-weight: 700;
  transition: color .2s ease;
}
.footer-legal-nav a:hover { color: var(--white); }
.fl-sep { color: var(--line-2); }

.footer-legal-text {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-legal-text p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.footer-legal-text p:last-child { margin-bottom: 0; }

/* ============ RESPONSIVE 1240 ============ */
@media (max-width: 1240px) {
  .page-header h1 { font-size: 40px; }
  .featured-scroll { grid-template-columns: repeat(5, 1fr); }
  .game-detail { grid-template-columns: 340px 1fr; gap: 30px; }
  .gd-thumb { height: 240px; }
}

/* ============ RESPONSIVE 1024 ============ */
@media (max-width: 1024px) {
  .main-nav { display: none !important; }
  .nav-toggle { display: block; }
  .page-header h1 { font-size: 34px; }
  .page-header { padding: 24px 0 36px; margin-bottom: 36px; }
  .featured-scroll { grid-template-columns: repeat(4, 1fr); }
  .game-detail { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .gd-thumb { height: 260px; }
  .gd-body h3 { font-size: 20px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ RESPONSIVE 768 ============ */
@media (max-width: 768px) {
  .top-inner { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .top-search { order: 3; width: 100%; }
  .top-search input { width: 100%; }
  .main-nav.open {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
    order: 4;
  }
  .main-nav.open > a {
    width: 100%;
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .btn-corporate, .btn-playin { padding: 8px 10px; font-size: 12px; }
  .btn-corporate svg { display: none; }
  .page-main { padding: 0 16px 40px; }
  .breadcrumb-bar { padding: 16px 0 8px; font-size: 11.5px; }
  .page-header { padding: 20px 0 30px; margin-bottom: 26px; }
  .page-header h1 { font-size: 26px; letter-spacing: -.4px; }
  .page-header p { font-size: 13.5px; }
  .featured-scroll { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-thumb { height: 150px; }
  .block-head h2 { font-size: 17px; }
  .intro-block h2 { font-size: 22px; }
  .intro-block p { font-size: 13.5px; }
  .game-detail { padding: 24px 0; }
  .gd-thumb { height: 200px; }
  .gd-body h3 { font-size: 18px; }
  .gd-body p { font-size: 13.5px; line-height: 1.7; }
  .knowledge-hub { padding: 34px 0 10px; }
  .knowledge-hub h2 { font-size: 22px; margin-bottom: 20px; }
  .kb-article h3 { font-size: 17px; }
  .kb-article p { font-size: 14px; line-height: 1.75; }
  .grid-3 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 26px; }
  .article-head h1 { font-size: 26px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 21px; }
  .article-pager { grid-template-columns: 1fr; }
  .footer-presents { padding-bottom: 24px; }
  .brand-row { gap: 16px; }
  .brand-chip { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-cert-row { gap: 16px; }
  .footer-legal-nav { font-size: 12px; }
  .footer-legal-text p { font-size: 10.5px; }
}