/* ============================================================
   Clair Obscur: Expedition 33 — Game Guide Styles
   Dark Fantasy Theme
   ============================================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(124,58,237,0.4);

  --text-primary: #f0ede6;
  --text-secondary: #9d97b0;
  --text-muted: #5d5872;

  --accent-purple: #7c3aed;
  --accent-gold: #f0a855;
  --accent-rose: #db2777;
  --accent-blue: #3b82f6;

  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 50%, #0f0a1a 100%);
  --gradient-card: linear-gradient(135deg, #13131f, #1a1a2e);
  --gradient-accent: linear-gradient(135deg, #7c3aed, #db2777);

  --font-heading: 'Cinzel', serif;
  --font-body: 'Lato', sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: var(--transition);
}

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

.logo-icon {
  font-size: 1.5rem;
  color: var(--accent-purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(124,58,237,0.15);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-purple);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

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

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  text-align: center;
  padding: 120px 24px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(219,39,119,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(59,130,246,0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1.5); }
}

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

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.8s 0.4s forwards;
}

.title-line1 {
  display: block;
  background: linear-gradient(135deg, #f0ede6 30%, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-separator {
  display: block;
  font-size: 0.5em;
  color: var(--accent-gold);
  -webkit-text-fill-color: var(--accent-gold);
  margin: -0.2em 0;
}

.title-line2 {
  display: block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fade-up 0.8s 0.6s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  animation: fade-up 0.8s 0.8s forwards;
}

.hero-meta {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 1s forwards;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.meta-icon { font-size: 1.1rem; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: fade-in 1.5s 1.5s both;
}

.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 1.2rem;
  color: var(--accent-purple);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.6);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

/* ============================================================
   ADS
   ============================================================ */

.ad-container {
  text-align: center;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ad-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ad-banner .ad-placeholder {
  min-height: 90px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 728px;
  margin: 0 auto;
}

.ad-rectangle .ad-placeholder {
  min-height: 250px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 336px;
  margin: 0 auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   OVERVIEW CARDS
   ============================================================ */

.overview {
  background: var(--bg-secondary);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

.overview-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.overview-card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.overview-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.overview-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   GUIDES GRID
   ============================================================ */

.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.guide-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
  min-height: 180px;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.guide-card:hover .guide-card-bg {
  opacity: 0.25;
}

.guide-card--large {
  grid-column: 1 / -1;
  min-height: 260px;
}

.guide-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--clr), transparent 70%);
  opacity: 0.12;
  transition: var(--transition);
}

.guide-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  z-index: 0;
}

.guide-card-content {
  position: relative;
  z-index: 1;
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.guide-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient-accent);
  color: #fff;
  margin-bottom: 16px;
  width: fit-content;
}

.guide-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.guide-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.guide-card--large .guide-card-content h3 {
  font-size: 2rem;
}

.guide-card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.guide-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.guide-card:hover .guide-link {
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

/* ============================================================
   CHARACTERS PREVIEW
   ============================================================ */

.characters-preview {
  background: var(--bg-secondary);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.character-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.character-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.character-portrait {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.char-initial {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  user-select: none;
  position: relative;
  z-index: 1;
}

.char-gustave { background: linear-gradient(135deg, #1e1040, #3b1f80); }
.char-maelle  { background: linear-gradient(135deg, #1a0533, #7c0a52); }
.char-lune    { background: linear-gradient(135deg, #0a1a2e, #0f4c75); }
.char-verso   { background: linear-gradient(135deg, #0a0a0a, #2d2d2d); }

.character-info {
  padding: 24px;
}

.character-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.char-role {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.character-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.char-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-purple);
  transition: var(--transition);
}

.char-link:hover {
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

/* ============================================================
   TIPS SECTION
   ============================================================ */

.tips-preview {
  background: var(--bg-primary);
}

.tips-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tips-text .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.tips-text > p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.tips-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tip-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-purple);
  opacity: 0.5;
  flex-shrink: 0;
  line-height: 1;
  min-width: 32px;
}

.tips-list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.tips-list li p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tips-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-artwork {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.35) 0%, rgba(219,39,119,0.15) 50%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.tips-artwork::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.3);
  animation: rotate-border 20s linear infinite;
}

.tips-artwork::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(219,39,119,0.2);
  animation: rotate-border 30s linear infinite reverse;
}

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

.artwork-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.artwork-symbol {
  font-size: 5rem;
  color: var(--accent-purple);
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(124,58,237,0.6);
}

.artwork-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.artwork-sub {
  font-size: 0.85rem;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   UPDATES / BLOG
   ============================================================ */

.updates {
  background: var(--bg-secondary);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.update-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.update-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.update-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 10px;
}

.update-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.update-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.update-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  transition: var(--transition);
}

.update-link:hover {
  color: var(--text-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #070710;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */

.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-content .section-label {
  margin-bottom: 12px;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ============================================================
   CONTENT LAYOUTS (used in sub-pages)
   ============================================================ */

.content-layout {
  padding: 80px 0;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.sidebar-nav a:hover {
  background: rgba(124,58,237,0.15);
  color: var(--text-primary);
  padding-left: 16px;
}

/* Article Content */
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--text-primary);
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--accent-gold);
}

.article-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  color: var(--text-secondary);
  margin: 16px 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { line-height: 1.7; }

.tip-box {
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-left: 4px solid var(--accent-purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.tip-box-title {
  font-weight: 700;
  color: var(--accent-purple);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tip-box p {
  color: var(--text-secondary);
  margin: 0;
}

.warning-box {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.3);
  border-left: 4px solid #dc2626;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.warning-box .tip-box-title { color: #dc2626; }

/* Boss Cards */
.boss-grid {
  display: grid;
  gap: 24px;
}

.boss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.boss-card:hover {
  border-color: rgba(220,38,38,0.4);
  box-shadow: 0 0 30px rgba(220,38,38,0.1);
}

.boss-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(124,58,237,0.1));
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.boss-icon { font-size: 2.5rem; }

.boss-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.boss-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.boss-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.boss-tag.difficulty-hard { background: rgba(220,38,38,0.2); color: #ef4444; border: 1px solid rgba(220,38,38,0.3); }
.boss-tag.difficulty-medium { background: rgba(245,158,11,0.2); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.boss-tag.difficulty-easy { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.boss-tag.location { background: rgba(124,58,237,0.2); color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }

.boss-body { padding: 24px 28px; }

.boss-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.boss-phase {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.boss-phase h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.boss-phase p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Character Build Sections */
.char-build-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.char-build-header {
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(219,39,119,0.08));
  border-bottom: 1px solid var(--border);
}

.char-build-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  flex-shrink: 0;
}

.char-build-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  border-top: none !important;
}

.char-build-header .char-role {
  font-size: 0.9rem;
}

.char-build-body { padding: 32px; }

.stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  width: 100px;
  flex-shrink: 0;
}

.stat-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-accent);
  transition: width 1s ease;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  width: 40px;
  text-align: right;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .tips-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tips-visual { display: none; }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    order: -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-card--large { grid-column: 1; }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

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

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

@media (max-width: 480px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; max-width: 280px; }
}
