/* ============================================
   CENZO GAME'S HUB - Premium Entertainment Platform
   PLAY - STREAM - ENJOY
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --neon-green: #00ff88;
  --netflix-red: #e50914;
  --dark-black: #0a0a0f;
  --dark-gray: #1a1a2e;
  --card-bg: rgba(26, 26, 46, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --gradient-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  --gradient-accent: linear-gradient(135deg, var(--neon-purple), var(--netflix-red));
  --gradient-success: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  --shadow-neon-blue: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-neon-purple: 0 0 20px rgba(168, 85, 247, 0.3);
  --shadow-neon-green: 0 0 20px rgba(0, 255, 136, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;
  --nav-height: 70px;
  --bottom-nav-height: 65px;
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--dark-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol { list-style: none; }

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button { cursor: pointer; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark-black); }
::-webkit-scrollbar-thumb {
  background: var(--neon-purple);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--neon-blue); }

::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #fff;
}

/* ---- Splash Screen ---- */
.splash-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--dark-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: splashPulse 2s ease-in-out infinite, splashGlow 2s ease-in-out infinite;
  text-align: center;
  letter-spacing: 3px;
}

.splash-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  letter-spacing: 8px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 0.5s both;
}

.splash-loader {
  margin-top: 40px;
  width: 200px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: 3px;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.8s both;
}

.splash-loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: splashLoad 2.5s ease-in-out forwards;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes splashGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.8)); }
}

@keyframes splashLoad {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.5), 0 0 10px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4); }
}

@keyframes rotateGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Top Navigation ---- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.top-nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search-btn,
.nav-notification-btn,
.nav-user-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-search-btn:hover,
.nav-notification-btn:hover,
.nav-user-btn:hover {
  color: var(--neon-blue);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
}

.notification-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--netflix-red);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark-black);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

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

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

/* ---- Search Overlay ---- */
.search-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.search-container {
  width: 90%;
  max-width: 700px;
  animation: scaleIn 0.3s ease;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.search-input-wrapper svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 22px;
  height: 22px;
}

.search-input {
  width: 100%;
  padding: 18px 20px 18px 56px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-neon-blue);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-close:hover {
  background: rgba(229, 9, 20, 0.2);
  color: var(--netflix-red);
}

.search-results {
  max-height: 50vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: var(--glass-bg);
}

.search-result-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--dark-gray);
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.search-result-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.search-result-type {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-result-type.game {
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-blue);
}

.search-result-type.movie {
  background: rgba(229, 9, 20, 0.15);
  color: var(--netflix-red);
}

/* ---- Main Content ---- */
.main-content {
  padding-top: var(--nav-height);
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
  min-height: 100vh;
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  height: 75vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-slide-gradient {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 70%;
  background: linear-gradient(to top, var(--dark-black) 0%, rgba(10,10,15,0.8) 40%, transparent 100%);
}

.hero-slide-content {
  position: absolute;
  bottom: 80px;
  left: 5%;
  max-width: 600px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.4);
  border-radius: 20px;
  color: var(--netflix-red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--neon-blue);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-dot.active {
  background: var(--neon-blue);
  width: 30px;
  border-radius: 5px;
  box-shadow: var(--shadow-neon-blue);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-neon-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-blue);
}

.btn-danger {
  background: linear-gradient(135deg, var(--netflix-red), #ff3030);
  color: #fff;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
}

.btn-success {
  background: var(--gradient-success);
  color: #fff;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-green);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

.btn-icon.sm {
  width: 32px;
  height: 32px;
}

/* ---- Section Headers ---- */
.section {
  padding: 40px 5%;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .title-accent {
  color: var(--neon-blue);
}

.section-title-line {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-view-all {
  color: var(--neon-blue);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.section-view-all:hover {
  color: var(--neon-purple);
}

/* ---- Category Navigation ---- */
.category-nav {
  display: flex;
  gap: 10px;
  padding: 0 5%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.category-chip:hover,
.category-chip.active {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.category-chip svg {
  width: 16px;
  height: 16px;
}

/* ---- Content Row (Horizontal Scroll) ---- */
.content-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.content-row::-webkit-scrollbar { display: none; }

/* ---- Game Cards ---- */
.game-card {
  flex: 0 0 220px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  scroll-snap-align: start;
  backdrop-filter: blur(10px);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-neon-blue);
}

.game-card-thumb {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-card:hover .game-card-thumb img {
  transform: scale(1.1);
}

.game-card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-category {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: rgba(168, 85, 247, 0.8);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.game-card-fav:hover,
.game-card-fav.active {
  color: var(--netflix-red);
  background: rgba(229, 9, 20, 0.2);
}

.game-card-body {
  padding: 14px;
}

.game-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.game-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #fbbf24;
}

.game-card-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.game-card-version {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

.game-card-actions {
  display: flex;
  gap: 8px;
}

.game-card-actions .btn {
  flex: 1;
  padding: 8px;
  font-size: 0.8rem;
}

/* ---- Game Grid ---- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.game-grid .game-card {
  flex: none;
}

/* ---- Movie Cards ---- */
.movie-card {
  flex: 0 0 180px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  scroll-snap-align: start;
}

.movie-card:hover {
  transform: scale(1.08);
  z-index: 2;
}

.movie-card-poster {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.movie-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.movie-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.movie-card-rating {
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 3px;
}

.movie-card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  border-radius: var(--radius-md);
}

.movie-card:hover .movie-card-overlay {
  opacity: 1;
}

.movie-play-btn {
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
  transition: transform var(--transition-fast);
}

.movie-card:hover .movie-play-btn {
  transform: scale(1.15);
}

/* ---- Movie Grid ---- */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}

.movie-grid .movie-card {
  flex: none;
}

/* ---- Glass Card ---- */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

/* ---- Stats Cards ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
}

.stat-card:nth-child(2)::before {
  background: var(--gradient-accent);
}

.stat-card:nth-child(3)::before {
  background: var(--gradient-success);
}

.stat-card:nth-child(4)::before {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.stat-icon.blue {
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-blue);
}

.stat-icon.purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
}

.stat-icon.green {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
}

.stat-icon.red {
  background: rgba(229, 9, 20, 0.15);
  color: var(--netflix-red);
}

.stat-icon.yellow {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.stat-change.up {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
}

.stat-change.down {
  background: rgba(229, 9, 20, 0.1);
  color: var(--netflix-red);
}

/* ---- Page Headers ---- */
.page-header {
  padding: 60px 5% 30px;
  position: relative;
}

.page-header-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(168, 85, 247, 0.05));
  pointer-events: none;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b6b80' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--dark-gray);
  color: var(--text-primary);
}

.form-error {
  font-size: 0.8rem;
  color: var(--netflix-red);
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

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

.modal {
  background: var(--dark-gray);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(229, 9, 20, 0.2);
  color: var(--netflix-red);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Auth Modal */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background: var(--gradient-primary);
  color: #fff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

/* ---- Movie Player ---- */
.player-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.player-container iframe,
.player-container video {
  width: 100%;
  height: 100%;
  border: none;
}

.player-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.player-container:hover .player-controls {
  opacity: 1;
}

.player-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.player-progress-fill {
  height: 100%;
  background: var(--netflix-red);
  border-radius: 2px;
  width: 35%;
  position: relative;
}

.player-progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--netflix-red);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.player-progress:hover .player-progress-fill::after {
  opacity: 1;
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab:hover { color: var(--text-secondary); }

.tab.active {
  background: var(--gradient-primary);
  color: #fff;
}

/* ---- Profile Section ---- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 5%;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: var(--dark-gray);
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
}

.profile-info h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-stats {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.profile-stat {
  text-align: center;
}

.profile-stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-blue);
}

.profile-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Skeleton Loading ---- */
.skeleton {
  background: linear-gradient(90deg,
    var(--dark-gray) 25%,
    rgba(255,255,255,0.05) 50%,
    var(--dark-gray) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-card {
  height: 280px;
  min-width: 220px;
}

.skeleton-movie {
  height: 260px;
  min-width: 180px;
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }

/* ---- Toast Notifications ---- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--dark-gray);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  min-width: 300px;
  max-width: 400px;
  animation: slideInRight 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.success { border-left: 3px solid var(--neon-green); }
.toast.error { border-left: 3px solid var(--netflix-red); }
.toast.info { border-left: 3px solid var(--neon-blue); }
.toast.warning { border-left: 3px solid #fbbf24; }

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 0.9rem;
}

.toast-close {
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
}

/* ---- WhatsApp Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 800;
  transition: all var(--transition-normal);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ---- Bottom Navigation ---- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-height);
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 900;
  padding: 0 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  transition: all var(--transition-fast);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--neon-blue);
}

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: -1px;
  width: 30px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 0 0 3px 3px;
}

/* ---- Footer ---- */
.footer {
  background: rgba(10, 10, 15, 0.8);
  border-top: 1px solid var(--glass-border);
  padding: 40px 5% 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand .nav-logo {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-blue);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Game Detail Page ---- */
.game-detail-banner {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.game-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.game-detail-banner-gradient {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, var(--dark-black), transparent 60%);
}

.game-detail-info {
  padding: 0 5%;
  margin-top: -80px;
  position: relative;
  z-index: 2;
}

.game-detail-header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.game-detail-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--glass-border);
  flex-shrink: 0;
}

.game-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-detail-title-section h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.game-detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-badge.category {
  background: rgba(168, 85, 247, 0.2);
  color: var(--neon-purple);
}

.detail-badge.rating {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.detail-badge.size {
  background: rgba(0, 212, 255, 0.2);
  color: var(--neon-blue);
}

.screenshots-section {
  margin-top: 30px;
}

.screenshots-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar { display: none; }

.screenshot-item {
  flex: 0 0 300px;
  height: 170px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.screenshot-item:hover {
  transform: scale(1.03);
}

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

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 0 5%;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.contact-card:hover {
  border-color: var(--neon-blue);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.contact-card-icon.email {
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-blue);
}

.contact-card-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card-info p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--neon-blue);
}

.faq-question {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--glass-bg);
}

.faq-question svg {
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- Admin ---- */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.admin-sidebar {
  background: rgba(15, 15, 25, 0.9);
  border-right: 1px solid var(--glass-border);
  padding: 24px 16px;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.admin-sidebar-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 0 12px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  margin-bottom: 4px;
  cursor: pointer;
}

.admin-nav-item:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

.admin-nav-item.active {
  background: rgba(0, 212, 255, 0.1);
  color: var(--neon-blue);
  border-left: 3px solid var(--neon-blue);
}

.admin-nav-item svg {
  width: 18px;
  height: 18px;
}

.admin-main {
  padding: 30px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.admin-table-actions {
  display: flex;
  gap: 8px;
}

/* Admin login */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--dark-black);
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  text-align: center;
}

.admin-login-card .nav-logo {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.admin-login-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ---- Install PWA Banner ---- */
.pwa-install-banner {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-gray);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 800;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  max-width: 90%;
}

.pwa-install-banner.show { display: flex; }

.pwa-install-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.pwa-install-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pwa-install-close {
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-sidebar.mobile-open {
    display: block;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 280px;
    z-index: 100;
    height: calc(100vh - var(--nav-height));
  }
}

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

  .nav-links { display: none; }

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

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
    animation: fadeIn 0.3s ease;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-slide-content {
    bottom: 60px;
  }

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

  .game-card { flex: 0 0 170px; }
  .game-card-thumb { height: 130px; }

  .movie-card { flex: 0 0 140px; }
  .movie-card-poster { height: 200px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .page-title { font-size: 1.6rem; }

  .game-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .splash-logo { font-size: 2rem; }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }

  .admin-main {
    padding: 16px;
  }
}

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

  .game-card { flex: 0 0 150px; }
  .movie-card { flex: 0 0 120px; }
  .movie-card-poster { height: 170px; }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .page-title { font-size: 1.3rem; }

  .btn { padding: 10px 20px; font-size: 0.85rem; }
  .btn-lg { padding: 12px 24px; }
}

/* ---- Desktop hide bottom nav ---- */
@media (min-width: 769px) {
  .bottom-nav { display: none; }
  .main-content { padding-bottom: 0; }
  .whatsapp-float { bottom: 30px; }
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.visible { display: block !important; }

/* Neon text */
.neon-text-blue { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
.neon-text-purple { color: var(--neon-purple); text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.neon-text-green { color: var(--neon-green); text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }

/* Content visibility for tabs/sections */
.tab-content { display: none; }
.tab-content.active { display: block; }
