/* gorila39.com — Slot Machine Strategy Malaysia */
/* Design: Dark editorial magazine, inspired by real gaming strategy sites */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-bg:        #111318;
  --c-surface:   #1c1f27;
  --c-surface2:  #252932;
  --c-border:    #2e3340;
  --c-accent:    #e8a020;
  --c-accent2:   #f5c842;
  --c-purple:    #7c5cbf;
  --c-text:      #e8eaf0;
  --c-muted:     #8b90a0;
  --c-link:      #6fa8dc;
  --c-red:       #e05252;
  --c-green:     #4caf7d;
  --r-sm:        6px;
  --r-md:        10px;
  --r-lg:        16px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,.5);
  --f-sans:      'Inter', 'Segoe UI', Arial, sans-serif;
  --f-serif:     'Georgia', 'Times New Roman', serif;
  --f-mono:      'Courier New', monospace;
  --max-w:       1160px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--c-accent); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { color: var(--c-accent2); font-weight: 600; }
em { font-style: italic; color: var(--c-muted); }

/* ─── LAYOUT HELPERS ────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── TOP BAR ───────────────────────────────────────────────── */
.topbar {
  background: #0a0c10;
  border-bottom: 1px solid var(--c-border);
  font-size: .78rem;
  color: var(--c-muted);
  padding: 5px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--c-muted); }
.topbar a:hover { color: var(--c-accent); text-decoration: none; }
.topbar-right { display: flex; gap: 16px; }

/* ─── HEADER ────────────────────────────────────────────────── */
.site-header {
  background: var(--c-surface);
  border-bottom: 3px solid var(--c-accent);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--f-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: -.5px;
  white-space: nowrap;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--c-accent2); }
.logo span { color: var(--c-text); font-weight: 400; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.main-nav a {
  color: var(--c-muted);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--c-text);
  background: var(--c-surface2);
  text-decoration: none;
}
.main-nav a.active { color: var(--c-accent); }

.header-search {
  display: flex;
  align-items: center;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 5px 14px;
  gap: 8px;
  font-size: .85rem;
  color: var(--c-muted);
  cursor: pointer;
  transition: border-color .15s;
}
.header-search:hover { border-color: var(--c-accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-text);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

/* ─── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 9px 0;
  font-size: .8rem;
  color: var(--c-muted);
}
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumb li::after { content: '›'; margin-left: 4px; color: var(--c-border); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-accent); text-decoration: none; }
.breadcrumb li:last-child { color: var(--c-text); }

/* ─── HERO (homepage) ───────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #1a1520 0%, #0f1218 60%, #1a1218 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 56px 0 48px;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
.hero-eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-accent); margin-bottom: 12px; }
.hero h1 { font-family: var(--f-serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.25; color: var(--c-text); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--c-accent); }
.hero-desc { font-size: 1.05rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.hero-stats { display: flex; gap: 28px; margin-bottom: 28px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 700; color: var(--c-accent); }
.hero-stat .lbl { font-size: .75rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .5px; }
.hero-featured { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.hero-featured-img { height: 180px; background: linear-gradient(135deg, #2a1f40, #1a2a40); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.hero-featured-body { padding: 18px; }
.hero-featured-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-accent); margin-bottom: 8px; }
.hero-featured-body h3 { font-family: var(--f-serif); font-size: 1.05rem; color: var(--c-text); line-height: 1.4; margin-bottom: 8px; }
.hero-featured-body h3 a { color: var(--c-text); }
.hero-featured-body h3 a:hover { color: var(--c-accent); text-decoration: none; }
.hero-featured-meta { font-size: .78rem; color: var(--c-muted); }

/* ─── CATEGORY TABS ─────────────────────────────────────────── */
.cat-tabs { background: var(--c-surface); border-bottom: 1px solid var(--c-border); overflow-x: auto; }
.cat-tabs-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; gap: 0; }
.cat-tab { padding: 13px 18px; font-size: .85rem; font-weight: 500; color: var(--c-muted); border-bottom: 3px solid transparent; white-space: nowrap; cursor: pointer; transition: color .15s, border-color .15s; text-decoration: none; }
.cat-tab:hover { color: var(--c-text); text-decoration: none; }
.cat-tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* ─── MAIN CONTENT AREA ─────────────────────────────────────── */
.content-area { max-width: var(--max-w); margin: 36px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }

/* ─── SECTION HEADING ───────────────────────────────────────── */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--c-border); }
.section-head h2 { font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-text); display: flex; align-items: center; gap: 8px; }
.section-head h2::before { content: ''; display: inline-block; width: 4px; height: 18px; background: var(--c-accent); border-radius: 2px; }
.section-head a { font-size: .82rem; color: var(--c-muted); }
.section-head a:hover { color: var(--c-accent); }

/* ─── ARTICLE CARDS ─────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 36px; }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--c-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-thumb {
  height: 148px;
  background: linear-gradient(135deg, #1e1630 0%, #1a2535 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  flex-shrink: 0;
}
.card-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--c-accent);
  color: #111;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 8px;
  border-radius: 3px;
}

.card-body { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--c-accent); margin-bottom: 7px; }
.card h3 { font-family: var(--f-serif); font-size: .97rem; line-height: 1.4; color: var(--c-text); margin-bottom: 8px; flex: 1; }
.card h3 a { color: var(--c-text); }
.card h3 a:hover { color: var(--c-accent); text-decoration: none; }
.card-excerpt { font-size: .82rem; color: var(--c-muted); line-height: 1.55; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; color: var(--c-muted); padding-top: 10px; border-top: 1px solid var(--c-border); margin-top: auto; }
.card-footer .read-time { display: flex; align-items: center; gap: 4px; }
.card-footer .read-more { color: var(--c-accent); font-weight: 600; font-size: .78rem; }
.card-footer .read-more:hover { text-decoration: none; color: var(--c-accent2); }

/* Featured card (full width) */
.card.card-featured { grid-column: 1 / -1; flex-direction: row; }
.card.card-featured .card-thumb { width: 260px; height: auto; min-height: 180px; flex-shrink: 0; font-size: 4rem; }
.card.card-featured .card-body { padding: 22px; }
.card.card-featured h3 { font-size: 1.2rem; }
.card.card-featured .card-excerpt { -webkit-line-clamp: 3; }

/* List style cards */
.card-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.card-list-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .2s;
}
.card-list-item:hover { border-color: var(--c-purple); }
.card-list-num { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 700; color: var(--c-border); min-width: 28px; line-height: 1; padding-top: 2px; }
.card-list-body { flex: 1; }
.card-list-body .cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--c-accent); margin-bottom: 4px; }
.card-list-body h3 { font-size: .92rem; color: var(--c-text); line-height: 1.4; margin-bottom: 4px; }
.card-list-body h3 a { color: var(--c-text); }
.card-list-body h3 a:hover { color: var(--c-accent); text-decoration: none; }
.card-list-body .meta { font-size: .76rem; color: var(--c-muted); }

/* ─── SIDEBAR ────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.widget-header {
  background: var(--c-surface2);
  border-bottom: 1px solid var(--c-border);
  padding: 11px 16px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget-body { padding: 16px; }

/* Popular posts widget */
.popular-posts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
.popular-posts li { padding: 10px 0; border-bottom: 1px solid var(--c-border); display: flex; gap: 10px; align-items: flex-start; }
.popular-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.pop-rank { font-family: var(--f-serif); font-size: 1.2rem; font-weight: 700; color: var(--c-border); min-width: 22px; line-height: 1.2; }
.pop-rank.top { color: var(--c-accent); }
.pop-title { font-size: .84rem; color: var(--c-text); line-height: 1.4; }
.pop-title a { color: var(--c-text); }
.pop-title a:hover { color: var(--c-accent); text-decoration: none; }
.pop-meta { font-size: .72rem; color: var(--c-muted); margin-top: 2px; }

/* Tags widget */
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  padding: 4px 11px;
  border-radius: 20px;
  font-size: .78rem;
  transition: all .15s;
  text-decoration: none;
}
.tag:hover { background: var(--c-accent); border-color: var(--c-accent); color: #111; text-decoration: none; }

/* About widget */
.about-widget { text-align: center; }
.about-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--c-purple), var(--c-accent)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 12px; }
.about-name { font-weight: 700; color: var(--c-text); font-size: .95rem; margin-bottom: 4px; }
.about-title { font-size: .78rem; color: var(--c-accent); margin-bottom: 10px; }
.about-bio { font-size: .82rem; color: var(--c-muted); line-height: 1.6; }

/* Newsletter widget */
.newsletter-widget { background: linear-gradient(135deg, #1e1630, #1a2535); }
.newsletter-widget .widget-body { text-align: center; }
.newsletter-widget h3 { font-family: var(--f-serif); font-size: 1rem; color: var(--c-text); margin-bottom: 8px; }
.newsletter-widget p { font-size: .82rem; color: var(--c-muted); margin-bottom: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  color: var(--c-text);
  font-size: .85rem;
  width: 100%;
}
.newsletter-form input:focus { outline: none; border-color: var(--c-accent); }
.btn-subscribe {
  background: var(--c-accent);
  color: #111;
  border: none;
  border-radius: var(--r-sm);
  padding: 9px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s;
}
.btn-subscribe:hover { background: var(--c-accent2); }

/* ─── ARTICLE PAGE ───────────────────────────────────────────── */
.article-wrap { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }

.article-header { margin-bottom: 28px; }
.article-cat-link { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-accent); margin-bottom: 12px; display: inline-block; }
.article-cat-link:hover { text-decoration: none; color: var(--c-accent2); }
.article-title { font-family: var(--f-serif); font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.28; color: var(--c-text); margin-bottom: 16px; }
.article-subtitle { font-size: 1.05rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 20px; }

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 24px;
}
.byline-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--c-purple), #3a5a8a); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.byline-info { flex: 1; }
.byline-name { font-size: .88rem; font-weight: 600; color: var(--c-text); }
.byline-name a { color: var(--c-text); }
.byline-name a:hover { color: var(--c-accent); text-decoration: none; }
.byline-meta { font-size: .76rem; color: var(--c-muted); margin-top: 1px; }
.byline-share { display: flex; gap: 8px; }
.share-btn { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; text-decoration: none; transition: opacity .15s; }
.share-btn:hover { opacity: .8; text-decoration: none; }
.share-fb { background: #1877f2; color: white; }
.share-tw { background: #1da1f2; color: white; }
.share-wa { background: #25d366; color: white; }

/* TOC */
.toc {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  margin: 0 0 28px;
}
.toc-title { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-muted); margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; }
.toc li { margin-bottom: 6px; }
.toc a { font-size: .88rem; color: var(--c-link); }
.toc a:hover { color: var(--c-accent); }

/* Video embed */
.video-block { margin: 28px 0; }
.video-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.video-label span { background: #ff0000; color: white; padding: 1px 7px; border-radius: 3px; font-size: .7rem; }
.video-ratio { position: relative; padding-bottom: 56.25%; height: 0; background: #000; border-radius: var(--r-md); overflow: hidden; }
.video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Play buttons */
.play-cta { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 20px; margin: 28px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.play-cta-text h4 { font-family: var(--f-serif); font-size: 1rem; color: var(--c-text); margin-bottom: 4px; }
.play-cta-text p { font-size: .82rem; color: var(--c-muted); }
.play-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }

.btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: var(--r-sm); font-size: .88rem; font-weight: 600; cursor: pointer; border: none; transition: all .15s; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--c-accent); color: #111; }
.btn-primary:hover { background: var(--c-accent2); color: #111; }
.btn-outline { background: transparent; border: 1.5px solid var(--c-border); color: var(--c-text); }
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn-sm { padding: 7px 14px; font-size: .8rem; }

/* Article body content */
.article-body { font-size: .97rem; line-height: 1.8; color: var(--c-text); }
.article-body h2 { font-family: var(--f-serif); font-size: 1.45rem; color: var(--c-text); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border); }
.article-body h3 { font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-text); margin: 28px 0 10px; }
.article-body h4 { font-size: 1rem; font-weight: 700; color: var(--c-accent); margin: 20px 0 8px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 14px 0 18px 1.4em; }
.article-body li { margin-bottom: 7px; }
.article-body a { color: var(--c-link); }
.article-body a:hover { color: var(--c-accent); }

/* Callout boxes */
.callout { border-radius: var(--r-sm); padding: 16px 18px; margin: 22px 0; font-size: .92rem; line-height: 1.65; }
.callout-tip { background: rgba(76,175,125,.08); border-left: 4px solid var(--c-green); }
.callout-warn { background: rgba(232,160,32,.08); border-left: 4px solid var(--c-accent); }
.callout-info { background: rgba(111,168,220,.08); border-left: 4px solid var(--c-link); }
.callout-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.callout-tip .callout-label { color: var(--c-green); }
.callout-warn .callout-label { color: var(--c-accent); }
.callout-info .callout-label { color: var(--c-link); }

/* Tables */
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .88rem; }
.article-body th { background: var(--c-surface2); color: var(--c-text); padding: 9px 12px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--c-accent); }
.article-body td { padding: 9px 12px; border-bottom: 1px solid var(--c-border); color: var(--c-text); }
.article-body tr:nth-child(even) td { background: var(--c-surface); }
.article-body tr:hover td { background: rgba(232,160,32,.05); }

/* Author box */
.author-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 22px;
  margin: 36px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.author-box-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--c-purple), #3a5a8a); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.author-box-info {}
.author-box-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-muted); margin-bottom: 4px; }
.author-box-name { font-size: 1.05rem; font-weight: 700; color: var(--c-text); margin-bottom: 6px; }
.author-box-bio { font-size: .85rem; color: var(--c-muted); line-height: 1.6; }

/* Related articles */
.related-section { margin-top: 36px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.related-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: 14px; transition: border-color .2s; }
.related-card:hover { border-color: var(--c-accent); }
.related-card .cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--c-accent); margin-bottom: 6px; }
.related-card h4 { font-size: .88rem; color: var(--c-text); line-height: 1.4; }
.related-card h4 a { color: var(--c-text); }
.related-card h4 a:hover { color: var(--c-accent); text-decoration: none; }
.related-card .meta { font-size: .74rem; color: var(--c-muted); margin-top: 6px; }

/* Comments section */
.comments-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--c-border); }
.comments-section h3 { font-family: var(--f-serif); font-size: 1.1rem; color: var(--c-text); margin-bottom: 20px; }
.comment { display: flex; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--c-border); }
.comment:last-child { border-bottom: none; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--c-surface2); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; font-weight: 700; color: var(--c-muted); }
.comment-body {}
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-name { font-size: .88rem; font-weight: 600; color: var(--c-text); }
.comment-date { font-size: .76rem; color: var(--c-muted); }
.comment-text { font-size: .88rem; color: var(--c-muted); line-height: 1.6; }

/* ─── CATEGORY PAGE ──────────────────────────────────────────── */
.cat-page-wrap { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px; }
.cat-header { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px 32px; margin-bottom: 32px; display: flex; align-items: center; gap: 20px; }
.cat-icon { font-size: 3rem; }
.cat-header h1 { font-family: var(--f-serif); font-size: 1.7rem; color: var(--c-text); margin-bottom: 6px; }
.cat-header p { color: var(--c-muted); font-size: .92rem; }
.cat-count { font-size: .78rem; color: var(--c-accent); margin-top: 4px; }

.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-list-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s, transform .15s;
}
.article-list-item:hover { border-color: var(--c-accent); transform: translateX(3px); }
.ali-icon { font-size: 1.8rem; min-width: 44px; text-align: center; padding-top: 2px; }
.ali-body { flex: 1; }
.ali-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--c-accent); margin-bottom: 5px; }
.ali-body h3 { font-family: var(--f-serif); font-size: 1.05rem; color: var(--c-text); margin-bottom: 6px; line-height: 1.4; }
.ali-body h3 a { color: var(--c-text); }
.ali-body h3 a:hover { color: var(--c-accent); text-decoration: none; }
.ali-body p { font-size: .85rem; color: var(--c-muted); line-height: 1.55; margin-bottom: 10px; }
.ali-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ali-tag { background: var(--c-surface2); color: var(--c-muted); padding: 2px 9px; border-radius: 12px; font-size: .72rem; }
.ali-meta { font-size: .76rem; color: var(--c-muted); min-width: 80px; text-align: right; padding-top: 4px; }

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 36px 0; }
.page-link { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); color: var(--c-muted); font-size: .88rem; transition: all .15s; text-decoration: none; }
.page-link:hover, .page-link.active { background: var(--c-accent); border-color: var(--c-accent); color: #111; text-decoration: none; }
.page-link.dots { background: none; border: none; cursor: default; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--c-surface); border-top: 1px solid var(--c-border); margin-top: 56px; }
.footer-main { max-width: var(--max-w); margin: 0 auto; padding: 44px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: .82rem; color: var(--c-muted); line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--c-text); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .83rem; color: var(--c-muted); }
.footer-col a:hover { color: var(--c-accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--c-border); padding: 16px 20px; }
.footer-bottom-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--c-muted); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--c-muted); }
.footer-bottom a:hover { color: var(--c-accent); text-decoration: none; }
.disclaimer { background: var(--c-surface2); border-top: 1px solid var(--c-border); padding: 14px 20px; }
.disclaimer p { max-width: var(--max-w); margin: 0 auto; font-size: .74rem; color: var(--c-muted); line-height: 1.6; text-align: center; }

/* ─── TOPBAR TAG ────────────────────────────────────────────── */
.topbar-tag {
  display: inline-block;
  background: var(--c-accent);
  color: #111;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ─── HERO SLOT GRAPHIC ─────────────────────────────────────── */
.hero-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}
.hero-img-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  padding: 3px 10px;
  border-radius: 3px;
}
.hero-img-graphic {
  display: flex;
  gap: 8px;
}
.slot-reel {
  width: 48px;
  height: 60px;
  background: var(--c-surface2);
  border: 2px solid var(--c-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-accent);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3);
}

/* ─── CARD THUMB VARIANTS ───────────────────────────────────── */
.card-thumb { position: relative; }
.card-thumb-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
  z-index: 2;
}
.card-thumb-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-thumb--strategy .card-thumb-bg { background: linear-gradient(135deg, #1e1040 0%, #2a1060 50%, #1a0830 100%); }
.card-thumb--strategy::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(232,160,32,.03) 20px, rgba(232,160,32,.03) 40px); z-index: 1; }
.card-thumb--beginners .card-thumb-bg { background: linear-gradient(135deg, #0d2040 0%, #1a3a60 50%, #0a1830 100%); }
.card-thumb--free .card-thumb-bg { background: linear-gradient(135deg, #0d3020 0%, #1a5030 50%, #0a2018 100%); }
.card-thumb--tips .card-thumb-bg { background: linear-gradient(135deg, #301010 0%, #501a1a 50%, #201008 100%); }
.card-thumb--providers .card-thumb-bg { background: linear-gradient(135deg, #1a1a30 0%, #2a2a50 50%, #101020 100%); }

/* ─── ABOUT AVATAR (text initials) ─────────────────────────── */
.about-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-purple), #3a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 12px;
  letter-spacing: 1px;
}
.byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-purple), #3a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: .85rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-purple), #3a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  letter-spacing: 1px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-area, .article-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-featured { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: fixed; top: 62px; left: 0; right: 0; background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding: 16px 20px; z-index: 800; }
  .nav-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .card.card-featured { flex-direction: column; }
  .card.card-featured .card-thumb { width: 100%; height: 160px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .article-list-item { flex-wrap: wrap; }
  .ali-meta { min-width: auto; text-align: left; }
  .topbar { display: none; }
  .header-search { display: none; }
  .play-cta { flex-direction: column; }
  .play-cta-btns { margin-left: 0; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 32px; }
  .hero-stats { gap: 16px; }
  .cat-header { flex-direction: column; align-items: flex-start; }
}
