/* ========================================
   YACINE TV BLACK — DESIGN SYSTEM
   Dark Cinematic Premium UI
   ======================================== */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --black: #000000;
  --black-light: #0a0a0a;
  --black-card: #0d0d0d;
  --black-surface: #111111;
  --black-border: #1a1a1a;
  --red-primary: #ff2d2d;
  --red-dark: #8b0000;
  --red-glow: rgba(255, 45, 45, 0.4);
  --red-glow-soft: rgba(255, 45, 45, 0.15);
  --red-gradient: linear-gradient(135deg, #ff2d2d, #8b0000);
  --red-gradient-h: linear-gradient(90deg, #ff2d2d, #8b0000);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.55);
  --white-dim: rgba(255, 255, 255, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --font-family: 'Noto Sans Arabic', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;
  --shadow-glow: 0 0 30px rgba(255, 45, 45, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-btn: 0 4px 20px rgba(255, 45, 45, 0.35);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
  --header-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background: var(--black);
  color: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-family);
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: var(--red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--white-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.9;
}

/* --- Animated Background --- */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatGlow 12s ease-in-out infinite;
}

.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatGlow 15s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Noise Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  text-decoration: none;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  transition: var(--transition-base);
}

.logo:hover span {
  color: var(--red-primary);
  transform: scale(1.02);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white-soft);
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--red-gradient-h);
  border-radius: 2px;
  transition: var(--transition-base);
}

.nav-desktop a:hover {
  color: var(--white);
}

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

.nav-desktop .nav-cta {
  background: var(--red-gradient);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-btn);
  transition: var(--transition-base);
}

.nav-desktop .nav-cta::after {
  display: none;
}

.nav-desktop .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 45, 45, 0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 40px;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  transform: translateY(20px);
  opacity: 0;
  width: 280px;
  justify-content: center;
}

.mobile-menu.active a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(7) { transition-delay: 0.35s; }

.mobile-menu a i {
  font-size: 1.1rem;
  width: 28px;
  text-align: center;
  color: var(--red-primary);
}

.mobile-menu a:hover {
  background: var(--glass-hover);
  color: var(--white);
}

.mobile-menu .menu-cta {
  background: var(--red-gradient);
  color: var(--white);
  margin-top: 12px;
  box-shadow: var(--shadow-btn);
  font-weight: 700;
}

.mobile-menu .menu-cta:hover {
  transform: translateY(-2px) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 0, 0, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255, 45, 45, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(139, 0, 0, 0.08) 0%, transparent 50%),
              var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  color: var(--red-primary);
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease;
}

.hero-badge i {
  font-size: 0.9rem;
}

.hero-icon {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: 0 0 40px rgba(255, 45, 45, 0.25);
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease;
  max-width: 800px;
}

.hero h1 .highlight {
  background: var(--red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--white-muted);
  max-width: 620px;
  line-height: 1.9;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.9s ease;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red-gradient);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(255, 45, 45, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  background: var(--red-glow-soft);
  transform: translateY(-3px);
}

.btn i {
  font-size: 1.1rem;
}

/* ========================================
   ABOUT / INTRO SECTION
   ======================================== */
.intro {
  position: relative;
}

.intro-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.05rem;
  color: var(--white-soft);
  line-height: 2;
  margin-bottom: 20px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--red-gradient-h);
  opacity: 0;
  transition: var(--transition-base);
}

.feature-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 45, 45, 0.15);
  transform: translateY(-6px);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--red-glow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--red-primary);
  transition: var(--transition-base);
  border: 1px solid rgba(255, 45, 45, 0.1);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 25px var(--red-glow);
  background: rgba(255, 45, 45, 0.2);
  transform: scale(1.08);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--white-muted);
  line-height: 1.8;
}

/* ========================================
   VERSIONS SECTION
   ======================================== */
.versions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.version-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.version-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red-gradient-h);
  opacity: 0;
  transition: var(--transition-base);
}

.version-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 45, 0.2);
}

.version-card:hover::after {
  opacity: 1;
}

.version-card img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.15);
}

.version-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.version-card .version-label {
  font-size: 0.88rem;
  color: var(--white-muted);
  margin-bottom: 20px;
}

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

/* ========================================
   PLAYER SECTION
   ======================================== */
.player-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 45, 45, 0.03) 50%, transparent 100%);
}

.player-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-gradient-h);
}

.player-card img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.15);
}

.player-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.player-card p {
  font-size: 0.95rem;
  color: var(--white-muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
/* Detailed Steps Grid */
.detailed-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.d-step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: right;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.d-step-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 45, 45, 0.2);
  transform: translateY(-8px);
}

.d-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.d-step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 45, 45, 0.1);
  font-family: sans-serif;
  line-height: 1;
}

.d-step-icon {
  width: 50px;
  height: 50px;
  background: var(--red-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-btn);
}

.d-step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.d-step-card p {
  font-size: 0.88rem;
  color: var(--white-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .detailed-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .detailed-steps {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CTA (FINAL)
   ======================================== */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item:hover {
  border-color: rgba(255, 45, 45, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-soft);
  background: none;
  border: none;
  width: 100%;
  text-align: right;
  font-family: var(--font-family);
  transition: var(--transition-base);
  gap: 16px;
}

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

.faq-question i {
  font-size: 0.85rem;
  color: var(--red-primary);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--white-muted);
  line-height: 1.9;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.8;
}

.footer .disclaimer {
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 0.8rem;
  color: var(--white-dim);
  opacity: 0.7;
}

/* ========================================
   DOWNLOAD CENTER PAGE
   ======================================== */
.download-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.download-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 45, 45, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.download-hero h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.download-hero p {
  font-size: 1.05rem;
  color: var(--white-muted);
  max-width: 550px;
  margin: 0 auto;
}

/* Download Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 950px;
  margin: 0 auto;
}

.download-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red-gradient-h);
  opacity: 0;
  transition: var(--transition-base);
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 45, 0.2);
  background: var(--glass-hover);
}

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

.download-card-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: var(--red-glow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--red-primary);
  border: 1px solid rgba(255, 45, 45, 0.1);
  transition: var(--transition-base);
}

.download-card:hover .download-card-icon {
  box-shadow: 0 0 25px var(--red-glow);
  transform: scale(1.05);
}

.download-card-icon img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.download-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card .dl-version {
  font-size: 0.82rem;
  color: var(--white-dim);
  margin-bottom: 6px;
}

.download-card .dl-desc {
  font-size: 0.9rem;
  color: var(--white-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

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

/* Download Notes */
.download-notes {
  max-width: 700px;
  margin: 60px auto 0;
  text-align: center;
}

.download-notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.download-notes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--white-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}

.download-notes-list li i {
  color: var(--red-primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   KEYFRAMES
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 45, 45, 0); }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.4;
  }

  .hero-desc {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-image {
    max-width: 90% !important;
    margin-bottom: 20px !important;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.4;
    padding: 0 10px;
  }

  .section-subtitle {
    font-size: 0.95rem;
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .features-grid, .versions-grid, .download-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .feature-card, .version-card, .player-card, .download-card {
    padding: 30px 20px;
  }

  .detailed-steps {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0 10px;
  }

  .d-step-card {
    padding: 24px 20px;
  }

  .download-hero {
    padding: 120px 0 50px;
  }

  .download-hero h1 {
    font-size: 2.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-section h2 {
    font-size: 1.7rem;
    line-height: 1.4;
    padding: 0 15px;
  }
}

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

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

  .container {
    padding: 0 16px;
  }

  .logo span {
    font-size: 1.15rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 12px 24px;
  }

  .feature-icon, .download-card-icon, .version-card img, .player-card img {
    transform: scale(0.9);
  }

  /* Specific mobile adjustments for downloader badge */
  .downloader-badge {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }
  
  .downloader-badge .copy-section {
    position: absolute;
    top: 10px;
    left: 10px;
  }
  
  .downloader-badge .separator {
    display: none;
  }
  
  .downloader-badge .code-info {
    text-align: center;
  }
  
  .downloader-badge .app-icon {
    display: none;
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--red-primary), var(--red-dark));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
  background: rgba(255, 45, 45, 0.3);
  color: var(--white);
}

/* ========================================
   DOWNLOADER CODE BADGE
   ======================================== */
.downloader-badge {
  display: inline-flex;
  align-items: center;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  gap: 20px;
  margin-top: 30px;
  position: relative;
  transition: var(--transition-base);
  animation: fadeInUp 1s ease;
  user-select: none;
}

.downloader-badge:hover {
  border-color: var(--red-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.downloader-badge .copy-section {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.downloader-badge .copy-icon {
  font-size: 1.2rem;
  color: var(--white-muted);
  transition: var(--transition-base);
}

.downloader-badge .copy-section:hover .copy-icon {
  color: var(--white);
  transform: scale(1.1);
}

.downloader-badge .separator {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

.downloader-badge .code-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.downloader-badge .code-label {
  font-size: 0.85rem;
  color: var(--white-soft);
  font-weight: 500;
}

.downloader-badge .code-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #f57c00; /* Downloader Orange */
  line-height: 1;
  letter-spacing: 1px;
}

.downloader-badge .app-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #222;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.downloader-badge .app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

@media (max-width: 480px) {
  .downloader-badge {
    gap: 12px;
    padding: 10px 16px;
  }
  .downloader-badge .code-value {
    font-size: 1.5rem;
  }
  .downloader-badge .app-icon {
    width: 40px;
    height: 40px;
  }
}
