/* ==========================================================================
   Champion Gaming Zone — modern neon gaming theme (Bootstrap 5)
   ========================================================================== */
:root {
  --bg: #07070f;
  --bg-2: #0d0d1d;
  --panel: rgba(20, 20, 38, 0.6);
  --panel-solid: #12121f;
  --border: rgba(0, 240, 255, 0.18);
  --cyan: #00f0ff;
  --pink: #ff2d95;
  --purple: #9d4dff;
  --green: #39ff14;
  --gold: #ffd60a;
  --text: #eaf6ff;
  --muted: #9aa8c7;
  --orbitron: 'Orbitron', sans-serif;
  --rajdhani: 'Rajdhani', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--rajdhani);
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(157, 77, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(0, 240, 255, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  font-size: 1.05rem;
  line-height: 1.6;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7ef6ff; }

h1, h2, h3, h4, h5, h6 { font-family: var(--orbitron); letter-spacing: .5px; line-height: 1.25; }

::selection { background: var(--pink); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--cyan), var(--purple)); border-radius: 10px; }

.section { padding: 3.5rem 0; }
.page-section { padding: 2.5rem 0 4rem; }

.neon-text {
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--pink); color: #000; padding: .5rem 1rem; z-index: 2000;
}
.skip-link:focus { left: 0; }

/* Header / navbar */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(7, 7, 15, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(0, 240, 255, 0.12); }
.navbar { padding: .8rem 0; }
.navbar-brand { font-family: var(--orbitron); font-weight: 700; font-size: 1.2rem; color: #fff !important; }
.brand-mark { margin-right: .5rem; }
.navbar .nav-link { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: .86rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
.dropdown-menu { background: var(--panel-solid); border: 1px solid var(--border); }
.dropdown-item { color: var(--text); }
.dropdown-item:hover, .dropdown-item.active { background: rgba(0, 240, 255, 0.1); color: var(--cyan); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; text-align: center; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero-orb-1 { width: 420px; height: 420px; background: var(--purple); top: -120px; right: -60px; }
.hero-orb-2 { width: 380px; height: 380px; background: var(--cyan); bottom: -140px; left: -80px; }
.hero-kicker { color: var(--gold); font-family: var(--orbitron); letter-spacing: 3px; font-size: .8rem; text-transform: uppercase; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; margin: .5rem 0 1rem; }
.hero-subtitle { max-width: 640px; margin: 0 auto 2rem; color: var(--muted); font-size: 1.15rem; }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: var(--orbitron); font-size: 1.8rem; font-weight: 700; color: var(--cyan); text-shadow: 0 0 14px var(--cyan); display: block; }
.hero-stat-label { color: var(--muted); font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; }

/* Buttons */
.btn-neon, .btn-neon-outline { font-family: var(--orbitron); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.btn-neon { background: linear-gradient(90deg, var(--cyan), var(--purple)); color: #051018 !important; border: 0; box-shadow: 0 0 18px rgba(0, 240, 255, 0.5); }
.btn-neon:hover { box-shadow: 0 0 30px rgba(0, 240, 255, 0.85); transform: translateY(-2px); }
.btn-neon-outline { border: 1px solid var(--cyan); color: var(--cyan); background: transparent; }
.btn-neon-outline:hover { background: rgba(0, 240, 255, 0.12); color: var(--cyan); box-shadow: 0 0 18px rgba(0, 240, 255, 0.4); }

/* Badges */
.category-badge {
  background: rgba(0, 240, 255, 0.12); color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  font-family: var(--orbitron); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}
.category-badge-overlay { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(7, 7, 15, 0.78); }

.section-title { font-size: 1.9rem; font-weight: 700; margin-bottom: 1.75rem; }
/* Cards */
.game-card {
  display: flex; flex-direction: column; width: 100%;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 0 26px rgba(0, 240, 255, 0.35); }
.game-card-link { color: inherit; display: flex; flex-direction: column; height: 100%; }
.game-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a16; }
.game-card-media .img-placeholder { height: 100%; }
.game-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.game-card:hover .game-card-img { transform: scale(1.06); }
.game-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.game-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; margin: 0; }
.game-card:hover .game-card-title { color: var(--cyan); }
.game-card-text { color: var(--muted); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-card-meta { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .82rem; margin-top: auto; }
.dot { color: var(--pink); }

/* Image placeholder */
.img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--panel-solid), #1a1030);
  color: var(--purple); font-size: 2.5rem; width: 100%;
}

/* Post / single */
.post { padding: 2rem 0 4rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); }
.breadcrumb-item a { color: var(--cyan); }
.breadcrumb-item.active { color: var(--muted); }
.post-header { margin: 1rem 0 1.75rem; }
.post-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.post-title { font-size: clamp(1.7rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 1rem; }
.post-meta { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.post-deck { color: var(--muted); font-size: 1.15rem; max-width: 820px; }
.post-featured { margin-bottom: 2rem; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 0 30px rgba(157, 77, 255, 0.25); }
.post-featured-img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.post-layout { align-items: flex-start; }

.neon-panel { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }

/* Article content */
.post-content { font-size: 1.08rem; }
.post-content h2 { font-size: 1.55rem; margin: 2rem 0 1rem; color: var(--cyan); text-shadow: 0 0 14px rgba(0, 240, 255, 0.45); }
.post-content h3 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; color: var(--pink); }
.post-content p, .post-content li { color: #dbe6f5; }
.post-content a { text-decoration: underline; }
.post-content blockquote { border-left: 3px solid var(--pink); padding: .75rem 1.25rem; margin: 1.5rem 0; background: rgba(255, 45, 149, 0.06); color: #f3d7e8; border-radius: 0 10px 10px 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.post-content th, .post-content td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.post-content th { background: rgba(0, 240, 255, 0.1); color: var(--cyan); }
.post-content img { max-width: 100%; border-radius: 10px; }

/* Table of contents */
.toc-box { position: sticky; top: 90px; }
.toc-title { font-size: 1.1rem; color: var(--green); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.toc-list ul { list-style: none; padding-left: 0; font-size: .92rem; }
.toc-list li { margin: .35rem 0; }
.toc-list a { color: var(--muted); }
.toc-list a:hover { color: var(--green); }

/* FAQ */
.faq-section { margin-top: 3rem; }
.neon-accordion .accordion-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; margin-bottom: .75rem; overflow: hidden; }
.neon-accordion .accordion-button { background: transparent; color: var(--text); font-family: var(--rajdhani); font-weight: 600; }
.neon-accordion .accordion-button:not(.collapsed) { background: rgba(0, 240, 255, 0.08); color: var(--cyan); box-shadow: none; }
.neon-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25); }
.neon-accordion .accordion-body { color: #dbe6f5; }
/* Category chips & grid */
.category-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.category-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--panel); color: var(--text);
  font-family: var(--orbitron); font-size: .85rem; letter-spacing: 1px; text-transform: uppercase;
  transition: .2s ease;
}
.category-chip:hover { border-color: var(--pink); color: #fff; box-shadow: 0 0 18px rgba(255, 45, 149, 0.4); transform: translateY(-2px); }
.category-chip-count { background: rgba(255, 45, 149, 0.18); color: var(--pink); border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; }

/* Page head */
.page-head { margin-bottom: 2.5rem; }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: .5rem 0 .75rem; }
.page-subtitle { color: var(--muted); font-size: 1.15rem; max-width: 720px; }

/* Pagination */
.pagination-wrap { margin-top: 3rem; }
.pagination .page-link { background: var(--panel); border: 1px solid var(--border); color: var(--cyan); }
.pagination .page-item.active .page-link { background: var(--cyan); border-color: var(--cyan); color: #051018; box-shadow: 0 0 14px rgba(0, 240, 255, 0.5); }
.pagination .page-item.disabled .page-link { color: var(--muted); background: var(--panel); }

/* Footer */
.site-footer { margin-top: 4rem; padding: 3.5rem 0 2rem; border-top: 1px solid var(--border); background: rgba(7, 7, 15, 0.6); }
.footer-brand { font-family: var(--orbitron); font-weight: 700; color: #fff; font-size: 1.2rem; }
.footer-desc { color: var(--muted); max-width: 320px; margin-top: .75rem; }
.footer-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links, .footer-langs { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-links a, .footer-langs a { color: var(--muted); }
.footer-links a:hover, .footer-langs a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--muted); font-size: .88rem; }

/* 404 */
.notfound { padding: 8rem 0; }
.notfound-code { font-family: var(--orbitron); font-size: clamp(6rem, 18vw, 12rem); font-weight: 900; line-height: 1; }
.notfound-title { font-size: 1.8rem; margin: 1rem 0; }
.notfound-text { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .toc-box { position: static; }
  .post-content { font-size: 1.02rem; }
  .hero { padding: 4rem 0 3.5rem; }
}