/* ========================
   PAGE HERO
======================== */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  padding: calc(var(--nav-height) + 80px) 24px 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.page-hero-content h1 em {
  color: var(--gold);
  font-style: italic;
}

.page-hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--bronze-light);
  letter-spacing: 0.04em;
  max-width: 580px;
}

.page-hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
}

/* ========================
   LOADING
======================== */
.blog-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 80px 0;
  text-align: center;
}

.loading-seal {
  width: 60px;
  height: 60px;
  animation: sealSpin 3s linear infinite;
  opacity: 0.5;
}

.loading-seal svg { width: 100%; height: 100%; }

@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.blog-loading p,
.blog-error p,
.blog-empty p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bronze);
  font-size: 1.1rem;
}

.blog-error,
.blog-empty {
  text-align: center;
  padding: 80px 0;
}

/* ========================
   FEATURED POST
======================== */
.blog-featured {
  padding: var(--section-padding) 0 0;
}

.featured-post-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border: 1px solid rgba(212,175,55,0.15);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.featured-post-card:hover {
  border-color: rgba(212,175,55,0.3);
}

.featured-post-visual {
  background: linear-gradient(135deg, #08080e, #12081a);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.featured-post-seal {
  width: 200px;
  height: 200px;
  opacity: 0.25;
  animation: sealSpin 40s linear infinite;
}

.featured-post-seal svg { width: 100%; height: 100%; }

.featured-post-category-display {
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.featured-post-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(212,175,55,0.02);
}

.featured-badge {
  font-family: var(--font-caps);
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 4px 12px;
  display: inline-block;
  width: fit-content;
}

.featured-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.2;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.post-category {
  font-family: var(--font-caps);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.post-date {
  font-family: var(--font-caps);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  text-transform: uppercase;
}

.featured-post-excerpt {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-light);
  flex: 1;
}

.featured-post-read {
  font-family: var(--font-caps);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  transition: gap 0.2s ease;
}

.featured-post-read:hover { gap: 14px; }

/* ========================
   FILTER BAR
======================== */
.filter-bar {
  padding: 32px 0;
  border-bottom: 1px solid rgba(212,175,55,0.08);
  margin-bottom: 48px;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-caps);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(212,175,55,0.15);
  color: var(--gray-light);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.filter-btn:hover {
  border-color: rgba(212,175,55,0.35);
  color: var(--cream);
}

.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}

/* ========================
   BLOG SECTION + GRID
======================== */
.blog-section {
  padding: 60px 0 var(--section-padding);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========================
   BLOG CARD
======================== */
.blog-card {
  border: 1px solid rgba(212,175,55,0.1);
  background: rgba(212,175,55,0.02);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.blog-card:hover {
  border-color: rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.04);
  transform: translateY(-2px);
}

.blog-card-visual {
  height: 120px;
  background: linear-gradient(135deg, #08080e, #12081a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-seal {
  width: 80px;
  height: 80px;
  opacity: 0.2;
  animation: sealSpin 30s linear infinite;
}

.blog-card-seal svg { width: 100%; height: 100%; }

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray-light);
  flex: 1;
}

.blog-card-read {
  font-family: var(--font-caps);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: gap 0.2s ease;
}

.blog-card-read:hover { gap: 10px; }

/* ========================
   SINGLE POST
======================== */
.post-hero {
  padding: calc(var(--nav-height) + 60px) 0 var(--section-padding);
}

.post-back {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--bronze);
  transition: color 0.2s ease;
}

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

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 20px;
}

.post-excerpt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--bronze-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.post-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
  margin: 32px 0;
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-light);
}

.post-body h2 {
  font-size: 1.8rem;
  margin-top: 16px;
  color: var(--cream);
}

.post-body h3 {
  font-size: 1.4rem;
  margin-top: 12px;
  color: var(--cream);
}

.post-body blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bronze-light);
}

.post-body strong { color: var(--cream); font-weight: 600; }

.post-footer-nav {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(212,175,55,0.1);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================
   FOOTER
======================== */
.footer {
  padding: 80px 0 40px;
  background: var(--black-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo-name { display: block; font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--cream); }
.footer-logo-sub { display: block; margin-top: 2px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--bronze); }
.footer-center .label { display: block; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--font-caps); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--gray-light); text-transform: uppercase; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--gold); }
.footer-right .label { display: block; margin-bottom: 20px; }
.footer-game-link { display: flex; flex-direction: column; gap: 6px; }
.footer-game-name { font-family: var(--font-display); font-size: 1.8rem; font-style: italic; color: var(--cream); transition: color var(--transition-fast); }
.footer-game-link:hover .footer-game-name { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-mid); }
.footer-verse { font-family: var(--font-display); color: var(--bronze) !important; font-size: 0.9rem !important; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .featured-post-card { grid-template-columns: 1fr; }
  .featured-post-visual { min-height: 180px; }
  .featured-post-content { padding: 32px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}