/* Design System - CabraSpace (Vintage-Modern Celestial Fusion) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-color: #0c0c0e; /* Soft celestial dark grey instead of harsh black */
  --bg-card: #121215;
  --bg-card-hover: #17171c;
  
  /* Vintage Gold Palette (Brass, Bronze & Antique Gold tones) */
  --gold-primary: #cfab4a; /* Antique gold */
  --gold-secondary: #a48231;
  --gold-light: #e5cc8a;
  --gold-dark: #2c220b;
  --gold-glow: rgba(207, 171, 74, 0.12);
  --gold-border: rgba(207, 171, 74, 0.2);
  --gold-border-muted: rgba(207, 171, 74, 0.08);
  
  --text-primary: #f5f4f0; /* Soft warm white, like aged paper */
  --text-secondary: #9f9c94; /* Soft warm grey */
  --text-muted: #5e5b54;
  
  --border-color: #1f1e1b;
  --border-hover: #31302b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Cinzel', serif; /* Vintage celestial typography */
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Celestial Background: Grid & Star Fields */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(207, 171, 74, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 171, 74, 0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  pointer-events: none;
  z-index: 1;
}

.radial-glow {
  position: fixed;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  background: radial-gradient(circle, rgba(207, 171, 74, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

/* Elegant Vintage dividers */
.vintage-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  width: 100%;
  max-width: 400px;
}

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

.star-decor {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  opacity: 0.8;
  filter: drop-shadow(0 0 4px var(--gold-glow));
}

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

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  border-bottom: 1px solid var(--gold-border);
  background: rgba(3, 3, 3, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.logo-link img {
  border: 1px solid var(--gold-border);
  padding: 2px;
  background: #000;
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.logo-link span {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.3s ease;
}

.logo-link:hover span {
  filter: brightness(1.2) drop-shadow(0 0 6px rgba(207, 171, 74, 0.3));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-cta {
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  padding: 8px 20px;
  border-radius: 4px; /* Shaper corners for vintage feel */
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--gold-primary);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(207, 171, 74, 0.04);
  border: 1px solid var(--gold-border);
  border-radius: 4px; /* More angular */
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.announcement-badge:hover {
  border-color: var(--gold-light);
  background: rgba(207, 171, 74, 0.08);
  box-shadow: 0 0 15px rgba(207, 171, 74, 0.05);
}

.announcement-badge span.pulse {
  width: 5px;
  height: 5px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(207, 171, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(207, 171, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(207, 171, 74, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 500; /* Lighter weight is more elegant for serifs */
  line-height: 1.2;
  letter-spacing: 0.05em; /* Spaced out serif headers */
  text-transform: uppercase;
  margin-bottom: 28px;
  background: linear-gradient(180deg, var(--text-primary) 20%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 900px;
}

.hero-description {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  max-width: 680px;
  margin-bottom: 44px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px; /* More classic angular look */
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-primary);
  color: var(--bg-color);
  border: 1px solid var(--gold-primary);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 25px var(--gold-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(207, 171, 74, 0.3);
}

.btn-secondary:hover {
  background: rgba(207, 171, 74, 0.03);
  border-color: var(--gold-primary);
}

/* Logo Showcase Card (With a luxury gold frame and subtle drop shadow) */
.logo-showcase-container {
  width: 100%;
  max-width: 250px;
  background: radial-gradient(circle, #212125 0%, #0c0c0e 100%);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Double gold border inside the showcase container for a classic vintage framing */
.logo-showcase-inner {
  border: 1px dashed var(--gold-border);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-showcase-container:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 30px 70px rgba(207, 171, 74, 0.04), 0 30px 60px rgba(0, 0, 0, 0.9);
}

.logo-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.05);
}

/* Features Grid */
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 550px;
  margin: 0 auto 56px auto;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Spotlight cursor halo - gold themed */
.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(300px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(207, 171, 74, 0.15), transparent 80%);
  z-index: 0;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.feature-card-content {
  position: relative;
  z-index: 10;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(207, 171, 74, 0.04);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 28px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

.feature-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* YouTube Section */
.youtube-section {
  padding: 80px 0;
  position: relative;
}

.youtube-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.video-preview-card {
  background: #070709;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.video-preview-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(207, 171, 74, 0.12), transparent 80%);
  z-index: 0;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-preview-card:hover::before {
  opacity: 1;
}

.video-preview-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(207, 171, 74, 0.02);
}

@media (min-width: 768px) {
  .video-preview-card {
    flex-direction: row;
  }
}

.video-thumbnail-container {
  position: relative;
  z-index: 10;
  flex: 1.25;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid var(--border-color);
}

.video-thumbnail-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
  filter: brightness(0.5) sepia(0.2); /* Soft sepia vintage grading */
}

.video-preview-card:hover .video-thumbnail-bg {
  transform: scale(1.03);
  filter: brightness(0.7) sepia(0.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 25px rgba(207, 171, 74, 0.35);
  transition: var(--transition-smooth);
  border: none;
}

.play-button svg {
  fill: currentColor;
  margin-left: 3px;
}

.video-preview-card:hover .play-button {
  background: var(--gold-light);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 30px rgba(207, 171, 74, 0.5);
}

.video-info {
  position: relative;
  z-index: 10;
  flex: 1;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.video-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 24px;
}

.video-stats {
  display: flex;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Newsletter Section */
.newsletter-section {
  padding-bottom: 120px;
}

.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  background: #070708;
  border-radius: 4px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

/* Spotlight glow effect */
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(450px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(207, 171, 74, 0.1), transparent 80%);
  z-index: 0;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Elevate text and form controls over spotlight glow overlay */
.newsletter-card h2,
.newsletter-card p,
.newsletter-card .subscribe-form,
.newsletter-card .form-message {
  position: relative;
  z-index: 10;
}

.newsletter-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.newsletter-card p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px auto;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .subscribe-form {
    flex-direction: row;
  }
}

.subscribe-input {
  flex: 1;
  background: #020202;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.subscribe-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(207, 171, 74, 0.05);
}

.subscribe-input::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.btn-subscribe {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  padding: 14px 28px;
}

.btn-subscribe:hover {
  background: var(--gold-primary);
  color: var(--bg-color);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* Form success message */
.form-message {
  margin-top: 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-message.success {
  color: var(--gold-primary);
  opacity: 1;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  background: #020202;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
}

.copyright {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-right: 16px;
}

.lang-link {
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.lang-link.active {
  color: var(--gold-primary);
}

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

.lang-separator {
  color: var(--border-hover);
}

/* Card Links (Vintage Elegant Style) */
.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px dashed var(--gold-border);
  padding-bottom: 2px;
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
  transform: translateX(3px);
}

/* Dropdown Navigation Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.arrow {
  display: inline-block;
  font-size: 0.55rem;
  transition: transform 0.3s ease;
  vertical-align: middle;
  opacity: 0.7;
}

.dropdown:hover > a .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: block;
  min-width: 240px;
  padding: 10px 0;
  margin-top: 8px;
  list-style: none;
  background: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(207, 171, 74, 0.02);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 20px;
  clear: both;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  color: var(--gold-primary);
  background-color: rgba(207, 171, 74, 0.04);
  padding-left: 24px;
}

.dropdown-item.active {
  color: var(--gold-primary) !important;
  background-color: rgba(207, 171, 74, 0.06) !important;
  font-weight: 600;
}

/* Multi-level Submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: -8px;
  left: 100%;
  margin-top: 0;
  margin-left: 4px;
}

.dropdown-submenu:hover > a .arrow {
  transform: rotate(90deg);
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* General Utilities */
.hidden {
  display: none !important;
}

/* Responsive Overrides for Navbar & Dropdowns */
@media (max-width: 767px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-menu {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(207, 171, 74, 0.02);
    border-left: 1px solid var(--gold-border);
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    box-shadow: none;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 6px 0;
    min-width: 100%;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .dropdown:hover > .dropdown-menu,
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu > .dropdown-menu {
    position: static;
    margin-left: 0;
    padding-left: 10px;
  }

  .dropdown-item {
    padding: 8px 16px;
    font-size: 0.72rem;
  }

  .dropdown-item:hover {
    padding-left: 20px;
  }
}

/* ==========================================================================
   Night Vision (Astronomy Red Mode) Styles
   ========================================================================== */
body.night-vision {
  --bg-color: #030000; /* Deepest pure black to prevent light bleed */
  --bg-card: #0a0101;
  --bg-card-hover: #120202;
  
  --gold-primary: #ff0000; /* Pure red to preserve eye adaptation to darkness */
  --gold-secondary: #cc0000;
  --gold-light: #ff4d4d;
  --gold-dark: #330000;
  --gold-glow: rgba(255, 0, 0, 0.15);
  --gold-border: rgba(255, 0, 0, 0.25);
  --gold-border-muted: rgba(255, 0, 0, 0.1);
  
  --text-primary: #ff3333; /* Soft red for text */
  --text-secondary: #b30000;
  --text-muted: #660000;
  
  --border-color: #220505;
  --border-hover: #3a0808;
}

/* Red Tint Filter for Media to prevent blinding the astrophotographer */
body.night-vision img,
body.night-vision video,
body.night-vision iframe,
body.night-vision .video-thumbnail-bg,
body.night-vision svg:not(.moon-red-icon):not(.star-decor) {
  filter: grayscale(100%) sepia(100%) hue-rotate(-50deg) saturate(800%) brightness(55%) !important;
  opacity: 0.65;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

body.night-vision img:hover,
body.night-vision video:hover,
body.night-vision iframe:hover,
body.night-vision .video-thumbnail-bg:hover {
  opacity: 0.85;
}

/* Nightmode Toggle Button in Navbar */
.nightmode-btn {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nightmode-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-primary);
}

.nightmode-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

body.night-vision .nightmode-btn {
  color: var(--gold-primary);
  border-color: var(--gold-border);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.15);
}

/* Search Highlights */
.search-highlight {
  background: rgba(207, 171, 74, 0.22);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

body.night-vision .search-highlight {
  background: rgba(255, 0, 0, 0.3);
  color: #ff3333;
}

/* ==========================================================================
   Live Dashboard Section Styles
   ========================================================================== */
.dashboard-section {
  padding: 40px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 36px;
}

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

.dashboard-col {
  background: #070708;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
  position: relative;
}

.dashboard-col:hover {
  border-color: var(--gold-border);
}

.col-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.dashboard-item {
  border-bottom: 1px solid #1a1917;
  padding-bottom: 16px;
}

.dashboard-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dashboard-meta {
  display: flex;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dashboard-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.dashboard-item:hover h4 {
  color: var(--gold-primary);
}

.dashboard-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dashboard-item a {
  text-decoration: none;
  color: inherit;
}

.dashboard-view-all {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  margin-top: 12px;
  display: inline-block;
}

.dashboard-view-all:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.dashboard-loading {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
}


