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

:root {
  --bg: #080808;
  --surface: #111111;
  --surface2: #1a1a1a;
  --surface3: #222222;
  --accent: #e63946;
  --accent2: #ff6b6b;
  --accent-glow: rgba(230,57,70,.15);
  --text: #f0f0f0;
  --text2: #aaa;
  --muted: #666;
  --border: #1f1f1f;
  --border2: #2a2a2a;
  --max: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
}

body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── PROGRESS BAR ── */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 9999; width: 0; transition: width .1s;
}

/* ── HEADER ── */
header {
  background: rgba(8,8,8,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 16px;
}
.logo { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.5px; white-space: nowrap; }
.logo span { color: var(--accent); }

.header-search { flex: 1; max-width: 300px; position: relative; }
.header-search input {
  width: 100%; background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 20px; padding: 8px 36px 8px 16px; color: var(--text);
  font-size: 0.875rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.header-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
nav a { color: var(--text2); font-size: 0.85rem; padding: 6px 14px; border-radius: 6px; transition: all .2s; white-space: nowrap; }
nav a:hover { color: var(--text); background: var(--surface2); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.3rem; cursor: pointer; padding: 4px; }

/* ── KO-FI ── */
.btn-kofi {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FF5E5B; color: #fff; font-size: 0.8rem; font-weight: 700;
  padding: 7px 14px; border-radius: 20px; white-space: nowrap;
  transition: background .2s, transform .15s; flex-shrink: 0;
}
.btn-kofi:hover { background: #e04a47; transform: translateY(-1px); }
.btn-kofi-full { width: 100%; justify-content: center; font-size: 0.95rem; padding: 12px; border-radius: 10px; margin-top: 8px; }
.kofi-widget { text-align: center; border: 1px solid rgba(255,94,91,.2); background: linear-gradient(135deg, rgba(255,94,91,.05), transparent); }
.kofi-inner { padding: 4px 0; }
.kofi-icon { font-size: 2rem; margin-bottom: 8px; }
.kofi-inner h3 { font-size: 1rem; margin-bottom: 6px; }
.kofi-inner p { font-size: 0.82rem; color: var(--text2); margin-bottom: 4px; }

/* ── AD BANNER ── */
.ad-banner { background: var(--surface); border-bottom: 1px solid var(--border); text-align: center; padding: 8px; min-height: 60px; }
.ad-slot { background: var(--surface2); border: 1px dashed var(--border2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 90px; overflow: hidden; }

/* ── HERO SECTION ── */
.hero-section {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden; border-bottom: 1px solid var(--border);
}

/* Mosaico de portadas como fondo */
.hero-mosaic {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  transform: scale(1.08);
  animation: mosaicDrift 20s ease-in-out infinite alternate;
}
@keyframes mosaicDrift {
  from { transform: scale(1.05) translateY(0px); }
  to   { transform: scale(1.1)  translateY(-12px); }
}
.hero-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
  filter: saturate(0.7) brightness(0.45);
}

/* Overlay encima del mosaico */
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.6) 50%, rgba(8,8,8,.3) 100%),
    linear-gradient(180deg, rgba(8,8,8,.3) 0%, rgba(8,8,8,.0) 40%, rgba(8,8,8,.7) 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(230,57,70,.15) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: 80px 24px;
  width: 100%;
}
.hero-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px;
}
.hero-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; color: var(--text2); max-width: 520px; margin-bottom: 32px; line-height: 1.8; }
.hero-sub em { color: var(--text); font-style: normal; font-weight: 600; }

.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.95rem; padding: 13px 28px;
  border-radius: 8px; transition: all .2s; letter-spacing: .3px;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,.3); }
.btn-ghost-hero {
  display: inline-block; color: var(--text2); font-size: 0.9rem; font-weight: 600;
  padding: 13px 24px; border-radius: 8px; border: 1px solid var(--border2);
  transition: all .2s;
}
.btn-ghost-hero:hover { color: var(--text); border-color: var(--accent); background: var(--accent-glow); }

.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; font-weight: 900; color: var(--text); line-height: 1; letter-spacing: -0.5px; }
.stat span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.stat-div { width: 1px; height: 36px; background: var(--border2); }

/* ── CONTAINER ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── FEATURED ARTICLE ── */
.featured-wrap { padding: 48px 0 0; }
.section-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 16px; }

.featured-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border2);
  display: grid; grid-template-columns: 1.1fr 1fr;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 48px;
}
.featured-card:hover { border-color: var(--accent); box-shadow: 0 8px 40px rgba(230,57,70,.08); }
.featured-img-wrap {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0e0e1a, #1a0d1e);
  min-height: 300px;
  aspect-ratio: 16/10;
  align-self: stretch;
}
.featured-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 55%, rgba(13,13,17,.7) 100%);
  pointer-events: none;
}
.featured-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease;
}
.featured-card:hover .featured-img { transform: scale(1.04); }
.featured-body {
  padding: 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.featured-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px; }
.featured-body h2 { font-size: 1.55rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.featured-body p { color: var(--text2); font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.featured-meta { font-size: 0.75rem; color: var(--muted); display: flex; gap: 16px; margin-bottom: 20px; }
.btn-ghost {
  display: inline-block; border: 1px solid var(--accent); color: var(--accent);
  font-weight: 700; font-size: 0.875rem; padding: 10px 22px; border-radius: 6px;
  transition: all .2s; width: fit-content;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ── CATEGORY PILLS ── */
.cat-showcase { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-pill {
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--text2); font-size: 0.8rem; padding: 6px 16px;
  border-radius: 20px; cursor: pointer; transition: all .2s; font-weight: 500;
}
.cat-pill:hover { border-color: var(--accent); color: var(--text); }
.cat-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ── SEARCH BANNER ── */
.search-banner {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 10px 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.875rem; color: var(--text2);
}
.search-banner button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.8rem; }
.search-banner button:hover { color: var(--text); }

/* ── MAIN GRID ── */
.main-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 8px 0 48px; }

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
/* contenedor de imagen con ratio 16:9 fijo */
.card-img-wrap { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: var(--surface2); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .35s ease; }
.card:hover .card-img { transform: scale(1.05); }
.card-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%); pointer-events: none; }
.card-img-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--surface2), #150510); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.card-body { padding: 16px; flex: 1; }
.card-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); margin-bottom: 6px; }
.card h3 { font-size: 0.92rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.card p { font-size: 0.8rem; color: var(--text2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--muted); }

/* ── LOAD MORE ── */
.load-more-wrap { text-align: center; margin-bottom: 32px; }
.load-more {
  background: transparent; border: 1px solid var(--border2); color: var(--text2);
  padding: 12px 36px; border-radius: 6px; cursor: pointer; font-size: 0.875rem;
  transition: all .2s;
}
.load-more:hover { border-color: var(--accent); color: var(--accent); }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.widget-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 16px; }
.trending-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.trending-num { font-size: 1.4rem; font-weight: 900; color: var(--border2); line-height: 1; min-width: 26px; }
.trending-item h4 { font-size: 0.82rem; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.trending-item span { font-size: 0.7rem; color: var(--muted); }
.cat-list-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 0.875rem; transition: color .2s; }
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { color: var(--accent); }
.cat-count { background: var(--surface2); font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; color: var(--muted); }

/* ── CAROUSEL ── */
.carousel-section { padding: 48px 0 32px; border-bottom: 1px solid var(--border); background: var(--surface); }
.carousel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--text); font-size: 1.4rem; line-height: 1;
  cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.05); }
.carousel-wrapper { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track {
  display: flex; gap: 16px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.carousel-card {
  flex: 0 0 calc(33.333% - 11px); min-width: 0;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.carousel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.4); border-color: var(--accent); }
.carousel-img-wrap { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: var(--surface2); }
.carousel-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .35s ease; }
.carousel-card:hover .carousel-img-wrap img { transform: scale(1.05); }
.carousel-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 50%); pointer-events: none; }
.carousel-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.carousel-card-body .card-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: .5px; }
.carousel-card-body h3 { font-size: 0.9rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carousel-card-body span { font-size: 0.75rem; color: var(--muted); margin-top: auto; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border2); border: none; cursor: pointer; transition: all .2s; padding: 0;
}
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

@media (max-width: 768px) {
  .carousel-card { flex: 0 0 calc(80% - 8px); }
}
@media (max-width: 480px) {
  .carousel-card { flex: 0 0 calc(100% - 0px); }
}

/* ── WHY PIXELLORE ── */
.why-section { padding: 64px 0; border-top: 1px solid var(--border); }
.why-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 40px; text-align: center; letter-spacing: -0.5px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.why-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-icon svg { width: 30px; height: 30px; }
.why-card:nth-child(1) .why-icon { background: linear-gradient(135deg,rgba(99,102,241,.18),rgba(99,102,241,.04)); color: #818cf8; box-shadow: 0 0 20px rgba(99,102,241,.12); }
.why-card:nth-child(2) .why-icon { background: linear-gradient(135deg,rgba(16,185,129,.18),rgba(16,185,129,.04)); color: #34d399; box-shadow: 0 0 20px rgba(16,185,129,.12); }
.why-card:nth-child(3) .why-icon { background: linear-gradient(135deg,rgba(245,158,11,.18),rgba(245,158,11,.04)); color: #fbbf24; box-shadow: 0 0 20px rgba(245,158,11,.12); }
.why-card:nth-child(4) .why-icon { background: linear-gradient(135deg,rgba(239,68,68,.18),rgba(239,68,68,.04)); color: #f87171; box-shadow: 0 0 20px rgba(239,68,68,.12); }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.83rem; color: var(--text2); line-height: 1.6; }

/* ── SVG ICONS ── */
.search-icon { display: flex; align-items: center; }
.nav-toggle svg { display: block; }
.section-label { display: inline-flex; align-items: center; gap: 7px; }
.widget-title { display: inline-flex; align-items: center; gap: 7px; width: 100%; }
.cat-pill { display: inline-flex; align-items: center; gap: 6px; }
.cat-pill svg, .section-label svg, .widget-title svg { flex-shrink: 0; }

/* ── ARTICLE PAGE ── */
.article-hero-img { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── ARTICLE HERO (imagen limpia con gradiente y título) ── */
.art-hero { margin-bottom: 32px; }
.art-hero-img-wrap {
  position: relative; border-radius: 14px; overflow: hidden;
  height: 420px; background: #0e0e1a;
}
@media (max-width: 700px) { .art-hero-img-wrap { height: 220px; } }
.art-hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform .5s ease;
}
.art-hero:hover .art-hero-img { transform: scale(1.03); }
.art-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,8,8,0) 30%,
    rgba(8,8,8,.5) 65%,
    rgba(8,8,8,.92) 100%);
  pointer-events: none;
}
.art-hero-header {
  padding: 20px 4px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.art-hero-header .hero-tag {
  align-self: flex-start; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 20px;
}
.art-hero-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -.5px; margin: 0;
}
.art-hero-header .article-meta { margin-top: 4px; }

/* ── GAMES MENTIONED STRIP ── */
.games-mentioned {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; margin: 28px 0;
}
.games-mentioned-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted); margin-bottom: 14px;
}
.games-mentioned-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.games-mentioned-grid::-webkit-scrollbar { height: 4px; }
.games-mentioned-grid::-webkit-scrollbar-track { background: var(--surface2); }
.games-mentioned-grid::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.game-pill {
  flex-shrink: 0; width: 160px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s, border-color .2s;
  position: relative;
}
.game-pill:hover { transform: translateY(-3px); border-color: var(--accent); }
.game-pill img { width: 100%; height: 90px; object-fit: cover; display: block; }
.game-pill-name {
  font-size: .65rem; font-weight: 600; padding: 5px 8px;
  color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--surface2);
}
.article-header { margin-bottom: 32px; }
.article-header h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; margin: 12px 0; letter-spacing: -0.5px; }
.article-meta { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

.share-buttons { display: flex; gap: 8px; margin-left: auto; }
.share-btn { font-size: 0.75rem; font-weight: 700; padding: 6px 14px; border-radius: 5px; transition: opacity .2s; }
.share-btn:hover { opacity: .8; }
.share-x { background: #000; color: #fff; border: 1px solid #333; }
.share-wa { background: #25d366; color: #fff; }
.share-end { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 32px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-end p { color: var(--text2); font-size: 0.875rem; margin-right: auto; }

.related-section { margin-top: 48px; }

/* ── KO-FI ARTICLE BOX ── */
.kofi-article-box {
  background: linear-gradient(135deg, rgba(255,94,91,.08), rgba(255,94,91,.03));
  border: 1px solid rgba(255,94,91,.25); border-radius: var(--radius-lg);
  padding: 20px 24px; margin: 32px 0;
}
.kofi-article-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kofi-article-icon { font-size: 2rem; flex-shrink: 0; }
.kofi-article-inner > div { flex: 1; min-width: 180px; }
.kofi-article-inner strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.kofi-article-inner p { color: var(--text2); font-size: 0.85rem; margin: 0; }
.related-section .section-label { margin-bottom: 16px; }

.article-content { font-size: 1.05rem; line-height: 1.9; color: #ccc; }
.article-content h2 { font-size: 1.45rem; font-weight: 700; margin: 40px 0 14px; color: var(--text); border-left: 3px solid var(--accent); padding-left: 14px; }
.article-content h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; background: var(--surface); border-radius: 0 8px 8px 0; margin: 28px 0; color: var(--text2); font-style: italic; }
.article-content a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: #fff; }
.article-content strong { color: var(--text); }
.article-content h2:last-of-type { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); border-left: none; padding-left: 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.ad-inline { margin: 32px 0; }

/* ── FOOTER ── */
footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 48px 24px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-logo { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; }
.footer-logo span { color: var(--accent); }
.footer-desc { color: var(--muted); font-size: 0.85rem; max-width: 220px; }
.footer-nav-group { display: flex; gap: 48px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 4px; }
.footer-nav-col a { color: var(--text2); font-size: 0.875rem; transition: color .2s; }
.footer-nav-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { color: var(--muted); font-size: 0.75rem; }

/* ── HERO TAG (used in articles) ── */
.hero-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; width: fit-content; }

/* ── BTN (article template) ── */
.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 10px 24px; border-radius: 6px; transition: all .2s; }
.btn:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-img-wrap {
    min-height: 220px; position: relative;
    aspect-ratio: 16/9;
  }
  .featured-img-wrap::after {
    /* En mobile la card es vertical: el degradado va hacia abajo */
    background: linear-gradient(to bottom, transparent 50%, rgba(13,13,17,.85) 100%);
  }
}
@media (max-width: 600px) {
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px; }
  nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-search { max-width: 150px; }
  .hero-title { font-size: 2rem; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stats { gap: 16px; }
  .article-hero-img { height: 220px; }
  .share-buttons { margin-left: 0; width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-nav-group { gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .featured-body { padding: 24px; }
}

/* ── INSTANT GAMING PARTNER ── */
.ig-widget {
  border: 1px solid rgba(255, 165, 0, .25);
  background: linear-gradient(135deg, rgba(255,140,0,.07), transparent);
  text-align: center;
}
.ig-widget .widget-title { color: #ff9800; }
.ig-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  background: rgba(255,152,0,.15); color: #ff9800;
  border: 1px solid rgba(255,152,0,.3); border-radius: 4px;
  padding: 2px 8px; margin-bottom: 10px;
}
.ig-logo { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.ig-logo span { color: #ff9800; }
.ig-tagline { font-size: 0.82rem; color: var(--text2); margin-bottom: 14px; line-height: 1.4; }
.ig-btn {
  display: block; width: 100%; padding: 10px;
  background: linear-gradient(135deg, #ff8c00, #ff6600);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  border-radius: 8px; transition: opacity .2s;
}
.ig-btn:hover { opacity: .85; }
.ig-note { font-size: 0.7rem; color: var(--muted); margin-top: 8px; }
.ig-inline-box {
  border: 1px solid rgba(255,152,0,.2);
  background: linear-gradient(135deg, rgba(255,140,0,.06), transparent);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 18px;
  margin: 32px 0;
}
.ig-inline-icon { font-size: 2rem; flex-shrink: 0; }
.ig-inline-box h4 { font-size: 0.95rem; margin-bottom: 4px; }
.ig-inline-box p { font-size: 0.82rem; color: var(--text2); }
.ig-inline-btn {
  flex-shrink: 0; padding: 9px 18px;
  background: linear-gradient(135deg, #ff8c00, #ff6600);
  color: #fff; font-weight: 700; font-size: 0.82rem;
  border-radius: 8px; transition: opacity .2s; white-space: nowrap;
}
.ig-inline-btn:hover { opacity: .85; }
@media (max-width: 600px) {
  .ig-inline-box { flex-direction: column; text-align: center; }
  .ig-inline-btn { width: 100%; text-align: center; }
}

/* ── WHERE TO BUY (article affiliate section) ── */
.where-to-buy {
  background: linear-gradient(135deg, rgba(230,57,70,.06), transparent);
  border: 1px solid rgba(230,57,70,.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0;
}
.where-to-buy h2 {
  font-size: 1.15rem !important;
  border-left: none !important;
  padding-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.where-to-buy p { margin-bottom: 14px !important; font-size: 0.9rem !important; }
.where-to-buy ul { list-style: none; margin-left: 0 !important; }
.where-to-buy li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.where-to-buy li:last-child { border-bottom: none; }
.where-to-buy li a { color: var(--accent2); text-decoration: none; transition: color .2s; }
.where-to-buy li a:hover { color: #fff; }
.where-to-buy li a strong { color: var(--text); margin-right: 4px; }
.where-to-buy em { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 14px; font-style: normal; }

/* ── ARTICLE GRID (article page with sidebar) ── */
.grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 64px;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .grid .sidebar { display: none; }
}

/* ── SKIP TO CONTENT (accessibility) ── */
.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: 0 0 6px 6px;
  font-size: 0.875rem; font-weight: 700;
  transition: top .2s; z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 0.78rem; color: var(--muted);
  padding: 12px 0; margin-bottom: 8px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text2); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border2); }

