/* ==========================================
   THE FINAL ROOM - PROMOTIONAL WEBSITE STYLES
   ========================================== */

/* Design Tokens & Theme Variables */
:root {
  --bg-color: #050508;
  --bg-card: #0c0c12;
  --bg-card-hover: #14141f;

  /* Color Palette */
  --primary: #e50914;
  /* Blood Red */
  --primary-rgb: 229, 9, 20;
  --primary-glow: rgba(229, 9, 20, 0.45);

  --accent: #ff6a00;
  /* Warning Orange */
  --accent-rgb: 255, 106, 0;
  --accent-glow: rgba(255, 106, 0, 0.45);

  --text-primary: #ffffff;
  --text-secondary: #a0a0ab;
  --text-muted: #62626e;

  --border-color: rgba(229, 9, 20, 0.15);
  --border-hover: rgba(229, 9, 20, 0.45);

  /* Fonts */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Grid/Spacing */
  --container-max-width: 1280px;
  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff3333;
}

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

/* Particle Canvas Backdrop */
#emberCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* Main Layout Wrapper */
header,
section,
footer {
  position: relative;
  z-index: 2;
  /* Sits above canvas background */
}

/* Typography & Global Components */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Section Header Styles */
.section-header {
  margin-bottom: 48px;
}

.section-header.center-align {
  text-align: center;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 8px;
  text-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* Badge styling */
.badge-accent {
  background-color: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.15);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a0060e 100%);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.7);
  background: linear-gradient(135deg, #ff1a26 0%, var(--primary) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--text-muted);
}

.btn-tertiary:hover {
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: translateY(-2px);
}

/* ==========================================
   STICKY NAVIGATION
   ========================================== */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 100;
  transition: var(--transition-smooth);
}

.sticky-nav.scrolled {
  background: rgba(5, 5, 8, 0.92);
  height: 70px;
  border-bottom: 1px solid rgba(229, 9, 20, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.logo-red {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.logo-white {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: #fff;
}

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

.btn-nav-cta {
  padding: 10px 20px;
  font-size: 0.8rem;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

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

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--primary);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 8, 0.98);
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-left: 1px solid rgba(229, 9, 20, 0.2);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

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

.btn-mobile-cta {
  margin-top: 16px;
  padding: 14px 40px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.4) 0%, rgba(5, 5, 7, 0.98) 100%),
    radial-gradient(circle, rgba(229, 9, 20, 0.18) 0%, rgba(5, 5, 7, 0) 70%),
    url('assets/Cover-Image.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(5, 5, 8, 0.95) 90%);
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-text-block {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #ffffff;
}

.highlight-glow {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.8),
    0 0 30px rgba(229, 9, 20, 0.4),
    0 0 60px rgba(229, 9, 20, 0.2);
  animation: glow-pulse 4s infinite alternate;
}

@keyframes glow-pulse {
  0% {
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.8), 0 0 30px rgba(229, 9, 20, 0.4);
  }

  100% {
    text-shadow: 0 0 25px rgba(229, 9, 20, 0.95), 0 0 45px rgba(229, 9, 20, 0.6), 0 0 70px rgba(229, 9, 20, 0.3);
  }
}

.hero-tagline {
  color: var(--text-secondary);
  margin-top: 20vh;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon-play {
  margin-right: 8px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: #fff;
  animation: scroll-ping 1.8s infinite;
}

@keyframes scroll-ping {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(260%);
    opacity: 0;
  }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  padding: 120px 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.about-content {
  padding-right: 20px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: rgba(229, 9, 20, 0.03);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.05);
}

.stat-number {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-shadow: 0 0 8px rgba(229, 9, 20, 0.3);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual-wrapper {
  display: flex;
  justify-content: center;
}

.about-visual-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.about-visual-container:hover .about-img {
  transform: scale(1.03);
  opacity: 0.95;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  z-index: 3;
  pointer-events: none;
}

.corner-borders::before,
.corner-borders::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--primary);
  border-style: solid;
  z-index: 4;
  pointer-events: none;
}

.corner-borders::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.corner-borders::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

.terminal-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 12px;
  border-radius: 2px;
  border-left: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #fff;
}

.terminal-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: ping 1.5s infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(12, 12, 18, 0.4) 50%, var(--bg-color) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 9, 20, 0.1);
  background: var(--bg-card-hover);
}

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

.feature-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.feature-item-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: var(--transition-bounce);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.7));
}

.feature-card:hover .feature-item-img {
  transform: scale(1.1) rotate(2deg);
}

.feature-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.08) 0%, transparent 70%);
}

.accent-svg {
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.4));
  transition: var(--transition-bounce);
}

.feature-card:hover .accent-svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(255, 106, 0, 0.6));
}

/* Item Badges */
.item-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  text-transform: uppercase;
}

.weapon-badge {
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid var(--primary);
  color: #fff;
}

.turret-badge {
  background: rgba(255, 106, 0, 0.2);
  border: 1px solid var(--accent);
  color: #fff;
}

.system-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.feature-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* ==========================================
   SCREENSHOT / GALLERY SECTION
   ========================================== */
.gallery-section {
  padding: 120px 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.slider-outer-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.slider-inner-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
}

.slider-wrapper {
  display: flex;
  width: 700%;
  /* 7 slides */
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  width: 14.2857%;
  height: 100%;
  position: relative;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 30px 24px 20px 24px;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn-prev {
  left: -25px;
}

.slider-btn-next {
  right: -25px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transform: scale(1.15);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   TRAILER SECTION
   ========================================== */
.trailer-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(229, 9, 20, 0.03) 50%, var(--bg-color) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.video-container-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.video-ratio-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.custom-video-player {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.video-poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(5, 5, 8, 0.92) 90%);
  z-index: 1;
}

.video-play-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.play-btn-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
  transition: var(--transition-bounce);
  position: relative;
}

.play-btn-circle::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.play-icon {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-play-btn:hover {
  transform: scale(1.08);
}

.video-play-btn:hover .play-btn-circle {
  background: #ff1a26;
  box-shadow: 0 0 35px rgba(229, 9, 20, 0.9);
}

.video-poster-text {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 20px;
}

.video-poster-text h3 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 4px;
}

.video-poster-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

/* Custom Controls */
.video-custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.custom-video-player:hover .video-custom-controls {
  opacity: 1;
  pointer-events: auto;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ctrl-btn:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.video-progress-container {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.video-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 3px;
  box-shadow: 0 0 6px var(--primary);
}

/* ==========================================
   DOWNLOAD SECTION
   ========================================== */
.download-section {
  padding: 120px 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.download-bg-glow {
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.download-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.download-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.store-card {
  background: rgba(12, 12, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.store-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.store-card:hover::before {
  left: 140%;
}

.store-card:hover {
  transform: translateY(-4px);
  background: rgba(12, 12, 18, 0.95);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.playstore-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.15);
}

.store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-logo {
  color: #fff;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.store-name {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}

/* Device Preview Frame */
.download-visual {
  display: flex;
  justify-content: center;
}

.device-frame {
  width: 100%;
  max-width: 550px;
  aspect-ratio: 21 / 9;
  background: #1e1e24;
  border: 12px solid #2d2d35;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.device-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.device-home-btn {
  display: none;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  background-color: #030305;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  padding-right: 32px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: #fff;
  position: relative;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 40px;
}

.footer-bottom-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 10px var(--primary-glow);
  transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }

  .grid-2 {
    gap: 40px;
  }

  .download-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .download-description {
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .download-visual {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {

  /* Navigation */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Layout */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    padding-right: 0;
    text-align: center;
  }

  .section-header.center-align,
  .about-content .section-header {
    text-align: center;
  }

  .about-stats-grid {
    max-width: 500px;
    margin: 40px auto 0 auto;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    max-width: 480px;
    margin: 0 auto;
  }

  /* Slider Controls (Move inside container edges for small screens) */
  .slider-btn-prev {
    left: 10px;
  }

  .slider-btn-next {
    right: 10px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-links-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom-layout {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-card {
    width: 100%;
    justify-content: center;
  }

  .device-frame {
    width: 500px;
    height: 500px;
    border-width: 8px;
  }
}