/* ============================================================
   Game Path Guides - Dark Retro Indie Game Guide Website
   Main Stylesheet
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-nav: rgba(10, 10, 10, 0.95);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-gold: #c9a84c;
  --accent-gold-dim: #8a7530;
  --accent-purple: #7a4a8a;
  --accent-purple-dim: #4a2a5a;
  --border-color: #2a2a2a;
  --border-hover: #3a3a3a;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-glow: rgba(201, 168, 76, 0.08);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --nav-height: 64px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #dbb95c;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(122, 74, 138, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-gold-dim);
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--accent-gold);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: #dbb95c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
  color: var(--bg-primary);
}

/* ============================================================
   AD PLACEHOLDER
   ============================================================ */
.ad-placeholder {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 2rem 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-placeholder--leaderboard {
  min-height: 90px;
}

.ad-placeholder--rectangle {
  min-height: 250px;
}

.ad-placeholder--in-article {
  min-height: 120px;
  margin: 2.5rem 0;
}

/* ============================================================
   GAMES SECTION (Enhanced Cards)
   ============================================================ */
.games-section {
  padding: 80px 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* --- Game Card (Full clickable card) --- */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px var(--shadow-color), 0 0 20px var(--shadow-glow);
  background: var(--bg-card-hover);
}

/* Full-card clickable link */
.game-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.game-card-link:hover {
  color: inherit;
}

/* --- Banner / Thumbnail --- */
.game-card-banner {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.game-card-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
}

.game-card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .game-card-banner-img {
  transform: scale(1.05);
}

/* --- Card Body --- */
.game-card-body {
  padding: 20px 24px 24px;
}

.game-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.game-card-body h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition);
}

.game-card:hover .game-card-body h3::after {
  width: 100%;
}

/* Enhanced description (2-3 lines) */
.game-card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- CTA Button --- */
.game-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--accent-gold-dim);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-card:hover .game-card-btn {
  background: var(--accent-gold);
  color: #111111;
  border-color: var(--accent-gold);
}

.game-card-btn svg {
  transition: transform var(--transition);
}

.game-card:hover .game-card-btn svg {
  transform: translateX(3px);
}




/* ============================================================
   LATEST GUIDES SECTION
   ============================================================ */
.latest-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.article-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.article-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
}

.article-item-content {
  flex: 1;
  min-width: 0;
}

.article-item-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.article-item-content h3 a {
  color: var(--text-primary);
}

.article-item-content h3 a:hover {
  color: var(--accent-gold);
}

.article-item-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-meta .game-tag {
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ad insertion between articles */
.article-ad-slot {
  padding: 12px 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer a {
  color: var(--text-secondary);
}

.footer a:hover {
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   ARTICLE / TEMPLATE PAGE STYLES
   ============================================================ */
.article-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
}

.article-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.article-back:hover {
  color: var(--accent-gold);
}

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.article-header .article-excerpt {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-header .article-meta {
  font-size: 0.85rem;
}

/* --- Article Layout: Sidebar TOC + Content --- */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* TOC Sidebar */
.article-toc {
  position: sticky;
  top: calc(var(--nav-height) + 30px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.article-toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.article-toc ul {
  list-style: none;
}

.article-toc li {
  margin-bottom: 4px;
}

.article-toc a {
  display: block;
  padding: 6px 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.article-toc a:hover {
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.05);
  border-left-color: var(--accent-gold);
}

/* Article Body */
.article-body {
  min-width: 0;
}

.article-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.article-section:last-child {
  border-bottom: none;
}

.article-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-gold-dim);
  display: inline-block;
}

.article-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
  color: var(--accent-gold);
}

.article-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-section ul, 
.article-section ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-section li {
  margin-bottom: 8px;
}

.article-section strong {
  color: var(--text-primary);
}

.article-section .tip-box {
  background: rgba(201, 168, 76, 0.06);
  border-left: 3px solid var(--accent-gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.article-section .tip-box p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.article-section .tip-box strong {
  color: var(--accent-gold);
}

/* ============================================================
   STATIC PAGES (Privacy, About, Contact, Terms)
   ============================================================ */
.static-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  min-height: 100vh;
}

.static-content {
  max-width: 800px;
  margin: 0 auto;
}

.static-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.static-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.static-content section {
  margin-bottom: 36px;
}

.static-content section:last-child {
  margin-bottom: 0;
}

.static-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-gold-dim);
  display: inline-block;
}

.static-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 20px;
  color: var(--accent-gold);
}

.static-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.static-content ul,
.static-content ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 16px;
}

.static-content li {
  margin-bottom: 8px;
}

.static-content strong {
  color: var(--text-primary);
}

.static-content a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.static-content a:hover {
  color: #dbb95c;
}

/* Contact Email */
.contact-email {
  margin: 24px 0;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}

.contact-email-link:hover {
  border-color: var(--accent-gold-dim);
  background: var(--bg-card-hover);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.1);
}

.contact-email-link svg {
  flex-shrink: 0;
}

/* ============================================================
   GUIDES HUB PAGES (e.g., /guides/lunacid/)
   ============================================================ */
.guides-hub {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  min-height: 100vh;
}

/* --- Breadcrumb Navigation --- */
.breadcrumb {
  margin-bottom: 32px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb li {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumb li[aria-current="page"] {
  color: var(--accent-gold);
  font-weight: 600;
}

/* --- Guides Hub Header --- */
.guides-hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.guides-hub-info {
  flex: 1;
}

.guides-hub-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.guides-hub-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 700px;
}

.guides-hub-stats {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.guides-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.guides-stat strong {
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0;
}

/* --- Guides List (Structured Article Cards) --- */
.guides-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.guide-card {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.guide-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.guide-card-number {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--accent-gold-dim);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.guide-card-content {
  flex: 1;
  min-width: 0;
}

.guide-card-content h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.guide-card-content h2 a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.guide-card-content h2 a:hover {
  color: var(--accent-gold);
}

.guide-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
}

.guide-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guide-tag--beginner { background: rgba(76, 175, 80, 0.12); color: #66bb6a; }
.guide-tag--secrets   { background: rgba(156, 39, 176, 0.12); color: #ab47bc; }
.guide-tag--builds    { background: rgba(33, 150, 243, 0.12); color: #42a5f5; }
.guide-tag--boss      { background: rgba(244, 67, 54, 0.12); color: #ef5350; }
.guide-tag--items     { background: rgba(255, 152, 0, 0.12); color: #ffa726; }
.guide-tag--lore      { background: rgba(201, 168, 76, 0.12); color: var(--accent-gold); }
.guide-tag--walkthrough { background: rgba(0, 188, 212, 0.12); color: #26c6da; }
.guide-tag--magic     { background: rgba(103, 58, 183, 0.12); color: #7e57c2; }
.guide-tag--enemies   { background: rgba(233, 30, 99, 0.12); color: #ec407a; }
.guide-tag--map       { background: rgba(76, 175, 80, 0.12); color: #66bb6a; }
.guide-tag--quests    { background: rgba(255, 193, 7, 0.12); color: #ffca28; }
.guide-tag--crafting  { background: rgba(121, 85, 72, 0.12); color: #8d6e63; }
.guide-tag--puzzles   { background: rgba(0, 150, 136, 0.12); color: #26a69a; }
.guide-tag--advanced  { background: rgba(244, 67, 54, 0.12); color: #ef5350; }
.guide-tag--farming   { background: rgba(139, 195, 74, 0.12); color: #9ccc65; }

.guide-date {
  color: var(--text-muted);
}

/* Back link */
.guides-back {
  margin-top: 24px;
}

.guides-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.guides-back-link:hover {
  color: var(--accent-gold);
}

/* ============================================================
   CATEGORY FILTER
   ============================================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 2rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent-gold-dim);
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.06);
}

.filter-btn--active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 600;
}

.filter-btn--active:hover {
  background: #dbb95c;
  border-color: #dbb95c;
  color: var(--bg-primary);
}

.no-articles {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */


/* ============================================================
   GUIDES HUB RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .guides-hub-header {
    flex-direction: column;
    gap: 16px;
  }

  .guides-hub-info h1 {
    font-size: 1.5rem;
  }

  .guides-hub-desc {
    font-size: 0.88rem;
  }

  .guides-hub-stats {
    width: 100%;
    justify-content: flex-start;
  }

  .guides-stat {
    padding: 8px 16px;
  }

  .guides-stat strong {
    font-size: 1.1rem;
  }

  .guide-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .guide-card-number {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .guide-card-content h2 {
    font-size: 0.95rem;
  }

  .guide-card-content p {
    font-size: 0.82rem;
  }

  .guide-card-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .breadcrumb {
    padding: 10px 12px;
  }

  .breadcrumb li {
    font-size: 0.75rem;
  }
}

/* Tablet */
@media (max-width: 1024px) {

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    margin-bottom: 30px;
  }

  .article-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .article-toc li {
    margin-bottom: 0;
  }

  .article-toc a {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-left: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
  }

  .article-toc a:hover {
    border-color: var(--accent-gold-dim);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .games-section {
    padding: 50px 0;
  }

  .latest-section {
    padding: 50px 0;
  }

  .article-item {
    flex-direction: column;
    gap: 12px;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .article-section h2 {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  /* Footer responsive - wrap links */
  .footer-links {
    flex-wrap: wrap;
    gap: 12px 16px;
    max-width: 400px;
    margin: 0 auto 16px;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  /* Static pages responsive */
  .static-content h1 {
    font-size: 1.7rem;
  }

  .static-content h2 {
    font-size: 1.2rem;
  }

  .contact-email-link {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .static-page {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 40px;
  }

  .article-page {
    padding-top: calc(var(--nav-height) + 24px);
  }

  /* Improve touch targets */
  .nav-links a {
    padding: 10px 0;
    font-size: 1rem;
  }

  .game-card-btn {
    padding: 12px 24px;
  }

  .hero-cta {
    padding: 16px 32px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero {
    min-height: 85vh;
    padding: 80px 16px 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 16px;
  }

  .game-card-body {
    padding: 16px;
  }

  .article-item {
    padding: 16px;
  }

  .article-item-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .static-content h1 {
    font-size: 1.4rem;
  }

  .static-content h2 {
    font-size: 1.1rem;
  }

  .static-content p,
  .static-content ul,
  .static-content ol {
    font-size: 0.9rem;
  }

  .article-header h1 {
    font-size: 1.4rem;
  }

  .article-section p,
  .article-section ul,
  .article-section ol {
    font-size: 0.9rem;
  }

  .ad-placeholder {
    min-height: 60px;
    padding: 12px;
    margin: 1.5rem 0;
  }

  .ad-placeholder--rectangle {
    min-height: 200px;
  }

  .footer-links {
    gap: 8px 12px;
  }

  .footer-links a {
    font-size: 0.7rem;
  }

  .category-filter {
    gap: 6px;
    padding: 0 0 1.5rem;
  }

  .filter-btn {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}



