/* DracinHub V5 - Modern Brand (Purple & Yellow) */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Brand Palette */
  --bg-dark: #100a1c; /* Deep Purple Black */
  --bg-card: #1c122b; /* Slightly lighter purple */
  --bg-dropdown: #241836;

  --primary: #9b59b6; /* Vibrant Purple */
  --primary-hover: #b06cdb;

  --accent-vip: #f1c40f; /* High-Vis Yellow */
  --accent-vip-hover: #f39c12;

  --text-main: #ffffff;
  --text-muted: #b0a4c2;

  /* UI Elements */
  --radius-pill: 50px;
  --radius-card: 16px;
  --radius-sm: 8px;

  --border-subtle: 1px solid rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 20px rgba(155, 89, 182, 0.3);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar - Ultra Cool Glass Style */
.navbar {
  background: rgba(16, 10, 28, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(155, 89, 182, 0.5); /* Glow logo */
}
.brand-logo img {
  height: 32px;
  margin-right: 10px;
}

/* Responsive Logo Size */
@media (max-width: 576px) {
  .brand-logo {
    font-size: 1.1rem;
  }
  .logo-icon {
    font-size: 1.3rem !important;
    margin-right: 5px !important;
  }
  .navbar {
    padding: 0.5rem 1rem;
  }
}

.brand-box {
  background: #fff;
  color: var(--bg-dark);
  padding: 0 6px;
  border-radius: 6px;
  margin-left: 4px;
  font-size: 0.8em;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- V8 EXACT SCREENSHOT REPLICA --- */

/* --- V10 SEARCH MODAL --- */
.search-btn-desktop {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.search-btn-desktop:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

/* --- PREMIUM SEARCH SPOTLIGHT (Expanded) --- */
/* --- PREMIUM SEARCH SPOTLIGHT (Maximized) --- */
.search-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 10, 0.9); /* Almost opaque dark */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 2000;
    display: flex;
    align-items: center; /* Center Vertically */
    justify-content: center;
    padding: 20px;
    
    /* State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* Start from bottom */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Smooth Slide Up */
}

.search-modal-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-modal-container .container {
    max-width: 1400px;
    width: 100%;
    height: 90vh;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.95);
    /* Inner bounce animation */
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bounce Effect */
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.search-modal-container.active .container {
    transform: scale(1);
}

.search-input-group {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px; /* Reduced padding */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.search-input-modern {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0 0 0 50px;
    font-size: 1.4rem; /* Reduced from 2rem */
    color: #fff;
    font-weight: 600;
    outline: none;
    height: 50px; /* Reduced from 60px */
    letter-spacing: -0.5px;
}

.search-input-modern::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-icon-inside {
    position: absolute;
    left: 30px; /* Adjusted alignment */
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.4rem; /* Match input text */
}

/* RESULTS HEADER */
.d-flex.justify-content-between.mb-3 {
    padding: 20px 30px 10px;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

/* SCROLL WRAPPER FOR BOOTSTRAP GRID */
.search-scroll-wrapper {
    overflow-y: auto;
    flex-grow: 1;
    padding: 10px 40px 40px;
}

/* Customize scrollbar inside modal */
.search-scroll-wrapper::-webkit-scrollbar { width: 6px; }
.search-scroll-wrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }



/* Nav Buttons / Dropdowns - PREMIUM GLASS VERSION */
.nav-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none !important; /* STRICTLY NO UNDERLINE */
  position: relative;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-pill-btn:hover,
.nav-pill-btn:focus,
.nav-pill-btn:active,
.nav-pill-btn.show {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(142, 68, 173, 0.6) !important; /* Purple Border */
  color: #fff !important;
  box-shadow: 0 0 15px rgba(142, 68, 173, 0.4); /* Purple Glow */
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Specific Fix for Bootstrap Dropdown toggle */
a.dropdown-toggle {
  text-decoration: none !important;
}
/* Hide Default Bootstrap Caret */
.dropdown-toggle::after {
  display: none !important;
}

/* User Dropdown */
.dropdown-header-custom {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px 12px 0 0;
}

/* Dropdown Container */
.dropdown-menu-custom {
  background-color: #231f33; /* Darker, desaturated purple */
  border: 1px solid #362f4b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 8px;
  min-width: 250px;
  margin-top: 8px !important;
}

/* Dropdown Items */
.dropdown-item-custom {
  color: #b0b0b0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  border: none; /* No border for items */
  position: relative;
  background: transparent;
  text-decoration: none !important; /* FIXED: FORCE NO UNDERLINE */
}

.dropdown-item-custom:hover {
  background-color: rgba(255, 255, 255, 0.05); /* Subtle hovers */
  color: #fff;
  text-decoration: none !important;
}

/* Active State - THE PURPLE HIGHLIGHT */
.dropdown-item-custom.active-source {
  background-color: rgba(142, 68, 173, 0.2); /* Transparent Purple */
  color: #d291ff; /* Light Pink/Purple Text */
}
/* The Checkmark */
.dropdown-item-custom.active-source::after {
  content: "\F26B"; /* Bootstrap Icons check-lg */
  font-family: "bootstrap-icons";
  position: absolute;
  right: 12px;
  color: #d291ff;
  font-size: 1rem;
}

/* BRAND ICON SIMULATION */
.brand-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}
.brand-icon.dramabox {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
}
.brand-icon.netshort {
  background: linear-gradient(135deg, #ff9f43, #e55039);
}
.brand-icon.dramawave {
  background: linear-gradient(135deg, #e056fd, #be2edd);
}
.brand-icon.melolo {
  background: #000;
  color: #f1c40f;
  border: 1px solid #333;
}
.brand-icon.dramadash {
  background: #535c68;
}
.brand-icon.flickreels {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #000;
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item-custom.vip-item {
  color: var(--accent-vip);
  background: rgba(241, 196, 15, 0.05);
  border: 1px solid rgba(241, 196, 15, 0.1);
}
.dropdown-item-custom.vip-item:hover {
  background: rgba(241, 196, 15, 0.15);
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.2);
  transform: scale(1.02);
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* Hero Section - Centered */
.hero-centered {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(circle at center, #2e1a47 0%, var(--bg-dark) 70%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.btn-primary-custom {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 5px 20px rgba(155, 89, 182, 0.4);
}
.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 25px rgba(155, 89, 182, 0.6);
}

.btn-vip-custom {
  background-color: var(--accent-vip);
  color: #000;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 5px 20px rgba(241, 196, 15, 0.3);
}
.btn-vip-custom:hover {
  background-color: var(--accent-vip-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(241, 196, 15, 0.5);
}

/* --- V6 RICH CARDS: RIBBONS & TAGS --- */
.drama-card {
  background: #150f1f; /* Card background match */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.drama-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(155, 89, 182, 0.3);
}

.card-img-box {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

/* Ribbons */
.ribbon-top-right {
  position: absolute;
  top: 10px;
  right: 0;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  color: white;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.ribbon-top-left {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #f1c40f; /* Gold text */
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid rgba(241, 196, 15, 0.3);
  z-index: 2;
}

/* Card Content Body */
.card-content {
  padding: 12px 15px;
}

.card-title-v6 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-desc-v6 {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2; /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

/* --- V9 CARD HOVER FX & SEARCH SLIDER --- */

/* Card Hover Play Overlay (Image 2) */
.drama-card .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(2px);
}
.drama-card:hover .play-overlay {
  opacity: 1;
}

.play-icon-circle {
  width: 50px;
  height: 50px;
  background: rgba(0, 209, 255, 0.8); /* Cyan/Blue from ref */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.drama-card:hover .play-icon-circle {
  transform: scale(1.1);
}

/* Search Slider (Horizontal Scroll) */
.search-slider-container {
  display: flex; /* Horizontal flow */
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  margin-right: -15px; /* Offset container padding */
}
.search-slider-container::-webkit-scrollbar {
  height: 6px;
}
.search-slider-container::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 3px;
}
.search-slider-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* UNIFIED SEARCH CARD (Matches Main Grid) */
/* SEARCH SCROLL WRAPPER STYLES */
/* Enforce strict image ratio within the Bootstrap columns */
.search-scroll-wrapper .card-img-box {
    width: 100%;
    aspect-ratio: 2/3;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.search-scroll-wrapper .card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills box */
    object-position: center;
}
/* Main Grid Text Styles are inherited from global rules, 
   no need for special .search-card-item overrides anymore as we use standard structure */


/* Search Card Specifics (Image 3/4) */
.search-card-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
}
.search-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-rating-top {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #00d2d3; /* Cyan */
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
}
.badge-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 20px 8px 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #ddd;
  z-index: 2;
}

.search-title {
  font-size: 0.85rem;
  color: #fff;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-tags {
  font-size: 0.7rem;
  color: #888;
}

/* --- MOBILE SEARCH TRIGGER --- */
.search-btn-mobile {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 8px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.search-btn-mobile:active {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Dropdown Fix (Top Navbar ONLY) */
@media (max-width: 768px) {
  .navbar .dropdown-menu-custom {
    position: fixed !important;
    top: 60px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    min-width: 0 !important;
    transform: none !important;
    margin: 0 !important;
  }
}

/* Mobile Bottom Dropup Fix */
.mobile-lang-menu {
  bottom: 100% !important;
  top: auto !important;
  left: auto !important; /* Right align if needed, or stick to center */
  right: 0 !important;
  margin-bottom: 15px !important;
  background-color: #231f33;
  border: 1px solid #362f4b;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  min-width: 160px;
}
.tag-pill {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Section Styling */
.section-header {
  margin-bottom: 20px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-title {
  font-size: 1.5rem;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
}

/* --- MOBILE BOTTOM NAV REPLICA --- */
.mobile-nav-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #140d21; /* Deep Dark Purple */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  height: 70px;
}

.mobile-nav-item {
  color: #888;
  font-size: 1.4rem;
  transition: all 0.2s;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  text-decoration: none;
}

.mobile-nav-item:hover {
  color: #fff;
}

/* Active Circle Style (Purple Gradient) */
.mobile-nav-item.active-circle {
  background: linear-gradient(135deg, #d084f5, #9b59b6);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
  transform: translateY(-5px); /* Pop up slightly */
}
.mobile-nav-item.active-circle i {
  font-size: 1.2rem;
}

.nav-divider-vertical {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 5px;
}

/* Language Flag Icon */
.lang-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* --- FLOATING SOCIAL BUTTONS --- */
.floating-socials {
  position: fixed;
  bottom: 90px; /* Above nav bar */
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%; /* Squircle */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-whatsapp {
  background: #25d366;
}
.float-telegram {
  background: #229ed9;
}

/* Mobile Nav */
.mobile-nav-v5 {
  background: var(--bg-dropdown);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 0 20px;
}
.nav-item-v5 {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  text-decoration: none;
}
.nav-item-v5 i {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.nav-item-v5.active {
  color: var(--primary);
}

/* Detail Page Elements */
.detail-container {
  padding-top: 40px;
}
.video-box {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(155, 89, 182, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ep-btn-v5 {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 8px;
  aspect-ratio: 1;
  font-weight: 600;
}
/* ... (Existing styles) ... */

/* --- Final Polish: Hero Gradient --- */
.hero-centered {
  background: radial-gradient(
    circle at center,
    #2e1a47 0%,
    #1a0b2e 40%,
    var(--bg-dark) 80%
  );
  position: relative;
  overflow: hidden;
}
.hero-centered::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b59b6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  pointer-events: none;
}

/* --- Final Polish: Card Physics --- */
.drama-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}
.drama-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.card-img-box {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}
.drama-card:hover .card-img-box {
  box-shadow: 0 0 0 2px var(--primary);
}

/* --- SKELETON LOADING SYSTEM --- */
.skeleton {
  background: #241836;
  background: linear-gradient(90deg, #241836 25%, #2e1a47 50%, #241836 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
  display: inline-block;
}

.skeleton-text {
  height: 0.8em;
  margin-bottom: 0.5em;
  width: 80%;
}
.skeleton-text.short {
  width: 40%;
}
.skeleton-img {
  width: 100%;
  height: 100%;
  display: block;
}
.skeleton-btn {
  width: 100%;
  height: 40px;
}

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

/* Detail Page Polish */
/* =========================================
   DETAIL PAGE (Redesign)
   ========================================= */

/* Main Containers */
.main-player-container {
  padding-top: 60px; /* Offset for fixed navbar */
  min-height: 100vh;
  background-color: #0c0a13; /* Deep dark background */
}

/* Video Column */
.video-column {
  background-color: #000;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
}

/* Detail Sidebar */
.detail-column {
  background-color: #1a1625;
  min-height: calc(100vh - 60px);
  border-left: 1px solid #2a253a;
  overflow-y: auto;
}

/* Typography Details */
.plot-text {
  line-height: 1.6;
  color: #b0b0b0 !important;
  font-size: 0.9rem;
}

/* Tags */
.tags-container span {
  color: #a0a0a0;
  font-size: 0.85rem;
  margin-right: 10px;
}
.tags-container span:hover {
  color: #fff;
  cursor: pointer;
}

/* Episode Link Grid */
.episode-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ep-link {
  color: #4facfe; /* Link blue */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 2px 4px;
  transition: color 0.2s;
}

.ep-link:hover {
  color: #fff;
  text-decoration: underline;
}

.ep-link.locked {
  color: #6c757d; /* Gray */
}
.ep-link.locked i {
  font-size: 0.75rem;
  margin-left: 1px;
}

/* Share Modal Custom */
.bg-dark-custom {
  background-color: #1f1b2d;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-black {
  background: #000;
  color: #fff;
}
.btn-black:hover {
  background: #222;
  color: #fff;
}

/* =========================================
   RESPONSIVE (Mobile)
   ========================================= */
@media (max-width: 991px) {
  .main-player-container {
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
  }

  /* Fixed Video on Mobile */
  .video-column {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    min-height: auto;
  }

  .detail-column {
    height: auto;
    min-height: auto;
    padding-bottom: 50px;
    overflow-y: visible;
    border-left: none;
  }
}

/* --- VIP PAGE STYLES --- */

.vip-hero {
  min-height: 60vh;
  padding: 100px 20px 80px;
  background: radial-gradient(
    circle at center,
    #4b2d75 0%,
    #1a0b2e 60%,
    var(--bg-dark) 90%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20l10 10-10 10-10-10z' fill='%23f1c40f' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.text-vip {
  color: var(--accent-vip);
  text-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
}

/* Pricing Cards */
.pricing-card {
  background: rgba(30, 20, 45, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 20, 45, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  border: 1px solid var(--accent-vip);
  background: rgba(45, 30, 60, 0.8);
  box-shadow: 0 0 30px rgba(241, 196, 15, 0.1);
  transform: scale(1.05);
  z-index: 5;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 25px 50px rgba(241, 196, 15, 0.2);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-vip);
  color: #000;
  font-weight: 800;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.plan-price .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  margin: 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 12px;
  color: #ccc;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

/* --- HISTORY PAGE STYLES --- */
.history-card {
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.history-thumb {
  width: 140px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.play-overlay-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 5px var(--primary);
}

.history-info {
  flex-grow: 1;
  min-width: 0; /* Text truncation fix */
}

.history-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- DASHBOARD PAGE STYLES --- */
.dashboard-header-bg {
  height: 180px;
  background: linear-gradient(to bottom, #4b2d75, #241836);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.profile-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #333;
  position: relative;
  border: 3px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.avatar-text {
  font-size: 1.5rem;
}

.edit-icon-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  border: 2px solid var(--bg-dark);
}

.vip-upgrade-card {
  background: linear-gradient(90deg, #2c2045, #1a0b2e);
  border: 1px solid var(--accent-vip);
  border-radius: 12px;
  padding: 15px;
  position: relative;
  overflow: hidden;
}
.vip-upgrade-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(241, 196, 15, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-menu-item {
  padding: 15px 0;
  color: #ddd;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.account-menu-item:last-child {
  border-bottom: none;
}
.account-menu-item:hover {
  color: #fff;
  padding-left: 5px;
}

.menu-icon-box {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary);
  font-size: 1.1rem;
}

/* --- DASHBOARD REFINEMENT --- */

.dashboard-header-bg-new {
  height: 250px;
  background: linear-gradient(
      180deg,
      rgba(82, 0, 255, 0.2) 0%,
      rgba(18, 18, 18, 1) 100%
    ),
    url("https://via.placeholder.com/800x400/2a1b3d/ffffff?text=Cover+Image")
      top center no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: -40px;
  /* Glass gradient overlay */
}

.dashboard-header-bg-new::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, #121212 100%);
}

.user-profile-card {
  position: relative;
  z-index: 2;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  margin: 0 15px 20px 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.user-avatar-new {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--accent-gold);
  padding: 2px;
}
.user-avatar-new img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.subscription-card {
  background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.subscription-card.is-vip {
  background: linear-gradient(135deg, #4b2d75 0%, #1a0b2e 100%);
  border-color: var(--accent-gold);
}

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

.transaction-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 15px;
  color: var(--text-muted);
}
.tx-icon.success {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}
.tx-icon.pending {
  background: rgba(241, 196, 15, 0.1);
  color: #f1c40f;
}
.tx-icon.failed {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.status-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.status-badge.success {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}
.status-badge.pending {
  background: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
}
.status-badge.failed {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.dashboard-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-menu-group {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 5px 0;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- DASHBOARD V3 (SIDEBAR LAYOUT) --- */
@media (min-width: 768px) {
  .dashboard-container {
    display: flex;
    min-height: calc(100vh - 70px); /* Adjust for navbar */
    margin-top: 70px; /* Below fixed navbar */
  }

  .dashboard-sidebar {
    width: 260px;
    background: #1a1a1a;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    position: fixed;
    top: 70px; /* Below navbar */
    bottom: 0;
    overflow-y: auto;
    padding: 20px 0;
    z-index: 100;
  }

  .dashboard-content {
    flex-grow: 1;
    margin-left: 260px; /* Width of sidebar */
    padding: 30px;
    background: #121212; /* Main bg */
    min-height: calc(100vh - 70px); /* Full height minus header */
    display: flex;
    flex-direction: column;
  }
}

/* Mobile Sidebar behavior (Hide by default, rely on Bottom Nav) */
@media (max-width: 767.98px) {
  .dashboard-sidebar {
    display: none;
  }
  .dashboard-container {
    margin-top: 60px;
    padding-bottom: 80px; /* Bottom nav space */
  }
  .dashboard-content {
    padding: 20px 15px;
  }
}

/* Sidebar Menu Items */
.sidebar-menu-item {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  color: #aaa;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.sidebar-menu-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}
.sidebar-menu-item.active {
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(241, 196, 15, 0.1) 0%,
    transparent 100%
  );
  border-left-color: var(--accent-gold);
}
.sidebar-menu-item i {
  font-size: 1.2rem;
  width: 30px;
  margin-right: 10px;
}

/* Maintenance Alert */
/* Maintenance Alert & Marquee */
.maintenance-alert {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.maintenance-alert-icon {
  width: 40px;
  height: 40px;
  background: rgba(220, 53, 69, 0.2);
  color: #ef4444; /* Red-500 */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

/* Marquee Logic */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  padding-left: 100%;
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* Subscription Card (Purple) */
.subscription-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}
.subscription-card.is-vip {
  background: #3e266d; /* Violet/Purple base */
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #3e266d 0%, #25164d 100%);
}

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

/* Adjust Profile Card for Content Area */
.profile-header-content {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- AUTH PAGES --- */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #2a1b3d 0%, #000000 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Auth Background Orbs */
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.6;
}
.auth-orb.orb-1 {
  width: 300px;
  height: 300px;
  background: #5200ff;
  top: -50px;
  left: -50px;
}
.auth-orb.orb-2 {
  width: 250px;
  height: 250px;
  background: #f1c40f;
  bottom: -50px;
  right: -50px;
}

/* Legacy auth-card removed to use new premium version below */


.auth-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  text-align: center;
}
.auth-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.auth-input-group {
  position: relative;
  margin-bottom: 20px;
}
.auth-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px 12px 45px;
  border-radius: 12px;
  transition: all 0.3s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(82, 0, 255, 0.2);
}
.auth-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}
.auth-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
}
.auth-toggle:hover {
  color: #fff;
}

.btn-auth {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  margin-top: 10px;
  transition: transform 0.2s;
}
.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(82, 0, 255, 0.4);
}

.recaptcha-text {
  font-size: 0.7rem;
  color: #666;
  text-align: center;
  margin-top: 20px;
  line-height: 1.4;
}
.recaptcha-text a {
  color: #666;
  text-decoration: underline;
}

/* --- PAYMENT HISTORY TABLE --- */
.table-dark-custom {
  color: #fff;
  background: transparent;
}
.table-dark-custom th {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.table-dark-custom td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.table-dark-custom tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* --- HISTORY PAGE REFINEMENT --- */
.history-header-container {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.history-header-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(82, 0, 255, 0.05) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}

.history-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  min-width: 200px;
}
.history-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(241, 196, 15, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 15px;
}

.filter-btn-group {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px;
  display: inline-flex;
}
.btn-filter {
  border: none;
  background: transparent;
  color: #aaa;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-filter:hover {
  color: #fff;
}
.btn-filter.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- FINAL POLISH: NAVBAR & AUTH --- */

/* Fix Navbar Alignment */
.navbar {
  padding: 0.8rem 2rem !important; /* Standardize padding */
}
.navbar-brand {
  margin-right: 3rem; /* Space between logo and menu */
  display: flex;
  align-items: center;
}
.navbar-nav .nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.dropdown-toggle::after {
  display: none; /* Hide default arrow */
}

/* User Avatar Perfection */
.user-avatar-custom {
  width: 40px;
  height: 40px;
  border-radius: 8px; /* Square with rounded corners matches modern style */
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.user-avatar-custom:hover {
  border-color: var(--accent-vip);
  transform: scale(1.05);
}
.user-avatar-custom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Auth Card Glow Up */
.auth-card {
  background: rgba(20, 10, 30, 0.65); /* Darker, more premium */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(82, 0, 255, 0.1),
    0 0 30px rgba(82, 0, 255, 0.05); /* Outer glow */
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  
  /* Restored Layout Properties */
  padding: 40px;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.auth-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  padding: 12px 15px 12px 45px; /* Left padding for icon */
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.auth-input:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(155, 89, 182, 0.15);
  outline: none;
}

/* --- ADVERTISING UNITS --- */
.ad-floating {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.ad-floating-left {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.ad-floating-right {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.ad-floating-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.ad-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.8rem;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(5px);
}
.ad-close-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 5px; /* For side ads */
  transition: transform 0.2s;
}
.ad-floating-bottom .ad-close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  margin-bottom: 0;
}
.ad-close-btn:hover {
  transform: scale(1.1);
  background: red;
}

/* Static Ad Containers */
.ad-container-fluid {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.ad-banner-720 {
  width: 100%;
  max-width: 720px;
  height: 90px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  border: 1px dashed #333;
}
.ad-rect-300 {
  width: 300px;
  height: 250px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  border: 1px dashed #333;
  margin: 20px auto;
}

/* Mobile Responsive Ads */
@media (max-width: 1300px) {
  .ad-floating-left,
  .ad-floating-right {
    display: none;
  } /* Hide sticky side ads on smaller screens */
}

/* --- GLOBAL FOOTER --- */
.main-footer {
  background: #090c10;
  border-top: 1px solid #30363d;
  padding: 60px 0 30px;
  margin-top: auto;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
  display: block;
}
.footer-text {
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-link {
  color: #8b949e;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
  font-size: 0.95rem;
}
.footer-link:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid #21262d;
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
  color: #484f58;
  font-size: 0.85rem;
}

/* --- Dashboard Specific Footer --- */
.dashboard-content .main-footer {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    width: calc(100% + 60px);
    margin-bottom: -30px; /* Flush to bottom */
}

@media (max-width: 767.98px) {
    .dashboard-content .main-footer {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% + 30px);
    }
}

/* --- VIP Ad Popup --- */
.ad-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark dark overlay */
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.ad-popup-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border */
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    padding: 0;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.ad-popup-overlay.active .ad-popup-content {
    transform: scale(1);
}

.ad-popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 0.9rem;
    padding: 0;
    transition: all 0.2s;
}

.ad-popup-close-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.8);
}

.ad-popup-close-btn:not(:disabled):hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

.ad-popup-image {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-popup-body {
    padding: 20px;
    text-align: center;
}

.ad-btn-vip-claim {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-weight: 800;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    width: 100%;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s;
}

.ad-btn-vip-claim:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: #000;
}

@media (max-width: 991.98px) {
    .ad-floating-bottom {
        display: none !important;
    }
}

/* --- Video Ad Overlay (Skip Ads) --- */
.ad-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15; /* Above video */
    background: #000; /* Black background for video mode */
    pointer-events: auto; /* Block interaction with main video */
    display: none; /* Hidden by default */
    transition: opacity 0.5s ease; /* Smooth fade out */
}

.ad-video-overlay.active {
    display: block;
}

.ad-badge-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: auto;
}

.skip-ad-container {
    position: absolute;
    bottom: 80px; /* Above controls */
    right: 20px;
    pointer-events: auto;
    display: flex;
    align-items: center;
}

.skip-ad-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 4px; /* Rectangular with slight radius like YouTube */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    min-width: 140px;
    justify-content: center;
}

.skip-ad-btn:not(:disabled):hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #fff;
}

.skip-ad-btn:disabled {
    cursor: default;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .skip-ad-container {
        bottom: 60px; /* Adjusted for mobile controls */
        right: 15px;
    }
    .skip-ad-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* --- SHARED DASHBOARD GLASS CARDS --- */
.header-card {
  background: rgba(30, 30, 30, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-card:hover {
  background: rgba(40, 40, 40, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}


/* --- CINEMATIC DASHBOARD OVERHAUL --- */

/* Hero Section with Parallax-like feel */
.dashboard-hero-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 60px 40px;
  margin-bottom: 40px;
  /* Cinematic Background */
  background: url('https://placehold.co/1200x400/2a1b3d/ffffff?text=Premium+Banner') no-repeat center center;
  background-size: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.dashboard-hero-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0f0f0f 0%, rgba(15, 15, 15, 0.95) 40%, rgba(15, 15, 15, 0.4) 100%);
  z-index: 1;
}

.hero-content-v2 {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Avatar Glow */
.avatar-glow-ring {
  position: relative;
  padding: 5px;
  background: linear-gradient(45deg, #ffc107, #ff6b6b);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
}

.avatar-glow-ring img {
  border: 4px solid #1a1a1a;
  background: #1a1a1a;
}

/* Stat Pills with Glass */
.stat-pill-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.stat-pill-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Section Titles */
.section-title-premium {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Continue Watching New Card */
.cw-card {
  background: #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  position: relative;
}
.cw-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  background: #252525;
}

.cw-poster-wrapper {
  position: relative;
  aspect-ratio: 16/9; /* Widescreen for continue watching */
  overflow: hidden;
}

.cw-poster-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cw-card:hover .cw-poster-wrapper img {
  transform: scale(1.05);
}

.cw-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cw-card:hover .cw-play-overlay { opacity: 1; }

.cw-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
}
.cw-progress-fill {
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.cw-body {
  padding: 15px;
}

/* Mini Stat Box */
.mini-stat-box {
  background: linear-gradient(145deg, #1e1e1e, #141414);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- PREMIUM TRANSACTION TICKET STYLES --- */
.transaction-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.transaction-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 15px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.transaction-ticket::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--text-muted); /* Default gray */
  transition: all 0.3s;
}

.transaction-ticket:hover {
  background: rgba(255,255,255,0.08); /* Brighter on hover */
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.transaction-ticket.success::before { background: var(--success); box-shadow: 0 0 10px var(--success); }
.transaction-ticket.pending::before { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.transaction-ticket.failed::before { background: var(--danger); box-shadow: 0 0 10px var(--danger); }

.tx-icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.05);
}

.transaction-ticket.success .tx-icon-box { background: rgba(46, 204, 113, 0.15); color: var(--success); }
.transaction-ticket.pending .tx-icon-box { background: rgba(241, 196, 15, 0.15); color: var(--warning); }
.transaction-ticket.failed .tx-icon-box { background: rgba(231, 76, 60, 0.15); color: var(--danger); }

/* Bento Grid Layout Utility */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }

@media (max-width: 991.98px) {
  .bento-col-8, .bento-col-4, .bento-col-6 { grid-column: span 12; }
}

/* --- MINIMAL DARK AUTH (NETFLIX STYLE) --- */
.auth-container-minimal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Cinematic Background */
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://placehold.co/1920x1080/000000/333333?text=Cinematic+Background');
  background-size: cover;
  background-position: center;
  padding: 20px;
}

.auth-card-minimal {
  background: rgba(0, 0, 0, 0.75); /* Solid dark, slightly transparent */
  padding: 60px 68px 40px; /* Spacious padding */
  border-radius: 4px; /* Sharp corners like Netflix */
  width: 100%;
  max-width: 450px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  border: none; /* No glass border */
}

/* Minimal Inputs */
.auth-input-minimal {
  background: #333;
  border: none;
  border-radius: 4px;
  height: 50px;
  padding: 10px 20px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s;
}

.auth-input-minimal:focus {
  background: #444;
  outline: none;
  border-bottom: 2px solid var(--primary); /* Accent only on bottom or distinct focus */
   box-shadow: none;
}

/* Minimal Button */
.btn-auth-minimal {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  height: 50px; /* Match input height */
  border: none;
  width: 100%;
  margin-top: 20px;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-auth-minimal:hover {
  background: #bc1c2c; /* Suppose primary is red-ish, or just darken */
  filter: brightness(1.2);
}

.auth-divider-text {
  color: #737373;
  font-size: 13px;
  margin-top: 10px;
}

.auth-footer-text {
  color: #737373;
  font-size: 16px;
  margin-top: 40px;
}
.auth-footer-text a {
  color: #fff;
}

@media (max-width: 576px) {
  .auth-card-minimal {
    padding: 30px;
    background: #000; /* Full black on mobile */
  }
  .auth-container-minimal {
    background: #000;
    padding: 0;
  }
}

/* --- PREMIUM GLASS ISLAND AUTH (JEWEL STYLE) --- */
.auth-container-glass {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Deep, Rich Background */
  background: radial-gradient(circle at top right, #2c1e4a 0%, #000000 60%);
  position: relative;
  overflow: hidden;
}

/* Background Accents */
.auth-bg-accent {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(142, 68, 173, 0.15) 0%, rgba(0,0,0,0) 70%);
  top: -20%;
  right: -10%;
  z-index: 0;
  pointer-events: none;
}
.auth-bg-accent-2 {
  position: absolute;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, rgba(0,0,0,0) 70%);
  bottom: -10%;
  left: -10%;
  z-index: 0;
  pointer-events: none;
}

.auth-card-glass-premium {
  position: relative;
  z-index: 10;
  background: rgba(30, 30, 30, 0.3); /* Low opacity dark */
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25); /* Top highlight */
  border-left: 1px solid rgba(255, 255, 255, 0.2); /* Left highlight */
  border-radius: 24px;
  padding: 50px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Internal Glow */
.auth-card-glass-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.auth-input-glass {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  height: 55px;
  padding-left: 50px; /* Space for icon */
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.auth-input-glass:focus {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(82, 0, 255, 0.1);
}

.auth-icon-glass {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.auth-input-glass:focus + .auth-icon-glass,
.auth-input-glass:focus ~ .auth-icon-glass {
  color: var(--primary);
}

.btn-auth-glass {
  background: linear-gradient(135deg, var(--primary), #7a3bff);
  border: none;
  border-radius: 12px;
  height: 55px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #fff;
  margin-top: 25px;
  box-shadow: 0 8px 20px rgba(82, 0, 255, 0.3);
  transition: all 0.3s ease;
  width: 100%;
}
.btn-auth-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(82, 0, 255, 0.4);
}

/* --- V1 PLUS: ENHANCED CINEMATIC ORBS --- */
.auth-container-v1 {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b0b0b;
  overflow: hidden;
}

.auth-orb-plus {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* Massively diffused */
  opacity: 0.6;
  animation: floatOrb 10s infinite ease-in-out alternate;
  z-index: 1;
}

.orb-p-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #5200ff 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-duration: 15s;
}
.orb-p-2 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, #ff0055 0%, transparent 70%);
  bottom: -10%;
  right: -5%;
  animation-duration: 12s;
  animation-delay: -5s;
}
.orb-p-3 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, #ffae00 0%, transparent 70%);
  bottom: 20%;
  left: 30%;
  opacity: 0.3;
  animation-duration: 20s;
  animation-delay: -2s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 10%) scale(1.1); }
}

/* --- V1 PLUS: ULTIMATE GLASS CARD --- */
.auth-card-plus {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: rgba(40, 40, 40, 0.4); /* Slightly lighter base */
  backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.1); /* Inner stroke */
  overflow: hidden;
}

/* Light Shine Reflection */
.auth-card-plus::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: shineCard 8s infinite;
  pointer-events: none;
}

@keyframes shineCard {
  0%, 80% { left: -100%; }
  100% { left: 200%; }
}

/* --- V1 PLUS: NEON INPUTS --- */
.input-group-plus {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  padding: 5px 15px;
  transition: all 0.3s;
}
.input-group-plus:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(82, 0, 255, 0.3);
  background: rgba(0,0,0,0.5);
}

.input-icon-plus {
  color: #888;
  font-size: 1.2rem;
  margin-right: 15px;
  transition: color 0.3s;
}
.input-group-plus:focus-within .input-icon-plus {
  color: var(--primary);
}

.form-control-plus {
  background: transparent;
  border: none;
  color: #fff;
  height: 45px;
  width: 100%;
  font-size: 1rem;
}
.form-control-plus:focus {
  outline: none;
  background: transparent;
  color: #fff;
}
.form-control-plus::placeholder {
  color: #666;
}

/* --- V1 PLUS: GLOW BUTTON --- */
.btn-auth-plus {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #5200ff, #9900ff);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(82, 0, 255, 0.4);
}

.btn-auth-plus:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(82, 0, 255, 0.6);
  filter: brightness(1.1);
}

/* --- LUXURY ELEGANT AUTH --- */
.auth-container-elegant {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Sophisticated dark background with noise */
  background-color: #050505;
  background-image: 
    radial-gradient(at 0% 0%, rgba(82, 0, 255, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(142, 68, 173, 0.08) 0px, transparent 50%);
  position: relative;
}

/* Subtle Noise Overlay */
.auth-container-elegant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.auth-card-elegant {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.auth-title-elegant {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  font-size: 2rem;
}

.auth-subtitle-elegant {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Elegant Inputs */
.form-floating-elegant > .form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  height: 56px;
}
.form-floating-elegant > .form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.form-floating-elegant > label {
  color: rgba(255, 255, 255, 0.4);
}
.form-floating-elegant > .form-control:focus ~ label,
.form-floating-elegant > .form-control:not(:placeholder-shown) ~ label {
  color: rgba(255, 255, 255, 0.7);
}

/* Elegant Button */
.btn-elegant {
  background: #fff;
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  height: 56px;
  width: 100%;
  margin-top: 10px;
  border: none;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
}
.btn-elegant:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Social Buttons Elegant */
.social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  margin: 30px 0;
}
.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.social-divider span {
  padding: 0 15px;
}

.btn-social-elegant {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-social-elegant:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* --- ROYAL LUXURY AUTH (GOLD & MIDNIGHT) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500&display=swap');

.auth-container-royal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Deep Midnight Gradient */
  background: radial-gradient(circle at center, #1a2035 0%, #05070a 100%);
  position: relative;
  overflow: hidden;
}

/* Golden Ambient Glow */
.auth-royal-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-card-royal {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  background: rgba(15, 20, 30, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold Border */
  border-radius: 8px; /* Sharper corners for elegance */
  padding: 50px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
}

.auth-logo-royal {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #d4af37; /* Champagne Gold */
  margin-bottom: 10px;
  text-align: center;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.auth-subtitle-royal {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* Royal Inputs (Bottom Border Only) */
.form-group-royal {
  margin-bottom: 25px;
  position: relative;
}

.input-royal {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px 0;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
  border-radius: 0;
}

.input-royal::placeholder {
  color: rgba(255,255,255,0.3);
}

.input-royal:focus {
  outline: none;
  border-bottom-color: #d4af37;
  box-shadow: 0 4px 10px -4px rgba(212, 175, 55, 0.3);
}

/* Royal Button */
.btn-royal {
  background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
  color: #000;
  border: none;
  width: 100%;
  height: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px; /* Very sharp */
}

.btn-royal:hover {
  background: linear-gradient(135deg, #edc94a 0%, #d4af37 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.social-royal-btn {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  transition: all 0.3s;
  cursor: pointer;
}
.social-royal-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
}

.royal-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 30px 0;
}

/* --- MODERN AURORA GLASS (TRENDY / KEKINIAN) --- */
.auth-container-aurora {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a; /* Slate 900 base */
  position: relative;
  overflow: hidden;
}

/* Animated Aurora Backgrounds */
.aurora-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.6;
  animation: auroraFloat 10s infinite alternate;
  border-radius: 50%;
}
.aurora-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: #7928ca; /* Purple */
}
.aurora-2 {
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: #ff0080; /* Pink/Magenta */
  animation-duration: 12s;
}
.aurora-3 {
  bottom: 20%;
  left: 20%;
  width: 30vw;
  height: 30vw;
  background: #0070f3; /* Blue */
  animation-duration: 15s;
  animation-delay: -5s;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 40px) scale(1.1); }
}

.auth-card-aurora {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(50px) saturate(150%);
  -webkit-backdrop-filter: blur(50px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px; /* Super rounded modern feel */
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Holographic Top Line */
.auth-card-aurora::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0080, #7928ca, #0070f3, transparent);
}

.auth-title-aurora {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 5px;
}

/* Trendy Inputs */
.input-aurora-group {
  margin-bottom: 20px;
}
.input-aurora {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 15px 20px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.input-aurora:placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.input-aurora:focus {
  background: rgba(0, 0, 0, 0.4);
  border-color: #7928ca; /* Purple glow border */
  outline: none;
  box-shadow: 0 0 0 4px rgba(121, 40, 202, 0.1);
}

/* Trendy Gradient Button */
.btn-aurora {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #7928ca, #ff0080);
  border: none;
  border-radius: 15px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 20px -10px rgba(255, 0, 128, 0.5);
}
.btn-aurora:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -10px rgba(255, 0, 128, 0.7);
  filter: brightness(1.1);
}

.social-aurora-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.btn-social-aurora {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-social-aurora:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- STEALTH PREMIUM (MONOCHROME LUXURY) --- */
.auth-container-stealth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

/* Cinematic Spotlight Background */
.stealth-spotlight {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, #000 60%);
  animation: stealthPulse 8s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes stealthPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.7; }
}

.auth-card-stealth {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  background: rgba(15, 15, 15, 0.85); /* Solid dark matte */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
}

/* Subtle Top Light Accent */
.auth-card-stealth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.auth-logo-stealth {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  text-align: center;
}

.auth-subtitle-stealth {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* Stealth Inputs */
.input-stealth-wrapper {
  position: relative;
  margin-bottom: 25px;
}
.input-stealth {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 15px 15px 15px 45px; /* Space for icon */
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.input-stealth:focus {
  outline: none;
  border-color: #555;
  background: #111;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.05);
}
.input-stealth-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #444;
  transition: color 0.3s;
}
.input-stealth:focus + .input-stealth-icon,
.input-stealth-icon.active {
  color: #fff;
}

/* Stealth Button */
.btn-stealth {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.btn-stealth:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.auth-footer-stealth {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 20px;
}
.auth-footer-stealth a {
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.auth-footer-stealth a:hover {
  color: #fff;
}

/* --- PURPLE STEALTH (FINAL HYBRID) --- */
.auth-container-purple-stealth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Deep Purple/Black Cinema Background */
  background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}

/* Purple Pulse Spotlight */
.purple-spotlight {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(138, 43, 226, 0.15) 0%, transparent 60%);
  animation: stealthPulse 8s infinite alternate ease-in-out;
  pointer-events: none;
}

.auth-card-purple-stealth {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  background: rgba(20, 10, 30, 0.75); /* Dark Purple-tinted glass */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(138, 43, 226, 0.3); /* Purple top light */
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.auth-logo-purple {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 5px;
  text-align: center;
}
.auth-logo-purple span {
  color: #a855f7; /* Lighter Purple */
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.auth-subtitle-purple {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* Purple Stealth Inputs */
.input-ps {
  width: 100%;
  background: rgba(10, 5, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 15px 15px 45px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.input-ps:focus {
  outline: none;
  background: rgba(20, 10, 35, 0.8);
  border-color: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}
.input-ps-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #666;
  transition: color 0.3s;
}
.input-ps:focus + .input-ps-icon {
  color: #a855f7;
}

/* Purple Gradient Button */
.btn-purple-stealth {
  width: 100%;
  background: linear-gradient(135deg, #7e22ce, #a855f7); /* Deep to Light Purple */
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3);
}
.btn-purple-stealth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(126, 34, 206, 0.5);
  filter: brightness(1.1);
}

.social-ps-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
}
.social-ps-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  transform: scale(1.1);
}

/* --- PREMIUM STEALTH ALERTS --- */
.alert-premium {
  border: 1px solid transparent;
  background: rgba(20, 20, 25, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  animation: slideDownFade 0.4s ease-out;
}

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

/* Success Variant */
.alert-premium-success {
  border-color: rgba(34, 197, 94, 0.3); /* Green */
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, rgba(20, 20, 25, 0.9) 100%);
}
.alert-premium-success .alert-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-premium-success::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

/* Danger Variant */
.alert-premium-danger {
  border-color: rgba(239, 68, 68, 0.3); /* Red */
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, rgba(20, 20, 25, 0.9) 100%);
}
.alert-premium-danger .alert-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-premium-danger::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #f87171;
  box-shadow: 0 0 10px #f87171;
}

.alert-close-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.alert-close-btn:hover {
  color: #fff;
}

/* --- GENERIC PAGE TEMPLATE (PRIVACY, TERMS, ETC) --- */
.page-hero {
  position: relative;
  padding: 120px 0 60px;
  background: radial-gradient(circle at center, #1a0b2e 0%, #000 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.3;
}
.page-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.page-subtitle {
  color: #a855f7;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.page-content-wrapper {
  background: #000;
  min-height: 50vh;
  padding-bottom: 80px;
  position: relative;
}

.page-glass-card {
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 50px;
  margin-top: -40px; /* Overlap hero */
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.page-body {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Outfit', sans-serif;
  line-height: 1.8;
  font-size: 1.05rem;
}
.page-body h2 {
  color: #fff;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  border-left: 4px solid #a855f7;
  padding-left: 15px;
}
.page-body h3 {
  color: #e2e8f0;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.25rem;
}
.page-body p {
  margin-bottom: 20px;
}
.page-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.page-body li {
  margin-bottom: 10px;
}
.page-body a {
  color: #a855f7;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-body a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .page-glass-card {
    padding: 30px 20px;
    border-radius: 0;
    margin-top: 0;
    border-left: none;
    border-right: none;
  }
}

/* --- RICH MEDIA PAGE TEMPLATE --- */
.page-hero-rich {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.page-title-rich {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.page-meta {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 20px;
}
.page-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Rich Content Body */
.page-content-rich {
  position: relative;
  z-index: 10;
  background: #000;
  padding: 60px 0;
}

.rich-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ccc;
  font-family: 'Outfit', sans-serif;
}
.rich-body p {
  margin-bottom: 30px;
}
.rich-body h2 {
  font-size: 2rem;
  color: #fff;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: 700;
}

/* Embedded Images */
.content-image-wrapper {
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.content-image {
  width: 100%;
  height: auto;
  display: block;
}
.image-caption {
  background: rgba(20, 20, 25, 0.9);
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Quote Block */
.rich-quote {
  border-left: 4px solid #a855f7;
  padding-left: 30px;
  font-size: 1.4rem;
  font-style: italic;
  color: #fff;
  margin: 40px 0;
  opacity: 0.9;
}

/* --- HIGH-ENGAGEMENT CONTENT STYLES --- */

/* Gradient Headings */
.text-gradient-purple {
  background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block;
}

/* Feature Grid (Replaces boring lists) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.4);
}
.feature-card-icon {
  font-size: 2rem;
  color: #a855f7;
  margin-bottom: 15px;
  display: inline-block;
}
.feature-card-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Modern Accordion */
.accordion-custom {
  margin: 40px 0;
}
.accordion-item-c {
  background: rgba(20, 20, 25, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}
.accordion-header-c {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.accordion-header-c:hover {
  background: rgba(255, 255, 255, 0.05);
}
.accordion-header-c i {
  transition: transform 0.3s;
}
.accordion-header-c.active i {
  transform: rotate(180deg);
}
.accordion-body-c {
  padding: 0 20px 20px 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none; /* JS will toggle */
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);
  border-left: 4px solid #a855f7;
  padding: 25px;
  border-radius: 0 12px 12px 0;
  margin: 40px 0;
  position: relative;
}
.highlight-box::before {
  content: 'PRO TIP';
  position: absolute;
  top: -12px;
  left: 25px;
  background: #a855f7;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* --- ULTRA-PREMIUM CHECKOUT STYLES --- */

/* Hero Layout */
.checkout-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(88, 28, 135, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
}

/* Payment Method Cards (Wallet Style) */
.payment-method-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-method-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.payment-method-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.payment-method-card:hover::before {
    transform: translateX(100%);
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.payment-method-card.active {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.4) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-color: #a855f7;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
}

/* Custom Radio Circle */
.payment-radio {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.payment-method-card.active .payment-radio {
    border-color: #fff;
    background: #a855f7;
    box-shadow: 0 0 10px #a855f7;
    border: none;
}

.payment-method-card.active .payment-radio::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.payment-icon {
    width: 50px;
    height: 32px;
    object-fit: contain;
    margin-right: 20px;
    background: white;
    padding: 4px;
    border-radius: 6px;
    flex-shrink: 0;
}

.payment-info {
    flex-grow: 1;
}

.payment-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 2px;
}

.payment-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: block;
}

/* Order Summary Glssmorphism */
.order-summary-card {
    background: rgba(18, 18, 23, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 120px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.summary-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.summary-total-price {
    background: linear-gradient(to right, #fff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Secure Badge */
.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #a855f7;
    margin-top: 24px;
    background: rgba(168, 85, 247, 0.05);
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(168, 85, 247, 0.3);
}

/* --- PAYMENT WAITING STYLES --- */

/* Ticket/Invoice Card */
.invoice-card {
    background: #fff;
    color: #1a1a1a;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    max-width: 480px;
    margin: 0 auto;
}

.invoice-header {
    background: #111;
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

/* Zigzag Pattern */
.invoice-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(135deg, transparent 33.33%, #fff 33.33%, #fff 66.66%, transparent 66.66%),
                linear-gradient(45deg, transparent 33.33%, #fff 33.33%, #fff 66.66%, transparent 66.66%);
    background-size: 20px 40px;
    transform: rotate(180deg);
}

.invoice-body {
    padding: 40px 30px 30px;
    background: #fff;
    text-align: center;
}

/* Timer Circle */
.timer-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
}

.timer-box::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 4px solid #a855f7;
    border-top-color: transparent;
    border-right-color: transparent;
    animation: spin-slow 3s linear infinite;
}

@keyframes spin-slow { 100% { transform: rotate(360deg); } }

.timer-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    font-family: monospace;
}

.va-display-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
}

.copy-btn-sm {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn-sm:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* --- ULTRA-PREMIUM CINEMATIC HERO --- */
.hero-cinematic-carousel {
    position: relative;
    height: 85vh; /* Immersive height */
    min-height: 600px;
    background: #000;
    overflow: hidden;
}

.hero-slide-item {
    height: 85vh;
    min-height: 600px;
    position: relative;
}

/* Dynamic Backdrop with Zoom Effect */
.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    animation: panZoom 20s infinite alternate linear;
}

@keyframes panZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Gradient Overlay - The "Cinematic Fade" */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(16, 10, 28, 0.4) 0%,
        rgba(16, 10, 28, 0.4) 50%,
        rgba(16, 10, 28, 0.9) 85%,
        #100a1c 100%
    );
    z-index: 2;
}

/* Vignette for focus */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, transparent 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

/* Content Layout */
.hero-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center; /* Center vertically relative to vh */
    padding-top: 10vh; /* Adjust for aesthetic balance */
}

.hero-text-content {
    max-width: 650px;
    position: relative;
    z-index: 4;
    padding-left: 2rem; /* Mobile safe area */
}

/* Premium Typography */
.hero-brand-logo {
    max-width: 250px; /* For image titles like "Stranger Things" logo */
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text; /* Vendor prefix already there, standard property added */
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

/* Meta Data Pills */
.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #e0e0e0;
    font-weight: 500;
}

.meta-badge {
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    color: #fff;
}

.meta-quality {
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.5);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.4);
}

.match-score {
    color: #2ecc71; /* Netflix Green */
    font-weight: 800;
}

/* Synopsis with fade */
.hero-synopsis {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-hero-primary {
    background: #fff;
    color: #000;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.02);
    color: #000;
}

.btn-hero-secondary {
    background: rgba(109, 109, 110, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(109, 109, 110, 0.4);
    transform: scale(1.02);
    color: #fff;
}

/* Carousel Indicators (Side Dots) */
.hero-indicators {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.hero-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none; /* Reset button styles */
}
.hero-indicator-dot.active {
    width: 6px;
    height: 24px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-cinematic-carousel, .hero-slide-item {
        height: 70vh; /* Taller on mobile for content */
        min-height: 550px;
    }
    .hero-text-content {
        padding-left: 0;
        text-align: center;
        width: 100%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title-large {
        font-size: 2.5rem;
    }
    .hero-meta-row {
        justify-content: center;
    }
    .hero-actions {
        width: 100%;
        justify-content: center;
    }
    .btn-hero-primary, .btn-hero-secondary {
        padding: 12px 20px;
        flex: 1;
        justify-content: center;
    }
    .hero-indicators {
        display: none; /* Hide side dots on mobile */
    }
    .hero-content-wrapper {
        padding-top: 0;
        align-items: flex-end; /* Push content to bottom */
        padding-bottom: 70px; /* More space for bottom navbar/indicators */
    }
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 0%,
            rgba(16, 10, 28, 0.6) 40%,
            rgba(16, 10, 28, 1) 100%
        );
    }
}
/* --- SPOTLIGHT HERO V2 --- */
.hero-spotlight {
    position: relative;
    height: 90vh; /* Taller, more immersive */
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

/* Background Layer */
.spotlight-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spotlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 10s linear;
    transform: scale(1.05); /* Slight zoom start */
}

.spotlight-bg.active {
    opacity: 1;
    transform: scale(1); /* Smooth zoom out effect on active */
    z-index: 2;
}

/* Gradients */
.spotlight-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(90deg, 
        #050505 0%, 
        rgb(5, 5, 5, 0.9) 25%, 
        rgba(5, 5, 5, 0.6) 50%,
        rgba(5, 5, 5, 0.2) 100%
    );
}

.spotlight-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: 3;
    background: linear-gradient(to top, #100a1c 0%, transparent 100%);
}

/* Layout Grid */
.spotlight-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 60px; /* Navbar clearance */
}

/* LEFT: Main Info */
.spotlight-info {
    max-width: 600px;
    padding-left: 5%;
    opacity: 0; /* JS will animate this in */
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}
.spotlight-info.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.spotlight-logo {
    max-height: 120px; /* Logo instead of text title if avail */
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.spotlight-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

.spotlight-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.spotlight-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* RIGHT: Trending Sidebar */
.spotlight-sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 3%;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 20px;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.sidebar-item:hover {
    background: rgba(255,255,255,0.05);
}

.sidebar-item.active {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.sidebar-thumb {
    width: 60px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-item.active .sidebar-thumb {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sidebar-info h5 {
    font-size: 1rem;
    margin: 0;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.sidebar-item.active .sidebar-info h5 {
    color: #fff;
    font-weight: 700;
}

.sidebar-info span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Timer Line for auto-play */
.sidebar-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary);
    width: 0;
    transition: width linear;
}
.sidebar-item.active .sidebar-progress {
    width: 100%; /* JS will handle duration */
}

/* Mobile Tweaks */
@media (max-width: 992px) {
    .spotlight-content {
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 80px;
    }
    .spotlight-sidebar {
        display: none; /* Hide sidebar on mobile for simplicity, or move to bottom horizontal scroll */
    }
    .spotlight-info {
        max-width: 100%;
        padding: 0 20px;
        text-align: center;
    }
    .spotlight-meta {
        justify-content: center;
    }
    .spotlight-title {
        font-size: 2.5rem;
    }
    .hero-spotlight {
        height: 80vh;
    }
    .spotlight-overlay {
        background: linear-gradient(to top, #100a1c 0%, rgba(16,10,28,0.8) 60%, transparent 100%);
    }
}

/* --- HERO V3: MODERN INFO-HUB --- */
.hero-info-hub {
    position: relative;
    padding: 140px 0 80px; /* Top padding for navbar clearance */
    background: radial-gradient(circle at 20% 50%, #1e112e 0%, #0d0816 60%);
    overflow: hidden;
    min-height: 500px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Abstract Background Shapes */
.hero-info-hub::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Left: Welcome Portal */
.hub-welcome {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}

.hub-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.hub-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #bdc3c7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Functional Search Box in Hero */
.hub-search-box {
    position: relative;
    max-width: 450px;
}
.hub-search-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 16px 24px 16px 50px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}
.hub-search-input:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.2);
    outline: none;
}
.hub-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Right: live Info Board */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, background 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.icon-purple { background: rgba(155, 89, 182, 0.2); color: #be2edd; }
.icon-yellow { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }
.icon-blue { background: rgba(52, 152, 219, 0.2); color: #3498db; }
.icon-green { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }

.info-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 992px) {
    .hub-title { font-size: 2.5rem; }
    .hub-welcome { padding-right: 0; margin-bottom: 3rem; text-align: center; }
    .hub-search-box { margin: 0 auto; }
    .hub-desc { margin: 0 auto 2rem; }
}

/* --- BROWSE PAGE FILTERS --- */
.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for tags */
    gap: 10px;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.05); /* Dark translucent */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0a4c2;
    padding: 8px 18px;
    border-radius: 50px; /* Pill shape */
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Reset button defaults */
    outline: none;
    box-shadow: none;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
    background: var(--primary); /* Use main purple theme */
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
    font-weight: 600;
}

/* --- BROWSE PAGE HERO & REFINED FILTERS --- */

/* Hero Section */
.browse-hero {
    margin-top: 80px; /* Clear navbar */
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(30, 20, 50, 0.8) 0%, rgba(16, 10, 28, 0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.browse-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.browse-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Refined Filter Container */
.filter-container-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 40px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}
.filter-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-head {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    padding-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-head i {
    color: var(--primary);
}

.filter-options {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Modern Glassy Chips */
.chip-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #aaa;
    padding: 6px 16px;
    border-radius: 8px; /* Slightly squarer than pill */
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    user-select: none;
}

.chip-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-1px);
}

.chip-glass.active {
    background: rgba(155, 89, 182, 0.2);
    border-color: var(--primary);
    color: #e0acff;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .browse-hero {
        padding: 40px 0 20px;
        text-align: center;
    }
    .browse-subtitle {
        margin: 0 auto;
    }
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    .filter-head {
        width: 100%;
    }
}
