:root {
  /* Modern Palette */
  --bg-dark: #030014;
  --bg-card: rgba(23, 23, 45, 0.6);
  --bg-card-hover: rgba(40, 40, 70, 0.75);
  
  --primary: #8a2be2; /* BlueViolet */
  --primary-glow: rgba(138, 43, 226, 0.5);
  --accent: #ff007f; /* Deep Pink */
  
  --text-main: #ffffff;
  --text-muted: #b4b4c0;
  
  --gradient-main: linear-gradient(135deg, #8a2be2 0%, #ff007f 100%);
  --gradient-text: linear-gradient(135deg, #c084fc 0%, #ff79c6 100%);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
  /* scroll-behavior: smooth; Removed for custom JS smooth scroll */
  scrollbar-gutter: stable;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(138, 43, 226, 0.3); border-radius: 5px; border: 2px solid var(--bg-dark); }
::-webkit-scrollbar-thumb:hover { background: rgba(138, 43, 226, 0.6); }

::selection { background: var(--primary); color: white; }

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

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.fade-out { opacity: 0; visibility: hidden; }
.spinner {
  width: 50px; height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Background */
.video-background {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; background-color: var(--bg-dark);
}
.video-background video { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.video-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
  backdrop-filter: blur(3px);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.gradient-text {
  background: var(--gradient-text);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navbar */
.site-header {
  position: fixed; top: 20px; left: 0; right: 0;
  display: flex; justify-content: center; z-index: 1000;
  transition: top 0.3s ease; padding: 0 20px;
}
.site-header.scrolled { top: 10px; }
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 0.75rem 1.5rem;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 100%; max-width: 1200px;
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); }
.brand-title { font-family: var(--font-heading); font-weight: 700; color: var(--text-main); font-size: 1.1rem; }

/* Desktop Menu Layout */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link {
  color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: var(--transition); position: relative; padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--gradient-text); border-radius: 2px; box-shadow: 0 0 10px var(--primary);
}

.nav-cta {
  display: flex; align-items: center; gap: 8px; background: var(--glass);
  color: var(--text-main); text-decoration: none; padding: 0.6rem 1.2rem;
  border-radius: 100px; border: 1px solid var(--glass-border);
  font-weight: 600; font-size: 0.9rem; transition: var(--transition);
}
.nav-cta:hover { background: var(--bg-card-hover); transform: translateY(-2px); border-color: var(--primary); }

.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; z-index: 1001; }
.nav-toggle-bar { width: 24px; height: 2px; background: var(--text-main); transition: var(--transition); border-radius: 2px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.8rem; border-radius: 100px; font-weight: 600;
  text-decoration: none; transition: var(--transition); border: none;
  cursor: pointer; font-size: 1rem;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--gradient-main); color: white; box-shadow: 0 4px 20px var(--primary-glow);
  position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); }
.btn-glass {
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-main); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: var(--bg-card-hover); border-color: var(--text-muted); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: #000; font-size: 0.9rem; }
.btn-secondary:hover { background: #eee; transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-xs { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
.full-width { width: 100%; }

/* Layout Utilities */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #b4b4c0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* Hero Refactor */
.hero-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 140px 20px 60px; text-align: center;
}
.centered-layout {
  display: flex; flex-direction: column; align-items: center; gap: 4rem; max-width: 900px; width: 100%;
}
.hero-title { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 1.5rem; line-height: 1.1; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Hero Dock */
.hero-dock {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  background: rgba(255, 255, 255, 0.05); padding: 1rem 1.5rem;
  border-radius: 100px; border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}
.dock-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  padding: 0.5rem 1rem; border-radius: 100px; transition: var(--transition);
}
.dock-item:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-main); transform: translateY(-2px); }
.dock-icon { font-size: 1.2rem; display: flex; align-items: center; }
.dock-label { font-weight: 500; font-size: 0.95rem; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.8rem; opacity: 0.7; pointer-events: none;
}
.mouse {
  width: 24px; height: 36px; border: 2px solid var(--text-muted);
  border-radius: 12px; position: relative;
}
.mouse::before {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 6px; background: var(--text-main); border-radius: 2px;
  animation: scrollMouse 1.5s infinite;
}
@keyframes scrollMouse { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 12px); opacity: 0; } }

/* Symmetrical Grid (Community/Resources) */
.symmetrical-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.glass-card:hover {
  transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); background: var(--bg-card-hover);
}
.card-content { z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Icons & Previews */
.icon-wrapper {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.5rem;
}
.purple-bg { background: rgba(138, 43, 226, 0.2); }
.pink-bg { background: rgba(255, 0, 127, 0.2); }
.blue-bg { background: rgba(64, 224, 208, 0.2); }
.card-preview {
  margin-top: auto; width: 100%; border-radius: var(--radius-sm);
  opacity: 0.9; transition: var(--transition);
}
.glass-card:hover .card-preview { transform: scale(1.05); opacity: 1; }

.icon-lg { font-size: 3rem; margin-bottom: 1rem; }
.resource-card { align-items: center; text-align: center; }

/* Discord Banner */
.discord-banner {
  margin-top: 3rem; background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.05));
  border: 1px solid rgba(88, 101, 242, 0.3); border-radius: var(--radius-lg);
  padding: 3rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.banner-content h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.banner-content p { color: var(--text-muted); font-size: 1.1rem; }

/* NEW: Cinematic Coaching Showcase */
.coaching-showcase {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Updated Video Player CSS */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s;
}

.video-container:hover {
  border-color: rgba(255,255,255,0.15);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(138, 43, 226, 0.8);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
  z-index: 5;
  opacity: 1;
}

.center-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary);
}

.center-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Gradient Shadow at Bottom */
.video-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}

.video-container:hover .video-gradient,
.video-container.paused .video-gradient {
  opacity: 1;
}

/* Controls Bar */
.video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(20, 20, 30, 0.75);
  backdrop-filter: blur(12px);
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.video-container:hover .video-controls,
.video-container.paused .video-controls {
  opacity: 1;
  transform: translateY(0);
}

/* Progress Bar */
.progress-area-wrapper {
  position: relative;
  height: 6px;
  width: 100%;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  width: 0%;
  pointer-events: none;
  box-shadow: 0 0 10px var(--primary-glow);
}

.seek-bar {
  position: absolute;
  top: -6px; /* Expand hit area */
  left: 0;
  width: 100%;
  height: 18px;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

/* Controls Row */
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s;
}

.control-btn:hover {
  color: white;
  transform: scale(1.1);
}

.time-display {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  min-width: 80px;
}

/* Volume */
.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider-wrapper {
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
}

.volume-container:hover .volume-slider-wrapper {
  width: 70px;
}

.volume-slider {
  width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

/* NEW: Booking Grid (Side-by-Side) */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s ease;
}
.pricing-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.pricing-card.featured {
  background: linear-gradient(145deg, rgba(23, 23, 45, 0.9), rgba(138, 43, 226, 0.1));
  border-color: var(--primary-glow);
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.15);
}

.pricing-card.standard {
  background: rgba(255, 255, 255, 0.03);
}

.badge {
  position: absolute; top: 20px; right: 20px;
  padding: 0.4rem 0.8rem; background: var(--primary);
  border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-header { margin-bottom: 2rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.5rem; }
.price-tag { font-size: 2.5rem; font-weight: 700; color: var(--text-main); margin: 0.5rem 0; }
.sub-price { color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.pricing-features li { margin-bottom: 1rem; display: flex; align-items: center; color: var(--text-muted); }
.pricing-features li::before { content: '✓'; color: var(--accent); margin-right: 12px; font-weight: bold; }
.payment-icons { margin-top: 1.5rem; text-align: center; opacity: 0.6; filter: grayscale(1); transition: var(--transition); }
.pricing-card:hover .payment-icons { filter: grayscale(0); opacity: 1; }

/* Link Arrow */
.link-arrow {
  display: inline-flex; align-items: center; margin-top: 1.5rem;
  color: var(--primary); text-decoration: none; font-weight: 700; transition: gap 0.2s; gap: 5px;
}
.link-arrow:hover { gap: 10px; color: var(--text-main); }

/* Footer */
footer {
  border-top: 1px solid var(--glass-border); padding: 3rem 0; margin-top: 6rem;
  background: rgba(3, 0, 20, 0.8); text-align: center; color: var(--text-muted);
}

/* Footer Link */
.footer-link {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  margin-top: 10px;
  transition: var(--transition);
  display: inline-block;
}
.footer-link:hover {
  background: var(--glass);
  color: var(--text-main);
  border-color: var(--primary);
}

/* Ad Banner Styles */
.ad-banner-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 1rem 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px; /* Increased for visibility */
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  overflow: hidden;
  box-sizing: border-box; /* Safety: padding doesn't increase width */
}

.ad-placeholder-text {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.adsbygoogle {
  display: block;
  width: 100%;
}

/* Animations */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-text { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all 1s; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: all 1s; }
.reveal-right.active { opacity: 1; transform: translateX(0); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Back to Top */
.back-to-top-btn {
  position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transform: translateY(20px); transition: var(--transition); z-index: 900;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.back-to-top-btn.show { opacity: 1; transform: translateY(0); }
.back-to-top-btn:hover {
  transform: translateY(-5px);
  background: var(--gradient-main);
  border-color: transparent;
  box-shadow: 0 8px 30px var(--primary-glow);
}
.back-to-top-btn svg { width: 24px; height: 24px; }

/* Responsive */
@media (max-width: 1024px) {
  .booking-grid { gap: 1.5rem; }
}

@media (max-width: 800px) {
  /* Fix Hero Dock wrapping */
  .hero-dock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
  }
  
  .dock-item {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header { padding: 0 10px; }
  .navbar { border-radius: 30px; } /* Fully rounded on mobile */
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 25, 0.98); padding: 2rem;
    flex-direction: column; clip-path: circle(0% at 100% 0);
    transition: clip-path 0.5s ease-in-out; pointer-events: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-menu.open { clip-path: circle(150% at 100% 0); pointer-events: all; }
  .nav-toggle { display: flex; }
  
  .symmetrical-grid, .booking-grid { grid-template-columns: 1fr; }
  .discord-banner { flex-direction: column; text-align: center; }
  
  .hero-title { font-size: 3rem; }
  
  /* Mobile Video Adjustments */
  .video-controls {
    padding: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  
  .volume-container:hover .volume-slider-wrapper {
    width: 0; /* Hide volume slider on mobile to save space */
  }
}

/* ————————————————————————————————————————————— */
/* ————— LOW SPEC MODE (Performance Mode) —————— */
/* ————————————————————————————————————————————— */
body.low-spec .video-overlay {
  backdrop-filter: none;
  background: radial-gradient(circle at center, rgba(3,0,20,0.6) 0%, var(--bg-dark) 90%);
}

body.low-spec .video-background {
  background: radial-gradient(circle at center, #1a1a2e 0%, #030014 100%);
  background-image: url('images/hero-bg-static.jpg'), linear-gradient(135deg, #1a1a2e 0%, #030014 100%); /* Optional: if you have a static image */
  background-size: cover;
  background-position: center;
}

body.low-spec .navbar {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: rgba(10, 10, 25, 0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

body.low-spec .hero-dock {
  backdrop-filter: none;
  background: rgba(20, 20, 35, 0.95);
}

body.low-spec .btn-glass {
  backdrop-filter: none;
  background: rgba(30, 30, 50, 0.9);
}

body.low-spec .glass-card {
  backdrop-filter: none;
  background: #10101c; /* Solid simplified color */
}

body.low-spec .video-controls {
  backdrop-filter: none;
  background: rgba(20, 20, 30, 0.95);
}

body.low-spec .back-to-top-btn {
  backdrop-filter: none;
  background: rgba(30, 30, 50, 0.95);
}

body.low-spec .video-container {
  box-shadow: 0 10px 20px rgba(0,0,0,0.4); /* Reduced shadow */
}

body.low-spec .glass-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Reduced hover shadow */
  background: #1a1a2e;
}

/* ————————————————————————————————————————————— */
/* ————— PERFORMANCE TOAST (Notification) —————— */
/* ————————————————————————————————————————————— */
.perf-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(10, 10, 25, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--primary-glow);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(138, 43, 226, 0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  min-width: 320px;
  justify-content: space-between;
}

.perf-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-main);
  white-space: nowrap;
  font-weight: 500;
}

.toast-actions {
  display: flex;
  gap: 0.8rem;
}

@media (max-width: 600px) {
  .perf-toast {
    width: 90%;
    bottom: 20px;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  .toast-content {
    flex-direction: column;
    text-align: center;
    white-space: normal;
  }
}
