/* --- CSS VARIABLES & THEMING --- */
:root {
  /* Dark Green Theme */
  --bg-deep: #030B07;
  --bg-base: #06170E;
  --bg-surface: #0A2416;
  --bg-surface-light: #0D301D;
  
  --primary: #00E676; /* Vibrant Neon Green */
  --primary-glow: rgba(0, 230, 118, 0.4);
  --primary-dark: #00B25A;
  
  --text-main: #FFFFFF;
  --text-muted: #A3C9B4;
  
  /* Glassmorphism */
  --glass-bg: rgba(10, 36, 22, 0.4);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --z-overlay: 900;
  --z-drawer: 1000;
  --z-header: 800;
}

/* --- RESET & GLOBAL TYPOGRAPHY --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

/* --- UTILITIES & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--dark {
  background-color: var(--bg-deep); /* Explicit dark section */
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* Green gradient text */
  background: linear-gradient(135deg, white, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: white; /* fallback */
}

.section-title span.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 1.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: inherit;
  gap: 8px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border-hover);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

/* --- LOGO --- */
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  color: var(--primary);
}

/* --- HEADER & MOBILE MENU NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background: rgba(3, 11, 7, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Desktop Nav */
.header__nav {
  display: none;
}
.header__nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}
.header__nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--primary);
}

/* Mobile Toggle */
.header__toggle {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
  z-index: calc(var(--z-drawer) + 1);
  padding: 8px;
}

/* Mobile Overlay */
.header__mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.header__mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Side Drawer */
.header__mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--glass-border);
  z-index: var(--z-drawer);
  padding: 100px 30px 40px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.header__mobile-menu.active {
  transform: translateX(-300px);
}

.header__mobile-menu .header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.header__mobile-menu .header__nav-link {
  font-size: 1.25rem;
}

/* Desktop Media Query */
@media (min-width: 992px) {
  .header__toggle {
    display: none;
  }
  .header__nav {
    display: block;
  }
}

/* --- GLASS CARDS (Never Stop Images Slid Gallery style) --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 230, 118, 0.1);
}

/* --- CAROUSEL IMAGES (Ratio logic) --- */
/* For devices carousel images */
.carousel--devices img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 10px;
}

/* For icon/logo carousel images */
.carousel--logos img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

/* For sport carousel images */
.carousel--sport img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

/* For whatsapp screenshots */
.carousel--wtsp img {
  aspect-ratio: 473 / 1024;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

/* Soft rounded corners, low opacity creamy white background for cards */
.img-card {
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 150px; /* Account for fixed header */
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Blurred background glow */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.15) 0%, rgba(3, 11, 7, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero__content-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__content-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

@media (max-width: 991px) {
  .hero__content-desc {
    margin: 0 auto 32px;
  }
}

.hero__content-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 991px) {
  .hero__content-actions {
    justify-content: center;
  }
}

/* --- THE HOT PLAYER PREVIEW (Padding 5px applied here) --- */
.hero__preview {
  padding: 5px; /* As requested */
  background: rgba(0, 230, 118, 0.1); 
  border-radius: 24px;
  position: relative;
  border: 1px solid rgba(0, 230, 118, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 230, 118, 0.15);
}

/* Inner App UI from Prompt */
.tv-content {
  background: linear-gradient(135deg, #1A1A24 0%, #0D0D14 100%);
  border-radius: 20px;
  padding: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Typical TV ratio */
}

/* Subtle TV screen reflection */
.tv-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shine 8s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.tv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.tv-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
}
.tv-logo-icon {
  width: 28px;
  height: 28px;
  color: #E50914; /* Hot player red */
}
.tv-version {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.tv-sub-status {
  font-size: 0.85rem;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.status-active {
  color: #00E676;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.status-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}

.status-expire {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tv-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex: 1;
  z-index: 1;
}

.tv-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tv-card.active, .tv-card:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.tv-card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.tv-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tv-footer {
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.tv-icon-group {
  display: flex;
  gap: 12px;
}

.tv-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tv-icon-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

/* --- LOGO STRIP / BOTTOM HERO --- */
.hero-logos {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-surface);
  position: relative;
}

.hero-logos::before, .hero-logos::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.hero-logos::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface), transparent);
}
.hero-logos::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface), transparent);
}

.marquee-content {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.marquee-content img {
  height: 40px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}

.marquee-content img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* Footer styling */
.footer {
  background-color: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col h4 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--text-main);
  font-weight: 700;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary);
  transform: translateX(5px);
  display: inline-block;
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
