/* ============================================================
   RIOT SHIELD GAMES — main.css
   All shared styles, CSS variables, components
   ============================================================ */

/* ── GOOGLE FONTS IMPORT ── */
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Barlow+Condensed:wght@300;400;600;700&family=Share+Tech+Mono&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Brand Colors */
  --em:        #1db954;
  --em-d:      #157a38;
  --em-l:      #4edd82;

  /* Chrome / Steel */
  --ch1:       #ffffff;
  --ch2:       #d8e2e8;
  --ch3:       #9eb5c2;
  --ch4:       #5c7a8a;
  --ch5:       #2c4a5a;

  /* Surfaces */
  --pg:        #f4f7f9;
  --sur:       #ffffff;
  --sur2:      #eaf0f4;
  --sur3:      #dde6ec;

  /* Text */
  --tm:        #0d1f2d;
  --tmid:      #3a5568;
  --tsoft:     #6a8599;
  --bdr:       rgba(0,0,0,0.09);

  /* Accent Colors per Game */
  --kanji-accent:   #1db954;
  --chinese-accent: #e05252;
  --stitch-accent:  #4a82c8;
  --spyke-accent:   #1db954;

  /* Typography */
  --fd: 'Black Ops One', sans-serif;
  --fb: 'Barlow Condensed', sans-serif;
  --fm: 'Share Tech Mono', monospace;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 68px;
}

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

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

body {
  font-family: var(--fb);
  background: var(--pg);
  color: var(--tm);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--em-d);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--em); }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.site-wrap {
  padding-top: var(--nav-h);
}

/* ── METALLIC TEXT EFFECTS ── */
.metal-title {
  font-family: var(--fd);
  text-transform: uppercase;
  background: linear-gradient(160deg,
    #1c2e3a 0%, #3a5a6e 18%, #0d1f2d 32%,
    #4a6e82 46%, #1a3040 58%, #5c8095 72%,
    #0d1f2d 84%, #3a5568 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.metal-green {
  background: linear-gradient(160deg,
    #a8ffcc 0%, #2ecc71 20%, #1a9e55 35%,
    #6effa8 50%, #1db954 65%, #4edd82 80%,
    #157a38 90%, #52e890 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 3px rgba(29,185,84,0.3));
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  border-bottom: 2px solid var(--em);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(29,185,84,0.2));
  transition: filter 0.25s;
}

.nav-logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(29,185,84,0.4));
}

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

.nav-menu a {
  font-family: var(--fd);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ch4);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--em);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--em-d);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
  transform: scaleX(1);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tm);
  transition: all 0.25s;
}

/* ── SECTION HEADERS ── */
.sec-hd {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-family: var(--fm);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--em-d);
  margin-bottom: 0.5rem;
}

.section-rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--em), transparent);
  margin: 0.75rem auto 0;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--fd);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.85em 2.2em;
  background: linear-gradient(135deg, var(--em-d) 0%, var(--em) 50%, var(--em-d) 100%);
  color: #fff;
  border: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(29,185,84,0.28);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,185,84,0.38);
  color: #fff;
}

.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  font-family: var(--fd);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.85em 2.2em;
  background: transparent;
  color: var(--ch5);
  border: 2px solid var(--ch3);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--sur2);
  border-color: var(--ch4);
  color: var(--ch5);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── TAG PILLS ── */
.tag-pill {
  display: inline-block;
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  background: var(--sur2);
  border: 1px solid var(--bdr);
  color: var(--tsoft);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.tag-pill.green {
  background: #e8f9ef;
  border-color: var(--em);
  color: var(--em-d);
}

/* ── CARDS ── */
.card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-top: 3px solid var(--em);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1), 0 4px 12px rgba(29,185,84,0.1);
}

/* ── MISSION STRIP ── */
.mission-strip {
  background: linear-gradient(135deg, #1a3a28 0%, #1f4730 50%, #163221 100%);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.mission-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}

.mission-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.mission-quote {
  font-family: var(--fd);
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  letter-spacing: 0.03em;
  line-height: 1.45;
  background: linear-gradient(160deg,
    #ffffff 0%, #c8dde8 18%, #8aaabb 30%,
    #f0f6fa 44%, #b0c8d4 56%,
    #d8ecf4 70%, #7a9aaa 82%, #e8f2f8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.mission-sub {
  margin-top: 1rem;
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--sur);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 3rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-family: var(--fd);
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tsoft);
}

/* ── GAME CARDS ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.game-card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-top: 3px solid var(--em);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: transform 0.25s, box-shadow 0.25s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1), 0 4px 12px rgba(29,185,84,0.1);
}

.game-card-media {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.game-card:hover .game-card-media img {
  transform: scale(1.04);
}

.game-card-media-placeholder {
  font-family: var(--fd);
  font-size: 5rem;
  opacity: 0.15;
  color: var(--tm);
  user-select: none;
}

.game-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.game-card-tag {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--em-d);
  margin-bottom: 0.4rem;
}

.game-card-title {
  font-family: var(--fd);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.game-card-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--tmid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.game-card-spyke {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.game-card-spyke .game-card-media {
  height: auto;
  min-height: 260px;
}

/* ── REVIEW CARDS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.review-card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-left: 4px solid var(--em);
  padding: 1.75rem;
  transition: box-shadow 0.25s;
}

.review-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.review-open-quote {
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--em);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.review-text {
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--tmid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1rem;
}

.review-source {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--em-d);
}

.review-game-tag {
  font-family: var(--fm);
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tsoft);
  margin-bottom: 0.2rem;
}

/* ── NEWS CARDS ── */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.news-card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-top: 3px solid var(--ch3);
  padding: 1.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, border-top-color 0.25s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.news-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  border-top-color: var(--em);
}

.news-card-featured {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.news-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 50%, #81c784 100%);
  margin: -1.75rem -1.75rem 1.5rem;
  overflow: hidden;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.04);
}

.news-date {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tsoft);
  margin-bottom: 0.4rem;
}

.news-tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  background: var(--sur2);
  border: 1px solid var(--bdr);
  color: var(--tsoft);
  margin-bottom: 0.75rem;
}

.news-title {
  font-family: var(--fd);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.news-card-featured .news-title {
  font-size: 1.45rem;
}

.news-excerpt {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--tmid);
  line-height: 1.65;
}

.news-read-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--em-d);
  text-decoration: none;
  border-bottom: 1px solid rgba(29,185,84,0.35);
  transition: border-color 0.2s;
}

.news-read-more:hover {
  color: var(--em);
  border-color: var(--em);
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── FEATURE GRID ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feat-card {
  background: var(--sur);
  border: 1px solid var(--bdr);
  border-top: 3px solid var(--em);
  padding: 1.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feat-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.feat-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feat-title {
  font-family: var(--fd);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 0.5rem;
}

.feat-desc {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--tmid);
  line-height: 1.65;
}

/* ── CTA DARK STRIP ── */
.cta-strip {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a3a28 0%, #1f4730 50%, #163221 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}

.cta-title {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  background: linear-gradient(160deg,
    #ffffff 0%, #c8dde8 30%, #8aaabb 50%, #e8f2f8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-strip .btn-group {
  justify-content: center;
  position: relative;
}

.cta-strip .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
}

.cta-strip .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ── FOOTER ── */
.site-footer {
  background: linear-gradient(135deg, #1a3a28 0%, #1f4730 50%, #163221 100%);
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}

.footer-logo img {
  height: 65px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(29,185,84,0.3));
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: var(--fm);
  font-size: 0.62rem;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--em);
  color: var(--em);
  background: rgba(29,185,84,0.1);
}

.footer-col-title {
  font-family: var(--fd);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(160deg,
    #ffffff 0%, #c8dde8 40%, #8aaabb 70%, #e8f2f8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--em-l);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.footer-copy,
.footer-itc {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-itc a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-itc a:hover { color: var(--em-l); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.5s; }
.anim-delay-4 { animation-delay: 0.7s; }
.anim-delay-5 { animation-delay: 0.9s; }

/* ── BLOG / SINGLE POST ── */
.post-hero {
  background: linear-gradient(135deg, #e8f5ee 0%, #f0faf4 100%);
  padding: 4rem 2rem 3rem;
  border-bottom: 3px solid var(--em);
}

.post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.post-content h2, .post-content h3 {
  font-family: var(--fd);
  text-transform: uppercase;
  color: var(--tm);
  margin: 2rem 0 0.75rem;
}

.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.2rem; }

.post-content p {
  font-size: 0.95rem;
  color: var(--tmid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--tmid);
  font-size: 0.95rem;
  line-height: 1.8;
}

.post-content img,
.post-content figure img,
.post-content .wp-block-image img {
  width: 75% !important;
  max-width: 75% !important;
  height: auto !important;
  display: block;
  margin: 2rem auto;
  border: 1px solid var(--bdr);
}

.post-content figure,
.post-content .wp-block-image {
  width: auto !important;
  max-width: 100% !important;
  margin: 2rem auto;
  text-align: center;
}

.post-content blockquote {
  border-left: 4px solid var(--em);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--sur2);
  font-style: italic;
  color: var(--tmid);
}

/* ── NEWS ARCHIVE ── */
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── PAGE HERO (generic) ── */
.page-hero {
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--em);
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,185,84,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,185,84,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── GAME PAGE HERO ── */
.game-hero {
  padding: 4rem 2rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--em);
}

.game-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.game-hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.92;
  margin-bottom: 0.5rem;
}

.game-hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--tmid);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.game-hero-btns {
  padding-bottom: 3rem;
}

/* ── SPYKE SPECIFIC ── */
.spyke-flagship {
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  background: #e8f9ef;
  border: 1px solid var(--em);
  color: var(--em-d);
  display: inline-block;
  margin-bottom: 0.75rem;
  animation: flagPulse 2.5s ease-in-out infinite;
}

@keyframes flagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,185,84,0); }
  50%       { box-shadow: 0 0 10px 3px rgba(29,185,84,0.2); }
}

.crystal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.crystal {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.crystal:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(29,185,84,0.2);
}

.crystal.fire  { background: linear-gradient(135deg, #ffe0b2, #ffcc80); }
.crystal.water { background: linear-gradient(135deg, #bbdefb, #90caf9); }
.crystal.wind  { background: linear-gradient(135deg, #c8e6c9, #a5d6a7); }
.crystal.thunder{ background: linear-gradient(135deg, #fff9c4, #fff176); }
.crystal.dark  { background: linear-gradient(135deg, #e1bee7, #ce93d8); }
.crystal.light { background: linear-gradient(135deg, #fff3e0, #ffe082); }
.crystal.poison{ background: linear-gradient(135deg, #dcedc8, #c5e1a5); }
.crystal.soul  { background: linear-gradient(135deg, #fce4ec, #f48fb1); }

/* ── EDU STRIP ── */
.edu-strip {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a3a28 0%, #1f4730 50%, #163221 100%);
  position: relative;
  overflow: hidden;
}

.edu-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}

.edu-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.edu-title {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-transform: uppercase;
  background: linear-gradient(160deg,
    #fff 0%, #c8dde8 30%, #8aaabb 50%, #e8f2f8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.edu-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.edu-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.edu-pill {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  background: rgba(29,185,84,0.15);
  border: 1px solid rgba(29,185,84,0.4);
  color: var(--em-l);
}

.edu-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.edu-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--em);
  padding: 1rem 1.25rem;
}

.edu-item-title {
  font-family: var(--fd);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #a8ffcc 0%, #2ecc71 30%, #6effa8 60%, #4edd82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.edu-item-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── WORLD STATS ── */
.world-stats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.world-stat {
  background: var(--pg);
  border: 1px solid var(--bdr);
  border-left: 4px solid var(--em);
  padding: 0.9rem 1.25rem;
}

.world-stat-label {
  font-family: var(--fm);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tsoft);
  margin-bottom: 0.2rem;
}

.world-stat-val {
  font-family: var(--fd);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tm);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .games-grid          { grid-template-columns: 1fr; }
  .game-card-spyke     { grid-template-columns: 1fr; }
  .reviews-grid        { grid-template-columns: 1fr 1fr; }
  .news-grid           { grid-template-columns: 1fr; }
  .feat-grid           { grid-template-columns: 1fr 1fr; }
  .footer-inner        { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .edu-inner           { grid-template-columns: 1fr; }
  .game-hero-inner     { grid-template-columns: 1fr; }
  .news-archive-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .reviews-grid        { grid-template-columns: 1fr; }
  .feat-grid           { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .nav-menu            { display: none; }
  .nav-toggle          { display: flex; }
  .nav-menu.open       { display: flex; flex-direction: column; position: absolute;
                         top: var(--nav-h); left: 0; right: 0; background: white;
                         border-bottom: 2px solid var(--em); padding: 1.5rem 2rem;
                         box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 1rem; }
  .news-archive-grid   { grid-template-columns: 1fr; }
  .crystal-grid        { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .crystal             { width: 52px; height: 52px; font-size: 1.2rem; }
}
