/* ============================================
   PatchPass - Main Stylesheet
   Color Palette: Yellow, Orange, Red, Black, White
   ============================================ */

/* CSS Variables - Color Palette */
:root {
  --primary-yellow: #FFD700;
  --primary-orange: #FF8C00;
  --accent-red: #DC143C;
  --dark-bg: #0A0A0A;
  --secondary-dark: #1A1A1A;
  --tertiary-dark: #2A2A2A;
  --light-text: #FFFFFF;
  --gray-text: #CCCCCC;
  --hover-glow: rgba(255, 215, 0, 0.3);
  
  /* Sidebar */
  --sidebar-width: 160px;
  --sidebar-collapsed: 58px;
  --sidebar-current-width: 80px; /* Default collapsed */
  
  /* Transitions */
  --transition-speed: 0.4s;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Global Styles & Reset
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px; /* Reduced from 16px for better fit on 1920x1080 */
}

@media (min-width: 1920px) {
  html {
    font-size: 15px; /* Slightly larger for very large screens */
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   Loading Screen
   ============================================ */

/* ── Overlay ─────────────────────────────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark-bg);
  overflow: hidden;
  pointer-events: all;
}

/* ── Left vertical track (dim guide rail) ────────────────────────── */
.loader-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.10);
}

/* ── Animated fill (top → bottom) ───────────────────────────────── */
.loader-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #ffffff;
  box-shadow:
    0 0 6px  rgba(255, 215, 0, 0.60),
    0 0 18px rgba(255, 140, 0, 0.35);
}

/* ── Percentage label (follows fill end) ────────────────────────── */
.loader-pct-wrap {
  position: fixed;
  left: 10px;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 100001;
}

.loader-pct-dash {
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.50);
  flex-shrink: 0;
}

.loader-pct-text {
  font-family: 'Orbitron', 'Rajdhani', monospace;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.12em;
  min-width: 34px;
  line-height: 1;
}

/* ── Centered brand (subtle watermark) ──────────────────────────── */
.loader-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  user-select: none;
  pointer-events: none;
}

.loader-brand-logo {
  width: clamp(64px, 8vw, 110px);
  opacity: 0.18;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.loader-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(20px, 4vw, 52px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.35em;
  opacity: 0.12;
}

/* ── Decorative corner marks ─────────────────────────────────────── */
.loader-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 255, 255, 0.25);
  border-style: solid;
}
.loader-corner.tl { top: 22px;  left: 22px;  border-width: 1px 0 0 1px; }
.loader-corner.tr { top: 22px;  right: 22px; border-width: 1px 1px 0 0; }
.loader-corner.bl { bottom: 22px; left: 22px;  border-width: 0 0 1px 1px; }
.loader-corner.br { bottom: 22px; right: 22px; border-width: 0 1px 1px 0; }

/* ── Sweep overlay (left → right white flash) ───────────────────── */
.loader-sweep {
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1;
}

.loader-sweep.sweep-active {
  animation: loaderSweep 0.55s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

@keyframes loaderSweep {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ── Final fade-out ──────────────────────────────────────────────── */
#loading-screen.loader-fade-out {
  animation: loaderFadeOut 0.65s ease forwards;
}

@keyframes loaderFadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================
   Left Sidebar Navigation (Collapsible)
   ============================================ */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-collapsed);
  height: 100vh;
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--dark-bg) 100%);
  border-right: 2px solid var(--primary-orange);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width var(--transition-speed) var(--transition-timing);
  overflow: hidden;
  will-change: width;
}

.sidebar:hover {
  width: var(--sidebar-width);
  overflow-y: auto;
}

/* Sidebar Scrollbar Styling */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--primary-orange);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary-yellow);
}

/* Logo Section */
.sidebar-logo {
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid var(--tertiary-dark);
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--dark-bg) 100%);
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.sidebar-logo .logo-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--primary-yellow));
  transition: transform var(--transition-speed) var(--transition-timing);
  will-change: transform;
}

.sidebar:hover .sidebar-logo .logo-image {
  transform: scale(1.4);
}

.sidebar-logo .logo-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--transition-speed) var(--transition-timing) 0.1s, 
              max-height var(--transition-speed) var(--transition-timing);
}

.sidebar:hover .sidebar-logo .logo-text {
  opacity: 1;
  max-height: 100px;
  margin-top: 1rem;
}

.sidebar-logo .logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray-text);
  line-height: 1.4;
  padding: 0 0.5rem;
  white-space: nowrap;
}

/* Navigation Menu */
.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
}

.nav-menu {
  list-style: none;
}

.nav-item {
  margin: 0.25rem 0;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.55rem 0.75rem;
  padding-left: 1.4rem;
  color: var(--gray-text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-speed) var(--transition-timing);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar:hover .nav-link {
  padding: 0.55rem 1rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  transform: scaleY(0);
  transition: transform 0.2s var(--transition-timing);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleY(1);
}

.nav-link:hover {
  color: var(--primary-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.sidebar:hover .nav-link:hover {
  padding-left: 1.4rem;
}

.nav-link.active {
  color: var(--primary-orange);
  background: rgba(255, 140, 0, 0.15);
  font-weight: 600;
}

.nav-icon {
  margin-right: 0;
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: margin var(--transition-speed) var(--transition-timing);
}

.sidebar:hover .nav-icon {
  margin-right: 1rem;
}

.nav-link span {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  display: inline-block;
  transition: opacity var(--transition-speed) var(--transition-timing) 0.1s, 
              max-width var(--transition-speed) var(--transition-timing);
  will-change: opacity, max-width;
}

.sidebar:hover .nav-link span {
  opacity: 1;
  max-width: 200px;
}

/* Audio Toggle Container */
.audio-toggle-container {
  padding: 0;
  margin: 0.25rem 0;
}

.audio-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.55rem 0.75rem;
  padding-left: 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-timing);
  color: var(--gray-text);
  font-size: 0.82rem;
  font-weight: 500;
  width: 100%;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar:hover .audio-toggle-btn {
  padding: 0.55rem 1rem;
}

.audio-toggle-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  transform: scaleY(0);
  transition: transform 0.2s var(--transition-timing);
}

.audio-toggle-btn:hover::before,
.audio-toggle-btn.playing::before {
  transform: scaleY(1);
}

.audio-toggle-btn:hover {
  color: var(--primary-yellow);
  background: rgba(255, 215, 0, 0.1);
}

.sidebar:hover .audio-toggle-btn:hover {
  padding-left: 1.75rem;
}

.audio-toggle-btn.muted {
  color: var(--gray-text);
}

.audio-toggle-btn.playing {
  color: var(--primary-orange);
  background: rgba(255, 140, 0, 0.15);
}

/* Pulse while waiting for first interaction */
.audio-toggle-btn.audio-pending {
  animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {
  0%, 100% { color: var(--gray-text); }
  50%       { color: var(--primary-orange); text-shadow: 0 0 8px rgba(255,140,0,.5); }
}

.audio-icon {
  margin-right: 0;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  transition: margin var(--transition-speed) var(--transition-timing);
}

.sidebar:hover .audio-icon {
  margin-right: 1rem;
}

.audio-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  display: inline-block;
  transition: opacity var(--transition-speed) var(--transition-timing) 0.1s, 
              max-width var(--transition-speed) var(--transition-timing);
  will-change: opacity, max-width;
}

.sidebar:hover .audio-text {
  opacity: 1;
  max-width: 200px;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--tertiary-dark);
  text-align: center;
  background: var(--secondary-dark);
  transition: padding var(--transition-speed) var(--transition-timing);
}

.sidebar:hover .sidebar-footer {
  padding: 1rem 1.5rem;
}

.sidebar-footer p {
  font-size: 0.65rem;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-timing) 0.1s;
  will-change: opacity;
}

.sidebar:hover .sidebar-footer p {
  opacity: 1;
  font-size: 0.75rem;
}

.sidebar-footer .version {
  color: var(--primary-orange);
  font-weight: bold;
}

/* Login Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--dark-bg) 100%);
  border: 2px solid var(--primary-orange);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(255, 140, 0, 0.3);
  animation: slideUp 0.4s ease;
  z-index: 2001;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--gray-text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--accent-red);
  background: rgba(220, 20, 60, 0.1);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.5));
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--light-text);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--primary-orange);
  font-size: 1rem;
}

.form-group input {
  background: var(--tertiary-dark);
  border: 2px solid var(--tertiary-dark);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--light-text);
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
  font-family: 'Rajdhani', sans-serif;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-orange);
  background: var(--secondary-dark);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
}

.form-group input::placeholder {
  color: var(--gray-text);
  opacity: 0.6;
}

.btn-login {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  color: var(--dark-bg);
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  margin-top: 0.5rem;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.btn-login:active {
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  background: var(--primary-orange);
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
  transition: all var(--transition-speed) ease;
}

.menu-toggle:hover {
  background: var(--primary-yellow);
  transform: scale(1.05);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--light-text);
  margin: 5px 0;
  transition: all var(--transition-speed) ease;
  border-radius: 2px;
}

/* ============================================
   Main Content Area
   ============================================ */
.main-content {
  margin-left: var(--sidebar-collapsed);
  min-height: 100vh;
  transition: none;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-dark) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('../images/game%20img/hero%20bg.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* Bottom-to-top gradient so the title is readable */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.80) 0%,
    rgba(10, 10, 10, 0.25) 40%,
    transparent 100%
  );
  z-index: 1;
}

/* Title anchored to bottom-left, above vignette */
.hero-title-wrap {
  position: absolute;
  bottom: 4rem;
  left: calc(var(--sidebar-collapsed) + 3rem);
  z-index: 2;
  text-align: left;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  margin-bottom: 0;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 50%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
  line-height: 1;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 10px var(--primary-yellow));
  }
  to {
    filter: drop-shadow(0 0 20px var(--primary-orange));
  }
}

/* ============================================
   Bottom-Right Download Widget
   ============================================ */
.hero-dl-widget {
  position: fixed;
  bottom: 2.4rem;
  right: 2.4rem;
  z-index: 900;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.1rem 1.4rem 1.3rem;
  min-width: 220px;
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-dl-widget__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-yellow);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-dl-widget__heading i {
  font-size: 0.85rem;
}

.hero-dl-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--light-text);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-dl-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

.hero-dl-btn i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-dl-btn__info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-dl-btn__sub {
  font-size: 0.72rem;
  opacity: 0.60;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Hidden state — fades out and slides slightly down */
.hero-dl-widget--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 140, 0, 0.4);
}

/* ============================================
   Skill Sets Section
   ============================================ */
.skillsets-section {
  position: relative;
  display: flex;
  height: 100vh;
  min-height: 720px;
  max-height: 100vh;
  background: #0d0d0d;
  overflow: hidden;
}

/* ── left column ─────────────────────────────────────────────── */
.sk-left {
  flex: 0 0 38%;
  max-width: 38%;
  display: flex;
  flex-direction: column;
  padding: 6rem 3rem 5rem calc(var(--sidebar-collapsed) + 3rem);
  border-right: 1px solid rgba(255,255,255,0.07);
  z-index: 1;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(15,15,15,0.85) 100%);
  overflow-y: auto;
}

.sk-eyebrow {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  color: var(--primary-yellow);
  margin-bottom: 0.85rem;
}

.sk-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.10em;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.sk-subtitle {
  font-size: 0.88rem;
  color: rgba(204,204,204,0.55);
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 3rem;
}

/* Skill list */
.sk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sk-list-item {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sk-list-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sk-list-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.15rem 1rem 1.15rem 0;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease;
}

.sk-list-btn:hover {
  background: rgba(255,255,255,0.03);
}

/* Index number */
.sk-list-index {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 22px;
  transition: color 0.3s ease;
}

/* Left accent bar */
.sk-list-accent {
  position: absolute;
  left: -3rem;          /* flush with left edge of sk-left */
  top: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
}

.sk-list-btn.active .sk-list-accent {
  background: linear-gradient(to bottom, var(--primary-yellow), var(--primary-orange));
}

.sk-list-copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.sk-list-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.sk-list-tag {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

/* Active state */
.sk-list-btn.active .sk-list-index {
  color: var(--primary-yellow);
}

.sk-list-btn.active .sk-list-name {
  color: #ffffff;
}

.sk-list-btn.active .sk-list-tag {
  color: rgba(255,215,0,0.55);
}

/* ── right column ────────────────────────────────────────────── */
.sk-right {
  flex: 1;
  position: relative;
  min-height: 100%;
  height: 100%;
  align-self: stretch;
}

/* Panels */
.sk-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: clamp(2rem, 4vh, 4rem) 8% 3rem;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,215,0,0.45) rgba(255,255,255,0.06);
}

.sk-panel.active {
  opacity: 1;
  pointer-events: all;
}

/* Per-panel ambient glow using the --glow custom property */
.sk-panel-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 70% 50%,
    rgba(var(--glow), 0.10) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Skill artwork */
.sk-panel-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 520px);
  height: auto;
  flex-shrink: 0;
  z-index: 1;
}

.sk-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 30px rgba(255,215,0,0.15));
}

/* Placeholder icon shown when image is missing */
.sk-panel-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
}

.sk-panel-img-placeholder i {
  font-size: clamp(4rem, 8vw, 8rem);
  color: rgba(255,255,255,0.12);
}

/* Skill info text */
.sk-panel-info {
  flex: 1;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Badge */
.sk-panel-badge {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 0.28rem 0.75rem;
  margin-bottom: 1.1rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.sk-badge--support   { background: rgba(220,20,60,0.20);   color: #ff6680;  border: 1px solid rgba(220,20,60,0.45); }
.sk-badge--mobility  { background: rgba(255,215,0,0.15);   color: #ffd700;  border: 1px solid rgba(255,215,0,0.45); }
.sk-badge--command   { background: rgba(255,140,0,0.15);   color: #ff8c00;  border: 1px solid rgba(255,140,0,0.45); }
.sk-badge--assault   { background: rgba(255,80,0,0.18);    color: #ff6020;  border: 1px solid rgba(255,80,0,0.50); }
.sk-badge--endurance { background: rgba(30,144,255,0.15);  color: #4da8ff;  border: 1px solid rgba(30,144,255,0.45); }

.sk-panel-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.sk-panel-desc {
  font-size: 0.95rem;
  color: rgba(204,204,204,0.70);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(255,215,0,0.30);
  padding-left: 1rem;
}

/* Abilities list */
.sk-abilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sk-abilities li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.90rem;
  color: rgba(204,204,204,0.75);
  line-height: 1.6;
}

.sk-abilities li i {
  color: var(--primary-yellow);
  font-size: 0.80rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.sk-abilities li strong {
  color: #ffffff;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sk-left { flex: 0 0 44%; max-width: 44%; padding-right: 2rem; }
}

@media (max-width: 768px) {
  .skillsets-section {
    flex-direction: column;
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }
  .sk-left {
    flex: none;
    max-width: 100%;
    padding: 4rem 1.5rem 2rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    overflow: visible;
  }
  .sk-right {
    min-height: auto;
    height: auto;
  }
  .sk-panel {
    position: relative;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    inset: unset;
    justify-content: flex-start;
    overflow-y: visible;
    display: none;
  }
  .sk-panel.active { display: flex; opacity: 1; }
  .sk-panel-img-wrap {
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }
  .sk-list-accent { display: none; }
}

/* ============================================
   Team Section
   ============================================ */

/* The section itself is transparent — gradient overlays give the
   blended-edge look against whatever section is above/below.      */
.team-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(
      to bottom,
      var(--dark-bg)        0%,
      var(--secondary-dark) 12%,
      var(--secondary-dark) 88%,
      var(--dark-bg)       100%
    );
}

/* Subtle horizontal scan-line texture overlay */
.team-scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.team-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 7rem 3rem 5rem;
}

/* Heading block */
.team-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.team-eyebrow {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary-yellow);
  margin-bottom: 0.8rem;
}

.team-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.team-sub {
  font-size: 0.95rem;
  color: rgba(204,204,204,0.55);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

/* ── Spotlight stage ─────────────────────────────────────── */
.ts-stage {
  position: relative;
  height: clamp(320px, 50vh, 520px);
  overflow: hidden;
  margin-bottom: 3rem;
}

/* Every slide is absolutely stacked; only .active is visible */
.ts-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 5%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ts-slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

/* ── Avatar column (left ~38 %) ────────────────────────── */
.ts-avatar-col {
  flex: 0 0 38%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Outer decorative ring + photo */
.ts-avatar-ring {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  height: clamp(180px, 22vw, 280px);
  border-radius: 50%;
}

/* Animated spinning dashed border */
.ts-avatar-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(255,215,0,0.30);
  animation: tsRingSpin 14s linear infinite;
}

/* Solid inner border */
.ts-avatar-ring::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255,140,0,0.45);
}

@keyframes tsRingSpin {
  to { transform: rotate(360deg); }
}

.ts-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.ts-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ts-avatar-fallback i {
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--dark-bg);
}

/* Large radial glow behind the avatar */
.ts-avatar-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,140,0,0.14) 0%,
    rgba(255,215,0,0.06) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ── Info column (right ~57 %) ────────────────────────── */
.ts-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 2%;
}

/* Slide index — e.g. "01 / 05" */
.ts-index {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,215,0,0.40);
  margin-bottom: 0.8rem;
  display: block;
}

.ts-index-sep {
  opacity: 0.45;
  margin: 0 0.3em;
}

.ts-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.ts-role {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--primary-orange);
  border-left: 2px solid var(--primary-orange);
  padding-left: 0.7rem;
  margin-bottom: 1.4rem;
}

.ts-bio {
  font-size: 0.95rem;
  color: rgba(204,204,204,0.62);
  line-height: 1.80;
  max-width: 500px;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 1rem;
}

/* ── Navigation row ────────────────────────────────── */
.ts-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding-top: 1rem;
}

.ts-arrow {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  font-size: 0.85rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ts-arrow:hover {
  background: rgba(255,215,0,0.10);
  border-color: rgba(255,215,0,0.50);
  color: var(--primary-yellow);
}

/* Dot indicators */
.ts-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ts-dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.ts-dot.active {
  width: 46px;
  background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange));
}

/* ── Group Photo ────────────────────────────────────────── */
.team-group-photo {
  margin: 1rem 0;
  border: none;
  background: none;
  box-shadow: none;
}

.team-group-photo img {
  display: block;
  margin: 0 auto;
  width: 55%;
  max-width: 750px;
  height: auto;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .ts-stage   { height: auto; }
  .ts-slide   { position: relative; flex-direction: column; inset: unset;
                gap: 2rem; display: none; text-align: center; padding: 1rem 0; }
  .ts-slide.active { display: flex; opacity: 1; }
  .ts-avatar-col  { flex: none; }
  .ts-info-col    { padding-left: 0; align-items: center; }
  .ts-bio         { border-left: none; padding-left: 0; text-align: left; }
  .team-inner     { padding: 5rem 1.5rem 4rem; }
  .team-group-photo img { max-width: 90%; }
}

/* ============================================
   Level Showcase Section
   ============================================ */

/* Full-viewport split: left = canvas, right = info */
.ls-section {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  /* blended top & bottom edges */
  background:
    linear-gradient(
      to bottom,
      var(--dark-bg)        0%,
      #000000              10%,
      #000000              90%,
      var(--dark-bg)       100%
    );
}

/* ── Canvas pane (left 58 %) ────────────────────────────── */
.ls-canvas-wrap {
  position: relative;
  flex: 0 0 58%;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

.ls-canvas-wrap canvas {
  display: block;
  width:  100%;
  height: 100%;
  outline: none;
  cursor: grab;
}

.ls-canvas-wrap canvas:active {
  cursor: grabbing;
}

/* Horizontal gradient bleed from the canvas into the info panel */
.ls-canvas-bleed {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--dark-bg) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Loading overlay ────────────────────────────────── */
.ls-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0,0,0,0.75);
  z-index: 10;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ls-loader-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,215,0,0.15);
  border-top-color: var(--primary-yellow);
  border-radius: 50%;
  animation: lsSpinRing 0.8s linear infinite;
}

@keyframes lsSpinRing {
  to { transform: rotate(360deg); }
}

.ls-loader-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.ls-loader-hint {
  font-size: 0.75rem;
  color: rgba(255,140,0,0.75);
  text-align: center;
  max-width: 280px;
  line-height: 1.5;
}

/* ── Drag hint badge ───────────────────────────────── */
.ls-drag-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ls-drag-hint i { font-size: 0.85rem; }

/* ── Info panel (right 42 %) ─────────────────────────── */
.ls-info {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5% 5rem 3%;
  background: var(--dark-bg);
  z-index: 1;
  overflow: hidden;
}

/* Very faint radial glow in the background of the info panel */
.ls-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 60% 50%,
    rgba(255,140,0,0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.ls-eyebrow {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary-yellow);
  margin-bottom: 0.7rem;
}

.ls-subtitle {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,140,0,0.65);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  transition: opacity 0.5s ease;
}

.ls-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.6rem;
  transition: opacity 0.5s ease;
}

.ls-desc {
  font-size: 0.95rem;
  color: rgba(204,204,204,0.65);
  line-height: 1.80;
  max-width: 440px;
  border-left: 2px solid rgba(255,215,0,0.28);
  padding-left: 1.1rem;
  margin-bottom: 3rem;
  transition: opacity 0.5s ease;
}

/* ── Navigation row ────────────────────────────────── */
.ls-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.ls-arrow {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  /* angled clip on top-right corner, matching badge style */
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.ls-arrow:hover {
  background: rgba(255,215,0,0.12);
  border-color: rgba(255,215,0,0.55);
  color: var(--primary-yellow);
}

.ls-page {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  min-width: 42px;
  text-align: center;
}

/* Thin decorative vertical rule left of [arrows] */
.ls-rule {
  position: absolute;
  left: -1px;
  top: 30%;
  height: 40%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,215,0,0.25) 40%,
    rgba(255,215,0,0.25) 60%,
    transparent
  );
  pointer-events: none;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .ls-section { flex-direction: column; min-height: auto; }
  .ls-canvas-wrap {
    flex: none;
    width: 100%;
    height: 60vw;
    min-height: 280px;
    max-height: 480px;
    min-height: auto;
  }
  .ls-canvas-bleed {
    width: 100%;
    height: 80px;
    top: unset;
    bottom: 0;
    right: unset;
    left: 0;
    background: linear-gradient(to bottom, transparent, var(--dark-bg) 100%);
  }
  .ls-info {
    padding: 3rem 1.5rem 4rem;
  }
  .ls-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* ============================================
   Trailer Section
   ============================================ */

.trl-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(
      to bottom,
      var(--dark-bg)        0%,
      #000000              8%,
      #000000              92%,
      var(--dark-bg)       100%
    );
}

/* Scan-line texture */
.trl-scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.06) 3px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.trl-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 3rem 8rem;
}

/* ── Heading ──────────────────────────────────────── */
.trl-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.trl-eyebrow {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary-yellow);
  margin-bottom: 0.8rem;
}

.trl-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.trl-title-line {
  width: 64px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange));
  margin: 0 auto;
  border-radius: 2px;
}

/* ── Frame wrapper ────────────────────────────────── */
.trl-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 215, 0, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 140, 0, 0.08),
    0 0 60px rgba(255, 215, 0, 0.06),
    0 0 120px rgba(255, 140, 0, 0.04);
  overflow: hidden;
}

/* Decorative corner brackets */
.trl-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 10;
  pointer-events: none;
}
.trl-corner--tl { top: -1px;    left: -1px;   border-top: 2px solid var(--primary-yellow); border-left:  2px solid var(--primary-yellow); }
.trl-corner--tr { top: -1px;    right: -1px;  border-top: 2px solid var(--primary-yellow); border-right: 2px solid var(--primary-yellow); }
.trl-corner--bl { bottom: -1px; left: -1px;   border-bottom: 2px solid var(--primary-yellow); border-left:  2px solid var(--primary-yellow); }
.trl-corner--br { bottom: -1px; right: -1px;  border-bottom: 2px solid var(--primary-yellow); border-right: 2px solid var(--primary-yellow); }

/* ── Thumbnail overlay ────────────────────────────── */
.trl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.trl-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
  transition: filter 0.4s ease;
}

.trl-overlay:hover .trl-thumb {
  filter: brightness(0.45);
}

.trl-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,140,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Play button */
.trl-play-btn {
  position: relative;
  z-index: 2;
  width: clamp(72px, 8vw, 100px);
  height: clamp(72px, 8vw, 100px);
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 215, 0, 0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.20);
}

.trl-play-btn:hover {
  transform: scale(1.12);
  background: rgba(255, 140, 0, 0.15);
  border-color: var(--primary-yellow);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.45);
}

/* Animated outer ring pulse */
.trl-play-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.25);
  animation: trlRingPulse 2s ease-out infinite;
}

@keyframes trlRingPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.45); opacity: 0; }
}

.trl-play-icon {
  width: 38%;
  height: 38%;
  color: var(--primary-yellow);
  position: relative;
  left: 4%; /* optical centre for triangle */
  transition: color 0.3s ease;
}

.trl-play-btn:hover .trl-play-icon {
  color: #fff;
}

.trl-play-label {
  position: relative;
  z-index: 2;
  margin-top: 1.4rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 215, 0, 0.75);
  pointer-events: none;
  transition: color 0.3s ease;
}

.trl-overlay:hover .trl-play-label {
  color: var(--primary-yellow);
}

/* ── Video element ────────────────────────────────── */
.trl-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Glow on active playback */
.trl-frame-wrap.trl-playing {
  box-shadow:
    0 0 0 1px rgba(255, 140, 0, 0.18),
    0 0 80px rgba(255, 215, 0, 0.12),
    0 0 160px rgba(255, 140, 0, 0.08);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .trl-inner { padding: 5rem 1.2rem 6rem; }
  .trl-corner { width: 20px; height: 20px; }
}

/* ============================================
   News & Updates Section
   ============================================ */

.nu-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(
      to bottom,
      var(--dark-bg)        0%,
      var(--secondary-dark) 8%,
      var(--secondary-dark) 92%,
      var(--dark-bg)       100%
    );
}

.nu-scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.07) 3px,
    rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.nu-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 3rem 7rem;
}

/* ── Section label row ──────────────────────────────── */
.nu-top {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.nu-section-label {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  flex-shrink: 0;
  margin: 0;
}

.nu-top-rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 215, 0, 0.18);
}

/* ── Featured article meta (above the images) ─────── */
.nu-feat-meta {
  margin-bottom: 1.2rem;
}

.nu-feat-crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.nu-feat-crumb-sep {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 215, 0, 0.45);
  letter-spacing: 0.05em;
}

.nu-feat-cat {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.nu-feat-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(204, 204, 204, 0.45);
  text-transform: uppercase;
}

.nu-feat-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

/* Category colour tokens */
.nu-cat--update  { background: rgba(255,140,0,0.85); color: #000; }
.nu-cat--event   { background: rgba(255,215,0,0.85); color: #000; }
.nu-cat--notice  { background: rgba(220,20,60,0.85);  color: #fff; }

/* ── Stage (image row) ───────────────────────────────── */
/* overflow:hidden here is the viewport — cards fly in/out as real boxes */
.nu-stage {
  position: relative;
  height: clamp(220px, 32vw, 480px);
  overflow: hidden;
}

/* Featured card — absolutely fills left 56% of stage */
.nu-feat-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 56%;
  overflow: hidden;
  background: #0a0a0a;
  cursor: default;
  will-change: transform;
}

.nu-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.nu-feat-wrap:hover .nu-feat-img {
  transform: scale(1.03);
}

.nu-feat-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #111);
}

.nu-feat-fallback i {
  font-size: 4rem;
  color: rgba(255,215,0,0.12);
}

.nu-feat-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(10,10,10,0.45) 100%
  );
  pointer-events: none;
}

/* Thumbs — right side, each absolutely positioned */
.nu-thumbs {
  display: none; /* removed from HTML, kept for safety */
}

.nu-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  will-change: transform;
}

/* Each thumb occupies half the remaining 44%, with 8px gaps */
#nuThumb0 {
  left: calc(56% + 8px);
  width: calc((44% - 16px) / 2);
}
#nuThumb1 {
  right: 0;
  width: calc((44% - 16px) / 2);
}

.nu-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.nu-thumb:hover::after {
  border-color: rgba(255,215,0,0.4);
}

.nu-thumb-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.nu-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.8);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.nu-thumb:hover .nu-thumb-img {
  filter: brightness(0.85) saturate(1);
  transform: scale(1.05);
}

.nu-thumb-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #161616, #0d0d0d);
}

.nu-thumb-fallback i {
  font-size: 2rem;
  color: rgba(255,215,0,0.1);
}

.nu-thumb-footer {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.nu-thumb-cat {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  border-radius: 2px;
}

.nu-thumb-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.nu-thumb-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 2rem 0.9rem 0.8rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  z-index: 2;
  transition: color 0.3s ease;
}

.nu-thumb:hover .nu-thumb-title {
  color: #fff;
}

/* ── Controls ─────────────────────────────────────────── */
.nu-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.nu-ctrl-arrows {
  display: flex;
  gap: 0.5rem;
}

.nu-ctrl-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.nu-ctrl-btn:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
  background: rgba(255,215,0,0.07);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .nu-stage { height: clamp(180px, 40vw, 320px); }
  #nuThumb0 { left: calc(52% + 8px); width: calc((48% - 16px) / 2); }
  #nuThumb1 { width: calc((48% - 16px) / 2); }
  .nu-feat-wrap { width: 52%; }
}

@media (max-width: 640px) {
  .nu-inner { padding: 5rem 1.2rem 6rem; }
  /* Stack vertically on mobile */
  .nu-stage { height: auto; min-height: 52vw; }
  .nu-feat-wrap { position: relative; width: 100%; height: 52vw; }
  #nuThumb0, #nuThumb1 { display: none; }
  .nu-thumb-title { font-size: 0.72rem; }
}

/* ============================================
   Downloads Section  (.dl-*)
   ============================================ */
.dl-section {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
}

.dl-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,140,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,140,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.dl-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem 7rem;
  z-index: 1;
}

/* Heading */
.dl-eyebrow {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--primary-orange);
  margin-bottom: 0.6rem;
  text-align: center;
}

.dl-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.6rem;
}

.dl-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 3.5rem;
}

/* Body layout */
.dl-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: center;
}

/* ── Download Card ── */
.dl-card {
  position: relative;
  background: linear-gradient(160deg, #1c1c1c 0%, #111 100%);
  border: 1px solid rgba(255,140,0,0.35);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}

/* Golden corner brackets */
.dl-card-corner {
  position: absolute;
  width: 14px;
  height: 14px;
}
.dl-card-corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--primary-yellow); border-left: 2px solid var(--primary-yellow); }
.dl-card-corner.tr { top: -1px; right: -1px; border-top: 2px solid var(--primary-yellow); border-right: 2px solid var(--primary-yellow); }
.dl-card-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--primary-yellow); border-left: 2px solid var(--primary-yellow); }
.dl-card-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--primary-yellow); border-right: 2px solid var(--primary-yellow); }

.dl-platform-icon {
  font-size: 4rem;
  color: var(--primary-yellow);
  filter: drop-shadow(0 0 18px rgba(255,215,0,0.35));
  margin-bottom: 1rem;
}

.dl-platform-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
  letter-spacing: 0.1em;
  margin: 0 0 0.35rem;
}

.dl-platform-os {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  margin-bottom: 1.8rem;
}

.dl-meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.9rem 0;
}

.dl-meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dl-meta-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.3);
}

.dl-meta-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--light-text);
}

.dl-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

/* Download button */
.dl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(255,140,0,0.4);
  margin-bottom: 1rem;
}

.dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,215,0,0.55);
}

.dl-btn-shine {
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
}

.dl-btn:hover .dl-btn-shine {
  left: 130%;
}

.dl-note {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
  margin: 0;
}

/* ── System Requirements ── */
.dl-reqs {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 2rem 2.2rem;
}

.dl-reqs-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.8rem;
  white-space: nowrap;
}

.dl-reqs-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.dl-reqs-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 1.5rem;
}

.dl-reqs-sep {
  background: rgba(255,255,255,0.08);
}

.dl-reqs-col-head {
  margin-bottom: 1.2rem;
}

.dl-reqs-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 3px 10px;
}

.dl-reqs-badge--min {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

.dl-reqs-badge--rec {
  background: rgba(255,215,0,0.12);
  color: var(--primary-yellow);
}

.dl-reqs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-reqs-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 0.5rem;
}

.dl-reqs-list li:last-child {
  border-bottom: none;
}

.dl-req-key {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.dl-req-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-align: right;
}

@media (max-width: 860px) {
  .dl-body { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 520px) {
  .dl-inner { padding: 5rem 1.25rem 6rem; }
}

/* ============================================
   About Section  (.ab-*)
   ============================================ */
.ab-section {
  position: relative;
  background: var(--secondary-dark);
  overflow: hidden;
}

.ab-bg-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(255,140,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.ab-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem 7rem;
  z-index: 1;
}

/* Heading */
.ab-eyebrow {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--primary-orange);
  margin-bottom: 0.6rem;
  text-align: center;
}

.ab-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 2.5rem;
}

.ab-mission {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
  letter-spacing: 0.02em;
}

/* Stats */
.ab-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 0;
  margin-bottom: 4rem;
}

.ab-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 180px;
}

.ab-stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.ab-stat-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.6;
}

.ab-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.09);
  flex-shrink: 0;
}

/* Feature cards */
.ab-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.ab-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-card:hover {
  border-color: rgba(255,140,0,0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255,140,0,0.12);
}

.ab-card-icon {
  font-size: 2rem;
  color: var(--primary-yellow);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255,215,0,0.3));
}

.ab-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--light-text);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.ab-card-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

/* CTA block */
.ab-cta {
  position: relative;
  text-align: center;
  padding: 3.5rem 3rem;
  background: linear-gradient(135deg, rgba(30,20,0,0.6) 0%, rgba(10,10,10,0.8) 100%);
  border: 1px solid rgba(255,140,0,0.3);
}

.ab-cta-corner {
  position: absolute;
  width: 16px;
  height: 16px;
}
.ab-cta-corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--primary-yellow); border-left: 2px solid var(--primary-yellow); }
.ab-cta-corner.tr { top: -1px; right: -1px; border-top: 2px solid var(--primary-yellow); border-right: 2px solid var(--primary-yellow); }
.ab-cta-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--primary-yellow); border-left: 2px solid var(--primary-yellow); }
.ab-cta-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--primary-yellow); border-right: 2px solid var(--primary-yellow); }

.ab-cta-headline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1rem;
}

.ab-cta-body {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.ab-cta-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .ab-cards { grid-template-columns: 1fr; }
  .ab-stats { flex-wrap: wrap; gap: 1.5rem; }
  .ab-stat-divider { display: none; }
  .ab-cta { padding: 2.5rem 1.5rem; }
}

@media (max-width: 520px) {
  .ab-inner { padding: 5rem 1.25rem 6rem; }
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
  background: var(--secondary-dark);
  border-top: 2px solid var(--primary-orange);
  padding: 4rem 2rem 2rem;
  text-align: center;
  margin-left: 0; /* Full width footer */
  transition: none;
  position: relative;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  color: var(--gray-text);
  font-size: 1rem;
  margin: 1rem 0;
  line-height: 1.8;
}

.footer-content p:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light-text);
}

.footer-content a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  font-weight: 500;
}

.footer-content a:hover {
  color: var(--primary-yellow);
}

.footer-links {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--tertiary-dark);
  border-bottom: 1px solid var(--tertiary-dark);
}

.footer-links a {
  margin: 0 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-disclaimer {
  font-size: 0.85rem !important;
  color: var(--gray-text) !important;
  opacity: 0.7;
  margin-top: 2rem !important;
  line-height: 1.6 !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  :root {
    --sidebar-collapsed: 0px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  /* Show sidebar contents when active on mobile */
  .sidebar.active .sidebar-logo .logo-image { transform: scale(1.4); }
  .sidebar.active .sidebar-logo .logo-text { opacity: 1; max-height: 100px; margin-top: 1rem; }
  .sidebar.active .nav-link { padding: 0.55rem 1rem; }
  .sidebar.active .nav-icon { margin-right: 1rem; }
  .sidebar.active .nav-link span { opacity: 1; max-width: 200px; }
  .sidebar.active .audio-toggle-btn { padding: 0.55rem 1rem; }
  .sidebar.active .audio-icon { margin-right: 1rem; }
  .sidebar.active .audio-text { opacity: 1; max-width: 200px; }
  .sidebar.active .sidebar-footer { padding: 1rem 1.5rem; }
  .sidebar.active .sidebar-footer p { opacity: 1; font-size: 0.75rem; }
  
  .main-content,
  .main-footer {
    margin-left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .sidebar-logo h1 {
    font-size: 1.5rem;
  }
  
  .sidebar-logo p {
    font-size: 0.7rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 0.9rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ============================================================
   Feedback Section  (fb-)
   Community wall — dark tactical aesthetic matching site theme
   ============================================================ */

/* ── Section wrapper ───────────────────────────────────────── */
.fb-section {
  position: relative;
  background: var(--dark-bg);
  padding: 5rem 2rem 6rem;
  overflow: hidden;
}

.fb-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,140,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

.fb-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(255,255,255,.018) 3px, rgba(255,255,255,.018) 4px);
  pointer-events: none;
  z-index: 0;
}

.fb-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Heading ───────────────────────────────────────────────── */
.fb-heading {
  text-align: center;
  margin-bottom: 2.4rem;
}

.fb-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--primary-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: .5rem;
}

.fb-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--light-text);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: .6rem;
}

.fb-subtitle {
  font-size: .9rem;
  color: #888;
  letter-spacing: .04em;
}

/* ── Flash alerts ──────────────────────────────────────────── */
.fb-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 4px;
  margin-bottom: 1.6rem;
  font-size: .9rem;
  border-left: 3px solid;
}

.fb-alert-success {
  background: rgba(40,167,69,.1);
  border-color: #28a745;
  color: #5fd97a;
}

.fb-alert-error {
  background: rgba(220,53,69,.1);
  border-color: #dc3545;
  color: #f08590;
}

/* ── Two-column layout ─────────────────────────────────────── */
.fb-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Submit form panel ─────────────────────────────────────── */
.fb-form-wrap {
  position: sticky;
  top: 80px;
}

.fb-form-panel {
  background: #121212;
  border: 1px solid rgba(255,140,0,.2);
  border-radius: 6px;
  overflow: hidden;
}

.fb-form-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255,140,0,.06);
  border-bottom: 1px solid rgba(255,140,0,.15);
}

.fb-form-panel-header i {
  color: var(--primary-orange);
  font-size: 1.1rem;
}

.fb-form-panel-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--light-text);
  margin: 0;
}

.fb-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fb-field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #aaa;
}

.fb-required { color: var(--primary-orange); }
.fb-optional { color: #666; font-weight: 400; text-transform: none; letter-spacing: 0; }

.fb-input,
.fb-textarea {
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  border-radius: 4px;
  color: var(--light-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: .92rem;
  padding: 10px 12px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}

.fb-input:focus,
.fb-textarea:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255,140,0,.12);
}

.fb-textarea { resize: vertical; min-height: 100px; }

.fb-char-hint {
  font-size: .72rem;
  color: #555;
  align-self: flex-end;
}

/* ── Star rating input (CSS-only reverse trick) ────────────── */
.fb-stars-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.fb-stars-input input[type="radio"] {
  display: none;
}

.fb-stars-input label {
  font-size: 1.4rem;
  color: #444;
  cursor: pointer;
  transition: color .15s;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
}

.fb-stars-input label:hover,
.fb-stars-input label:hover ~ label,
.fb-stars-input input[type="radio"]:checked ~ label {
  color: var(--primary-yellow);
}

/* ── Submit button ─────────────────────────────────────────── */
.fb-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  border: none;
  border-radius: 4px;
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  margin-top: 4px;
}

.fb-submit-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.fb-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.fb-note {
  font-size: .72rem;
  color: #555;
  text-align: center;
  line-height: 1.5;
}

.fb-note i {
  color: #666;
  margin-right: 4px;
}

/* ── Feed / comment list ───────────────────────────────────── */
.fb-feed-header {
  margin-bottom: 1rem;
}

.fb-feed-title {
  font-family: 'Orbitron', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,140,0,.15);
  color: var(--primary-orange);
  border: 1px solid rgba(255,140,0,.3);
  border-radius: 20px;
  font-size: .72rem;
  padding: 1px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
}

/* Empty state */
.fb-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #555;
}

.fb-empty-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 1rem;
  color: #333;
}

/* Feed container */
.fb-feed {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.fb-feed::-webkit-scrollbar { width: 4px; }
.fb-feed::-webkit-scrollbar-track { background: transparent; }
.fb-feed::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

/* Individual card */
.fb-card {
  background: #111;
  border: 1px solid #222;
  border-left: 3px solid rgba(255,140,0,.3);
  border-radius: 5px;
  padding: 14px 16px;
  transition: border-left-color .2s, background .2s;
}

.fb-card:hover {
  border-left-color: var(--primary-orange);
  background: #141414;
}

.fb-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.fb-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
  color: #000;
  font-family: 'Orbitron', sans-serif;
  font-size: .85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-card-meta {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.fb-card-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--light-text);
}

.fb-card-stars {
  display: flex;
  gap: 2px;
  font-size: .75rem;
  color: var(--primary-yellow);
}

.fb-card-date {
  font-size: .75rem;
  color: #555;
  margin-left: auto;
}

.fb-card-msg {
  font-size: .88rem;
  color: #bbb;
  line-height: 1.6;
  padding-left: 48px;
  word-break: break-word;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .fb-layout {
    grid-template-columns: 1fr;
  }

  .fb-form-wrap {
    position: static;
  }

  .fb-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .fb-section { padding: 3.5rem 1rem 4rem; }
  .fb-card-msg { padding-left: 0; margin-top: 8px; }
  .fb-card-top { flex-wrap: wrap; }
}
