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

:root {
  --gold:       #c8a96e;
  --gold-lt:    #e8d5a3;
  --purple:     #A855F7;
  --purple-lt:  #c084fc;
  --dark:       #0a0a0f;
  --dark2:      #151520;
  --dark3:      #181820;
  --dark4:      #1e1e28;
  --border:     #2a2a38;
  --text:       #ccc;
  --text-lt:    #eee;
  --text-muted: #888;
  --blue:       #4a90d9;
  --green:      #52b788;
  --red:        #e63946;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

/* =====================
   NAV
   ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 6px;
  aspect-ratio: 1;
}

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

.nav-links a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple-lt); }

.btn-apply {
  background: var(--gold);
  color: #000 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s !important;
}
.btn-apply:hover { background: var(--gold-lt) !important; }

.btn-discord {
  background: #5865F2 !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s !important;
}
.btn-discord:hover { background: #4752c4 !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  list-style: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}

@media (max-width: 720px) {
  .mobile-menu.open { display: flex; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* =====================
   HERO
   ===================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(168,85,247,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(200,169,110,0.05) 0%, transparent 55%),
    var(--dark);
  overflow: hidden;
}


.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-realm {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--gold-lt);
  text-shadow: 0 0 18px rgba(200,169,110,0.2), 0 2px 8px rgba(0,0,0,0.8);
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1rem;
  color: #aaa;
  font-style: italic;
  margin-bottom: 2rem;
}


.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--gold-lt);
  border: 1px solid var(--gold);
}
.btn-secondary:hover { background: rgba(200,169,110,0.1); transform: translateY(-2px); }

.btn-full { width: 100%; text-align: center; }

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
}

.countdown-banner {
  margin-top: 2rem;
  text-align: center;
}

.countdown-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #A855F7;
  margin-bottom: 0.6rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.2rem;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
}

.cd-num {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple-lt);
  line-height: 1;
}

.cd-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-top: 0.15rem;
}

.cd-sep {
  font-size: 1.4rem;
  color: #555;
  font-weight: 700;
  padding-bottom: 0.8rem;
}


/* =====================
   SECTIONS
   ===================== */
section { padding: 6rem 1.5rem; }

/* Full page sections (roster, apply) with nav offset */
.page-section { padding-top: 8rem; min-height: calc(100vh - 200px); }

/* Active nav link */
.nav-active { color: var(--gold-lt) !important; border-bottom: 2px solid var(--purple) !important; padding-bottom: 3px; }

#raids, #news { background: var(--dark); }

.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-lt);
  text-align: center;
  margin-bottom: 0.75rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--purple);
  margin: 0.75rem auto 0;
}

.section-sub {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* =====================
   ABOUT
   ===================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

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


.about-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-lt);
  margin-bottom: 0.75rem;
}

/* =====================
   RAIDS
   ===================== */
.raid-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}

.raid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  table-layout: fixed;
}


.raid-table th {
  background: var(--dark4);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  padding: 0.85rem 1.2rem;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.raid-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-align: center;
}

.raid-table tr:hover td { background: rgba(200,169,110,0.05); }

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tag-prog   { background: rgba(163,90,200,0.2);  color: #c984e8;       border: 1px solid rgba(163,90,200,0.4); }
.tag-farm   { background: rgba(82,183,136,0.2);  color: var(--green);  border: 1px solid rgba(82,183,136,0.4); }
.tag-return { background: rgba(74,144,217,0.15); color: #7db8e8;       border: 1px solid rgba(74,144,217,0.3); }

/* =====================
   ROSTER
   ===================== */
.filter-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #555;
}

.filter-select {
  background: var(--dark4);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 2.2rem 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  transition: border-color 0.2s;
  min-width: 140px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(168,85,247,0.12);
}

.filter-select option { background: var(--dark3); }


.roster-counter {
  font-size: 0.85rem;
  color: #666;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.roster-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: inherit;
  cursor: pointer;
}

.roster-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.roster-avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.roster-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.roster-avatar-icon {
  font-size: 1.4rem;
}

.roster-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.roster-class { font-size: 0.8rem; color: #888; }

.roster-stat-line {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #888;
}


.roster-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.role-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: block;
}

.role-tank    { background: rgba(74,144,217,0.2); color: var(--blue); border: 1px solid rgba(74,144,217,0.4); }
.role-healer  { background: rgba(82,183,136,0.2); color: var(--green); border: 1px solid rgba(82,183,136,0.4); }
.role-dps     { background: rgba(230,57,70,0.2); color: #e67e85; border: 1px solid rgba(230,57,70,0.4); }
.role-officer { background: rgba(200,169,110,0.15); color: var(--gold); border: 1px solid rgba(200,169,110,0.4); }

.roster-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.roster-rank {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 0.5rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  color: #888;
  border: 1px solid var(--border);
  white-space: nowrap;
}


.role-icon-plus {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  color: var(--green);
}

/* =====================
   NEWS
   ===================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.news-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.3s;
}

.news-card:hover { border-color: var(--gold); }

.news-date {
  font-size: 0.78rem;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-lt);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.news-card p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.news-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: rgba(200,169,110,0.1);
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 20px;
  font-size: 0.75rem;
}

/* =====================
   APPLY
   ===================== */
.apply-form {
  max-width: 680px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--gold-lt);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-lt);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(168,85,247,0.12);
}

.form-group select option { background: var(--dark3); }

.apply-success {
  display: none;
  max-width: 480px;
  margin: 2rem auto;
  text-align: center;
  padding: 2.5rem;
  background: var(--dark3);
  border: 1px solid var(--green);
  border-radius: 8px;
}

.apply-success.show { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.apply-success h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-lt);
  margin-bottom: 0.5rem;
}

.apply-success p { color: #aaa; font-size: 0.9rem; }

/* =====================
   FOOTER
   ===================== */
footer {
  background: #050508;
  border-top: 1px solid rgba(168,85,247,0.2);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.footer-logo-img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  border-radius: 8px;
  aspect-ratio: 1;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 30px rgba(200,169,110,0.4));
}

.footer-sub {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-copy { color: #444; font-size: 0.8rem; }

/* =====================
   MOBILE HERO
   ===================== */
@media (max-width: 600px) {
  .hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 0.75rem;
  }
  .hero-title {
    font-size: 9vw;
  }
  .hero-realm {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
  }
  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-raid-badge {
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
  }
  .hero-raid-time {
    font-size: 0.9rem;
  }
  .hero-content {
    padding: 1rem 1.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
  .hero-stats {
    gap: 1.75rem;
  }
  .stat-num {
    font-size: 1.75rem;
  }
  .countdown-banner {
    margin-top: 1.5rem;
  }
  .countdown-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  .cd-unit {
    min-width: 2.5rem;
    padding: 0.3rem 0.4rem;
  }
  .cd-num {
    font-size: 1.2rem;
  }
  .cd-sep {
    font-size: 1rem;
    padding-bottom: 0.6rem;
  }
}

.news-empty {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  padding: 3rem 0;
}

/* =====================
   GUIDE HUB PAGES
   ===================== */
.guide-hub-section {
  padding-top: 8rem;
  min-height: calc(100vh - 200px);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.guide-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}

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

.guide-card-art {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.guide-card-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.guide-card-art-text { position: relative; z-index: 1; }
.guide-card-art-label { z-index: 1; }

.guide-card-art-text {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-align: center;
  line-height: 1.9;
  padding: 0 1rem;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.guide-card-art-label {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e9d5ff;
  font-family: 'Cinzel', serif;
  background: rgba(168,85,247,0.3);
  border: 1px solid rgba(168,85,247,0.45);
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
}

.guide-card-info {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.guide-card-info h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-lt);
  font-size: 1.05rem;
  margin: 0;
}

.guide-card-info p {
  font-size: 0.83rem;
  color: #888;
  margin: 0;
}

.guide-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* Raid / dungeon art */
.art-voidspire, .art-dreamrift, .art-queldanas,
.art-maisara, .art-windrunner, .art-nexus, .art-murderrow,
.art-magisters, .art-saron, .art-triumvirate, .art-skyreach {
  background-size: cover;
  background-position: center;
}
.art-maisara     { background-image: url('https://wow.zamimg.com/uploads/guide/header/0dd06ff24a767e0569f6b1020b5280ce66e38a87.jpg'); }
.art-windrunner  { background-image: url('https://wow.zamimg.com/uploads/guide/header/163c07f3e57f4a3f9f8c57fc410727b94c6b2529.jpg'); }
.art-nexus       { background-image: url('https://wow.zamimg.com/uploads/guide/header/87479048e126683e5dca4e3718fb0491e166b14c.jpg'); }
.art-murderrow   { background-image: url('https://wow.zamimg.com/uploads/guide/header/ca08a478dcdef236f2430780f555774df16920f0.jpg'); }
.art-magisters   { background-image: url('https://wow.zamimg.com/uploads/guide/header/329e6f9e663421d4c332a2472af7b1761d8e2d53.jpg'); }
.art-saron       { background-image: url('https://wow.zamimg.com/uploads/guide/header/846efd643647053e4a6f497d98721562be05319e.jpg'); }
.art-triumvirate { background-image: url('https://wow.zamimg.com/uploads/guide/header/8db06b24e9e63a7c13ab218e36a2a7ba25c3fbf3.jpg'); }
.art-skyreach    { background-image: url('https://wow.zamimg.com/uploads/guide/header/9fa0dd03a6fd762ead3b4f5af10720d918c9680a.jpg'); }
.art-voidspire   { background-image: url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/5WQPT37K53GU1771476923778.png'); }
.art-dreamrift   { background-image: url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/RW7VFH2WUIJM1771476923759.png'); }
.art-queldanas   { background-image: url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/SQPVX902BR4Q1771476923786.png'); }

/* =====================
   GUIDE DETAIL PAGES
   ===================== */
.guide-detail-section {
  padding-top: 5.5rem;
  padding-bottom: 4rem;
  min-height: calc(100vh - 200px);
}

.guide-detail-header {
  margin-bottom: 2.5rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 4px;
  transition: all 0.2s;
  background: rgba(200,169,110,0.06);
  width: fit-content;
}

.back-btn:hover {
  background: rgba(200,169,110,0.15);
  border-color: var(--gold);
}

.guide-detail-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-lt);
  margin-bottom: 0.4rem;
}

.guide-detail-header p {
  color: #888;
  font-size: 0.93rem;
}

/* Boss section card */
.boss-section {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.boss-header {
  padding: 1.75rem 2rem;
  position: relative;
}

.boss-number {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
  font-family: 'Cinzel', serif;
}

.boss-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 0.35rem;
}

.boss-tagline {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.boss-body {
  padding: 1.5rem 2rem 2rem;
}

.boss-portrait {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.12);
  object-fit: cover;
  opacity: 0.9;
}

@media (max-width: 560px) {
  .boss-portrait { display: none; }
}

/* Role cards */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.role-card {
  background: var(--dark4);
  border-radius: 8px;
  padding: 1.1rem 1.2rem 1.25rem;
  border-top: 3px solid transparent;
}

.role-card.tank   { border-top-color: var(--blue); }
.role-card.healer { border-top-color: var(--green); }
.role-card.dps    { border-top-color: var(--red); }

.role-card-title {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.role-card.tank   .role-card-title { color: var(--blue); }
.role-card.healer .role-card-title { color: var(--green); }
.role-card.dps    .role-card-title { color: #e67e85; }

.role-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.role-card ul li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}

.role-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.role-card.tank   ul li::before { color: rgba(74,144,217,0.8); }
.role-card.healer ul li::before { color: rgba(82,183,136,0.8); }
.role-card.dps    ul li::before { color: rgba(230,57,70,0.8); }

/* Boss header gradients */
.bh-void    { background: linear-gradient(135deg, #1a0a30, #0d0520); }
.bh-void2   { background: linear-gradient(135deg, #140828, #090318); }
.bh-void3   { background: linear-gradient(135deg, #200a38, #100420); }
.bh-dream   { background: linear-gradient(135deg, #051a2e, #041020); }
.bh-phoenix { background: linear-gradient(135deg, #2e1200, #1a0800); }
.bh-final   { background: linear-gradient(135deg, #180020, #0c0010); }
.bh-troll   { background: linear-gradient(135deg, #071a07, #040e04); }
.bh-elven   { background: linear-gradient(135deg, #10102a, #08081a); }
.bh-ethereal{ background: linear-gradient(135deg, #140020, #0a0012); }
.bh-blood   { background: linear-gradient(135deg, #200808, #120404); }
.bh-bloodelf{ background: linear-gradient(135deg, #2a0a18, #180610); }
.bh-ice     { background: linear-gradient(135deg, #081420, #040c14); }
.bh-naaru   { background: linear-gradient(135deg, #181400, #0e0c00); }
.bh-arakkoa { background: linear-gradient(135deg, #081800, #040e00); }

/* =====================
   GUIDE TABS
   ===================== */
.guide-tab-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}

.guide-tab-btn {
  display: inline-block;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.guide-tab-btn:hover { color: var(--purple-lt); }

.guide-tab-btn.active { color: var(--gold-lt); border-bottom: 2px solid var(--purple); padding-bottom: 2px; }

.guide-tab-sep {
  color: #444;
  font-size: 0.85rem;
  user-select: none;
}

/* Guide section divider for multiple raids on hub */
.guide-section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guide-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* =====================
   DIFFICULTY TOGGLE
   ===================== */
.diff-toggle {
  display: inline-flex;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.diff-tab {
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  color: #555;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s, background 0.2s;
}

.diff-tab:last-child { border-right: none; }
.diff-tab:hover { color: var(--text); }

.diff-tab.active[data-diff="normal"] { color: var(--blue);  background: rgba(74,144,217,0.12); }
.diff-tab.active[data-diff="heroic"] { color: var(--gold);  background: rgba(200,169,110,0.12); }
.diff-tab.active[data-diff="mythic"] { color: #a855f7;      background: rgba(168,85,247,0.12); }

.diff-panel { display: none; }
.diff-panel.active { display: block; }

@media (max-width: 720px) {
  .guide-card-art { height: 100px; }
  .boss-header { padding: 1.25rem 1.25rem; }
  .boss-body { padding: 1.1rem 1.25rem 1.5rem; }
  .role-grid { grid-template-columns: 1fr; }
  .diff-tab { padding: 0.55rem 0.9rem; font-size: 0.72rem; }
}

/* =====================
   TRASH PULL SECTION
   ===================== */
.trash-section {
  background: var(--dark3);
  border: 1px solid rgba(200,169,110,0.2);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.trash-section h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem 0;
}
.trash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.trash-card {
  background: var(--dark4);
  border-radius: 6px;
  padding: 0.9rem 1rem;
}
.trash-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
}
.trash-card-title.priority { color: #f87171; }
.trash-card-title.kick     { color: var(--gold); }
.trash-card-title.cc       { color: #7dd3fc; }
.trash-card-title.util     { color: #86efac; }
.trash-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.8rem;
  line-height: 1.75;
  color: #bbb;
}
.trash-card ul li { margin-bottom: 0.15rem; }
@media (max-width: 700px) {
  .trash-section { padding: 1.1rem 1.1rem; }
  .trash-grid { grid-template-columns: 1fr; }
}
