/* ===== PODJAV Static - Elegant Luxury Black Theme ===== */

/* Root variables - Elegant Luxury */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-solid: #1a1a1a;
  --bg-card-hover: #222222;
  --accent-gold: #c9a227;
  --accent-gold-light: #e8c547;
  --accent-rose: #e8b4b8;
  --accent-rose-gold: #b76e79;
  --accent-champagne: #f7e7ce;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --gradient-gold: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #f0d878 100%);
  --gradient-rose: linear-gradient(135deg, #b76e79 0%, #e8b4b8 100%);
  --gradient-purple: #bd7411;
  --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #141414 100%);
  --gradient-luxury: linear-gradient(180deg, rgba(201, 162, 39, 0.03) 0%, transparent 100%);
  --border-gold: rgba(201, 162, 39, 0.2);
  --border-rose: rgba(231, 180, 184, 0.15);
  --radius: 12px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 30px rgba(201, 162, 39, 0.15);
}

/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse at 0% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(231, 180, 184, 0.03) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--accent-gold);
}

/* Scrollbar - Elegant Luxury */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-rose-gold));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-light);
}

/* ===== NAVBAR - Elegant Luxury ===== */
.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar > div {
  position: relative;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.nav-logo span:first-child {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo span:last-child {
  color: var(--text-primary);
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.nav-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(231, 180, 184, 0.08));
}

.nav-links a.highlight {
  color: var(--accent-rose-gold);
  font-weight: 600;
}

.lang-dropdown {
  position: relative;
  margin-left: 0.5rem;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-toggle:hover {
  border-color: var(--accent-gold);
  background: rgba(201, 162, 39, 0.08);
}

.lang-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  min-width: 150px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--accent-gold);
}

.lang-option.active {
  color: var(--accent-gold);
  background: rgba(201, 162, 39, 0.06);
}

.lang-option img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.btn-login {
  background: var(--gradient-gold);
  color: #0a0a0a;
  padding: 0.5rem 1.5rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.25);
  letter-spacing: 1px;
}

.btn-login:hover {
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* ===== BANNER ADS ===== */
.banner-ads {
  background: var(--gradient-card);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 30px rgba(201, 162, 39, 0.03);
}

.banner-ads span {
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.banner-ads img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== BANNER CARD - Grid Item ===== */
.banner-card {
  background: var(--gradient-card);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
}

.banner-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, transparent 100%);
}

#genre-grid .banner-card,
#cast-grid .banner-card {
  aspect-ratio: unset;
  min-height: 120px;
}

/* ===== STATS ROW - Elegant Luxury ===== */
.stat-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-card);
}

.stat-box:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.stat-box .stat-number {
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
@media (max-width: 639px) {
  .stat-box .stat-number {
    font-size: 1.2rem;
    letter-spacing: 0;
  }
}

.stat-box .stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-gold);
  margin-top: 30px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
}

/* ===== RATING BADGE ===== */
.rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-gold);
  color: #0a0a0a;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.video-card {
  position: relative;
}

/* ===== VIDEO CARD - Elegant Luxury ===== */
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(201, 162, 39, 0.08);
  position: relative;
  display: block;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold);
}

.video-card .thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: all 0.4s ease;
}

.video-card:hover .thumb {
  filter: brightness(1.05);
}

/* Banner card - full image fill like video thumbnail */
.video-card.banner-card .thumb {
  object-fit: cover;
}

/* Trending banner card - hide card body, make image fill entire card */
#trendingGrid .video-card.banner-card {
  position: relative;
  overflow: clip;
}

#trendingGrid .video-card.banner-card .card-body {
  display: none !important;
}

/* Hide HOT label on banner cards */
#trendingGrid .video-card.banner-card::after {
  display: none !important;
}

/* Trending grid - for loading spinner positioning */
#trendingGrid {
  position: relative;
  min-height: 200px;
}

/* Trending loading spinner */
.trending-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 100;
}

.trending-loading span {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.spinner-ring {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}

.spinner-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  margin: 4px;
  border: 3px solid var(--accent-gold);
  border-radius: 50%;
  animation: spinner-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--accent-gold) transparent transparent transparent;
}

.spinner-ring div:nth-child(1) { animation-delay: -0.45s; }
.spinner-ring div:nth-child(2) { animation-delay: -0.3s; }
.spinner-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes spinner-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== CONTENT PAGES - About & FAQ ===== */
.about-section,
.faq-section {
  padding: 2rem 0;
}

/* About Features Grid */
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

/* About Mission Box */
.about-mission {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
}

.about-mission h3 {
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.about-mission p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.faq-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--accent-gold);
}

.faq-card h3 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.faq-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-features,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-features,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

#trendingGrid .video-card.banner-card .thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.video-card .card-body {
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--bg-card) 100%);
  position: relative;
}

.video-card .card-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.video-card .card-meta {
  font-size: 0.65rem;
  color: var(--accent-gold);
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

.video-card .card-meta span:first-child::after {
  content: '|';
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.video-card .card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.video-card .card-info .rating {
  color: var(--accent-gold);
  font-weight: 600;
}

.video-card .card-info .year {
  color: var(--text-secondary);
  margin-right: auto;
  margin-left: 0.75rem;
}

.video-card .card-info .views {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--accent-rose-gold);
}

.video-card .card-info .views::before {
  content: '👁';
  font-size: 0.65rem;
}

/* ===== ARTIS JAV CARDS ===== */
.artis-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.artis-row::-webkit-scrollbar { display: none; }

.artis-card {
  flex-shrink: 0;
  width: 120px;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.artis-card:hover { transform: translateY(-4px); }

.artis-img-wrap {
  position: relative;
  width: 120px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
  background: rgba(255,255,255,0.04);
}

.artis-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.artis-card:hover .artis-img { transform: scale(1.06); }

.artis-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  pointer-events: none;
}

.artis-info {
  padding: 0.4rem 0.25rem 0;
}

.artis-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.artis-count {
  font-size: 0.65rem;
  color: var(--accent-gold);
  margin-top: 0.1rem;
}

/* ===== GENRE TABS - Elegant Luxury ===== */
.genre-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.genre-tabs::-webkit-scrollbar {
  display: none;
}

.genre-tab {
  background: var(--gradient-card);
  color: var(--text-secondary);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.genre-tab:hover,
.genre-tab.active {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.25);
}

/* ===== STUDIO SHOWCASE - Elegant Luxury ===== */
.studio-section {
  margin-bottom: 2rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .studio-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.studio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.studio-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.studio-logo {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0a0a0a;
}

.studio-name {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.studio-card:hover .studio-name {
  color: var(--text-primary);
}

/* ===================================================================
   HERO BANNER - Asymmetric Grid Design
   Layout: [LEFT: text+CTA] [RIGHT: framed poster]
   Background: blurred full-width image
=================================================================== */

.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
  background: #0a0a0a;
}

/* ---- Slider wrapper ---- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ---- Individual slide ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: stretch;
}

.hero-slide.active { opacity: 1; }

/* ---- Blurred background image ---- */
.hero-bg-blur {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: right top;
  filter: blur(2px) brightness(0.35) saturate(1.2);
  transform: scale(1.08);
  z-index: 0;
}

/* ---- Dark overlay gradient (stronger on left) ---- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(5,5,10,0.92) 0%, rgba(5,5,10,0.6) 55%, rgba(5,5,10,0.15) 100%),
    linear-gradient(to top,    rgba(5,5,10,0.7) 0%, transparent 50%);
  z-index: 1;
}

/* ---- Asymmetric grid container ---- */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2.5rem;
  align-items: center;
  height: 100%;
}

/* ===== LEFT: Text & CTA ===== */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0;
}

/* Labels row */
.hero-labels {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: #0a0a0a;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-label-uncen {
  display: inline-block;
  background: rgba(233,30,140,0.2);
  border: 1px solid rgba(233,30,140,0.5);
  color: #e91e8c;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-label-quality {
  display: inline-block;
  background: rgba(108,63,197,0.25);
  border: 1px solid rgba(108,63,197,0.5);
  color: #a78bfa;
  padding: 0.28rem 0.7rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Title */
.hero-title {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-code {
  display: inline-block;
  background: linear-gradient(135deg, #6c3fc5, #e91e8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.85em;
  font-weight: 700;
  margin-right: 0.4rem;
  letter-spacing: 1px;
}

/* Description */
.hero-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 500px;
}

/* Meta pills row */
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.hero-meta-pill {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

.hero-genre-pill {
  font-size: 0.72rem;
  color: var(--accent-gold);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.hero-genre-pill:hover {
  background: rgba(212,175,55,0.2);
  color: var(--accent-gold);
}

/* CTA row */
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.25rem;
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: #0a0a0a;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-watch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.45);
  color: #0a0a0a;
}

.btn-watch-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-watch-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* ===== RIGHT: Framed Poster ===== */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  height: 100%;
}

.hero-poster-frame {
  position: relative;
  width: 180px;
  flex-shrink: 0;
}

/* Poster image */
.hero-poster-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,55,0.15);
}

/* Glow behind poster */
.hero-poster-glow {
  position: absolute;
  inset: -8px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(108,63,197,0.5), rgba(233,30,140,0.35));
  filter: blur(20px);
  z-index: 1;
  opacity: 0.75;
}

/* Decorative corner brackets */
.hpf-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}

.hpf-corner.tl { top: -6px; left: -6px;
  border-top: 2px solid var(--accent-gold); border-left: 2px solid var(--accent-gold); border-radius: 3px 0 0 0; }
.hpf-corner.tr { top: -6px; right: -6px;
  border-top: 2px solid var(--accent-gold); border-right: 2px solid var(--accent-gold); border-radius: 0 3px 0 0; }
.hpf-corner.bl { bottom: -6px; left: -6px;
  border-bottom: 2px solid var(--accent-gold); border-left: 2px solid var(--accent-gold); border-radius: 0 0 0 3px; }
.hpf-corner.br { bottom: -6px; right: -6px;
  border-bottom: 2px solid var(--accent-gold); border-right: 2px solid var(--accent-gold); border-radius: 0 0 3px 0; }

/* ===== Navigation dots ===== */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 2rem;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.hero-dot.active {
  background: var(--accent-gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== Arrow buttons ===== */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  opacity: 0;
}

.hero-banner:hover .hero-arrow { opacity: 1; }

.hero-arrow:hover {
  background: rgba(212,175,55,0.3);
  border-color: var(--accent-gold);
}

.hero-arrow-prev { left: 1rem; }
.hero-arrow-next { right: 1rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-banner {
    aspect-ratio: 16 / 7;
    min-height: 300px;
  }
  .hero-inner {
    grid-template-columns: 1fr 160px;
    gap: 1.5rem;
    padding: 0 1.25rem;
  }
  .hero-poster-frame { width: 140px; }
}

@media (max-width: 640px) {
  .hero-banner {
    aspect-ratio: unset;
    height: 480px;
    min-height: unset;
    max-height: none;
  }
  .hero-slider {
    height: 100%;
    min-height: 480px;
  }
  .hero-slide {
    min-height: 480px;
  }
  .hero-bg-blur {
    inset: 0;
    transform: none;
    background-size: cover;
    background-position: right center;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 1.5rem 1rem 3rem;
    gap: 1.25rem;
    align-items: start;
  }
  .hero-right {
    order: -1;
    height: auto;
    padding: 0;
    justify-content: flex-start;
  }
  .hero-poster-frame { width: 100px; }
  .hero-title { font-size: 1.2rem; -webkit-line-clamp: 4; line-clamp: 4; }
  .hero-desc { display: none; }
  .hero-dots { left: 50%; transform: translateX(-50%); }
  .hero-arrow { display: none; }
}

/* ===== SEARCH BAR - Elegant Luxury ===== */
.search-bar-container {
  max-width: 600px;
  margin: 0 auto 1rem;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 0.4rem;
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.15);
}

.search-icon {
  color: var(--text-muted);
  padding: 0 0.8rem;
  font-size: 1rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  padding: 0.5rem;
  font-size: 0.9rem;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

/* ===== GENRE TAGS ===== */
.genre-tags,
.artis-row,
.genre-tabs {
  cursor: grab;
}
.genre-tags:active,
.artis-row:active,
.genre-tabs:active {
  cursor: grabbing;
}

.genre-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.genre-tags::-webkit-scrollbar { display: none; }

.genre-tag {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.genre-tag:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.genre-tag.active {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  font-weight: 600;
}

/* ===== TRENDING TABS - Elegant Luxury ===== */
.trending-tabs {
  display: flex;
  gap: 0.5rem;
}

.trending-tab {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.trending-tab:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.trending-tab.active {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.25);
  font-weight: 600;
}

/* ===== POPULAR GENRES - Elegant Luxury ===== */
.popular-genres {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1rem;
  width: 100%;
}

.popular-genre-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 62.5%;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: all 0.4s ease;
}

.popular-genre-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.popular-genre-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  gap: 0.25rem;
  z-index: 2;
}

.popular-genre-name {
  font-size: 1rem;
  font-weight: 700;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popular-genre-count {
  font-size: 0.75rem;
  color: #c9a227;
  font-weight: 500;
}

.popular-genre-card:hover {
  border-color: #c9a227;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.25);
  transform: translateY(-4px);
}

.popular-genre-card:hover img {
  transform: scale(1.1);
}

.popular-genre-ads {
  background: linear-gradient(135deg, rgba(201,162,39,0.05) 0%, rgba(15,15,15,0.9) 100%);
  border: 1px dashed rgba(201,162,39,0.25) !important;
  cursor: default;
}

.popular-genre-ads:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(201,162,39,0.25) !important;
}

.popular-genre-ads-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.popular-genre-ads-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(156,163,175,0.7);
  letter-spacing: 2px;
}

.popular-genre-ads-sub {
  font-size: 0.75rem;
  color: rgba(107,114,128,0.7);
}

@media (max-width: 768px) {
  .popular-genres {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .popular-genres {
    display: flex !important;
    grid-template-columns: unset !important;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .popular-genres::-webkit-scrollbar {
    display: none;
  }
  .popular-genre-card {
    min-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* ===== POPULAR CAST - Elegant Luxury ===== */
.popular-cast {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1rem;
}

.popular-cast::-webkit-scrollbar {
  display: none;
}

.popular-cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-align: center;
  transition: all 0.3s ease;
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.popular-cast-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
}

.popular-cast-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.popular-cast-card:hover img {
  border-color: #c9a227;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
  transform: scale(1.08);
}

.popular-cast-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.popular-cast-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-cast-stats {
  display: flex;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
}

.popular-cast-card:hover .popular-cast-stats {
  color: #c9a227;
}

/* ===== CAST CARD - Elegant Luxury ===== */
.cast-card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.cast-photo {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.cast-card-sm .cast-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

/* Cast page grid — auto-fill grid at 1.5× artis card size */
.cast-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

/* Popular cast — stretch 6 cards to full width */
.cast-grid-wrap--popular {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 640px) {
  .cast-grid-wrap--popular {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.cast-info {
  padding: 0.8rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cast-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cast-stats {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.cast-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cast-card:hover .cast-photo img {
  transform: scale(1.08);
}

.cast-card:hover .cast-stats {
  color: var(--accent-gold);
}

/* ===== ALPHABET FILTER ===== */
.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.alpha-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-secondary);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 2rem;
  text-align: center;
}

.alpha-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.alpha-btn.active {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.25);
}

/* ===== GENRE CARD - Elegant Luxury ===== */
.genre-card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(212, 175, 55, 0.12);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.genre-icon {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.genre-name {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.genre-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.genre-card:hover {
  background: linear-gradient(145deg, #1f1f1f 0%, #161616 100%);
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.popular-genre-featured {
  border-color: rgba(212, 175, 55, 0.3);
  background: linear-gradient(145deg, rgba(212,175,55,0.06) 0%, var(--bg-card) 100%);
}

.popular-genre-featured .genre-icon {
  font-size: 2rem;
}

.popular-genre-featured .genre-name {
  color: var(--accent-gold);
}

.genre-card:hover .genre-icon {
  transform: scale(1.2);
}

.genre-card:hover .genre-count {
  color: var(--accent-gold);
}

/* ===== FAQ - Elegant Luxury ===== */
.faq-card {
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  padding: 1.3rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.faq-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-hover);
}

.faq-card.static {
  cursor: default;
}

.faq-card.static .faq-question {
  margin-bottom: 0.75rem;
}

.faq-card .faq-question {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

.faq-card.static .faq-question {
  display: block !important;
}

.faq-card .faq-answer {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.8rem;
  line-height: 1.7;
  display: none;
}

.faq-card.open .faq-answer,
.faq-card.static .faq-answer {
  display: block !important;
}

.faq-card .faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--accent-rose-gold);
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

/* ===== LIVE USERS ===== */
.live-users {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.theme-toggle:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}

/* ===== QUICK ACCESS BAR ===== */
.quick-access {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.quick-access.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quick-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.quick-btn:hover {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .quick-access {
    bottom: 20px;
    right: 20px;
  }
  .quick-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ===== BOTTOM NAVBAR (Mobile Only) ===== */
.bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  /* Push page content above navbar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .bottom-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(8, 8, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px 4px;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    border-radius: 0 0 3px 3px;
    background: var(--accent-gold);
    transition: transform 0.25s ease;
  }

  .bottom-nav-item.active {
    color: var(--accent-gold);
  }

  .bottom-nav-item.active::before {
    transform: translateX(-50%) scaleX(1);
  }

  .bottom-nav-item:active {
    transform: scale(0.88);
  }

  .bni-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bni-icon svg {
    width: 100%;
    height: 100%;
  }

  .bni-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1;
    text-transform: uppercase;
  }

  /* Center "Terbaru" item — elevated pill */
  .bottom-nav-center {
    position: relative;
    top: -10px;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0a0a0a !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.45);
    padding: 0;
    margin: 0 8px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .bottom-nav-center::before { display: none; }

  .bottom-nav-center .bni-label {
    font-size: 0.5rem;
    color: #0a0a0a;
    font-weight: 700;
  }

  .bottom-nav-center:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  }

  /* Move quick-access above bottom nav */
  .quick-access {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* ===== BOTTOM SEARCH OVERLAY ===== */
.bottom-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bottom-search-overlay.visible {
  display: flex;
}

.bottom-search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.bottom-search-box {
  width: 100%;
  max-width: 480px;
  background: rgba(14, 14, 20, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 20px 16px;
  transform: scale(0.92) translateY(-12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-search-overlay.open .bottom-search-box {
  transform: scale(1) translateY(0);
}

.bottom-search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
}

.bsf-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.bottom-search-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.bottom-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bsf-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.bsf-close:hover { background: rgba(255, 255, 255, 0.15); }

.bsf-hint {
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  padding-left: 4px;
}

.bsf-hint span {
  color: var(--accent-gold);
  opacity: 0.8;
}

/* ===== FOOTER - Elegant Luxury ===== */
.site-footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #0d0d0d 100%);
  border-top: 1px solid var(--border-gold);
  padding: 2.5rem 0 1rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.6rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.footer-bottom {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.5rem;
}

/* ===== DETAIL PAGE - Elegant Luxury ===== */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--accent-gold);
}

.breadcrumb a:hover {
  color: var(--accent-rose);
}

.player-area {
  background: var(--gradient-card);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  border: 2px solid rgba(212, 175, 55, 0.15);
  position: relative;
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.03);
}

.player-area .play-btn {
  width: 72px;
  height: 72px;
  background: var(--gradient-gold);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 30px rgba(212, 175, 55, 0.35);
}

.player-area .play-btn:hover {
  box-shadow: 0 6px 40px rgba(212, 175, 55, 0.5);
  transform: scale(1.1);
}

.sidebar-box {
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.sticky-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.sticky-sidebar::-webkit-scrollbar {
  width: 4px;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 2px;
}

.sidebar-box h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.share-btn.fb { background: #1877F2; border: 1px solid #1877F2; }
.share-btn.tw { background: #1DA1F2; border: 1px solid #1DA1F2; }
.share-btn.wa { background: #25D366; border: 1px solid #25D366; }
.share-btn.link { background: transparent; border: 1px solid var(--border-gold); color: var(--accent-gold); }

.share-btn.link:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0a0a;
}

.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.detail-tab {
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all 0.4s ease;
  margin-bottom: -3px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.detail-tab:hover,
.detail-tab.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.tab-content,
.detail-tab-content {
  display: none;
}

.tab-content.active,
.detail-tab-content.active {
  display: block;
}

/* ===== Download List ===== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-primary, #e0e0e0);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.download-item:hover {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.5);
  transform: translateX(3px);
}

.dl-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #d4af37, #a07d20);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: #000;
}

.dl-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0e0e0;
  flex: 1;
}

.dl-host {
  font-size: 0.75rem;
  color: rgba(212,175,55,0.8);
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.locked-msg {
  padding: 1.5rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

.locked-msg a {
  color: var(--accent-gold, #d4af37);
}

.tag-pill {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--accent-gold);
  transition: all 0.3s ease;
  display: inline-block;
  letter-spacing: 0.5px;
}

.tag-pill:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0a0a;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* ===== CAROUSEL - Elegant Luxury ===== */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.4s ease;
}

.carousel-btn:hover {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #0a0a0a;
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.35);
}

.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

/* ===== SEARCH BAR - Elegant Luxury ===== */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.search-wrapper:focus-within .search-icon {
  opacity: 1;
}

.search-genre {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 50px;
  padding: 1rem 6rem 1rem 3.5rem;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.4s ease;
  letter-spacing: 0.3px;
}

.search-genre::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.search-genre:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1), 0 0 30px rgba(212, 175, 55, 0.15);
  background: var(--bg-card-solid);
}

.search-clear {
  position: absolute;
  right: 5.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.search-clear.visible {
  opacity: 1;
}

.search-clear:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.search-count {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  z-index: 2;
}

.search-wrapper:focus-within .search-count {
  color: var(--accent-gold);
  border-color: rgba(201, 162, 39, 0.3);
}

/* ===== LOAD MORE BTN - Elegant Luxury ===== */
.btn-load-more {
  background: transparent;
  color: var(--accent-gold);
  padding: 0.8rem 3rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--accent-gold);
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.btn-load-more:hover {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #0a0a0a;
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.35);
}

/* ===== DESCRIPTION BOX - Elegant Luxury ===== */
.desc-box {
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.desc-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== MOBILE NAV TOGGLE ===== */
.mobile-auth {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 1.2rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover,
.nav-toggle.active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #0a0a0a;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }
  
  .nav-toggle {
    display: flex;
    order: 3;
  }
  
  .navbar > div {
    flex-wrap: wrap;
    position: relative;
  }
  
  .nav-logo {
    order: 0;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    background: rgba(6, 6, 10, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0;
    border: none;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    z-index: 1050;
    gap: 0;
    order: 4;
    width: 100vw;
    height: calc(100dvh - 60px - 64px - env(safe-area-inset-bottom, 0px));
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
    pointer-events: none;
    overflow-y: auto;
  }
  
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
  }
  
  .nav-links a {
    padding: 1rem 1.5rem;
    text-align: left;
    border-radius: 0;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
    padding-left: 1.8rem;
    color: var(--accent-gold);
  }
  
  .nav-links span {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    display: block;
    cursor: pointer;
  }
  
  .nav-links span:hover {
    background: rgba(201, 162, 39, 0.1);
    padding-left: 1.8rem;
  }
  
  .mobile-auth {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  
  .mobile-signup {
    display: block;
    text-align: center;
    padding: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .mobile-signup:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
    background: rgba(201, 162, 39, 0.1);
  }
  
  .mobile-login {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-gold);
    color: #0a0a0a;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .mobile-login:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
  }
  
  /* Language dropdown — rata kiri sejajar menu lain */
  .nav-links .lang-dropdown {
    margin-left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links .lang-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0;
    background: none;
    font-size: 1rem;
    color: var(--text-secondary);
    gap: 0.75rem;
    cursor: pointer;
    transition: background 0.2s, padding-left 0.2s, color 0.2s;
  }

  .nav-links .lang-toggle .lang-flag {
    width: 22px;
    height: 15px;
    flex-shrink: 0;
  }

  .nav-links .lang-arrow {
    display: none;
  }

  .nav-links .lang-toggle::after {
    content: '›';
    margin-left: auto;
    font-size: 1.1rem;
    opacity: 0.35;
    transform: rotate(90deg);
    display: inline-block;
    transition: transform 0.25s ease, opacity 0.2s;
    line-height: 1;
  }

  .nav-links .lang-dropdown.open .lang-toggle::after {
    transform: rotate(270deg);
    opacity: 0.7;
  }

  .nav-links .lang-toggle:hover {
    background: rgba(201, 162, 39, 0.1);
    padding-left: 1.8rem;
    color: var(--accent-gold);
  }

  .nav-links .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
    display: none;
    padding: 0;
  }

  .nav-links .lang-dropdown.open .lang-menu {
    display: block;
  }

  .nav-links .lang-option {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  /* Close button inside fullscreen nav */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    padding: 1.1rem 1.25rem 0.75rem;
    width: 100%;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-close svg {
    width: 26px;
    height: 26px;
  }
  .nav-close:hover { color: var(--accent-gold); }

  .navbar > div > .flex {
    order: 2;
    margin-left: auto;
    margin-right: 0.75rem;
  }
  
  .navbar > div > .flex.items-center.gap-3 {
    display: none !important;
  }
}

/* ===== DETAIL INFO BOX - Elegant Luxury ===== */
.info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.score-badge {
  background: var(--gradient-gold);
  color: #0a0a0a;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

/* ===== COVER CARD - Elegant Luxury ===== */
.cover-card {
  min-width: 200px;
  aspect-ratio: 2/3;
  background: var(--gradient-card);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.12);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.4s ease;
}

.cover-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-card.zoomable {
  cursor: zoom-in;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent-gold);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cover-card.landscape {
  min-width: 220px;
  max-width: 240px;
  aspect-ratio: 16/9;
}

/* ===== REKOMENDASI - Elegant Luxury ===== */
.reko-card {
  min-width: 140px;
  max-width: 140px;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
}

.reko-card .card-image {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--gradient-card);
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reko-card:hover .card-image {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.reko-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reko-card-title {
  display: -webkit-box;
  margin-top: 0.5rem;
  padding: 0 0.25rem;
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.reko-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

/* ===== BADGE NEW - Ribbon Style ===== */
.badge-new {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 60%, #9b2c2c 100%);
  color: #fff;
  padding: 0.3rem 0.9rem 0.3rem 0.55rem;
  border-radius: 0 0 12px 0;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 3;
  box-shadow: 
    0 3px 12px rgba(229, 62, 62, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  animation: badgeGlow 2.5s ease-in-out infinite;
}

.badge-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 3px 12px rgba(229, 62, 62, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 3px 20px rgba(229, 62, 62, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}

@keyframes badgeShine {
  0%, 70%, 100% { left: -100%; }
  85% { left: 100%; }
}

/* ===== BADGE UNCENSORED ===== */
.badge-uncen {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #38b2ac 0%, #2c7a7b 60%, #234e52 100%);
  color: #fff;
  padding: 0.3rem 0.55rem 0.3rem 0.9rem;
  border-radius: 0 0 0 12px;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 3;
  box-shadow:
    0 3px 12px rgba(56, 178, 172, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.badge-uncen::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: badgeShine 4s ease-in-out infinite;
}

/* ===== BADGE HOT - Fire Icon ===== */
#trendingGrid .video-card::after {
  content: '🔥 HOT';
  position: absolute;
  bottom: 100px;
  right: 8px;
  background: rgba(220, 70, 5, 0.88);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 3px 9px;
  border-radius: 99px;
  z-index: 4;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.55);
  animation: hotBadgePulse 2.5s ease-in-out infinite;
}

@keyframes hotBadgePulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(234, 88, 12, 0.55); }
  50% { box-shadow: 0 2px 16px rgba(234, 88, 12, 0.85); }
}

.popular-genre-card:not(.popular-genre-ads)::after {
  content: '🔥 HOT';
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 70, 5, 0.88);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 3px 9px;
  border-radius: 99px;
  z-index: 5;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.55);
  animation: hotBadgePulse 2.5s ease-in-out infinite;
}

/* ===== KOLEKSI CONTROLS ===== */
.koleksi-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .koleksi-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .koleksi-controls .genre-tabs {
    flex: 1;
    min-width: 0;
  }
}

/* ===== SORT CONTROLS ===== */
.sort-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sort-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.sort-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.sort-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.sort-btn.active {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.25);
  font-weight: 600;
}

/* ===== PAGINATION - Elegant Luxury ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

/* WP paginate_links full-width layout */
.pagination-wrapper {
  width: 100%;
}

.pagination-wrapper ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.4rem;
}

.pagination-wrapper .page-numbers li {
  display: flex;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.6rem;
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.pagination-wrapper .page-numbers a:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.pagination-wrapper .page-numbers .current {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  font-weight: 700;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.page-btn.active {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* ===== NO RESULTS - Elegant Luxury ===== */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.no-results-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== VIDEO CARD ANIMATION ===== */
.video-card.fade-in,
#castGrid.fade-in {
  animation: cardFadeIn 0.4s ease forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== REQUEST PAGE - Step Cards ===== */
.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== REQUEST PAGE - Pricing Cards ===== */
.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 25px rgba(201, 162, 39, 0.15);
}

.pricing-card.selected {
  border-color: #38b2ac;
  box-shadow: 0 0 25px rgba(56, 178, 172, 0.25);
}

.pricing-badge {
  position: absolute;
  top: 12px;
  right: -30px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
}

.pricing-badge.best {
  background: linear-gradient(135deg, #38b2ac 0%, #2c7a7b 100%);
  color: #fff;
}

.pricing-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.pricing-per {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.pricing-save {
  color: #38b2ac;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  flex: 1;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-btn:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
}

.pricing-card.featured .pricing-btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
}

.pricing-card.featured .pricing-btn:hover {
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

/* ===== REQUEST PAGE - Form ===== */
.request-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group .required {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: #1a1a1a;
  color: #fff;
}

.form-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-submit-request {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-submit-request:hover {
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
  transform: translateY(-2px);
}

/* ===== REQUEST PAGE - FAQ ===== */
.request-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-item .faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent-gold);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.25rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== AUTH PAGE (Login / Signup) ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  width: 100%;
  align-items: stretch;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* Premium Info Card */
.auth-premium {
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.06) 0%, rgba(10, 10, 10, 0.95) 40%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.premium-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.premium-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.premium-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.premium-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.premium-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.premium-benefit strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.premium-benefit p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.premium-pricing {
  text-align: center;
  margin-bottom: 1rem;
}

.premium-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.premium-per {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-premium-cta {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-premium-cta:hover {
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .auth-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .auth-premium {
    order: 2;
  }

  .auth-container {
    order: 1;
  }
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo img {
  height: 40px;
  display: block;
  margin: 0 auto;
}

/* Tab Switcher */
.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-tab {
  flex: 1;
  padding: 0.6rem;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.auth-tab.active {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}

.auth-tab:not(.active):hover {
  color: var(--text-primary);
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.auth-form .form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.auth-form .form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.auth-form .form-group input::placeholder {
  color: var(--text-muted);
}

.auth-form .form-group input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

/* Password wrapper */
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 2.8rem;
}

.password-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  padding: 0.2rem;
}

.password-toggle:hover {
  opacity: 1;
}

/* Auth options row */
.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.forgot-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.forgot-link:hover {
  opacity: 0.8;
}

/* Submit button */
.btn-auth-submit {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.25rem;
}

.btn-auth-submit:hover {
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
  transform: translateY(-2px);
}

/* OAuth divider */
.oauth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.oauth-divider span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* OAuth buttons */
.oauth-buttons {
  display: flex;
  gap: 0.75rem;
}
.btn-oauth {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-oauth-google {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}
.btn-oauth-google:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.btn-oauth-x {
  background: #000;
  color: #fff;
  border: 1px solid #333;
}
.btn-oauth-x:hover {
  background: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transform: translateY(-1px);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Google button */
.btn-google {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-google svg {
  flex-shrink: 0;
}

/* Footer text */
.auth-footer-text {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.auth-footer-text a {
  color: var(--accent-gold);
  text-decoration: none;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

/* ============================================
   DASHBOARD MEMBER
============================================ */
.dash-wrapper {
  min-height: calc(100vh - 60px);
}

.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ---- Sidebar ---- */
.dash-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-gold);
}

.dash-avatar {
  position: relative;
  flex-shrink: 0;
}

.dash-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.dash-avatar-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  font-size: 0.5rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.dash-avatar-badge.premium {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border-color: transparent;
}

.dash-username {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-email {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.dash-nav-item:hover {
  background: rgba(201, 162, 39, 0.08);
  color: var(--text-primary);
}

.dash-nav-item.active {
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  padding-left: calc(0.85rem - 3px);
}

.dash-nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.dash-sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-gold);
}

.dash-logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dash-logout:hover {
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.08);
}

/* ---- Main Content ---- */
.dash-main {
  min-width: 0;
}

.dash-section {
  display: none;
  animation: dashFadeIn 0.3s ease;
}

.dash-section.active {
  display: block;
}

@keyframes dashFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dash-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-gold);
  padding-left: 0.75rem;
}

.dash-section-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.dash-section-sub-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Stat Cards ---- */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.25s ease;
}

.dash-stat-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.dash-stat-icon {
  font-size: 1.6rem;
}

.dash-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.dash-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ---- Upgrade Banner ---- */
.dash-upgrade-banner {
  background: linear-gradient(135deg, rgba(201,162,39,0.1) 0%, rgba(183,110,121,0.06) 100%);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.dash-upgrade-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dash-upgrade-crown {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.dash-upgrade-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.3rem;
}

.dash-upgrade-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.dash-upgrade-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dash-upgrade-perks li {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.dash-upgrade-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.dash-upgrade-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.dash-upgrade-price strong {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.dash-btn-upgrade {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.dash-btn-upgrade:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
}

.dash-btn-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dash-btn-outline:hover {
  background: rgba(201,162,39,0.1);
  color: var(--accent-gold);
}

/* ---- Recent Watch (Overview) ---- */
.dash-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dash-recent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  transition: all 0.25s ease;
}

.dash-recent-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.dash-recent-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.dash-recent-info {
  padding: 0.65rem 0.85rem;
}

.dash-recent-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dash-recent-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ---- Riwayat Tonton Grid ---- */
.dash-watch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dash-watch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  transition: all 0.25s ease;
}

.dash-watch-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.dash-watch-thumb {
  position: relative;
}

.dash-watch-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.dash-watch-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.dash-watch-body {
  padding: 0.65rem 0.85rem;
}

.dash-watch-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dash-watch-date {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.dash-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- Member Premium Section ---- */
.dash-member-free {
  text-align: center;
  padding: 1.5rem 0;
}

.dash-member-free-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.dash-member-free h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dash-member-free p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.dash-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}

.dash-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: all 0.25s ease;
}

.dash-plan-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.dash-plan-card.dash-plan-best {
  border-color: var(--accent-gold);
  background: linear-gradient(145deg, rgba(201,162,39,0.08) 0%, var(--bg-card) 100%);
}

.dash-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #0a0a0a;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 99px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.dash-plan-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.dash-plan-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dash-plan-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.dash-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dash-plan-features li {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Premium active card */
.dash-member-premium {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dash-premium-card {
  background: linear-gradient(135deg, rgba(201,162,39,0.12) 0%, rgba(183,110,121,0.05) 100%);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.dash-premium-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.dash-premium-crown {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.dash-premium-badge-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}

.dash-premium-badge-status.active {
  background: rgba(72, 187, 120, 0.15);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.dash-premium-badge-status.expired {
  background: rgba(229, 62, 62, 0.15);
  color: #e53e3e;
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.dash-premium-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dash-premium-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.dash-premium-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-detail-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-detail-gold {
  color: var(--accent-gold);
}

.dash-premium-perks {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.dash-premium-perks h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-perk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.dash-perk-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  background: rgba(201,162,39,0.05);
  border-radius: 6px;
}

/* ---- Table ---- */
.dash-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.dash-table thead tr {
  background: rgba(201,162,39,0.08);
  border-bottom: 1px solid var(--border-gold);
}

.dash-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.dash-table td {
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(201,162,39,0.06);
  vertical-align: middle;
}

.dash-table tbody tr:hover {
  background: rgba(201,162,39,0.04);
}

.dash-table tbody tr:last-child td {
  border-bottom: none;
}

.dash-film-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.dash-film-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
  display: block;
}

/* Status Badges */
.dash-status-badge {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.dash-status-badge.selesai {
  background: rgba(72, 187, 120, 0.15);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.dash-status-badge.diproses {
  background: rgba(246, 173, 85, 0.15);
  color: #f6ad55;
  border: 1px solid rgba(246, 173, 85, 0.3);
}

.dash-status-badge.pending {
  background: rgba(160, 160, 160, 0.15);
  color: #a0a0a0;
  border: 1px solid rgba(160, 160, 160, 0.25);
}

.dash-status-badge.ditolak {
  background: rgba(229, 62, 62, 0.15);
  color: #e53e3e;
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.dash-est-date {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.dash-est-date.done { color: #48bb78; }
.dash-est-date.processing { color: #f6ad55; }
.dash-est-date.pending { color: #a0a0a0; }
.dash-est-date.rejected { color: var(--text-muted); }

/* ---- Settings ---- */
.dash-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.dash-settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.dash-settings-card-full {
  grid-column: 1 / -1;
}

.dash-settings-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
}

.dash-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dash-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dash-form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-input {
  background: var(--bg-secondary);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
  width: 100%;
}

.dash-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.dash-input.readonly {
  color: var(--text-muted);
  cursor: not-allowed;
}

.dash-otp-input {
  letter-spacing: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.dash-btn-save {
  background: var(--gradient-gold);
  color: #0a0a0a;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  align-self: flex-start;
}

.dash-btn-save:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,162,39,0.3);
}

/* 2FA Layout */
.dash-2fa-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: start;
}

.dash-2fa-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.dash-2fa-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-2fa-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dash-2fa-step-num {
  width: 22px;
  height: 22px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dash-2fa-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dash-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.dash-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dash-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  transition: 0.3s ease;
}

.dash-toggle-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s ease;
}

.dash-toggle input:checked + .dash-toggle-slider {
  background: var(--accent-gold);
}

.dash-toggle input:checked + .dash-toggle-slider::before {
  transform: translateX(20px);
}

.dash-2fa-status {
  font-weight: 600;
  font-size: 0.8rem;
}

/* QR Box */
.dash-qr-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.dash-qr-placeholder {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
}

.dash-qr-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.dash-qr-secret {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
}

.dash-qr-secret code {
  color: var(--accent-gold);
  background: rgba(201,162,39,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
}

/* ============================================
   ORDER & PAYMENT PAGES
============================================ */
.order-breadcrumb {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.order-breadcrumb a { color: var(--text-muted); }
.order-breadcrumb a:hover { color: var(--accent-gold); }
.order-breadcrumb span:not(a) { color: var(--text-secondary); }

.order-wrapper { min-height: calc(100vh - 110px); }

/* ---- Step Indicator ---- */
.order-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.order-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.order-step.active .order-step-num {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(201,162,39,0.1);
}

.order-step.done .order-step-num {
  border-color: #48bb78;
  color: #48bb78;
  background: rgba(72,187,120,0.1);
}

.order-step-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.order-step.active .order-step-label { color: var(--accent-gold); font-weight: 700; }
.order-step.done .order-step-label   { color: #48bb78; }

.order-step-line {
  width: 80px;
  height: 2px;
  background: var(--text-muted);
  opacity: 0.3;
  margin-bottom: 20px;
}
.order-step-line.active { background: var(--accent-gold); opacity: 0.5; }

/* ---- Layout ---- */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.order-form-col { display: flex; flex-direction: column; gap: 1rem; }

/* ---- Cards ---- */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.order-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
}

.order-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ---- Package Banner ---- */
.order-pkg-banner {
  background: linear-gradient(135deg, rgba(201,162,39,0.1) 0%, rgba(183,110,121,0.05) 100%);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-pkg-icon { font-size: 1.8rem; flex-shrink: 0; }

.order-pkg-info { flex: 1; }

.order-pkg-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.order-pkg-price {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.order-pkg-change {
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.order-pkg-change:hover { color: var(--accent-gold); border-color: var(--accent-gold); }

/* ---- Account Info ---- */
.order-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.order-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.order-info-item label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Inputs ---- */
.order-input {
  background: var(--bg-secondary);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease;
  width: 100%;
}
.order-input:focus { outline: none; border-color: var(--accent-gold); }
.order-input.readonly { color: var(--text-muted); cursor: not-allowed; }
.order-input.order-input-error { border-color: #e53e3e !important; }
.order-input.order-input-ok   { border-color: #48bb78 !important; }
.order-textarea { resize: vertical; min-height: 80px; }

/* ---- Qty Stepper ---- */
.order-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.order-qty-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.order-qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
}

.order-qty-btn {
  width: 32px;
  height: 32px;
  background: rgba(201,162,39,0.08);
  border: none;
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.order-qty-btn:hover:not(:disabled) { background: rgba(201,162,39,0.18); }
.order-qty-btn:disabled { color: var(--text-muted); cursor: not-allowed; }

.order-qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 0.5rem;
}

.order-qty-max {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.order-qty-max strong { color: var(--accent-gold); }

/* ---- Film Row ---- */
.order-film-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  animation: dashFadeIn 0.25s ease;
}

.order-film-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.order-film-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.order-code-input {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---- Order Summary ---- */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-summary-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
}

.order-summary-pkg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.order-summary-pkg span { color: var(--text-muted); }
.order-summary-pkg strong { color: var(--text-primary); font-size: 0.8rem; }

.order-summary-divider {
  height: 1px;
  background: var(--border-gold);
  opacity: 0.5;
}

.order-summary-films { display: flex; flex-direction: column; gap: 0.4rem; }
.order-summary-no-film { font-size: 0.72rem; color: var(--text-muted); text-align: center; padding: 0.5rem 0; }

.order-sum-film-item { display: flex; flex-direction: column; gap: 2px; }
.order-sum-film-code { font-size: 0.72rem; font-weight: 700; color: var(--accent-gold); }
.order-sum-film-title { font-size: 0.68rem; color: var(--text-muted); }

.order-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.order-summary-total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.order-summary-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  justify-content: center;
}

.order-checkout-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gradient-gold);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: block;
  text-align: center;
}
.order-checkout-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
  color: #0a0a0a;
}
.order-checkout-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.order-back-link {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}
.order-back-link:hover { color: var(--accent-gold); }

/* ===== PAYMENT PAGE ===== */
.pay-timer-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pay-order-id { font-size: 0.78rem; color: var(--text-muted); }
.pay-order-id strong { color: var(--accent-gold); }

.pay-timer-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pay-timer {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  min-width: 50px;
}

/* ---- Payment Methods Grid ---- */
.pay-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pay-method-card {
  cursor: pointer;
  display: block;
}

.pay-method-card input { display: none; }

.pay-method-inner {
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 8px;
  padding: 0.85rem 0.65rem;
  text-align: center;
  transition: all 0.2s ease;
  background: var(--bg-secondary);
}

.pay-method-card input:checked + .pay-method-inner {
  border-color: var(--accent-gold);
  background: rgba(201,162,39,0.08);
}

.pay-method-inner:hover { border-color: var(--accent-gold); }

.pay-method-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.pay-method-name { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); }
.pay-method-sub  { font-size: 0.62rem; color: var(--text-muted); margin-top: 2px; }

/* ---- Instructions ---- */
.pay-instr { animation: dashFadeIn 0.25s ease; }

.pay-qris-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.pay-qr-code {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  flex-shrink: 0;
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.pay-qris-info { flex: 1; }

.pay-bank-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pay-bank-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-gold);
  width: 52px;
  text-align: center;
  flex-shrink: 0;
}

.pay-bank-detail { flex: 1; }
.pay-bank-label { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 3px; }
.pay-bank-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pay-copy-btn {
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.pay-copy-btn:hover { background: rgba(201,162,39,0.2); }

.pay-instr-steps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pay-instr-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pay-instr-step span:first-child {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Upload Area ---- */
.pay-upload-area {
  border: 2px dashed rgba(201,162,39,0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.75rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-upload-area:hover, .pay-upload-area.drag-over {
  border-color: var(--accent-gold);
  background: rgba(201,162,39,0.04);
}
.pay-upload-area.has-file { border-style: solid; border-color: #48bb78; }

.pay-upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.pay-upload-icon { font-size: 2rem; }
.pay-upload-placeholder > div { font-size: 0.8rem; color: var(--text-secondary); }
.pay-upload-hint { font-size: 0.68rem !important; color: var(--text-muted) !important; }

.pay-upload-preview {
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  object-fit: contain;
}

.pay-upload-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.pay-upload-btn:hover { background: rgba(201,162,39,0.1); }

/* ---- Unique Nominal Banner ---- */
.pay-nominal-banner {
  background: linear-gradient(135deg, rgba(201,162,39,0.12) 0%, rgba(201,162,39,0.04) 100%);
  border: 1.5px solid rgba(201,162,39,0.5);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pay-nominal-left { flex: 1; min-width: 0; }

.pay-nominal-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.pay-nominal-amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.pay-nominal-breakdown {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.pay-nominal-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pay-nominal-copy {
  background: var(--gradient-gold);
  border: none;
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.pay-nominal-copy:hover { opacity: 0.85; }

.pay-nominal-badge {
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--accent-gold);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* ---- Warning Bar ---- */
.pay-warning-bar {
  background: rgba(229,62,62,0.08);
  border: 1px solid rgba(229,62,62,0.25);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  color: #fc8181;
  line-height: 1.5;
}
.pay-warning-bar strong { color: #fc8181; }

/* ---- Recommended badge on QRIS ---- */
.pay-method-recommended {
  position: relative;
  border-color: var(--accent-gold) !important;
  background: rgba(201,162,39,0.06) !important;
}

.pay-method-rec-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #0a0a0a;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ---- QR Column ---- */
.pay-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pay-qr-nama {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-align: center;
}

.pay-qris-nominal-note {
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.pay-qris-nominal-note strong {
  color: var(--accent-gold);
  font-size: 0.9rem;
  display: block;
  margin-top: 2px;
}

/* ---- Confirm Bar ---- */
.pay-confirm-bar {
  background: var(--bg-card);
  border: 1.5px solid rgba(72,187,120,0.25);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pay-confirm-check { flex: 1; }

.pay-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pay-confirm-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.pay-confirm-label strong { color: var(--accent-gold); }

.pay-confirm-btn {
  background: rgba(72,187,120,0.1);
  border: 1.5px solid rgba(72,187,120,0.35);
  color: #48bb78;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.pay-confirm-btn:hover:not(:disabled) {
  background: rgba(72,187,120,0.2);
  transform: translateY(-1px);
}
.pay-confirm-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---- Optional Badge ---- */
.pay-optional-badge {
  background: rgba(160,160,160,0.12);
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid rgba(160,160,160,0.2);
  margin-left: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

/* ---- Summary total divider ---- */
.pay-sum-total-divider {
  height: 1px;
  background: var(--border-gold);
  opacity: 0.5;
  margin: 0.25rem 0;
}

/* ---- Pending Screen ---- */
.pay-pending {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
  animation: dashFadeIn 0.4s ease;
}

.pay-pending-anim {
  font-size: 4rem;
  animation: pendingPulse 1.5s ease-in-out infinite;
}

@keyframes pendingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.75; }
}

.pay-pending h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pay-pending p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.6;
}

.pay-pending-detail {
  background: rgba(201,162,39,0.06);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.pay-pending-detail strong { color: var(--accent-gold); }

.pay-pending-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pay-pending-info-item {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.pay-pending-info-item strong { color: var(--text-secondary); }

.pay-pending-actions { margin-top: 0.75rem; }
.pay-pending-actions .order-checkout-btn {
  max-width: 280px;
  margin: 0 auto;
}

/* ---- Copy Nominal ---- */
.pay-copy-nominal {
  width: 100%;
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.pay-copy-nominal:hover { background: rgba(201,162,39,0.15); }

/* ---- Success State ---- */
.pay-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
  animation: dashFadeIn 0.4s ease;
}

.pay-success-icon { font-size: 4rem; }

.pay-success h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pay-success p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.6;
}

.pay-success-order {
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 1px;
}

.pay-success-actions { margin-top: 0.5rem; }
.pay-success-actions .order-checkout-btn {
  max-width: 280px;
  margin: 0 auto;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .pay-method-grid { grid-template-columns: repeat(3, 1fr); }
  .pay-qris-wrap { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .order-info-row { grid-template-columns: 1fr; }
  .pay-method-grid { grid-template-columns: repeat(2, 1fr); }
  .order-steps { gap: 0; }
  .order-step-line { width: 40px; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .dash-profile {
    border-bottom: none;
    padding-bottom: 0;
    flex: 1;
  }
  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid var(--border-gold);
    padding-top: 0.75rem;
  }
  .dash-nav-item {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem;
    font-size: 0.7rem;
  }
  .dash-nav-item.active {
    border-left: none;
    border-bottom: 2px solid var(--accent-gold);
    padding-left: 0.5rem;
  }
  .dash-sidebar-footer { display: none; }
  .dash-recent-grid,
  .dash-watch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-settings-grid { grid-template-columns: 1fr; }
  .dash-2fa-layout { grid-template-columns: 1fr; }
  .dash-premium-details { grid-template-columns: repeat(2, 1fr); }
  .dash-upgrade-banner { flex-direction: column; }
}

@media (max-width: 480px) {
  .dash-recent-grid,
  .dash-watch-grid { grid-template-columns: 1fr; }
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   SINGLE MOVIE PAGE - RESPONSIVE FIXES
   ======================================== */

/* Mobile: Stack poster above info, reduce spacing */
@media (max-width: 640px) {
  .space-y-6 > * + * {
    margin-top: 0.75rem !important;
  }

  /* Info card: poster stacks vertically on mobile */
  .p-4.rounded-lg.flex.gap-4 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .p-4.rounded-lg.flex.gap-4 img {
    height: 140px !important;
    width: auto;
  }

  .info-row {
    justify-content: center;
    gap: 0.25rem;
  }

  /* Detail tabs scrollable */
  .detail-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .detail-tabs::-webkit-scrollbar {
    display: none;
  }

  .detail-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Sidebar: disable sticky on mobile */
  .sticky-sidebar {
    position: static !important;
    max-height: none;
    overflow: visible;
  }

  /* Share buttons stack on mobile */
  .sidebar-box .flex.flex-wrap.gap-2 {
    flex-direction: column;
    gap: 0.5rem;
  }

  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
}
.comments-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,162,39,0.15);
}
.comments-section .comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comments-section .comment-body {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.comments-section .fn,
.comments-section .comment-author b { color: var(--accent-gold); font-size: 0.875rem; font-style: normal; }
.comments-section .comment-metadata,
.comments-section .comment-metadata a,
.comments-section .commentmetadata,
.comments-section .commentmetadata a { color: var(--text-muted); font-size: 0.65rem; text-decoration: none; }
.comments-section .comment-content p { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.4rem; line-height: 1.6; }
.comments-section .reply { margin-top: 0.4rem; }
.comments-section .reply a { font-size: 0.75rem; color: var(--accent-gold); }
.comments-section .children { list-style: none; padding-left: 1.25rem; margin-top: 0.75rem; }
.comments-section #respond { margin-top: 1.25rem; }
.comments-section .comment-reply-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; display: block; }
.comments-section .comment-notes,
.comments-section .logged-in-as { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.comments-section .logged-in-as a { color: var(--accent-gold); }
.comments-section .comment-form { display: flex; flex-direction: column; gap: 0.75rem; }
.comments-section .comment-form-comment textarea,
.comments-section .comment-form input[type="text"],
.comments-section .comment-form input[type="email"],
.comments-section .comment-form input[type="url"] {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 0.6rem 0.875rem;
  outline: none;
  resize: vertical;
  font-family: inherit;
}
.comments-section .comment-form input:focus,
.comments-section .comment-form textarea:focus { border-color: var(--accent-gold); }
.comments-section .comment-form label { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 0.3rem; }
.comments-section .comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }
.comments-section .comment-form p { margin: 0; }
.comments-section .form-submit { margin: 0; }
.comments-section .submit {
  background: var(--gradient-gold);
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.comments-section .submit:hover { opacity: 0.85; }
.comments-section .comment-respond { background: transparent; padding: 0; }

/* Very small screens */
@media (max-width: 380px) {
  .p-4.rounded-lg.flex.gap-4 img {
    height: 110px !important;
  }

  .detail-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
