/* ==========================================================================
   Metin2 Singleplayer - Official Website Stylesheet
   Aesthetic: Dark Oriental Fantasy, Epic Gold Accents, Ornate Borders
   ========================================================================== */

:root {
  --bg-deep: #070503;
  --bg-dark: #0d0a06;
  --bg-card: rgba(22, 17, 10, 0.85);
  --bg-card-hover: rgba(32, 24, 14, 0.95);
  --border-gold: #c69b3f;
  --border-dark: #3a2e1b;
  --border-glow: rgba(233, 182, 75, 0.35);
  
  --gold-light: #fbe39d;
  --gold-main: #e9b64b;
  --gold-dark: #9c6e21;
  --gold-gradient: linear-gradient(180deg, #ffe9ad 0%, #e9b64b 50%, #b88222 100%);
  --gold-btn-gradient: linear-gradient(180deg, #ffe7a3 0%, #dfa534 50%, #a67018 100%);
  
  --text-primary: #f5eedf;
  --text-secondary: #b8ac96;
  --text-muted: #756a56;
  
  --crimson: #a62424;
  --blue-magic: #2a73c9;
  --green-spirit: #32994e;
  
  --font-serif: 'Cinzel', serif;
  --font-ornate: 'Cinzel Decorative', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(156, 110, 33, 0.15), transparent 45%),
    radial-gradient(circle at 80% 50%, rgba(166, 36, 36, 0.08), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(42, 115, 201, 0.06), transparent 40%);
  background-attachment: fixed;
}

/* Background canvas for rising fire embers */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(233, 182, 75, 0.25);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-main);
  background: rgba(233, 182, 75, 0.08);
  border: 1px solid rgba(233, 182, 75, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Decorative Divider */
.metin-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 0;
  max-width: 280px;
}

.metin-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.metin-divider .gem {
  color: var(--gold-main);
  font-size: 14px;
}

/* ==========================================================================
   Top Version Bar
   ========================================================================== */
.version-top-bar {
  background: linear-gradient(90deg, rgba(14, 10, 5, 0.98), rgba(28, 20, 10, 0.98), rgba(14, 10, 5, 0.98));
  border-bottom: 1px solid rgba(198, 155, 63, 0.2);
  padding: 6px 0;
  font-size: 0.82rem;
}

.version-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.version-top-btn {
  background: rgba(233, 182, 75, 0.05);
  border: 1px solid rgba(198, 155, 63, 0.25);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 14px;
  border-radius: 20px;
  transition: var(--transition);
}

.version-top-btn:hover {
  background: rgba(233, 182, 75, 0.14);
  border-color: var(--border-gold);
  color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(233, 182, 75, 0.2);
}

.live-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #5cd67d;
  border-radius: 50%;
  display: block;
}

.live-wave {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(92, 214, 125, 0.5);
  border-radius: 50%;
  animation: liveWave 2s infinite ease-out;
}

@keyframes liveWave {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.version-lbl {
  color: var(--text-secondary);
  font-weight: 500;
}

.version-val {
  color: var(--gold-light);
  font-weight: 700;
}

.version-sep {
  color: var(--border-dark);
}

.version-time {
  color: var(--text-muted);
}

.version-changelog-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-main);
  font-weight: 600;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(198, 155, 63, 0.3);
}

.version-top-btn:hover .version-changelog-tag {
  color: #fff;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 5, 3, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 155, 63, 0.25);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 5, 3, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo-badge {
  font-size: 26px;
  filter: drop-shadow(0 0 10px rgba(233, 182, 75, 0.5));
}

.logo-text-box h1 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 1px;
}

.logo-text-box span {
  font-size: 0.72rem;
  color: var(--gold-main);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-serif);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-main);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(30, 23, 14, 0.8);
  border: 1px solid var(--border-dark);
  border-radius: 30px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold-main);
  color: #140e05;
  box-shadow: 0 2px 8px rgba(233, 182, 75, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold-btn-gradient);
  color: #1a1205;
  border: 1px solid #ffecb4;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(233, 182, 75, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(233, 182, 75, 0.6);
  color: #0d0902;
}

.btn-gold-pulsing {
  animation: pulseGold 2.5s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(233, 182, 75, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(233, 182, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 182, 75, 0); }
}

.btn-secondary {
  background: rgba(30, 23, 14, 0.8);
  color: var(--text-primary);
  border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  background: rgba(45, 34, 20, 0.9);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
  border: 1px solid #7289da;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

.btn-coffee {
  background: #ffdd00;
  color: #000;
  border: 1px solid #ffe644;
}

.btn-coffee:hover {
  background: #e6c700;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 221, 0, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-dark);
  color: var(--gold-main);
  font-size: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(22, 17, 10, 0.85);
  border: 1px solid rgba(198, 155, 63, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hero-stats-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Concept / About Section
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.concept-card {
  background: linear-gradient(180deg, rgba(26, 20, 12, 0.9), rgba(16, 12, 7, 0.9));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition);
}

.concept-card:hover {
  border-color: rgba(198, 155, 63, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.concept-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
}

.concept-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(233, 182, 75, 0.1);
  border: 1px solid rgba(233, 182, 75, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.concept-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.concept-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.concept-list {
  list-style: none;
}

.concept-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.concept-list li span.bullet {
  color: var(--gold-main);
  font-weight: 800;
}

/* Author Story Card */
.author-story-card {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(28, 22, 14, 0.95), rgba(16, 12, 7, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(233, 182, 75, 0.1);
}

.author-story-card::before {
  content: '⚔️';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 160px;
  opacity: 0.03;
  pointer-events: none;
}

.author-story-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.author-avatar-badge {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #42331c, #1f170c);
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 15px rgba(233, 182, 75, 0.3);
  flex-shrink: 0;
}

.author-label {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-main);
  font-weight: 700;
  margin-bottom: 4px;
}

.author-title {
  font-size: 1.5rem;
  color: var(--gold-light);
}

.author-story-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.author-quote {
  border-left: 3px solid var(--gold-main);
  padding: 16px 24px;
  margin: 24px 0 !important;
  background: rgba(233, 182, 75, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gold-light) !important;
  font-size: 1.05rem !important;
  line-height: 1.6;
}

.author-signature {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-sign-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
}

.author-sign-sub {
  font-size: 0.85rem;
  color: var(--gold-dark);
}

/* ==========================================================================
   Roadmap Section
   ========================================================================== */
.roadmap-section {
  position: relative;
}

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

.roadmap-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.roadmap-card:hover {
  transform: translateY(-4px);
}

/* Phase 1: Completed */
.phase-completed {
  border: 1px solid rgba(50, 153, 78, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(50, 153, 78, 0.1);
}
.phase-completed:hover {
  border-color: rgba(50, 153, 78, 0.75);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(50, 153, 78, 0.2);
}

/* Phase 2: Active / In Progress */
.phase-active {
  border: 1px solid var(--border-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(233, 182, 75, 0.2);
  background: linear-gradient(180deg, rgba(32, 24, 14, 0.95), rgba(18, 14, 8, 0.95));
}
.phase-active:hover {
  border-color: #ffd269;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(233, 182, 75, 0.35);
}

/* Phase 3: Planned */
.phase-planned {
  border: 1px solid rgba(42, 115, 201, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(42, 115, 201, 0.1);
}
.phase-planned:hover {
  border-color: rgba(42, 115, 201, 0.7);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(42, 115, 201, 0.2);
}

.phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.phase-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
}

.badge-done {
  background: rgba(50, 153, 78, 0.18);
  color: #5cd67d;
  border: 1px solid rgba(50, 153, 78, 0.4);
}

.badge-active {
  background: rgba(233, 182, 75, 0.18);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.badge-planned {
  background: rgba(42, 115, 201, 0.18);
  color: #7ab3f5;
  border: 1px solid rgba(42, 115, 201, 0.4);
}

.phase-icon {
  font-size: 28px;
}

.phase-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.phase-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.5;
}

.roadmap-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.roadmap-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.roadmap-items li span.chk {
  font-weight: 800;
  font-size: 0.95rem;
  color: #5cd67d;
  flex-shrink: 0;
}

.roadmap-items li span.chk.active {
  color: var(--gold-main);
}

.roadmap-items li span.chk.planned {
  color: #7ab3f5;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 182, 75, 0.15);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(233, 182, 75, 0.4));
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-footer-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
}

/* ==========================================================================
   Download Section
   ========================================================================== */
.download-section {
  background: linear-gradient(180deg, rgba(13, 10, 6, 0.7), rgba(7, 5, 3, 0.9));
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.main-download-card {
  background: linear-gradient(180deg, rgba(30, 22, 13, 0.95), rgba(18, 13, 8, 0.95));
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(233, 182, 75, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--gold-btn-gradient);
  color: #1a1205;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.main-download-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.main-download-card .version-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.version-pill {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.main-download-card ul.features-included {
  list-style: none;
  margin-bottom: 30px;
}

.main-download-card ul.features-included li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.main-download-card ul.features-included li svg {
  color: var(--green-spirit);
  flex-shrink: 0;
}

.secondary-download-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sub-download-card:hover {
  border-color: rgba(198, 155, 63, 0.4);
  transform: translateY(-2px);
}

.sub-download-card h4 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.sub-download-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ==========================================================================
   Quick Start / Guide
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  width: 44px;
  height: 44px;
  background: var(--gold-btn-gradient);
  color: #140e05;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(233, 182, 75, 0.4);
}

.step-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

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

.step-code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-dark);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gold-light);
}

/* ==========================================================================
   Credits & Contributors
   ========================================================================== */
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.credit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.credit-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.credit-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #382c19, #1a140b);
  border: 2px solid var(--border-gold);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.credit-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.credit-role {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.credit-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.community-thanks-banner {
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(26, 20, 12, 0.85), rgba(16, 12, 7, 0.85));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.community-thanks-banner h4 {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.community-thanks-banner p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   Support Banner (BuyCoffee CTA)
   ========================================================================== */
.support-banner {
  background: linear-gradient(135deg, rgba(38, 28, 14, 0.95), rgba(20, 15, 8, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.support-banner::before {
  content: '☕';
  position: absolute;
  font-size: 180px;
  right: -30px;
  bottom: -40px;
  opacity: 0.04;
  pointer-events: none;
}

.support-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.support-banner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 28px;
}

.support-buttons-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(198, 155, 63, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 18px;
  color: var(--gold-main);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
  transition: max-height 0.35s ease-in-out;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #040302;
  border-top: 1px solid rgba(198, 155, 63, 0.2);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links-group h5 {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group ul li {
  margin-bottom: 8px;
}

.footer-links-group ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links-group ul li a:hover {
  color: var(--gold-main);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Changelog Modal Overlay & Content
   ========================================================================== */
.changelog-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 3, 2, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.changelog-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.changelog-modal-dialog {
  background: linear-gradient(180deg, #18120a 0%, #0d0a06 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(233, 182, 75, 0.2);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.changelog-modal-overlay.active .changelog-modal-dialog {
  transform: translateY(0) scale(1);
}

.changelog-modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(198, 155, 63, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 17, 10, 0.7);
}

.changelog-modal-title-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.changelog-modal-icon {
  font-size: 28px;
}

.changelog-modal-header h3 {
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.changelog-modal-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-secondary);
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(166, 36, 36, 0.25);
  border-color: #e63946;
  color: #fff;
  transform: rotate(90deg);
}

.changelog-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

/* Custom scrollbar */
.changelog-modal-body::-webkit-scrollbar {
  width: 8px;
}
.changelog-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.changelog-modal-body::-webkit-scrollbar-thumb {
  background: rgba(198, 155, 63, 0.3);
  border-radius: 4px;
}
.changelog-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--border-gold);
}

.release-entry-card {
  background: rgba(22, 17, 10, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.release-entry-card:hover {
  border-color: rgba(198, 155, 63, 0.45);
  background: rgba(28, 22, 14, 0.85);
}

.release-entry-card.is-latest {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(32, 24, 14, 0.85), rgba(20, 15, 8, 0.85));
  box-shadow: 0 0 20px rgba(233, 182, 75, 0.1);
}

.release-entry-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.release-badges-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.release-tag-pill {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold-light);
  background: rgba(233, 182, 75, 0.15);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 20px;
}

.release-latest-pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #5cd67d;
  background: rgba(92, 214, 125, 0.15);
  border: 1px solid rgba(92, 214, 125, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
}

.release-time-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.release-entry-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.release-entry-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.release-entry-body h3, .release-entry-body h4 {
  color: var(--gold-light);
  margin: 14px 0 6px;
  font-size: 1rem;
}

.release-entry-body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.release-entry-body li {
  margin-bottom: 4px;
}

.release-entry-body code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85em;
  color: var(--gold-light);
}

.release-entry-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: flex-end;
}

.release-github-link {
  font-size: 0.82rem;
  color: var(--gold-main);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.release-github-link:hover {
  color: #fff;
  text-decoration: underline;
}

.changelog-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(198, 155, 63, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 10, 5, 0.9);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Supporters Section (Hall of Fame)
   ========================================================================== */
.supporters-section {
  position: relative;
}

.supporters-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.supporter-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.supporter-stat-card:hover {
  border-color: rgba(198, 155, 63, 0.4);
  transform: translateY(-2px);
}

.supporter-stat-card.stat-card-gold {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(38, 28, 16, 0.85), rgba(20, 15, 8, 0.85));
  box-shadow: 0 0 25px rgba(233, 182, 75, 0.15);
}

.supporter-stat-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.supporter-stat-content strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  line-height: 1.2;
}

.supporter-stat-content span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Controls (Filters, Sort, Search) */
.supporters-controls-box {
  background: rgba(18, 14, 8, 0.85);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.supporters-filters-group, .supporters-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.control-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-right: 4px;
}

.filter-btn, .sort-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-secondary);
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover, .sort-btn:hover {
  background: rgba(233, 182, 75, 0.1);
  border-color: rgba(198, 155, 63, 0.4);
  color: var(--gold-light);
}

.filter-btn.active, .sort-btn.active {
  background: rgba(233, 182, 75, 0.2);
  border-color: var(--border-gold);
  color: var(--gold-light);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(233, 182, 75, 0.2);
}

.supporters-sort-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.supporters-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-dark);
  padding: 6px 14px;
  border-radius: 20px;
  min-width: 220px;
  transition: var(--transition);
}

.supporters-search-box:focus-within {
  border-color: var(--border-gold);
  box-shadow: 0 0 12px rgba(233, 182, 75, 0.2);
}

.supporters-search-box svg {
  color: var(--gold-dark);
}

.supporters-search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 100%;
}

.supporters-search-box input::placeholder {
  color: var(--text-muted);
}

/* Grid */
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

/* Cards */
.supporter-card {
  background: rgba(22, 17, 10, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

/* Diamond Tier */
.supporter-card.tier-diamond {
  background: linear-gradient(135deg, rgba(32, 26, 18, 0.95), rgba(18, 22, 28, 0.95));
  border: 1px solid rgba(130, 207, 253, 0.6);
  box-shadow: 0 0 20px rgba(98, 182, 255, 0.15);
}

.supporter-card.tier-diamond:hover {
  border-color: #9fe2ff;
  box-shadow: 0 0 28px rgba(98, 182, 255, 0.3);
}

.supporter-card.tier-diamond .supporter-avatar {
  background: linear-gradient(135deg, #1f4263, #0d1e2e);
  color: #aae3ff;
  border: 1px solid #73c2fb;
}

/* Gold Tier */
.supporter-card.tier-gold {
  border-color: rgba(233, 182, 75, 0.5);
  background: linear-gradient(135deg, rgba(30, 23, 14, 0.85), rgba(20, 15, 8, 0.85));
}

.supporter-card.tier-gold:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 20px rgba(233, 182, 75, 0.2);
}

.supporter-card.tier-gold .supporter-avatar {
  background: linear-gradient(135deg, #3d2c14, #24190a);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

/* Silver Tier */
.supporter-card.tier-silver {
  border-color: rgba(180, 186, 196, 0.3);
}

.supporter-card.tier-silver .supporter-avatar {
  background: rgba(255, 255, 255, 0.08);
  color: #e4e7ed;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Bronze Tier */
.supporter-card.tier-bronze {
  border-color: rgba(160, 110, 60, 0.25);
}

.supporter-card.tier-bronze .supporter-avatar {
  background: rgba(160, 110, 60, 0.15);
  color: #d8a070;
  border: 1px solid rgba(160, 110, 60, 0.3);
}

.supporter-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.supporter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.supporter-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.supporter-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.supporter-tier-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-diamond {
  color: #8be0ff;
}

.badge-gold {
  color: var(--gold-light);
}

.badge-silver {
  color: #cfd5de;
}

.badge-bronze {
  color: #d8a070;
}

.supporter-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.supporter-amount-val {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-main);
}

.tier-diamond .supporter-amount-val {
  color: #9fe2ff;
  text-shadow: 0 0 10px rgba(130, 207, 253, 0.4);
}

.supporter-monthly-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(155, 89, 182, 0.2);
  border: 1px solid rgba(155, 89, 182, 0.4);
  color: #d29ef4;
  font-weight: 700;
}

.supporters-expand-wrap {
  text-align: center;
  margin-top: 16px;
}

.no-supporters-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid, .download-grid, .roadmap-grid, .roadmap-three-col-grid {
    grid-template-columns: 1fr;
  }
  
  .supporters-stats-row {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(7, 5, 3, 0.98);
    border-bottom: 1px solid var(--border-gold);
    padding: 24px;
    gap: 18px;
  }
  
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 60px 0 50px;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .hero-stats-banner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
  }

  .supporters-sort-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .supporters-search-box {
    width: 100%;
  }

  .supporters-grid {
    grid-template-columns: 1fr;
  }
  
  .version-top-btn {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  
  .version-changelog-tag {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 2px;
  }
  
  .changelog-modal-dialog {
    max-height: 94vh;
  }
  
  .changelog-modal-header, .changelog-modal-body, .changelog-modal-footer {
    padding: 16px;
  }
}

/* ==========================================================================
   Security Callout Card (Antivirus False Positives)
   ========================================================================== */
.security-callout-card {
  margin-top: 36px;
  background: rgba(30, 22, 12, 0.7);
  border: 1px solid rgba(233, 182, 75, 0.35);
  border-left: 4px solid var(--gold-main);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.security-callout-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-callout-content h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 6px;
  font-weight: 700;
}

.security-callout-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.security-callout-content em {
  color: #fff;
  font-style: normal;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

.security-callout-content strong {
  color: #fff;
}

/* ==========================================================================
   Roadmap Section (3-Column Layout)
   ========================================================================== */
.roadmap-section {
  position: relative;
  background: rgba(10, 8, 5, 0.5);
}

.roadmap-three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.roadmap-col-card {
  background: linear-gradient(180deg, rgba(20, 16, 11, 0.85) 0%, rgba(12, 9, 6, 0.92) 100%);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Card 1: Completed */
.card-completed {
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-completed:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

/* Card 2: Active / In Progress (Highlighted Gold Glow) */
.card-active {
  border: 1px solid rgba(233, 182, 75, 0.8);
  box-shadow: 0 0 24px rgba(233, 182, 75, 0.16), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-active:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 36px rgba(233, 182, 75, 0.28), 0 12px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

/* Card 3: Planned */
.card-planned {
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-planned:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

/* Header row with badge and emoji */
.roadmap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.badge-gold {
  background: rgba(233, 182, 75, 0.15);
  border: 1px solid rgba(233, 182, 75, 0.55);
  color: #f3c467;
}

.badge-blue {
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
}

.roadmap-corner-icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Card Heading & Subtitle */
.roadmap-card-heading {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f3f4f6;
  margin-bottom: 10px;
  line-height: 1.35;
}

.roadmap-card-lead {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.55;
  margin-bottom: 24px;
  min-height: 42px;
}

/* Checklist Items */
.roadmap-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.roadmap-card-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.45;
}

.check-mark {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.check-mark.green {
  color: #10b981;
}

.check-mark.gold {
  color: #f59e0b;
}

.check-mark.blue {
  color: #60a5fa;
  font-size: 0.82rem;
}

/* Discord Highlight Card in Downloads */
.discord-highlight-card {
  border-color: rgba(88, 101, 242, 0.35);
  background: radial-gradient(circle at 100% 0%, rgba(88, 101, 242, 0.12), rgba(22, 17, 10, 0.9) 70%);
}

.discord-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #818cf8;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Audit fixes: responsive navigation, grids and long release text. */
section[id] { scroll-margin-top: 190px; }
.nav-container { max-width: 1600px; }
.nav-links { gap: 18px; }
.nav-actions { flex-shrink: 0; }
.roadmap-col-card, .security-callout-content, .changelog-modal-title-box { min-width: 0; }
.release-entry-body { overflow-wrap: anywhere; }
.release-entry-body pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.release-entry-header { flex-wrap: wrap; }
.modal-close-btn { flex-shrink: 0; }
.changelog-modal-overlay { transition: opacity .25s ease; }
.faq-question:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 1400px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; width: 100%; padding: 20px; gap: 14px;
    background: rgba(7,5,3,.98); border-bottom: 1px solid var(--border-gold);
    max-height: calc(100dvh - 190px); overflow-y: auto;
  }
}
@media (max-width: 992px) {
  .roadmap-three-col-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav-container { height: auto; min-height: 76px; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .nav-logo { min-width: 0; }
  .navbar .nav-logo { width: 100%; }
  .navbar .logo-text-box h1 { font-size: 1rem; }
  .nav-actions { width: 100%; justify-content: space-between; gap: 10px; }
  .nav-actions .btn { width: auto; white-space: nowrap; }
  .features-grid, .download-grid, .steps-grid, .credits-grid { grid-template-columns: minmax(0, 1fr); }
  .download-grid > *, .sub-download-card > * { min-width: 0; overflow-wrap: anywhere; }
  .main-download-card { padding: 24px 18px; }
  .btn { white-space: normal; }
  .hero-title { font-size: clamp(1.8rem, 8.5vw, 3rem); overflow-wrap: anywhere; }
  .security-callout-card { padding: 18px; gap: 10px; }
  .roadmap-col-card { padding: 24px 20px; }
  .roadmap-card-top { gap: 8px; }
  .roadmap-badge { overflow-wrap: anywhere; }
  .changelog-modal-overlay { height: 100dvh; padding: 10px; }
  .changelog-modal-dialog { max-height: calc(100dvh - 20px); }
  .changelog-modal-header { gap: 10px; }
  .changelog-modal-footer { flex-wrap: wrap; }
  .footer-brand { min-width: 0; max-width: 100%; }
  .footer-brand h2 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Project creator above the contributor row. */
.credits-grid.credits-hierarchy {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.credits-hierarchy > .credit-card {
  min-width: 0;
  padding: 24px 18px;
  overflow-wrap: anywhere;
}
.credits-hierarchy > .credit-card-lead {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  margin-bottom: 10px;
}
@media (max-width: 1100px) {
  .credits-grid.credits-hierarchy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .credits-grid.credits-hierarchy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .credits-grid.credits-hierarchy { grid-template-columns: minmax(0, 1fr); }
  .credits-hierarchy > .credit-card-lead { max-width: none; }
}
