:root {
  --primary: #1a1f3a;
  --primary2: #252a45;
  --accent: #f0c040;
  --accent2: #e06c00;
  --text: #e0e0f0;
  --text-muted: #8888aa;
  --border: #2e3360;
  --card-bg: #252a45;
  --card-hover: #2e3560;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui,-apple-system,sans-serif; background: var(--primary); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* NAV */
.site-nav { position: sticky; top: 0; z-index: 100; background: #111420; border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 56px; }
.nav-logo { font-size: 1.3rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; margin-left: auto; }
.nav-links { display: flex; gap: .25rem; flex-wrap: wrap; margin-left: auto; }
.nav-links a { padding: .35rem .75rem; border-radius: 6px; font-size: .88rem; color: var(--text-muted); transition: background .15s,color .15s; }
.nav-links a:hover { background: var(--primary2); color: var(--text); text-decoration: none; }
@media(max-width:768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: #111420; flex-direction: column; padding: .5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero { padding: 3rem 0 2.5rem; background: linear-gradient(160deg,#111420 0%,#1a1f3a 60%,#251650 100%); text-align: center; }
.hero--small { padding: 2rem 0; }
.hero h1 { font-size: clamp(1.6rem,4vw,2.8rem); font-weight: 800; margin-bottom: .75rem; }
.highlight { color: var(--accent); }
.subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.search-form { display: flex; max-width: 500px; margin: 0 auto; gap: .5rem; }
.search-input { flex: 1; padding: .65rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--primary2); color: var(--text); font-size: 1rem; }
.search-input:focus { outline: 2px solid var(--accent); }
.search-btn { padding: .65rem 1.4rem; border-radius: var(--radius); border: none; background: var(--accent); color: #111; font-weight: 700; cursor: pointer; }
.search-btn:hover { background: #ffd055; }

/* GAMES SECTION */
.games-section { padding: 2rem 0 3rem; }
.section-meta { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.games-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media(min-width:600px)  { .games-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:900px)  { .games-grid { grid-template-columns: repeat(4,1fr); } }
@media(min-width:1100px) { .games-grid { grid-template-columns: repeat(5,1fr); } }
@media(min-width:1300px) { .games-grid { grid-template-columns: repeat(6,1fr); } }

/* GAME CARD */
.game-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s,box-shadow .18s; border: 1px solid var(--border); }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-top { height: 6px; }
.card-body { padding: .9rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.card-name { font-size: .92rem; font-weight: 700; line-height: 1.3; }
.card-cat { font-size: .75rem; color: var(--text-muted); }
.card-rtp { font-size: .75rem; color: var(--green); }
.card-btn { margin-top: auto; display: inline-block; padding: .45rem .9rem; background: var(--accent); color: #111; border-radius: 6px; font-size: .82rem; font-weight: 700; text-align: center; transition: background .15s; }
.card-btn:hover { background: #ffd055; text-decoration: none; }

/* PAGINATION */
.pagination { margin: 2.5rem 0; }
.pagination__list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination__btn { display: inline-block; padding: .4rem .85rem; border-radius: 6px; background: var(--primary2); color: var(--text); font-size: .9rem; border: 1px solid var(--border); transition: background .15s; }
.pagination__btn:hover { background: var(--card-hover); text-decoration: none; }
.pagination__btn--active { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 700; }
.pagination__dots { padding: .4rem; color: var(--text-muted); }

/* CONTENT ZONE */
.pg-zone { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; }

/* BREADCRUMB */
.breadcrumb-wrap { padding: .75rem 1rem; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* GAME ARTICLE */
.game-article { padding-bottom: 3rem; }
.game-hero { padding: 2.5rem 0 2rem; }
.cat-badge { display: inline-block; padding: .25rem .8rem; background: var(--primary2); border: 1px solid var(--border); border-radius: 20px; font-size: .78rem; color: var(--text-muted); margin-bottom: .75rem; }
.game-hero h1 { font-size: clamp(1.5rem,3.5vw,2.4rem); font-weight: 800; margin-bottom: .75rem; }
.game-intro { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 700px; }
.game-stats { display: flex; flex-wrap: wrap; gap: 1rem; }
.stat { background: var(--primary2); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem 1.25rem; text-align: center; }
.stat strong { display: block; font-size: .75rem; color: var(--text-muted); margin-bottom: .25rem; }
.stat span { font-size: 1.1rem; font-weight: 700; color: var(--accent); }

/* ARTICLE SECTIONS */
.article-section { margin: 2.5rem 0; max-width: 780px; }
.article-section h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; color: var(--accent); }
.article-content { line-height: 1.85; color: var(--text-muted); }
.steps-list { padding-left: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.steps-list li { color: var(--text-muted); line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media(max-width:600px) { .features-grid { grid-template-columns: 1fr; } }
.feature-item { background: var(--primary2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.feature-item strong { display: block; font-size: .95rem; margin-bottom: .35rem; color: var(--text); }
.feature-item span { font-size: .88rem; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--primary2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.faq-q { font-weight: 700; margin-bottom: .5rem; }
.faq-a { color: var(--text-muted); font-size: .93rem; line-height: 1.7; }

/* FOOTER */
.site-footer { background: #0d1020; border-top: 1px solid var(--border); padding: 2.5rem 0 1rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; color: var(--accent); }
.footer-col p, .footer-col ul { font-size: .88rem; color: var(--text-muted); line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-disclaimer { font-size: .8rem; margin-top: .75rem; padding: .65rem; background: #1a1020; border-radius: 6px; border: 1px solid #3a1a1a; }
.footer-admin-link { font-size: .8rem; color: var(--text-muted); opacity: .5; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1rem; text-align: center; font-size: .82rem; color: var(--text-muted); }
