/* ============================================
   PANCHAYAT TV - Enhanced Premium Stylesheet v2
   Dark Gold Cinematic Theme | Bootstrap 5
   ============================================ */

/* ---- SPA Section Switching ---- */
.ptv-page-section {
    animation: sectionFadeIn 0.45s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes sectionFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ---- Page Loader (header.php) ---- */
#pageLoader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary, #080808);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: opacity 0.5s ease;
}

#pageLoader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-bar-wrap {
    width: 160px;
    height: 3px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold, #D4AF37), transparent);
    border-radius: 3px;
    animation: loaderBarSlide 1.4s ease-in-out infinite;
}

@keyframes loaderBarSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.loader-text {
    color: var(--gold, #D4AF37);
    font-family: var(--font-main, 'Outfit', sans-serif);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- Hero Banner Carousel ---- */
.ptv-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    z-index: 0;
}

.ptv-hero-slide.ptv-hero-slide-active {
    opacity: 1;
    z-index: 1;
}

.ptv-hero-bg {
    position: relative;
}

.ptv-hero-text-slide {
    display: none;
    animation: heroTextFadeIn 0.8s ease both;
}

.ptv-hero-text-slide.ptv-hero-text-active {
    display: block;
}

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

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

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

.ptv-hero-dot.ptv-hero-dot-active {
    background: #D4AF37;
    width: 28px;
    border-radius: 5px;
}

.ptv-hero-dot:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* ---- Mini Hero (per-section banner) ---- */
.ptv-mini-hero {
    min-height: 42vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.ptv-mini-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
}

.ptv-mini-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.05;
    margin-bottom: 14px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Live Channel Cards ---- */
.ptv-live-card {
    overflow: hidden;
}

.ptv-live-ch-bg {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
}

.ptv-live-ch-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold);
    text-align: center;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.ptv-live-ch-name span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}

/* ---- CSS Custom Properties ---- */
:root {
    --gold:          #D4AF37;
    --gold-light:    #f5d060;
    --gold-dark:     #a8870f;
    --gold-glow:     rgba(212, 175, 55, 0.40);
    --gold-glow-lg:  rgba(212, 175, 55, 0.18);
    --bg-primary:    #080808;
    --bg-secondary:  #0f0f0f;
    --bg-card:       #131313;
    --bg-card-hover: #1c1c1c;
    --bg-glass:      rgba(18, 18, 18, 0.75);
    --text-primary:  #ffffff;
    --text-secondary:#a0a0a0;
    --text-muted:    #555;
    --border-dark:   rgba(255,255,255,0.06);
    --border-gold:   rgba(212,175,55,0.28);
    --red-badge:     #e50914;
    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main:     'Outfit', 'Inter', sans-serif;
    --navbar-height: 72px;
    --shadow-gold:   0 0 32px rgba(212,175,55,0.25);
    --shadow-card:   0 8px 40px rgba(0,0,0,0.55);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Subtle grain overlay for premium texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* =============================================
   NAVBAR
   ============================================= */
.ptv-navbar {
    background: rgba(6, 6, 6, 0.88);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border-bottom: 1px solid var(--border-gold);
    height: var(--navbar-height);
    z-index: 1050;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.ptv-navbar.scrolled {
    background: rgba(4, 4, 4, 0.98);
    box-shadow: 0 4px 40px rgba(0,0,0,0.7), 0 1px 0 var(--border-gold);
}

/* Logo pulse ring */
.ptv-logo-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ptv-logo-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    opacity: 0;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%   { opacity: 0; transform: scale(1); }
    50%  { opacity: 0.35; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1.25); }
}

.ptv-logo-circle:hover svg { filter: drop-shadow(0 0 10px var(--gold)); }

.ptv-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ptv-brand-name {
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #D4AF37, #f5d060, #D4AF37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
    to { background-position: 200% center; }
}

.ptv-brand-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Nav Links */
.ptv-nav-links { gap: 2px; }

.ptv-nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.885rem;
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.ptv-nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.ptv-nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.04); }
.ptv-nav-link.active { color: var(--gold) !important; }
.ptv-nav-link.active::after,
.ptv-nav-link:hover::after { width: 65%; }

/* Dropdown */
.ptv-dropdown {
    background: rgba(12,12,12,0.97);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,175,55,0.06);
    min-width: 155px;
    backdrop-filter: blur(20px);
}

.ptv-dropdown-item {
    color: var(--text-secondary) !important;
    font-size: 0.86rem;
    padding: 9px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.ptv-dropdown-item:hover {
    background: rgba(212,175,55,0.08) !important;
    color: var(--gold) !important;
    padding-left: 18px;
}

/* Right Controls */
.ptv-icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.05rem;
    cursor: pointer;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}

.ptv-icon-btn:hover {
    color: var(--gold);
    background: rgba(212,175,55,0.1);
    transform: scale(1.1);
}

.ptv-lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-dark);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    letter-spacing: 0.6px;
}

.ptv-lang-btn:hover { border-color: var(--gold); color: var(--gold); }

.ptv-lang-dropdown { min-width: 125px; }

.ptv-signin-btn {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.86rem;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.ptv-signin-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent);
    transition: left 0.5s ease;
}

.ptv-signin-btn:hover::before { left: 100%; }
.ptv-signin-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 24px var(--gold-glow), 0 4px 20px rgba(212,175,55,0.3);
    transform: translateY(-1px);
}

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.ptv-search-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(14px);
    z-index: 10001;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}

.ptv-search-overlay.active { opacity: 1; pointer-events: all; }

.ptv-search-box {
    position: relative;
    width: 100%; max-width: 660px;
    padding: 0 24px;
}

.ptv-search-icon-inner {
    position: absolute; left: 40px;
    top: 50%; transform: translateY(-50%);
    color: var(--gold); font-size: 1.1rem;
}

.ptv-search-input {
    width: 100%;
    background: rgba(24,24,24,0.95);
    border: 1.5px solid var(--gold);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    padding: 17px 55px 17px 54px;
    border-radius: 14px;
    outline: none;
    box-shadow: 0 0 40px var(--gold-glow), 0 0 0 4px rgba(212,175,55,0.06);
}

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

.ptv-search-close {
    position: absolute; right: 40px;
    top: 50%; transform: translateY(-50%);
    background: none; border: none;
    color: var(--text-secondary); font-size: 1.2rem;
    cursor: pointer; transition: var(--transition);
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
}

.ptv-search-close:hover { color: var(--gold); transform: translateY(-50%) rotate(90deg); }


/* =============================================
   HERO SECTION
   ============================================= */
.ptv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

/* Animated ambient glow orbs */
.ptv-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: orbFloat 8s ease-in-out infinite;
}

.ptv-hero-orb-1 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, transparent 70%);
    top: -10%; left: -5%;
    animation-delay: 0s;
}

.ptv-hero-orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    bottom: 10%; left: 30%;
    animation-delay: 3s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.05); }
}

.ptv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ptv-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 65% center;
    filter: brightness(0.5) saturate(0.85);
    transform: scale(1.04);
    transition: transform 12s ease;
}

.ptv-hero:hover .ptv-hero-img {
    transform: scale(1.0);
}

.ptv-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg,
            #080808 0%,
            rgba(8,8,8,0.97) 22%,
            rgba(8,8,8,0.82) 42%,
            rgba(8,8,8,0.35) 62%,
            rgba(8,8,8,0.08) 80%,
            transparent 100%
        ),
        linear-gradient(to top,
            rgba(8,8,8,0.9) 0%,
            transparent 30%
        );
}

/* Hero Content */
.ptv-hero-content {
    position: relative;
    z-index: 3;
    padding: 90px 0 110px;
}

/* Staggered entrance animations */
.ptv-hero-content > * {
    opacity: 0;
    transform: translateY(28px);
    animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ptv-hero-tagline  { animation-delay: 0.15s; }
.ptv-hero-title    { animation-delay: 0.3s; }
.ptv-hero-desc     { animation-delay: 0.45s; }
.ptv-hero-badges   { animation-delay: 0.58s; }
.ptv-cta-btn       { animation-delay: 0.72s; }

@keyframes heroEntrance {
    to { opacity: 1; transform: translateY(0); }
}

/* Live tag */
.ptv-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ptv-hero-tagline::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.ptv-hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.02;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 6px 40px rgba(0,0,0,0.8);
}

.ptv-hero-title span {
    background: linear-gradient(135deg, #ffffff 30%, #D4AF37 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ptv-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.62);
    margin-bottom: 32px;
    line-height: 1.75;
    font-weight: 400;
    max-width: 440px;
}

/* Feature Badges */
.ptv-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}

.ptv-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ptv-badge-icon {
    width: 40px; height: 40px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 0.92rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.ptv-badge-item:hover .ptv-badge-icon {
    background: rgba(212,175,55,0.2);
    box-shadow: 0 0 16px var(--gold-glow);
    transform: scale(1.08);
}

.ptv-badge-hd {
    font-size: 0.62rem !important;
    font-weight: 900; letter-spacing: 1px;
}

.ptv-badge-title {
    font-size: 0.84rem; font-weight: 700;
    color: var(--text-primary);
}

.ptv-badge-sub {
    font-size: 0.7rem; color: var(--text-muted);
}

/* CTA Button — shimmer sweep */
.ptv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold);
    color: #000;
    font-size: 0.96rem;
    font-weight: 800;
    padding: 15px 36px;
    border-radius: 10px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-family: var(--font-main);
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(212,175,55,0.35);
}

.ptv-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 70%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.ptv-cta-btn:hover::before { left: 150%; }

.ptv-cta-btn:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 0 36px var(--gold-glow), 0 6px 30px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}

.ptv-cta-btn .fa-play {
    font-size: 0.72rem;
    background: rgba(0,0,0,0.15);
    padding: 5px 6px;
    border-radius: 50%;
}

/* Now Playing Card */
.ptv-now-playing-card {
    position: absolute;
    bottom: 40px; right: 44px;
    z-index: 10;
    background: rgba(10,10,10,0.82);
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex; align-items: center; gap: 14px;
    backdrop-filter: blur(20px);
    min-width: 270px;
    box-shadow: 0 12px 50px rgba(0,0,0,0.65), 0 0 0 1px rgba(212,175,55,0.08);
    animation: slideInRight 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    cursor: pointer;
    transition: var(--transition);
}

.ptv-now-playing-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 60px rgba(0,0,0,0.7), var(--shadow-gold);
    transform: translateY(-3px);
}

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

.ptv-np-thumb {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border-gold);
}

.ptv-np-info { flex: 1; }

.ptv-np-title {
    font-size: 0.9rem; font-weight: 700;
    color: var(--text-primary);
}

.ptv-np-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 3px;
}

.ptv-np-play {
    width: 38px; height: 38px;
    background: var(--gold);
    border: none; border-radius: 50%;
    color: #000; font-size: 0.72rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(212,175,55,0.5);
    animation: pulsePing 2.5s ease-in-out infinite;
}

@keyframes pulsePing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}

.ptv-np-play:hover {
    background: var(--gold-light);
    transform: scale(1.12);
}


/* =============================================
   SECTION DIVIDER - TICKER
   ============================================= */
.ptv-ticker-wrap {
    background: linear-gradient(90deg, var(--bg-secondary), #111, var(--bg-secondary));
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.ptv-ticker-label {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    background: var(--gold);
    color: #000;
    display: flex; align-items: center;
    padding: 0 18px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    white-space: nowrap;
}

.ptv-ticker-inner {
    display: flex;
    gap: 60px;
    animation: tickerScroll 22s linear infinite;
    padding-left: 190px;
    white-space: nowrap;
}

.ptv-ticker-item {
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 8px;
}

.ptv-ticker-dot {
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.ptv-section {
    padding: 46px 0 24px;
    background: var(--bg-primary);
}

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

.ptv-section-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    position: relative;
    padding-left: 14px;
}

.ptv-section-title::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 22px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 4px;
    box-shadow: 0 0 10px var(--gold-glow);
}

.ptv-view-all {
    font-size: 0.8rem; font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
    letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 3px;
    padding: 5px 12px;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
}

.ptv-view-all:hover {
    color: #000;
    background: var(--gold);
    border-color: var(--gold);
    gap: 5px;
}


/* =============================================
   TRENDING SLIDER
   ============================================= */
.ptv-slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Fade edges */
.ptv-slider-wrapper::before,
.ptv-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.ptv-slider-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.ptv-slider-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.ptv-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 8px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.ptv-slider::-webkit-scrollbar { display: none; }
.ptv-slider.dragging { cursor: grabbing; scroll-behavior: auto; }

.ptv-trend-card {
    position: relative;
    flex: 0 0 auto;
    width: 230px;
    height: 138px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.ptv-trend-card:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.75), 0 0 0 1.5px var(--gold), var(--shadow-gold);
    border-color: var(--gold);
    z-index: 5;
}

.ptv-trend-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease, filter 0.35s ease;
    filter: brightness(0.9);
}

.ptv-trend-card:hover .ptv-trend-img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.ptv-trend-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.35) 45%,
        transparent 70%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 9px;
    transition: var(--transition);
}

/* Show play button on hover */
.ptv-trend-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 42px; height: 42px;
    background: rgba(212,175,55,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.ptv-trend-card:hover .ptv-trend-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ptv-badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #e50914, #c0060f);
    color: #fff;
    font-size: 0.56rem; font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(229,9,20,0.4);
}

.ptv-trend-title-overlay {
    font-size: 0.82rem; font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,1);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    align-self: flex-end;
}

/* Slider Arrow Buttons */
.ptv-slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    width: 42px; height: 42px;
    background: rgba(12,12,12,0.95);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.ptv-slider-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 24px var(--gold-glow);
    transform: translateY(-50%) scale(1.08);
}

.ptv-slider-prev { left: 6px; }
.ptv-slider-next { right: 6px; }


/* =============================================
   CONTINUE WATCHING
   ============================================= */
.ptv-cw-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.ptv-cw-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at center, rgba(212,175,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ptv-cw-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,175,55,0.45);
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.12);
}

.ptv-cw-card:hover::after { opacity: 1; }

.ptv-cw-thumb-wrap {
    position: relative;
    flex-shrink: 0;
    width: 104px; height: 62px;
    border-radius: 8px;
    overflow: hidden;
}

.ptv-cw-thumb {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform 0.4s ease;
}

.ptv-cw-card:hover .ptv-cw-thumb { transform: scale(1.08); }

.ptv-cw-play-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.ptv-cw-card:hover .ptv-cw-play-overlay { opacity: 1; }

.ptv-cw-info { flex: 1; min-width: 0; }

.ptv-cw-title {
    font-size: 0.83rem; font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 3px;
}

.ptv-cw-episode {
    font-size: 0.69rem;
    color: var(--text-muted);
    margin-bottom: 9px;
}

.ptv-cw-progress {
    height: 3.5px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.ptv-cw-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.ptv-cw-progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: -40px;
    width: 30px; height: 100%;
    background: rgba(255,255,255,0.35);
    animation: progressShine 2.5s ease-in-out infinite;
    transform: skewX(-20deg);
}

@keyframes progressShine {
    0%   { left: -40px; }
    100% { left: 110%; }
}


/* =============================================
   FEATURES SECTION
   ============================================= */
.ptv-features-section {
    padding: 32px 0 48px;
    background: var(--bg-primary);
    position: relative;
}

.ptv-features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212,175,55,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ptv-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 26px 18px 22px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ptv-feature-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.06) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ptv-feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.1);
}

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

.ptv-feature-icon {
    width: 54px; height: 54px;
    background: rgba(212,175,55,0.08);
    border: 1.5px solid rgba(212,175,55,0.25);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.25rem;
    margin: 0 auto 16px;
    transition: var(--transition);
    position: relative;
}

.ptv-feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,0.15);
    opacity: 0;
    transition: var(--transition);
}

.ptv-feature-card:hover .ptv-feature-icon {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 0 28px rgba(212,175,55,0.5), 0 8px 20px rgba(212,175,55,0.2);
    transform: scale(1.08) rotate(5deg);
}

.ptv-feature-card:hover .ptv-feature-icon::after { opacity: 1; }

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

.ptv-feature-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* =============================================
   FOOTER
   ============================================= */
.ptv-footer {
    background: linear-gradient(180deg, #080808, #050505);
    border-top: 1px solid var(--border-gold);
    padding: 54px 0 26px;
    position: relative;
}

.ptv-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.ptv-footer-brand {
    font-size: 0.92rem; font-weight: 900;
    color: var(--gold); letter-spacing: 1.5px;
}

.ptv-footer-sub { font-size: 0.68rem; color: var(--text-muted); }

.ptv-footer-desc {
    font-size: 0.8rem; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 20px;
}

.ptv-social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.84rem;
    transition: var(--transition);
}

.ptv-social-btn:hover {
    background: var(--gold); color: #000;
    border-color: var(--gold);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(212,175,55,0.35);
}

.ptv-footer-heading {
    font-size: 0.78rem; font-weight: 800;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

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

.ptv-footer-links a {
    font-size: 0.8rem; color: var(--text-muted);
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 0;
}

.ptv-footer-links a::before {
    content: '→';
    font-size: 0.7rem;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
    margin-right: 0;
    display: inline-block;
}

.ptv-footer-links a:hover {
    color: var(--gold);
    gap: 6px;
}

.ptv-footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.ptv-footer-divider {
    border-color: var(--border-gold);
    margin: 32px 0 22px;
    opacity: 0.4;
}

.ptv-footer-copy {
    font-size: 0.74rem; color: var(--text-muted);
}


/* =============================================
   PAGE LOADER
   ============================================= */
#pageLoader {
    position: fixed; inset: 0;
    background: #080808;
    z-index: 99999;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 24px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#pageLoader.hide {
    opacity: 0; pointer-events: none;
    transform: scale(0.98);
}

.loader-logo {
    animation: loaderPop 0.8s ease both;
}

@keyframes loaderPop {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

.loader-bar-wrap {
    width: 180px; height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px; overflow: hidden;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 3px;
    width: 0;
    animation: loaderFill 1.4s ease forwards 0.4s;
}

@keyframes loaderFill {
    to { width: 100%; }
}

.loader-text {
    font-size: 0.72rem; letter-spacing: 3px;
    color: var(--text-muted); text-transform: uppercase;
    animation: fadeInUp 0.6s ease 0.5s both;
}


/* =============================================
   SCROLL REVEAL
   ============================================= */
.ptv-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.ptv-reveal.visible {
    opacity: 1;
    transform: none;
}


/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: rgba(212,175,55,0.35);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1199.98px) {
    .ptv-hero-content { padding-top: 80px; }
    .ptv-hero-title { font-size: 3.2rem; }
    .ptv-trend-card { width: 220px; height: 130px; }
}

@media (max-width: 991.98px) {
    .ptv-navbar { height: auto; padding: 10px 0; }

    #navbarContent {
        background: rgba(6,6,6,0.98);
        border-top: 1px solid var(--border-gold);
        padding: 18px 16px;
        margin-top: 8px;
        border-radius: 0 0 14px 14px;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .ptv-nav-links {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .ptv-nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .ptv-nav-right {
        margin-top: 14px;
        justify-content: space-between;
        width: 100%;
    }

    .ptv-hero { min-height: 70vh; }
    .ptv-hero-content { padding: 100px 0 220px; }
    .ptv-hero-title { font-size: 2.8rem; }
    .ptv-hero-desc { font-size: 1rem; }

    .ptv-now-playing-card {
        bottom: 22px; right: 16px; left: 16px;
        min-width: unset;
    }

    .ptv-trend-card { width: 185px; height: 112px; }

    .ptv-section-header { flex-wrap: wrap; gap: 8px; }
    .ptv-section-title { font-size: 1.3rem; }

    .ptv-mini-hero { min-height: 35vh; padding-top: 60px; }
    .ptv-mini-hero-title { font-size: 2rem; }

    .ptv-slider-btn { width: 36px; height: 36px; font-size: 0.8rem; }

    .ptv-footer .row > div { margin-bottom: 20px; }
}

@media (max-width: 767.98px) {
    .ptv-hero { min-height: 60vh; }
    .ptv-hero-content { padding: 90px 0 180px; }
    .ptv-hero-title { font-size: 2.2rem; }
    .ptv-hero-desc { font-size: 0.9rem; }
    .ptv-hero-tagline { font-size: 0.75rem; }

    .ptv-hero-badges { gap: 12px; }
    .ptv-badge-item { gap: 8px; }
    .ptv-badge-icon { width: 36px; height: 36px; font-size: 0.85rem; }
    .ptv-badge-title { font-size: 0.8rem; }
    .ptv-badge-sub { font-size: 0.7rem; }

    .ptv-cta-btn { font-size: 0.85rem; padding: 10px 22px; }

    .ptv-trend-card { width: 160px; height: 96px; }
    .ptv-trend-title-overlay { font-size: 0.8rem; }
    .ptv-badge-new { font-size: 0.6rem; padding: 3px 8px; }

    .ptv-ticker-label { font-size: 0.7rem; padding: 4px 10px; }
    .ptv-ticker-item { font-size: 0.8rem; }

    .ptv-section { padding: 24px 0; }
    .ptv-section-title { font-size: 1.1rem; }

    .ptv-cw-card { flex-direction: column; align-items: flex-start; }
    .ptv-cw-thumb-wrap { width: 100%; height: 120px; }
    .ptv-cw-title { font-size: 0.85rem; }
    .ptv-cw-episode { font-size: 0.72rem; }

    .ptv-mini-hero { min-height: 30vh; }
    .ptv-mini-hero-title { font-size: 1.6rem; }
    .ptv-hero-desc { max-width: 100% !important; }

    .ptv-feature-card { padding: 18px 14px; text-align: center; }
    .ptv-feature-icon { margin: 0 auto 12px; }
    .ptv-feature-title { font-size: 0.95rem; }
    .ptv-feature-desc { font-size: 0.8rem; }

    .ptv-footer { padding: 30px 0 16px; }
    .ptv-footer-brand { font-size: 1rem; }
    .ptv-footer-heading { font-size: 0.85rem; }
    .ptv-footer-links li a { font-size: 0.8rem; }
    .ptv-footer-desc { font-size: 0.8rem; }

    .ptv-search-box { width: 92%; }
    .ptv-search-input { font-size: 1rem; }
    .ptv-search-close { right: 28px; }
    .ptv-search-icon-inner { left: 28px; }

    .ptv-auth-modal { width: 94%; padding: 24px 18px; }
    .ptv-auth-title { font-size: 1.3rem; }
    .ptv-auth-input { font-size: 0.9rem; padding: 10px 14px; }

    .ptv-slider-btn { width: 32px; height: 32px; }
}

@media (max-width: 575.98px) {
    .ptv-hero-title { font-size: 1.8rem; }
    .ptv-hero-desc { font-size: 0.82rem; }
    .ptv-trend-card { width: 140px; height: 84px; }

    .ptv-cw-card { flex-direction: column; align-items: flex-start; }
    .ptv-cw-thumb-wrap { width: 100%; height: 110px; }

    .ptv-hero-badges { gap: 10px; }
    .ptv-badge-icon { width: 32px; height: 32px; font-size: 0.75rem; }

    .ptv-cta-btn { font-size: 0.8rem; padding: 8px 18px; }

    .ptv-ticker-inner { padding: 6px 0; }
    .ptv-ticker-item { font-size: 0.72rem; }

    .ptv-section-title { font-size: 1rem; }
    .ptv-view-all { font-size: 0.75rem; }

    .ptv-slider-btn { display: none; }

    .ptv-footer .col-lg-2 { width: 50%; }
    .ptv-footer-copy { font-size: 0.7rem; }

    .ptv-auth-modal { border-radius: 14px; }
    .ptv-auth-social-btn { font-size: 0.8rem; padding: 10px; }

    .ptv-logo-text { display: none; }
    .ptv-brand-name { font-size: 0.95rem; }

    .ptv-lang-btn { font-size: 0.75rem; padding: 6px 10px; }
    .ptv-signin-btn { font-size: 0.78rem; padding: 7px 14px; }
    .ptv-icon-btn { width: 34px; height: 34px; font-size: 0.85rem; }

    .ptv-now-playing-card { padding: 10px 12px; }
    .ptv-np-title { font-size: 0.85rem; }
    .ptv-np-sub { font-size: 0.7rem; }
    .ptv-np-thumb { width: 44px; height: 44px; }
}

@media (max-width: 380px) {
    .ptv-hero-title { font-size: 1.5rem; }
    .ptv-trend-card { width: 120px; height: 72px; }
    .ptv-badge-item { gap: 6px; }
    .ptv-badge-icon { width: 28px; height: 28px; font-size: 0.65rem; }
    .ptv-badge-title { font-size: 0.72rem; }
    .ptv-badge-sub { font-size: 0.62rem; }
    .ptv-cta-btn { font-size: 0.75rem; padding: 7px 14px; }
    .ptv-footer .col-lg-2 { width: 100%; }
}

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
    .ptv-cursor, .ptv-cursor-ring { display: none !important; }
    .ptv-trend-card:hover .ptv-trend-overlay { opacity: 1; }
    .ptv-trend-play-btn { opacity: 0.8; transform: scale(0.9); }
}

/* Large screens */
@media (min-width: 1400px) {
    .ptv-trend-card { width: 260px; height: 155px; }
    .ptv-hero-title { font-size: 4rem; }
}

/* Prevent grain on print */
@media print { body::before { display: none; } }

/* =============================================
   AUTH PAGES (Login / Register)
   ============================================= */
.ptv-auth-page {
    margin: 0;
    padding: 20px 0;
    min-height: 100vh;
    background: #060606;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.ptv-auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(212,175,55,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212,175,55,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ptv-auth-wrapper {
    width: 100%;
    max-width: 360px;
    padding: 16px;
    position: relative;
    z-index: 1;
}

.ptv-auth-card {
    background: linear-gradient(145deg, rgba(16,12,4,0.95), rgba(8,8,8,0.98));
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.05);
    backdrop-filter: blur(10px);
    position: relative;
}

.ptv-auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.ptv-auth-logo svg {
    display: block;
    margin: 0 auto 10px;
}

.ptv-auth-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #D4AF37;
    letter-spacing: 2px;
}

.ptv-auth-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    margin: 0 0 6px;
}

.ptv-auth-subheading {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin: 0 0 24px;
}

.ptv-auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ptv-auth-alert-error {
    background: rgba(220,53,69,0.12);
    border: 1px solid rgba(220,53,69,0.3);
    color: #ff6b6b;
}

.ptv-auth-alert-success {
    background: rgba(40,167,69,0.12);
    border: 1px solid rgba(40,167,69,0.3);
    color: #51cf66;
}

.ptv-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ptv-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ptv-auth-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ptv-auth-label i {
    color: #D4AF37;
    font-size: 0.75rem;
}

.ptv-auth-input-wrap {
    position: relative;
}

.ptv-auth-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

.ptv-auth-input:focus {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.05);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.ptv-auth-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.ptv-auth-eye:hover {
    color: #D4AF37;
}

.ptv-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.ptv-auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.ptv-auth-remember input {
    accent-color: #D4AF37;
}

.ptv-auth-forgot {
    color: #D4AF37;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ptv-auth-forgot:hover {
    opacity: 0.8;
}

.ptv-auth-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: #1a1000;
    background: linear-gradient(135deg, #D4AF37 0%, #f0d97a 50%, #D4AF37 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.ptv-auth-submit-btn:hover {
    background: linear-gradient(135deg, #f0d97a 0%, #D4AF37 50%, #f0d97a 100%);
    box-shadow: 0 4px 20px rgba(212,175,55,0.3);
    transform: translateY(-1px);
}

.ptv-auth-submit-btn:active {
    transform: translateY(0);
}

.ptv-auth-divider {
    text-align: center;
    margin: 24px 0 16px;
    position: relative;
}

.ptv-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.ptv-auth-divider span {
    position: relative;
    background: #0a0a04;
    padding: 0 16px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.ptv-auth-social-row {
    display: flex;
    gap: 12px;
}

.ptv-auth-social-btn {
    flex: 1;
    padding: 11px;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ptv-auth-social-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.ptv-auth-google:hover {
    border-color: rgba(219,68,55,0.4);
    color: #db4437;
}

.ptv-auth-facebook:hover {
    border-color: rgba(66,103,178,0.4);
    color: #4267b2;
}

.ptv-auth-terms {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

.ptv-auth-terms label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.ptv-auth-terms input {
    accent-color: #D4AF37;
    margin-top: 3px;
}

.ptv-auth-terms a {
    color: #D4AF37;
    text-decoration: none;
}

.ptv-auth-link-text {
    text-align: center;
    margin: 24px 0 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.ptv-auth-link-text a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.ptv-auth-link-text a:hover {
    text-decoration: underline;
}

.ptv-auth-back-home {
    text-align: center;
    margin: 0;
    font-size: 0.8rem;
}

.ptv-auth-back-home a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.ptv-auth-back-home a:hover {
    color: #D4AF37;
}

/* Auth page responsive */
@media (max-width: 480px) {
    .ptv-auth-card, .ptv-glass-card { padding: 20px 16px; }
    .ptv-auth-heading { font-size: 1.4rem; }
    .ptv-auth-social-row { flex-direction: column; }
    .ptv-shimmer-card { width: 250px; padding: 20px 16px; }
}

/* =============================================
   USER DASHBOARD
   ============================================= */
.ptv-user-hero {
    min-height: 50vh;
    background: linear-gradient(105deg, #080808 30%, rgba(40,20,0,0.6) 100%),
                url('https://placehold.co/1400x600/1a1000/D4AF37?text=WELCOME') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.ptv-user-hero-content {
    padding: 60px 0;
}

.ptv-user-hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 0 12px;
}

.ptv-user-hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 24px;
    max-width: 500px;
}

.ptv-user-menu-btn {
    background: transparent;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 30px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.ptv-user-menu-btn:hover {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.05);
}

.ptv-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #f0d97a);
    color: #1a1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
}

.ptv-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptv-user-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

.ptv-user-dropdown {
    background: rgba(16,12,4,0.98);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
}

.ptv-user-dropdown .dropdown-item {
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.ptv-user-dropdown .dropdown-item:hover {
    background: rgba(212,175,55,0.1);
    color: #D4AF37;
}

.ptv-user-dropdown .dropdown-item i {
    width: 18px;
    text-align: center;
}

.ptv-user-dropdown .dropdown-divider {
    border-color: rgba(255,255,255,0.08);
}

.ptv-user-info-box {
    padding: 10px 14px;
}

.ptv-user-info-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.ptv-user-info-email {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
}

.ptv-logout-link {
    color: #ff6b6b !important;
}

.ptv-logout-link:hover {
    background: rgba(220,53,69,0.1) !important;
    color: #ff8888 !important;
}

.ptv-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: rgba(255,255,255,0.4);
}

.ptv-empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: rgba(212,175,55,0.3);
}

.ptv-empty-state p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .ptv-user-hero { min-height: 35vh; }
    .ptv-user-hero-title { font-size: 1.8rem; }
    .ptv-user-hero-desc { font-size: 0.85rem; }
    .ptv-user-hero-content { padding: 40px 0; }
}

/* =============================================
   PREMIUM AUTH ANIMATIONS
   ============================================= */

/* Glassmorphism card */
.ptv-glass-card {
    background: linear-gradient(145deg, rgba(16,12,4,0.65), rgba(8,8,8,0.85));
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        0 0 0 1px rgba(212,175,55,0.05),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
    border-radius: 16px;
    padding: 26px 22px;
}

/* Animated gradient border glow */
.ptv-auth-border-glow {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212,175,55,0.4), rgba(212,175,55,0), rgba(212,175,55,0.3), rgba(212,175,55,0));
    background-size: 300% 300%;
    animation: ptvBorderGradient 4s ease infinite;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

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

/* Floating lights background */
.ptv-floating-lights {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ptv-light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.ptv-orb-1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.4), transparent 70%);
    top: 10%; left: 5%;
    animation: ptvFloatOrb1 12s ease-in-out infinite;
}
.ptv-orb-2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(212,175,55,0.25), transparent 70%);
    top: 60%; right: 10%;
    animation: ptvFloatOrb2 15s ease-in-out infinite;
}
.ptv-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(180,140,30,0.2), transparent 70%);
    bottom: 15%; left: 20%;
    animation: ptvFloatOrb3 18s ease-in-out infinite;
}
.ptv-orb-4 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
    top: 30%; right: 25%;
    animation: ptvFloatOrb1 20s ease-in-out infinite reverse;
}

@keyframes ptvFloatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}
@keyframes ptvFloatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.15); }
}
@keyframes ptvFloatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -25px) scale(0.9); }
}

/* Logo floating animation */
.ptv-logo-float {
    animation: ptvLogoFloat 3s ease-in-out infinite;
}

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

/* Gold button hover glow */
.ptv-auth-submit-btn {
    position: relative;
    overflow: hidden;
}

.ptv-auth-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.ptv-auth-submit-btn:hover::before {
    transform: translateX(100%);
}

.ptv-auth-submit-btn:hover {
    box-shadow:
        0 4px 20px rgba(212,175,55,0.4),
        0 0 40px rgba(212,175,55,0.15);
}

/* Ripple click effect */
.ptv-ripple {
    position: relative;
    overflow: hidden;
}

.ptv-ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    animation: ptvRippleExpand 0.6s ease-out;
    pointer-events: none;
}

@keyframes ptvRippleExpand {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(40); opacity: 0; }
}

/* Page fade-in */
.ptv-page-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: ptvAutoFadeIn 0.8s ease 0.3s forwards;
}

.ptv-page-fade-in.ptv-fade-in-active {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

@keyframes ptvAutoFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Alert slide-in */
.ptv-alert-slide-in {
    animation: ptvAlertSlideIn 0.4s ease-out;
}

@keyframes ptvAlertSlideIn {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Animated input focus glow */
.ptv-input-glow {
    transition: all 0.3s ease;
}

.ptv-field-active .ptv-input-glow,
.ptv-input-glow:focus {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.05);
    box-shadow:
        0 0 0 3px rgba(212,175,55,0.1),
        0 0 20px rgba(212,175,55,0.08);
}

/* Shimmer loading overlay */
.ptv-shimmer-overlay {
    position: fixed;
    inset: 0;
    background: #060606;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    animation: ptvShimmerAutoHide 0.5s ease 1s forwards;
}

.ptv-shimmer-overlay.ptv-shimmer-hidden {
    opacity: 0;
    animation: none;
}

@keyframes ptvShimmerAutoHide {
    to { opacity: 0; visibility: hidden; }
}

.ptv-shimmer-card {
    width: 290px;
    padding: 26px 22px;
}

.ptv-shimmer-line {
    height: 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(212,175,55,0.1) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: ptvShimmer 1.5s ease-in-out infinite;
}

.ptv-shimmer-w40 { width: 40%; }
.ptv-shimmer-w60 { width: 60%; height: 20px; margin-bottom: 24px; }
.ptv-shimmer-w90 { width: 90%; }

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

/* Smooth transitions */
.ptv-auth-card, .ptv-auth-input, .ptv-auth-submit-btn, .ptv-auth-social-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Login mode tabs */
.ptv-auth-mode-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
}

.ptv-auth-mode-tab {
    flex: 1;
    padding: 10px;
    font-size: 0.82rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    background: transparent;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ptv-auth-mode-tab.active {
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    color: #D4AF37;
    box-shadow: 0 2px 8px rgba(212,175,55,0.1);
}

.ptv-auth-mode-tab:hover:not(.active) {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.03);
}

/* Hidden utility */
.ptv-hidden {
    display: none !important;
}

/* OTP input group */
.ptv-otp-input-group {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.ptv-otp-input {
    flex: 1;
    width: 100%;
    padding: 14px 0;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    color: #D4AF37;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ptv-otp-input:focus {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.08);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1), 0 0 15px rgba(212,175,55,0.1);
    transform: scale(1.05);
}

/* OTP resend link */
.ptv-otp-resend {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 16px 0 0;
}

.ptv-otp-resend a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.ptv-otp-resend a:hover {
    text-decoration: underline;
}

/* OTP responsive */
@media (max-width: 480px) {
    .ptv-otp-input { font-size: 1.1rem; padding: 10px 0; }
    .ptv-otp-input-group { gap: 5px; }
}

/* Touch device - disable parallax */
@media (hover: none) and (pointer: coarse) {
    .ptv-auth-card { transform: none !important; }
    .ptv-light-orb { transform: none !important; }
}

/* =============================================
   LANGUAGE MODAL
   ============================================= */
.ptv-lang-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ptv-lang-modal-overlay.ptv-lang-modal-open {
    opacity: 1;
    visibility: visible;
}

.ptv-lang-modal {
    background: linear-gradient(145deg, #0d0a02, #080808);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,175,55,0.05);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.ptv-lang-modal-overlay.ptv-lang-modal-open .ptv-lang-modal {
    transform: translateY(0) scale(1);
}

.ptv-lang-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ptv-lang-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.ptv-lang-modal-header h3 i {
    color: #D4AF37;
}

.ptv-lang-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.ptv-lang-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.ptv-lang-modal-search {
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.ptv-lang-search-icon {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

.ptv-lang-search-input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
}

.ptv-lang-search-input:focus {
    outline: none;
    border-color: rgba(212,175,55,0.4);
    background: rgba(212,175,55,0.04);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}

.ptv-lang-search-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.ptv-lang-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,175,55,0.2) transparent;
}

.ptv-lang-modal-body::-webkit-scrollbar {
    width: 6px;
}

.ptv-lang-modal-body::-webkit-scrollbar-thumb {
    background: rgba(212,175,55,0.2);
    border-radius: 3px;
}

.ptv-lang-list {
    padding: 0 8px;
}

.ptv-lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    border: 1px solid transparent;
}

.ptv-lang-item:hover {
    background: rgba(255,255,255,0.04);
}

.ptv-lang-item:focus-visible {
    outline: none;
    border-color: rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.04);
}

.ptv-lang-item-active {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.15);
}

.ptv-lang-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ptv-lang-flag {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.ptv-lang-flag-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #D4AF37;
    font-family: 'Outfit', sans-serif;
}

.ptv-lang-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ptv-lang-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.ptv-lang-item-native {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

.ptv-lang-check {
    color: #D4AF37;
    font-size: 0.95rem;
}

.ptv-lang-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 12px;
    color: rgba(255,255,255,0.4);
}

.ptv-lang-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(212,175,55,0.15);
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: ptvLangSpin 0.8s linear infinite;
}

@keyframes ptvLangSpin {
    to { transform: rotate(360deg); }
}

.ptv-lang-empty,
.ptv-lang-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 10px;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

.ptv-lang-empty i,
.ptv-lang-error i {
    font-size: 2rem;
    color: rgba(255,255,255,0.15);
}

.ptv-lang-error p {
    color: rgba(255,100,100,0.6);
}

.ptv-lang-retry-btn {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    color: #D4AF37;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.ptv-lang-retry-btn:hover {
    background: rgba(212,175,55,0.15);
}

.ptv-lang-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ptv-lang-cancel-btn,
.ptv-lang-save-btn {
    flex: 1;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ptv-lang-cancel-btn {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.08);
}

.ptv-lang-cancel-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.ptv-lang-save-btn {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #0a0a0a;
    font-weight: 700;
}

.ptv-lang-save-btn:hover:not(:disabled) {
    box-shadow: 0 4px 20px rgba(212,175,55,0.3);
    transform: translateY(-1px);
}

.ptv-lang-save-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Language button in navbar */
.ptv-lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ptv-lang-btn:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.2);
}

.ptv-lang-btn i {
    color: #D4AF37;
    font-size: 0.9rem;
}

/* Mobile bottom sheet style */
@media (max-width: 600px) {
    .ptv-lang-modal-overlay {
        align-items: flex-end;
    }

    .ptv-lang-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ptv-lang-modal-overlay.ptv-lang-modal-open .ptv-lang-modal {
        transform: translateY(0);
    }

    .ptv-lang-modal-header {
        padding: 16px 20px 12px;
    }

    .ptv-lang-modal-search {
        padding: 10px 20px;
    }

    .ptv-lang-modal-footer {
        padding: 12px 20px;
    }

    .ptv-lang-item {
        padding: 14px 16px;
    }
}

/* =============================================
   CARD ACTION BUTTONS (like, dislike, wishlist, share, trailer, download)
   ============================================= */
.ptv-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 4px;
    padding: 8px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
}

.ptv-trend-card:hover .ptv-card-actions,
.ptv-cw-card:hover .ptv-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.ptv-card-actions-cw {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 8px 8px;
}

.ptv-card-action-btn {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;
    padding: 6px 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.ptv-card-action-btn:hover {
    background: rgba(212,175,55,0.25);
    border-color: rgba(212,175,55,0.5);
    transform: scale(1.08);
}

.ptv-card-action-btn.ptv-act-active {
    background: rgba(212,175,55,0.3);
    border-color: #D4AF37;
    color: #D4AF37;
}

.ptv-card-action-btn.ptv-act-loading {
    opacity: 0.5;
    pointer-events: none;
}

.ptv-card-action-btn.ptv-act-loading i {
    animation: fa-spin 0.8s linear infinite;
}

.ptv-act-like.ptv-act-active { color: #4CAF50; border-color: #4CAF50; background: rgba(76,175,80,0.2); }
.ptv-act-dislike.ptv-act-active { color: #f44336; border-color: #f44336; background: rgba(244,67,54,0.2); }
.ptv-act-wishlist.ptv-act-active { color: #D4AF37; border-color: #D4AF37; background: rgba(212,175,55,0.2); }
.ptv-act-wishlist.ptv-act-active i { transform: rotate(45deg); }

/* Premium badge on cards */
.ptv-badge-premium {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #1a1000;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   SEARCH SUGGESTIONS DROPDOWN
   ============================================= */
.ptv-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18,18,18,0.98);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 0 0 12px 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10001;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    display: none;
}

.ptv-search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ptv-search-suggestion-item:hover {
    background: rgba(212,175,55,0.1);
}

.ptv-search-suggestion-thumb {
    width: 48px;
    height: 64px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.ptv-search-suggestion-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.1);
    color: rgba(212,175,55,0.4);
    font-size: 1.2rem;
}

.ptv-search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.ptv-search-suggestion-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ptv-search-suggestion-type {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: capitalize;
    margin-top: 2px;
}

.ptv-search-suggestion-badge {
    background: rgba(212,175,55,0.2);
    color: #D4AF37;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ptv-search-suggestion-empty {
    padding: 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
}

/* =============================================
   TRAILER MODAL
   ============================================= */
.ptv-trailer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ptv-trailer-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.ptv-trailer-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.ptv-trailer-video-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.3);
    box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}

.ptv-trailer-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.4);
    color: #D4AF37;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ptv-trailer-close:hover {
    background: rgba(212,175,55,0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .ptv-card-actions {
        gap: 2px;
        padding: 6px 6px;
    }

    .ptv-card-action-btn {
        padding: 5px 2px;
        font-size: 0.7rem;
    }

    .ptv-trailer-modal-content {
        width: 95%;
    }

    .ptv-search-suggestions {
        max-height: 300px;
    }

    .ptv-search-suggestion-thumb {
        width: 40px;
        height: 54px;
    }
}

/* =============================================
   USER DASHBOARD
   ============================================= */
.ptv-dashboard-page {
    min-height: 100vh;
}

/* Welcome Banner */
.ptv-dashboard-welcome {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-gold);
}

.ptv-dashboard-welcome-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212,175,55,0.06) 0%, transparent 50%),
        linear-gradient(135deg, #0d0a02 0%, #0a0a0a 100%);
    z-index: 0;
}

.ptv-dashboard-welcome-content {
    position: relative;
    z-index: 1;
    padding: 32px 28px;
}

.ptv-dashboard-welcome-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #ffffff 30%, #D4AF37 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ptv-dashboard-welcome-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Stats Cards */
.ptv-dashboard-stats {
    margin-bottom: 24px;
}

.ptv-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    height: 100%;
}

.ptv-stat-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.ptv-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.ptv-stat-icon-gold {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    color: var(--gold);
}
.ptv-stat-icon-blue {
    background: rgba(54,162,235,0.1);
    border: 1px solid rgba(54,162,235,0.25);
    color: #36a2eb;
}
.ptv-stat-icon-green {
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.25);
    color: #4caf50;
}
.ptv-stat-icon-purple {
    background: rgba(156,89,220,0.1);
    border: 1px solid rgba(156,89,220,0.25);
    color: #9c59dc;
}

.ptv-stat-card:hover .ptv-stat-icon-gold { background: var(--gold); color: #000; box-shadow: 0 0 20px rgba(212,175,55,0.4); }
.ptv-stat-card:hover .ptv-stat-icon-blue { background: #36a2eb; color: #000; }
.ptv-stat-card:hover .ptv-stat-icon-green { background: #4caf50; color: #000; }
.ptv-stat-card:hover .ptv-stat-icon-purple { background: #9c59dc; color: #fff; }

.ptv-stat-info {
    flex: 1;
    min-width: 0;
}

.ptv-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.ptv-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Dashboard Sections */
.ptv-dashboard-section {
    margin-bottom: 28px;
}

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

.ptv-dashboard-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.ptv-dashboard-section-title i {
    color: var(--gold);
}

.ptv-dashboard-view-all {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
}

.ptv-dashboard-view-all:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Continue Watching Cards */
.ptv-dash-cw-card {
    display: flex;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.ptv-dash-cw-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.ptv-dash-cw-thumb {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
}

.ptv-dash-cw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptv-dash-cw-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.ptv-dash-cw-card:hover .ptv-dash-cw-play { opacity: 1; }

.ptv-dash-cw-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ptv-dash-cw-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.ptv-dash-cw-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ptv-dash-cw-progress {
    margin-top: auto;
}

/* Progress Bar (shared) */
.ptv-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.ptv-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* Watchlist Cards */
.ptv-dash-wl-card {
    text-decoration: none;
    display: block;
}

.ptv-dash-wl-poster {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    transition: var(--transition);
}

.ptv-dash-wl-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptv-dash-wl-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.ptv-dash-wl-card:hover .ptv-dash-wl-poster {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), var(--shadow-gold);
}

.ptv-dash-wl-card:hover .ptv-dash-wl-overlay { opacity: 1; }

.ptv-dash-wl-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ptv-dash-wl-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Dashboard Sidebar Cards */
.ptv-dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow: hidden;
}

.ptv-dashboard-card-header {
    padding: 16px 18px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
}

.ptv-dashboard-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
}

.ptv-dashboard-card-title i {
    color: var(--gold);
}

.ptv-dashboard-card-body {
    padding: 18px;
}

/* Subscription Card */
.ptv-dash-sub-active {
    text-align: center;
}

.ptv-dash-sub-plan {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.ptv-dash-sub-status {
    margin-bottom: 12px;
}

.ptv-dash-sub-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4caf50;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ptv-dash-sub-badge i {
    font-size: 0.5rem;
}

.ptv-dash-sub-remaining {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.ptv-dash-sub-progress {
    margin-bottom: 14px;
}

.ptv-dash-sub-change {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    padding: 6px 18px;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.ptv-dash-sub-change:hover {
    background: var(--gold);
    color: #000;
}

.ptv-dash-sub-none {
    text-align: center;
    padding: 10px 0;
}

.ptv-dash-sub-none i {
    font-size: 2.5rem;
    color: rgba(212,175,55,0.3);
    margin-bottom: 12px;
}

.ptv-dash-sub-none h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.ptv-dash-sub-none p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Notifications */
.ptv-dash-notif-badge {
    background: var(--red-badge);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 4px;
}

.ptv-dash-notif-empty {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
}

.ptv-dash-notif-empty i {
    font-size: 2rem;
    color: rgba(255,255,255,0.1);
    margin-bottom: 10px;
}

.ptv-dash-notif-empty p {
    font-size: 0.82rem;
}

.ptv-dash-notif-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ptv-dash-notif-item {
    display: flex;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.ptv-dash-notif-item:hover {
    background: rgba(255,255,255,0.03);
}

.ptv-dash-notif-unread {
    background: rgba(212,175,55,0.04);
}

.ptv-dash-notif-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(212,175,55,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
}

.ptv-dash-notif-body {
    flex: 1;
    min-width: 0;
}

.ptv-dash-notif-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ptv-dash-notif-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Quick Actions */
.ptv-dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ptv-dash-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.ptv-dash-quick-action i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.ptv-dash-quick-action span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-align: center;
}

.ptv-dash-quick-action:hover {
    background: rgba(212,175,55,0.06);
    border-color: rgba(212,175,55,0.25);
    transform: translateY(-2px);
}

.ptv-dash-quick-action:hover i {
    color: var(--gold);
}

.ptv-dash-quick-action:hover span {
    color: #fff;
}

/* Account Info */
.ptv-dash-account-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ptv-dash-account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ptv-dash-account-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ptv-dash-account-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dashboard Empty State */
.ptv-dashboard-empty {
    text-align: center;
    padding: 36px 20px;
    color: var(--text-muted);
}

.ptv-dashboard-empty i {
    font-size: 2.5rem;
    color: rgba(212,175,55,0.2);
    margin-bottom: 14px;
}

.ptv-dashboard-empty p {
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* Dashboard Responsive */
@media (max-width: 991.98px) {
    .ptv-dashboard-welcome-content { padding: 24px 20px; }
    .ptv-dash-quick-actions { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
    .ptv-dashboard-welcome-title { font-size: 1.4rem; }
    .ptv-dashboard-welcome-sub { font-size: 0.8rem; }
    .ptv-stat-card { padding: 14px 12px; gap: 10px; }
    .ptv-stat-icon { width: 40px; height: 40px; font-size: 1rem; }
    .ptv-stat-value { font-size: 1.1rem; }
    .ptv-stat-label { font-size: 0.68rem; }
    .ptv-dash-cw-thumb { width: 100px; height: 56px; }
    .ptv-dash-quick-actions { grid-template-columns: repeat(2, 1fr); }
    .ptv-dashboard-section-title { font-size: 1rem; }
}

@media (max-width: 480px) {
    .ptv-dashboard-welcome-content { padding: 20px 16px; }
    .ptv-dashboard-welcome-title { font-size: 1.2rem; }
    .ptv-stat-card { padding: 12px 10px; }
    .ptv-dash-cw-card { flex-direction: row; }
    .ptv-dash-cw-thumb { width: 90px; height: 50px; }
    .ptv-dash-quick-actions { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ptv-dash-quick-action { padding: 12px 6px; }
    .ptv-dash-quick-action span { font-size: 0.68rem; }
}

/* ================================================================
 * USER PANEL - SIDEBAR, LAYOUT, SHARED COMPONENTS
 * ================================================================ */

/* User Panel Layout */
.ptv-user-content { margin-left: 260px; min-height: 100vh; transition: margin-left .3s; }
@media (max-width: 991px) { .ptv-user-content { margin-left: 0; } }

/* Sidebar */
.ptv-user-sidebar {
    position: fixed; top: var(--navbar-height, 64px); left: 0; bottom: 0;
    width: 260px; background: var(--bg-secondary, #14100a);
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    overflow-y: auto; z-index: 1000; transition: transform .3s;
}
.ptv-user-sidebar-header { padding: 24px 20px; text-align: center; border-bottom: 1px solid rgba(212, 175, 55, 0.1); }
.ptv-user-sidebar-avatar {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--gold, #D4AF37), var(--gold-dark, #b8962e));
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ptv-user-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ptv-user-sidebar-avatar span { color: #1a1000; font-size: 1.5rem; font-weight: 700; }
.ptv-user-sidebar-name { color: var(--text-primary, #fff); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.ptv-user-sidebar-view-profile { color: var(--gold, #D4AF37); font-size: .75rem; text-decoration: none; }
.ptv-user-sidebar-view-profile:hover { text-decoration: underline; }

.ptv-user-sidebar-nav { padding: 12px 0; }
.ptv-user-sidebar-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 20px;
    color: var(--text-secondary, #b0b0b0); text-decoration: none; font-size: .85rem;
    transition: all .2s; border-left: 3px solid transparent;
}
.ptv-user-sidebar-link i { width: 20px; text-align: center; font-size: .9rem; }
.ptv-user-sidebar-link:hover { background: rgba(212, 175, 55, 0.08); color: var(--gold, #D4AF37); }
.ptv-user-sidebar-active { background: rgba(212, 175, 55, 0.1); color: var(--gold, #D4AF37); border-left-color: var(--gold, #D4AF37); }
.ptv-user-sidebar-logout { color: #e74c3c; }
.ptv-user-sidebar-logout:hover { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.ptv-user-sidebar-divider { height: 1px; background: rgba(212, 175, 55, 0.1); margin: 12px 20px; }

.ptv-sidebar-toggle {
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 1100;
    width: 48px; height: 48px; border-radius: 50%; border: none;
    background: var(--gold, #D4AF37); color: #1a1000; font-size: 1.2rem; cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.ptv-sidebar-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5); z-index: 999;
}
@media (max-width: 991px) {
    .ptv-user-sidebar { transform: translateX(-100%); }
    .ptv-user-sidebar.ptv-sidebar-open { transform: translateX(0); }
    .ptv-sidebar-toggle { display: flex; align-items: center; justify-content: center; }
    .ptv-sidebar-overlay.ptv-overlay-show { display: block; }
}

/* Page Header */
.ptv-user-page-header { margin-bottom: 24px; }
.ptv-user-page-header h1 { color: var(--text-primary, #fff); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.ptv-user-page-sub { color: var(--text-secondary, #b0b0b0); font-size: .85rem; margin: 0; }

/* Loading State */
.ptv-loading-state { text-align: center; padding: 40px 20px; color: var(--text-secondary, #b0b0b0); }
.ptv-spinner {
    width: 32px; height: 32px; margin: 0 auto 12px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold, #D4AF37);
    border-radius: 50%; animation: ptv-spin 0.8s linear infinite;
}
@keyframes ptv-spin { to { transform: rotate(360deg); } }
.ptv-loading-state p { font-size: .85rem; margin: 0; }

/* Empty/Error State */
.ptv-empty-state { text-align: center; padding: 40px 20px; color: var(--text-secondary, #b0b0b0); }
.ptv-empty-state i { font-size: 2.5rem; color: rgba(212, 175, 55, 0.3); margin-bottom: 12px; }
.ptv-empty-state p { font-size: .85rem; margin-bottom: 16px; }

/* Pagination */
.ptv-pagination-container { margin-top: 24px; display: flex; justify-content: center; }
.ptv-pagination { display: flex; gap: 4px; flex-wrap: wrap; }
.ptv-pagination button {
    background: rgba(212, 175, 55, 0.08); border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-secondary, #b0b0b0); padding: 6px 12px; border-radius: 6px;
    cursor: pointer; font-size: .8rem; transition: all .2s;
}
.ptv-pagination button:hover { background: rgba(212, 175, 55, 0.15); color: var(--gold, #D4AF37); }
.ptv-pagination-active { background: var(--gold, #D4AF37) !important; color: #1a1000 !important; border-color: var(--gold, #D4AF37) !important; }

/* Card Remove Button */
.ptv-card-remove-btn {
    background: none; border: none; color: #e74c3c; font-size: .7rem;
    cursor: pointer; padding: 4px 0; margin-top: 4px; transition: opacity .2s;
}
.ptv-card-remove-btn:hover { opacity: 0.7; }

/* History List */
.ptv-history-list { display: flex; flex-direction: column; gap: 12px; }
.ptv-history-item {
    display: flex; align-items: center; gap: 16px; padding: 12px;
    background: rgba(212, 175, 55, 0.05); border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1); transition: all .2s;
}
.ptv-history-item:hover { background: rgba(212, 175, 55, 0.08); }
.ptv-history-thumb { width: 120px; height: 68px; border-radius: 6px; overflow: hidden; flex-shrink: 0; position: relative; }
.ptv-history-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ptv-history-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 32px; height: 32px; border-radius: 50%; background: rgba(212, 175, 55, 0.9);
    display: flex; align-items: center; justify-content: center; color: #1a1000; font-size: .8rem;
}
.ptv-history-info { flex: 1; min-width: 0; }
.ptv-history-title { color: var(--text-primary, #fff); font-size: .9rem; font-weight: 600; text-decoration: none; display: block; margin-bottom: 4px; }
.ptv-history-title:hover { color: var(--gold, #D4AF37); }
.ptv-history-meta { color: var(--text-secondary, #b0b0b0); font-size: .75rem; margin-bottom: 6px; }
.ptv-history-time { color: var(--text-secondary, #b0b0b0); font-size: .75rem; white-space: nowrap; }

/* Notifications Full List */
.ptv-notif-actions { display: flex; gap: 8px; margin-top: 8px; }
.ptv-btn-secondary {
    background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold, #D4AF37); padding: 6px 14px; border-radius: 6px;
    font-size: .75rem; cursor: pointer; transition: all .2s;
}
.ptv-btn-secondary:hover { background: rgba(212, 175, 55, 0.2); }
.ptv-btn-danger {
    background: rgba(231, 76, 60, 0.1); border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c; padding: 6px 14px; border-radius: 6px;
    font-size: .75rem; cursor: pointer; transition: all .2s;
}
.ptv-btn-danger:hover { background: rgba(231, 76, 60, 0.2); }

.ptv-notif-full-list { display: flex; flex-direction: column; gap: 8px; }
.ptv-notif-full-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px;
    background: rgba(212, 175, 55, 0.04); border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.08); cursor: pointer; transition: all .2s; position: relative;
}
.ptv-notif-full-item:hover { background: rgba(212, 175, 55, 0.07); }
.ptv-notif-full-unread { border-left: 3px solid var(--gold, #D4AF37); background: rgba(212, 175, 55, 0.08); }
.ptv-notif-full-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(212, 175, 55, 0.1); display: flex; align-items: center; justify-content: center; color: var(--gold, #D4AF37); flex-shrink: 0; }
.ptv-notif-full-body { flex: 1; min-width: 0; }
.ptv-notif-full-title { color: var(--text-primary, #fff); font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.ptv-notif-full-msg { color: var(--text-secondary, #b0b0b0); font-size: .78rem; margin-bottom: 4px; }
.ptv-notif-full-date { color: var(--text-tertiary, #888); font-size: .7rem; }
.ptv-notif-full-action { color: var(--gold, #D4AF37); padding: 4px 8px; font-size: .8rem; text-decoration: none; }
.ptv-notif-full-delete { background: none; border: none; color: #e74c3c; cursor: pointer; padding: 4px; font-size: .8rem; opacity: .5; }
.ptv-notif-full-delete:hover { opacity: 1; }
.ptv-notif-full-empty, .ptv-dash-notif-empty { text-align: center; padding: 20px; color: var(--text-secondary, #b0b0b0); }
.ptv-dash-notif-empty i { font-size: 1.5rem; margin-bottom: 8px; display: block; color: rgba(212, 175, 55, 0.3); }

/* Subscription Plans */
.ptv-plan-card {
    background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 14px; padding: 28px 20px; text-align: center; position: relative;
    transition: all .3s; height: 100%;
}
.ptv-plan-card:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateY(-4px); }
.ptv-plan-featured { border-color: var(--gold, #D4AF37); background: rgba(212, 175, 55, 0.1); }
.ptv-plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold, #D4AF37); color: #1a1000; padding: 4px 16px;
    border-radius: 20px; font-size: .7rem; font-weight: 700;
}
.ptv-plan-name { color: var(--text-primary, #fff); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.ptv-plan-price { margin-bottom: 12px; }
.ptv-plan-currency { color: var(--gold, #D4AF37); font-size: 1rem; vertical-align: top; }
.ptv-plan-amount { color: var(--text-primary, #fff); font-size: 2.5rem; font-weight: 800; }
.ptv-plan-period { color: var(--text-secondary, #b0b0b0); font-size: .8rem; }
.ptv-plan-desc { color: var(--text-secondary, #b0b0b0); font-size: .78rem; margin-bottom: 16px; }
.ptv-plan-features { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.ptv-plan-features li { padding: 6px 0; color: var(--text-secondary, #b0b0b0); font-size: .8rem; display: flex; align-items: center; gap: 8px; }
.ptv-plan-features li i { color: var(--gold, #D4AF37); font-size: .75rem; }
.ptv-plan-btn { width: 100%; justify-content: center; }

/* Payment Gateways */
.ptv-gateway-list { display: flex; gap: 16px; flex-wrap: wrap; }
.ptv-gateway-item {
    display: flex; align-items: center; gap: 8px; padding: 12px 20px;
    background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px; color: var(--text-secondary, #b0b0b0); font-size: .85rem;
}

/* Subscription Detail */
.ptv-sub-detail { padding: 8px 0; }
.ptv-sub-detail-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.ptv-sub-detail-plan { color: var(--gold, #D4AF37); font-size: 1.4rem; font-weight: 700; }
.ptv-sub-detail-price { color: var(--text-primary, #fff); font-size: 1.2rem; font-weight: 600; }
.ptv-sub-detail-dates { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ptv-sub-detail-dates div { color: var(--text-secondary, #b0b0b0); font-size: .82rem; }
.ptv-sub-detail-dates span { color: var(--text-tertiary, #888); }
.ptv-sub-detail-actions { display: flex; gap: 10px; margin-top: 16px; }

.ptv-sub-history-table table { color: var(--text-secondary, #b0b0b0); }
.ptv-sub-history-table th { color: var(--gold, #D4AF37); font-size: .8rem; font-weight: 600; border-bottom: 1px solid rgba(212, 175, 55, 0.2); }
.ptv-sub-history-table td { font-size: .82rem; padding: 10px 8px; border-bottom: 1px solid rgba(212, 175, 55, 0.08); }
.ptv-sub-status-badge { padding: 2px 10px; border-radius: 12px; font-size: .7rem; font-weight: 600; }
.ptv-sub-status-active { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.ptv-sub-status-expired { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.ptv-sub-status-cancelled { background: rgba(149, 165, 166, 0.15); color: #95a5a6; }

/* Downloads */
.ptv-download-limits { padding: 8px 0; }
.ptv-download-limits-info { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .82rem; color: var(--text-secondary, #b0b0b0); }
.ptv-download-limits-info span strong { color: var(--gold, #D4AF37); }
.ptv-download-list { display: flex; flex-direction: column; gap: 10px; }
.ptv-download-item {
    display: flex; align-items: center; gap: 14px; padding: 12px;
    background: rgba(212, 175, 55, 0.05); border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.ptv-download-thumb { width: 60px; height: 80px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ptv-download-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ptv-download-info { flex: 1; min-width: 0; }
.ptv-download-title { color: var(--text-primary, #fff); font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.ptv-download-meta { color: var(--text-secondary, #b0b0b0); font-size: .75rem; }
.ptv-download-expires { color: var(--text-tertiary, #888); font-size: .72rem; margin-top: 4px; }
.ptv-download-expired { color: #e74c3c; font-size: .72rem; margin-top: 4px; }
.ptv-download-actions { display: flex; gap: 6px; }

/* Analytics */
.ptv-analytics-bars { display: flex; flex-direction: column; gap: 10px; }
.ptv-analytics-bar-item { display: flex; align-items: center; gap: 12px; }
.ptv-analytics-bar-label { width: 120px; font-size: .8rem; color: var(--text-secondary, #b0b0b0); flex-shrink: 0; }
.ptv-analytics-bar-track { flex: 1; height: 8px; background: rgba(212, 175, 55, 0.1); border-radius: 4px; overflow: hidden; }
.ptv-analytics-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold, #D4AF37), var(--gold-dark, #b8962e)); border-radius: 4px; transition: width .5s; }
.ptv-analytics-bar-value { width: 30px; text-align: right; font-size: .78rem; color: var(--gold, #D4AF37); font-weight: 600; }

.ptv-watch-time-chart { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding: 10px 0; }
.ptv-chart-bar-wrapper { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.ptv-chart-bar { width: 100%; max-width: 12px; background: linear-gradient(180deg, var(--gold, #D4AF37), rgba(212, 175, 55, 0.3)); border-radius: 3px 3px 0 0; min-height: 2px; transition: height .5s; }
.ptv-chart-bar-label { font-size: .55rem; color: var(--text-tertiary, #888); margin-top: 4px; transform: rotate(-45deg); transform-origin: center; white-space: nowrap; }

/* Profile */
.ptv-profile-card { text-align: center; padding: 20px 0; }
.ptv-profile-avatar-large {
    width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--gold, #D4AF37), var(--gold-dark, #b8962e));
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ptv-profile-avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.ptv-profile-avatar-large span { color: #1a1000; font-size: 2.5rem; font-weight: 700; }
.ptv-profile-name { color: var(--text-primary, #fff); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.ptv-profile-email { color: var(--text-secondary, #b0b0b0); font-size: .85rem; margin-bottom: 12px; }

.ptv-profile-details { display: flex; flex-direction: column; gap: 0; }
.ptv-profile-detail-row {
    display: flex; justify-content: space-between; padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08); font-size: .85rem;
}
.ptv-profile-detail-row span { color: var(--text-secondary, #b0b0b0); }
.ptv-profile-detail-row strong { color: var(--text-primary, #fff); }

.ptv-profile-link-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px;
    background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px; text-decoration: none; color: var(--text-secondary, #b0b0b0);
    transition: all .2s; font-size: .82rem;
}
.ptv-profile-link-card:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold, #D4AF37); border-color: rgba(212, 175, 55, 0.3); }
.ptv-profile-link-card i { font-size: 1.5rem; color: var(--gold, #D4AF37); }

.ptv-profile-avatar-upload { text-align: center; }

/* Forms */
.ptv-form-label { display: block; color: var(--text-secondary, #b0b0b0); font-size: .82rem; margin-bottom: 6px; }
.ptv-form-input {
    width: 100%; padding: 10px 14px; background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 8px;
    color: var(--text-primary, #fff); font-size: .85rem; transition: border-color .2s;
}
.ptv-form-input:focus { outline: none; border-color: var(--gold, #D4AF37); }
.ptv-form-input::placeholder { color: var(--text-tertiary, #888); }
select.ptv-form-input { cursor: pointer; }
select.ptv-form-input option { background: var(--bg-secondary, #14100a); }
.ptv-form-hint { color: var(--text-tertiary, #888); font-size: .72rem; display: block; margin-top: 4px; }
.ptv-form-actions { display: flex; gap: 10px; align-items: center; }
.ptv-form-msg { margin-top: 12px; }
.ptv-input-group { position: relative; display: flex; align-items: center; }
.ptv-input-group .ptv-form-input { padding-right: 40px; }
.ptv-input-toggle {
    position: absolute; right: 8px; background: none; border: none;
    color: var(--text-tertiary, #888); cursor: pointer; padding: 4px 8px; font-size: .85rem;
}
.ptv-input-toggle:hover { color: var(--gold, #D4AF37); }

.ptv-alert { padding: 10px 14px; border-radius: 8px; font-size: .82rem; display: flex; align-items: center; gap: 8px; }
.ptv-alert-success { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.2); }
.ptv-alert-error { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.2); }

/* Settings */
.ptv-settings-list { display: flex; flex-direction: column; gap: 0; }
.ptv-setting-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.ptv-setting-row:last-child { border-bottom: none; }
.ptv-setting-row strong { color: var(--text-primary, #fff); font-size: .88rem; }
.ptv-setting-row small { color: var(--text-tertiary, #888); font-size: .75rem; }

.ptv-toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.ptv-toggle input { opacity: 0; width: 0; height: 0; }
.ptv-toggle-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.1); border-radius: 24px; transition: .3s;
}
.ptv-toggle-slider:before {
    position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px;
    background: #fff; border-radius: 50%; transition: .3s;
}
.ptv-toggle input:checked + .ptv-toggle-slider { background: var(--gold, #D4AF37); }
.ptv-toggle input:checked + .ptv-toggle-slider:before { transform: translateX(20px); }

/* Devices */
.ptv-devices-list { display: flex; flex-direction: column; gap: 8px; }
.ptv-device-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    background: rgba(212, 175, 55, 0.05); border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}
.ptv-device-item > i { font-size: 1.2rem; color: var(--gold, #D4AF37); }
.ptv-device-info { flex: 1; }
.ptv-device-name { color: var(--text-primary, #fff); font-size: .85rem; font-weight: 600; }
.ptv-device-meta { color: var(--text-tertiary, #888); font-size: .72rem; }
.ptv-device-current { background: rgba(46, 204, 113, 0.15); color: #2ecc71; padding: 2px 10px; border-radius: 12px; font-size: .68rem; font-weight: 600; }

/* =============================================
   USER SIDEBAR (shared by user panel + homepage)
   ============================================= */
.ptv-user-sidebar {
    position: fixed;
    top: var(--navbar-height, 72px);
    left: 0;
    width: 190px;
    height: calc(100vh - var(--navbar-height, 72px));
    background: linear-gradient(180deg, #0d0a02 0%, #0a0a0a 100%);
    border-right: none;
    z-index: 1040;
    overflow-y: auto;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ptv-user-sidebar::-webkit-scrollbar { width: 4px; }
.ptv-user-sidebar::-webkit-scrollbar-track { background: transparent; }
.ptv-user-sidebar::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.2); border-radius: 4px; }

.ptv-user-sidebar-header {
    padding: 24px 20px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: var(--navbar-height, 72px);
}

.ptv-user-sidebar-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.ptv-user-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptv-user-sidebar-avatar span {
    color: #1a1000;
    font-size: 1.6rem;
    font-weight: 700;
}

.ptv-user-sidebar-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
}

.ptv-user-sidebar-view-profile {
    color: var(--gold);
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.ptv-user-sidebar-view-profile:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.ptv-user-sidebar-nav {
    padding: 12px 10px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ptv-user-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.ptv-user-sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.ptv-user-sidebar-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: #fff;
}

.ptv-user-sidebar-link:hover i {
    color: var(--gold);
}

.ptv-user-sidebar-active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold) !important;
}

.ptv-user-sidebar-active i {
    color: var(--gold) !important;
}

.ptv-user-sidebar-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.1);
    margin: 10px 14px;
}

.ptv-user-sidebar-logout {
    color: rgba(231, 76, 60, 0.8) !important;
}

.ptv-user-sidebar-logout i {
    color: rgba(231, 76, 60, 0.8) !important;
}

.ptv-user-sidebar-logout:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c !important;
}

.ptv-user-sidebar-logout:hover i {
    color: #e74c3c !important;
}

/* Sidebar toggle button (mobile) */
.ptv-sidebar-toggle {
    display: none;
    position: fixed;
    top: 18px;
    left: 14px;
    z-index: 1200;
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ptv-sidebar-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
}

.ptv-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1099;
    backdrop-filter: blur(4px);
}

.ptv-sidebar-overlay-active {
    display: block;
}

/* Mobile: sidebar becomes off-canvas */
@media (max-width: 991px) {
    .ptv-user-sidebar {
        transform: translateX(-100%);
        box-shadow: 4px 0 40px rgba(0, 0, 0, 0.5);
    }

    .ptv-user-sidebar-open {
        transform: translateX(0);
    }

    .ptv-sidebar-toggle {
        display: flex;
    }
}

/* Homepage sidebar adjustment */
.ptv-home-sidebar {
    z-index: 1100;
}

/* Spinner for loading states */
.ptv-spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: ptvSpin 0.8s linear infinite;
}

@keyframes ptvSpin {
    to { transform: rotate(360deg); }
}

/* Responsive user panel */
@media (max-width: 768px) {
    .ptv-history-item { flex-wrap: wrap; }
    .ptv-history-thumb { width: 100%; height: 120px; }
    .ptv-history-time { width: 100%; text-align: right; }
    .ptv-sub-detail-header { flex-direction: column; gap: 8px; }
    .ptv-sub-detail-actions { flex-direction: column; }
    .ptv-form-actions { flex-direction: column; align-items: stretch; }
    .ptv-form-actions .ptv-cta-btn, .ptv-form-actions .ptv-btn-secondary { width: 100%; text-align: center; }
    .ptv-notif-actions { flex-wrap: wrap; }
}

/* ============================================
   WATCH PAGE
   ============================================ */
.ptv-watch-page { background: var(--bg-primary); }
.ptv-watch-hero { position: relative; min-height: 50vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--navbar-height); background-size: cover; background-position: center top; }
.ptv-watch-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,0.6) 0%, rgba(8,8,8,0.7) 40%, rgba(8,8,8,0.85) 70%, rgba(8,8,8,0.95) 100%); }
.ptv-watch-hero-content { position: relative; z-index: 2; padding: 40px 0 30px; }
.ptv-watch-poster { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-gold); box-shadow: var(--shadow-card); max-width: 250px; }
.ptv-watch-poster img { width: 100%; height: auto; display: block; }
.ptv-watch-title { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 900; color: var(--text-primary); line-height: 1.1; margin-bottom: 8px; }
.ptv-watch-tagline { font-size: 1rem; color: var(--text-secondary); font-style: italic; margin-bottom: 14px; }
.ptv-watch-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 14px; font-size: 0.85rem; color: var(--text-secondary); }
.ptv-watch-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ptv-watch-meta i { color: var(--gold); }
.ptv-watch-rating { color: var(--gold); font-weight: 600; }
.ptv-watch-type-badge { background: rgba(212,175,55,0.15); border: 1px solid var(--border-gold); color: var(--gold); padding: 3px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.ptv-watch-genres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ptv-genre-pill { background: rgba(212,175,55,0.06); border: 1px solid var(--border-gold); color: var(--text-secondary); padding: 4px 14px; border-radius: 20px; font-size: 0.78rem; text-decoration: none; transition: var(--transition); }
.ptv-genre-pill:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.ptv-watch-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ptv-watch-actions .ptv-cta-btn { font-size: 0.9rem; padding: 10px 28px; border: none; border-radius: 8px; box-shadow: 0 4px 20px rgba(212,175,55,0.25); }
.ptv-watch-actions .ptv-cta-btn:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #000; }
.ptv-watch-action-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark); color: var(--text-primary); font-size: 0.85rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.ptv-watch-action-btn:hover { background: rgba(212,175,55,0.1); border-color: var(--border-gold); color: var(--gold); }
.ptv-btn-outline-gold { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border-gold); color: var(--gold); font-size: 0.85rem; font-weight: 600; padding: 10px 20px; border-radius: 8px; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.ptv-btn-outline-gold:hover { background: rgba(212,175,55,0.1); }
.ptv-badge-premium { display: inline-block; background: linear-gradient(135deg, var(--gold), #FFD700); color: #1a1000; font-size: 0.65rem; font-weight: 800; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
.ptv-player-section { margin-bottom: 24px; }
.ptv-video-wrapper { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-gold); box-shadow: var(--shadow-card); background: #000; }
.ptv-no-video { text-align: center; padding: 60px 20px; background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); }
.ptv-no-video i { font-size: 3rem; color: rgba(212,175,55,0.3); margin-bottom: 16px; }
.ptv-no-video h3 { color: var(--text-primary); font-size: 1.2rem; margin-bottom: 8px; }
.ptv-no-video p { color: var(--text-secondary); font-size: 0.85rem; }
.ptv-resume-banner { flex-wrap: wrap; }
.ptv-watch-section { margin-bottom: 32px; }
.ptv-watch-section-title { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; padding-left: 14px; position: relative; }
.ptv-watch-section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); border-radius: 4px; }
.ptv-watch-description { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; }
.ptv-seasons-wrapper { margin-top: 8px; }
.ptv-season-tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.ptv-season-tabs::-webkit-scrollbar { display: none; }
.ptv-season-tab { background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark); color: var(--text-secondary); padding: 8px 18px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; flex-shrink: 0; }
.ptv-season-tab:hover { background: rgba(212,175,55,0.08); color: var(--gold); }
.ptv-season-tab.active { background: rgba(212,175,55,0.15); border-color: var(--gold); color: var(--gold); }
.ptv-episode-card { display: flex; gap: 14px; padding: 12px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-dark); transition: var(--transition); margin-bottom: 10px; }
.ptv-episode-card:hover { background: var(--bg-card-hover); border-color: var(--border-gold); }
.ptv-episode-thumb { position: relative; flex-shrink: 0; width: 160px; height: 90px; border-radius: 8px; overflow: hidden; }
.ptv-episode-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ptv-episode-play { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.2rem; opacity: 0; transition: var(--transition); }
.ptv-episode-card:hover .ptv-episode-play { opacity: 1; }
.ptv-episode-info { flex: 1; min-width: 0; }
.ptv-episode-num { font-size: 0.72rem; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 3px; }
.ptv-episode-title { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.ptv-episode-desc { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptv-episode-duration { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.ptv-cast-row { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.ptv-cast-row::-webkit-scrollbar { display: none; }
.ptv-cast-card { flex-shrink: 0; text-align: center; width: 100px; }
.ptv-cast-photo { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; border: 2px solid var(--border-gold); }
.ptv-cast-photo img { width: 100%; height: 100%; object-fit: cover; }
.ptv-cast-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.ptv-cast-role { font-size: 0.72rem; color: var(--text-muted); }
.ptv-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ptv-gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-dark); aspect-ratio: 3/2; }
.ptv-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ptv-gallery-item:hover img { transform: scale(1.05); }
.ptv-gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--gold); font-size: 0.72rem; font-weight: 600; padding: 16px 10px 6px; text-transform: uppercase; }
.ptv-review-card { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; }
.ptv-review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ptv-review-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; color: #000; font-weight: 700; font-size: 0.85rem; overflow: hidden; flex-shrink: 0; }
.ptv-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ptv-review-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.ptv-review-date { font-size: 0.72rem; color: var(--text-muted); }
.ptv-review-rating { margin-left: auto; color: var(--gold); font-size: 0.85rem; font-weight: 700; }
.ptv-review-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.ptv-review-body { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
.ptv-comment-card { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px; }
.ptv-comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ptv-comment-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; color: #000; font-weight: 700; font-size: 0.75rem; overflow: hidden; flex-shrink: 0; }
.ptv-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ptv-comment-name { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.ptv-comment-date { font-size: 0.7rem; color: var(--text-muted); }
.ptv-comment-body { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
.ptv-comment-reply { margin-left: 42px; margin-top: 8px; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 8px; border-left: 2px solid var(--border-gold); }
.ptv-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ptv-related-card { text-decoration: none; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-dark); transition: var(--transition); }
.ptv-related-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.ptv-related-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.ptv-related-title { padding: 8px 10px; font-size: 0.8rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptv-rate-stars { display: flex; justify-content: center; gap: 8px; margin: 16px 0; }
.ptv-rate-star { font-size: 2rem; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.ptv-rate-star:hover, .ptv-rate-star.ptv-rate-active { color: var(--gold); transform: scale(1.15); }

/* Watch Page Responsive */
@media (max-width: 991.98px) {
    .ptv-watch-hero { min-height: 40vh; }
    .ptv-watch-poster { max-width: 180px; }
    .ptv-watch-title { font-size: 1.8rem; }
    .ptv-watch-hero-content { padding: 30px 0 20px; }
}
@media (max-width: 767.98px) {
    .ptv-watch-hero { min-height: 35vh; }
    .ptv-watch-poster { max-width: 140px; margin: 0 auto; }
    .ptv-watch-hero-content { text-align: center; }
    .ptv-watch-hero-content .row { text-align: center; }
    .ptv-watch-hero-content .col-md-3 { margin-bottom: 16px; }
    .ptv-watch-meta { justify-content: center; }
    .ptv-watch-genres { justify-content: center; }
    .ptv-watch-actions { justify-content: center; }
    .ptv-watch-title { font-size: 1.5rem; }
    .ptv-episode-card { flex-direction: column; }
    .ptv-episode-thumb { width: 100%; height: 140px; }
    .ptv-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .ptv-related-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .ptv-resume-banner { flex-direction: column; text-align: center; gap: 10px; }
    .ptv-resume-banner > div:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .ptv-cta-btn { font-size: 0.82rem; padding: 8px 20px; }
    .ptv-watch-action-btn { font-size: 0.8rem; padding: 8px 16px; }
}
@media (max-width: 480px) {
    .ptv-watch-hero { min-height: 30vh; }
    .ptv-watch-title { font-size: 1.3rem; }
    .ptv-watch-poster { max-width: 120px; }
    .ptv-watch-meta { gap: 10px; font-size: 0.78rem; }
    .ptv-watch-actions { gap: 8px; }
    .ptv-cta-btn { width: 100%; justify-content: center; }
    .ptv-watch-action-btn { flex: 1; justify-content: center; padding: 8px 12px; }
    .ptv-btn-outline-gold { flex: 1; justify-content: center; }
    .ptv-episode-thumb { height: 100px; }
    .ptv-cast-card { width: 80px; }
    .ptv-cast-photo { width: 60px; height: 60px; }
    .ptv-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ptv-related-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ptv-comment-reply { margin-left: 0; }
}

/* ============================================
   Video.js Gold/Dark Theme Override
   ============================================ */
.video-js {
    background-color: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
}
.video-js .vjs-big-play-button {
    background-color: rgba(212,175,55,0.9);
    border: 2px solid #D4AF37;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 2rem;
    transition: all .25s;
}
.video-js:hover .vjs-big-play-button {
    background-color: #D4AF37;
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(212,175,55,0.4);
}
.video-js .vjs-control-bar {
    background-color: rgba(10,10,10,0.85);
    backdrop-filter: blur(8px);
}
.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
    background-color: #D4AF37;
}
.video-js .vjs-load-progress {
    background-color: rgba(212,175,55,0.2);
}
.video-js .vjs-slider-bar {
    background-color: rgba(255,255,255,0.15);
}
.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
    background-color: rgba(10,10,10,0.95);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 6px;
}
.video-js .vjs-menu li.vjs-menu-item:hover,
.video-js .vjs-menu li.vjs-selected {
    background-color: rgba(212,175,55,0.15);
    color: #D4AF37;
}
.video-js .vjs-menu li.vjs-selected {
    color: #D4AF37;
}
.vjs-quality-selector .vjs-icon-hd {
    color: #D4AF37;
}
.video-js .vjs-modal-dialog {
    background-color: rgba(10,10,10,0.95);
    border: 1px solid rgba(212,175,55,0.2);
}
.video-js .vjs-loading-spinner {
    border-color: #D4AF37;
    border-top-color: transparent;
}
.video-js .vjs-poster {
    background-size: cover;
}
.video-js .vjs-text-track-display {
    background-color: rgba(0,0,0,0.6);
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.ptv-profile-page { background: var(--bg-primary); min-height: 100vh; }
.ptv-profile-sidebar { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); overflow: hidden; position: sticky; top: calc(var(--navbar-height) + 20px); }
.ptv-profile-user-card { padding: 24px 20px; text-align: center; border-bottom: 1px solid var(--border-dark); }
.ptv-profile-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid var(--border-gold); }
.ptv-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ptv-profile-avatar i { font-size: 2rem; color: #1a1000; }
.ptv-profile-badge { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1000; font-size: 0.7rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 8px; }
.ptv-profile-badge-free { background: transparent; border: 1px solid var(--border-gold); color: var(--gold); }
.ptv-profile-nav { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ptv-profile-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: var(--transition); position: relative; }
.ptv-profile-nav-item i { width: 18px; text-align: center; color: var(--text-muted); transition: var(--transition); }
.ptv-profile-nav-item:hover { background: rgba(212,175,55,0.08); color: var(--text-primary); }
.ptv-profile-nav-item:hover i { color: var(--gold); }
.ptv-profile-nav-item.active { background: rgba(212,175,55,0.12); color: var(--gold); }
.ptv-profile-nav-item.active i { color: var(--gold); }
.ptv-profile-nav-logout { color: rgba(231,76,60,0.8); }
.ptv-profile-nav-logout:hover { background: rgba(231,76,60,0.1); color: #e74c3c; }
.ptv-profile-nav-logout i { color: rgba(231,76,60,0.8); }
.ptv-nav-count { margin-left: auto; background: var(--gold); color: #1a1000; font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.ptv-profile-content { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 24px; }
.ptv-profile-section-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 20px; }
.ptv-profile-subtitle { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.ptv-profile-form { max-width: 600px; }
.ptv-form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* Subscription card */
.ptv-sub-card { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px; }
.ptv-sub-active { border-color: var(--gold); box-shadow: 0 0 24px rgba(212,175,55,0.1); }
.ptv-sub-card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.ptv-sub-status { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; color: #2ecc71; font-weight: 600; margin-bottom: 6px; }
.ptv-sub-plan-name { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.ptv-sub-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-bottom: 20px; }
.ptv-sub-detail-item { display: flex; flex-direction: column; gap: 3px; }
.ptv-sub-detail-item span { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.ptv-sub-detail-item strong { font-size: 0.9rem; color: var(--text-primary); }
.ptv-sub-progress { margin-top: 8px; }
.ptv-progress-bar { width: 100%; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.ptv-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; transition: width 0.4s ease; }

/* Tables */
.ptv-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border-dark); }
.ptv-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.ptv-table thead { background: rgba(212,175,55,0.06); }
.ptv-table th { padding: 12px 14px; text-align: left; color: var(--gold); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border-gold); white-space: nowrap; }
.ptv-table td { padding: 12px 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border-dark); }
.ptv-table tbody tr:hover { background: rgba(212,175,55,0.04); }
.ptv-table tbody tr:last-child td { border-bottom: none; }

/* Status badges */
.ptv-status-badge { display: inline-block; padding: 3px 12px; border-radius: 12px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ptv-status-active { background: rgba(46,204,113,0.15); color: #2ecc71; }
.ptv-status-expired { background: rgba(231,76,60,0.15); color: #e74c3c; }
.ptv-status-cancelled { background: rgba(149,165,166,0.15); color: #95a5a6; }
.ptv-status-pending { background: rgba(241,196,15,0.15); color: #f1c40f; }
.ptv-status-completed { background: rgba(46,204,113,0.15); color: #2ecc71; }
.ptv-status-failed { background: rgba(231,76,60,0.15); color: #e74c3c; }
.ptv-status-paused { background: rgba(149,165,166,0.15); color: #95a5a6; }

/* Watchlist cards */
.ptv-profile-content-card { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-dark); transition: var(--transition); }
.ptv-profile-content-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.ptv-profile-card-link { display: block; text-decoration: none; }
.ptv-profile-card-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.ptv-profile-card-poster img { width: 100%; height: 100%; object-fit: cover; }
.ptv-profile-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.ptv-profile-card-overlay i { font-size: 2rem; color: var(--gold); }
.ptv-profile-content-card:hover .ptv-profile-card-overlay { opacity: 1; }
.ptv-profile-card-info { padding: 10px 12px; }
.ptv-profile-card-title { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptv-profile-card-meta { font-size: 0.72rem; color: var(--text-muted); }
.ptv-profile-card-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.7); border: 1px solid rgba(231,76,60,0.3); color: #e74c3c; font-size: 0.75rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); z-index: 2; }
.ptv-profile-content-card:hover .ptv-profile-card-remove { opacity: 1; }
.ptv-profile-card-remove:hover { background: rgba(231,76,60,0.2); }

/* History progress */
.ptv-history-progress { margin-top: 6px; }
.ptv-history-date { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }

/* Downloads list (plural variant) */
.ptv-downloads-list { display: flex; flex-direction: column; gap: 10px; }
.ptv-download-status { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ptv-btn-sm-gold { display: inline-flex; align-items: center; gap: 5px; background: var(--gold); color: #1a1000; font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 6px; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); }
.ptv-btn-sm-gold:hover { background: var(--gold-light); }
.ptv-btn-sm-danger { display: inline-flex; align-items: center; gap: 5px; background: rgba(231,76,60,0.15); border: 1px solid rgba(231,76,60,0.3); color: #e74c3c; font-size: 0.75rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; cursor: pointer; transition: var(--transition); }
.ptv-btn-sm-danger:hover { background: rgba(231,76,60,0.25); }

/* Notifications list */
.ptv-notifications-list { display: flex; flex-direction: column; gap: 8px; }
.ptv-notification-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-dark); border-radius: 10px; cursor: pointer; transition: var(--transition); }
.ptv-notification-item:hover { background: rgba(212,175,55,0.04); border-color: var(--border-gold); }
.ptv-notification-unread { border-left: 3px solid var(--gold); background: rgba(212,175,55,0.06); }
.ptv-notification-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(212,175,55,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; font-size: 0.9rem; }
.ptv-notification-body { flex: 1; min-width: 0; }
.ptv-notification-title { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.ptv-notification-text { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 4px; }
.ptv-notification-date { font-size: 0.7rem; color: var(--text-muted); }
.ptv-notification-action { display: inline-flex; align-items: center; padding: 6px 14px; background: rgba(212,175,55,0.1); border: 1px solid var(--border-gold); color: var(--gold); font-size: 0.78rem; font-weight: 600; border-radius: 6px; text-decoration: none; transition: var(--transition); flex-shrink: 0; }
.ptv-notification-action:hover { background: rgba(212,175,55,0.2); }

/* Settings */
.ptv-settings-section { background: rgba(255,255,255,0.02); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; }
.ptv-settings-subtitle { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.ptv-toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-dark); cursor: pointer; }
.ptv-toggle-row:last-of-type { border-bottom: none; }
.ptv-toggle-label { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.ptv-toggle-desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.ptv-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.ptv-toggle-switch input { opacity: 0; width: 0; height: 0; }
.ptv-toggle-switch .ptv-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.1); border-radius: 24px; transition: 0.3s; }
.ptv-toggle-switch .ptv-toggle-slider::before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.ptv-toggle-switch input:checked + .ptv-toggle-slider { background: var(--gold); }
.ptv-toggle-switch input:checked + .ptv-toggle-slider::before { transform: translateX(20px); }

/* Profile page responsive */
@media (max-width: 991px) {
    .ptv-profile-sidebar { position: static; margin-bottom: 20px; }
    .ptv-profile-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .ptv-profile-nav-item { flex: 1; justify-content: center; min-width: 100px; }
}
@media (max-width: 768px) {
    .ptv-profile-content { padding: 16px; }
    .ptv-profile-section-title { font-size: 1rem; }
    .ptv-sub-card { padding: 16px; }
    .ptv-sub-card-header { flex-direction: column; gap: 10px; }
    .ptv-sub-details { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ptv-settings-section { padding: 14px; }
    .ptv-toggle-row { flex-direction: row; }
    .ptv-table { font-size: 0.78rem; }
    .ptv-table th, .ptv-table td { padding: 8px 10px; }
    .ptv-notification-item { flex-wrap: wrap; }
    .ptv-notification-action { margin-left: 48px; }
}
@media (max-width: 480px) {
    .ptv-profile-nav-item { font-size: 0.78rem; padding: 8px 10px; }
    .ptv-profile-nav-item span { display: none; }
    .ptv-profile-nav-item i { font-size: 1rem; }
    .ptv-sub-details { grid-template-columns: 1fr; }
    .ptv-table { font-size: 0.72rem; }
    .ptv-table th, .ptv-table td { padding: 6px 8px; }
    .ptv-history-item { flex-direction: column; gap: 8px; }
    .ptv-history-thumb { width: 100%; height: 120px; }
    .ptv-download-item { flex-direction: column; gap: 8px; text-align: center; }
    .ptv-download-thumb { margin: 0 auto; }
    .ptv-download-actions { justify-content: center; }
}

/* ============================================
   PRICING PAGE
   ============================================ */
.ptv-pricing-page { background: var(--bg-primary); }
.ptv-plan-badge-free { background: rgba(46,204,113,0.9); color: #fff; }
.ptv-plan-header { margin-bottom: 16px; }
.ptv-plan-desc { color: var(--text-secondary); font-size: 0.82rem; margin-bottom: 16px; }
.ptv-price-currency { color: var(--gold); font-size: 1.1rem; font-weight: 700; vertical-align: top; }
.ptv-price-amount { color: var(--text-primary); font-size: 2.8rem; font-weight: 900; }
.ptv-price-period { color: var(--text-secondary); font-size: 0.85rem; display: block; margin-top: 4px; }
.ptv-pricing-section { margin-bottom: 48px; padding-top: 20px; }

/* Gateway cards */
.ptv-gateway-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 20px 12px; background: rgba(212,175,55,0.04);
    border: 1px solid var(--border-dark); border-radius: var(--radius-md);
    transition: var(--transition); text-align: center;
}
.ptv-gateway-card:hover { border-color: var(--border-gold); background: rgba(212,175,55,0.08); }
.ptv-gateway-card img { max-height: 40px; width: auto; }
.ptv-gateway-icon { font-size: 2rem; color: var(--gold); }
.ptv-gateway-name { font-size: 0.82rem; color: var(--text-secondary); font-weight: 600; }

/* Testimonials */
.ptv-testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border-dark);
    border-radius: var(--radius-md); padding: 24px; height: 100%;
    transition: var(--transition);
}
.ptv-testimonial-card:hover { border-color: var(--border-gold); }
.ptv-testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.ptv-testimonial-message { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.ptv-testimonial-author { display: flex; align-items: center; gap: 12px; }
.ptv-testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: rgba(212,175,55,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ptv-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ptv-testimonial-avatar i { font-size: 1.5rem; color: var(--gold); }
.ptv-testimonial-name { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.ptv-testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* FAQ */
.ptv-faq-container { max-width: 800px; margin: 0 auto; }
.ptv-faq-item { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; transition: var(--transition); }
.ptv-faq-item:hover { border-color: var(--border-gold); }
.ptv-faq-question {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: 16px 20px; background: none; border: none; color: var(--text-primary);
    font-size: 0.92rem; font-weight: 600; text-align: left; cursor: pointer; transition: var(--transition);
}
.ptv-faq-question:hover { color: var(--gold); }
.ptv-faq-icon { transition: transform 0.3s ease; color: var(--gold); }
.ptv-faq-item .collapse.show .ptv-faq-icon { transform: rotate(180deg); }
.ptv-faq-answer { padding: 0 20px 16px; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

/* Pricing responsive */
@media (max-width: 768px) {
    .ptv-price-amount { font-size: 2.2rem; }
    .ptv-testimonial-card { padding: 18px; }
    .ptv-faq-question { font-size: 0.85rem; padding: 14px 16px; }
    .ptv-faq-answer { font-size: 0.82rem; padding: 0 16px 14px; }
}
@media (max-width: 480px) {
    .ptv-plan-card { padding: 20px 14px; }
    .ptv-price-amount { font-size: 1.8rem; }
    .ptv-gateway-card { padding: 14px 8px; }
    .ptv-testimonial-card { padding: 14px; }
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.ptv-search-page { background: var(--bg-primary); }

/* Search bar */
.ptv-search-bar-wrap { max-width: 700px; margin: 0 auto; }
.ptv-search-bar-form { display: flex; align-items: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: 12px; padding: 8px 8px 8px 16px; transition: var(--transition); }
.ptv-search-bar-form:focus-within { border-color: var(--gold); box-shadow: 0 0 20px rgba(212,175,55,0.1); }
.ptv-search-bar-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.ptv-search-bar-input { flex: 1; background: none; border: none; color: var(--text-primary); font-size: 0.95rem; font-family: var(--font-main); outline: none; }
.ptv-search-bar-input::placeholder { color: var(--text-muted); }

/* Filter sidebar */
.ptv-filter-sidebar { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 20px; }
.ptv-filter-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.ptv-filter-group { margin-bottom: 20px; }
.ptv-filter-group:last-child { margin-bottom: 0; }
.ptv-filter-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.ptv-filter-options { display: flex; flex-direction: column; gap: 4px; }
.ptv-filter-option { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; color: var(--text-secondary); font-size: 0.82rem; text-decoration: none; transition: var(--transition); }
.ptv-filter-option:hover { background: rgba(212,175,55,0.08); color: var(--text-primary); }
.ptv-filter-option.active { background: rgba(212,175,55,0.12); color: var(--gold); font-weight: 600; }
.ptv-filter-option i { width: 16px; text-align: center; font-size: 0.8rem; }

/* Trending searches */
.ptv-trending-searches { display: flex; flex-wrap: wrap; gap: 8px; }
.ptv-trending-search-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(212,175,55,0.06); border: 1px solid var(--border-dark); border-radius: 20px; color: var(--text-secondary); font-size: 0.78rem; text-decoration: none; transition: var(--transition); }
.ptv-trending-search-item:hover { background: rgba(212,175,55,0.12); border-color: var(--border-gold); color: var(--gold); }
.ptv-trending-search-item i { font-size: 0.7rem; color: var(--gold); }

/* Results info */
.ptv-results-info { color: var(--text-secondary); font-size: 0.85rem; }

/* Search responsive */
@media (max-width: 991px) {
    .ptv-search-bar-form { flex-wrap: wrap; }
    .ptv-search-bar-input { min-width: 200px; }
}
@media (max-width: 768px) {
    .ptv-filter-sidebar { padding: 16px; }
    .ptv-search-bar-input { font-size: 0.88rem; }
    .ptv-search-bar-form .ptv-cta-btn { font-size: 0.8rem; padding: 8px 20px; }
}
@media (max-width: 480px) {
    .ptv-search-bar-form { flex-direction: column; gap: 8px; padding: 12px; }
    .ptv-search-bar-icon { display: none; }
    .ptv-search-bar-input { width: 100%; text-align: center; }
    .ptv-search-bar-form .ptv-cta-btn { width: 100%; justify-content: center; }
    .ptv-filter-option { font-size: 0.78rem; padding: 6px 10px; }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.ptv-checkout-page { background: var(--bg-primary); min-height: 100vh; padding-top: calc(var(--navbar-height) + 20px); }
.ptv-checkout-header { margin-bottom: 24px; }
.ptv-checkout-alert { background: rgba(46,204,113,0.08); border: 1px solid rgba(46,204,113,0.2); border-radius: var(--radius-sm); padding: 12px 16px; color: #2ecc71; font-size: 0.85rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.ptv-checkout-card { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: 24px; }
.ptv-checkout-card-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }

/* Order summary */
.ptv-order-summary { display: flex; flex-direction: column; gap: 0; }
.ptv-order-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border-dark); gap: 12px; }
.ptv-order-plan-name { flex: 1; }
.ptv-order-plan-name strong { color: var(--text-primary); font-size: 0.95rem; }
.ptv-order-plan-desc { margin-top: 4px; }
.ptv-order-plan-price { color: var(--gold); font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.ptv-order-detail-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.03); }
.ptv-order-detail-row:last-child { border-bottom: none; }
.ptv-order-detail-row span:last-child { color: var(--text-primary); font-weight: 600; }

/* Coupon */
.ptv-coupon-row { display: flex; gap: 10px; align-items: center; }
.ptv-coupon-message { padding: 10px 14px; border-radius: 8px; font-size: 0.82rem; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.ptv-coupon-success { background: rgba(46,204,113,0.1); color: #2ecc71; border: 1px solid rgba(46,204,113,0.2); }
.ptv-coupon-error { background: rgba(231,76,60,0.1); color: #e74c3c; border: 1px solid rgba(231,76,60,0.2); }
.ptv-coupon-loading { background: rgba(241,196,15,0.1); color: #f1c40f; border: 1px solid rgba(241,196,15,0.2); }

/* Payment options */
.ptv-payment-option { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-dark); border-radius: 10px; cursor: pointer; transition: var(--transition); margin-bottom: 8px; }
.ptv-payment-option:hover { border-color: var(--border-gold); background: rgba(212,175,55,0.04); }
.ptv-payment-radio { accent-color: var(--gold); width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; }
.ptv-payment-option-content { display: flex; align-items: center; gap: 12px; flex: 1; }
.ptv-payment-icon { font-size: 1.4rem; color: var(--gold); }
.ptv-payment-logo { max-height: 32px; width: auto; }
.ptv-payment-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.ptv-payment-desc { font-size: 0.75rem; color: var(--text-muted); }
.ptv-payment-check { color: #2ecc71; font-size: 1.1rem; }
.ptv-payment-insufficient { font-size: 0.72rem; color: #e74c3c; font-weight: 600; }

/* Summary sidebar */
.ptv-checkout-summary-card { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-md); padding: 24px; position: sticky; top: calc(var(--navbar-height) + 20px); }
.ptv-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.88rem; color: var(--text-secondary); }
.ptv-summary-divider { border: none; border-top: 1px solid var(--border-dark); margin: 12px 0; }
.ptv-summary-total { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.ptv-summary-total span:first-child { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.ptv-summary-total span:last-child { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.ptv-checkout-secure { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--text-muted); font-size: 0.78rem; margin-top: 14px; }
.ptv-checkout-secure i { color: #2ecc71; }
.ptv-checkout-features { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-dark); }
.ptv-checkout-features div { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); }
.ptv-checkout-features i { color: #2ecc71; font-size: 0.75rem; }

/* Checkout responsive */
@media (max-width: 768px) {
    .ptv-checkout-card { padding: 18px; }
    .ptv-checkout-summary-card { position: static; padding: 18px; }
    .ptv-payment-option { padding: 12px; }
    .ptv-payment-option-content { flex-wrap: wrap; gap: 8px; }
    .ptv-coupon-row { flex-direction: column; }
    .ptv-coupon-row .ptv-form-input { width: 100%; }
    .ptv-coupon-row .ptv-btn-outline-gold { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .ptv-checkout-card { padding: 14px; }
    .ptv-checkout-summary-card { padding: 14px; }
    .ptv-order-item { flex-direction: column; gap: 6px; }
    .ptv-order-plan-price { text-align: left; }
    .ptv-payment-option { padding: 10px; }
    .ptv-payment-icon { font-size: 1.2rem; }
    .ptv-payment-name { font-size: 0.85rem; }
    .ptv-summary-total span:last-child { font-size: 1.1rem; }
    .ptv-checkout-features div { font-size: 0.75rem; }
}

/* ============================================
   ADVERTISEMENT STYLES
   ============================================ */
.ptv-ad-container {
    margin: 20px 0;
    text-align: center;
}

.ptv-ad-unit {
    display: inline-block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.12);
    max-width: 100%;
}

.ptv-ad-unit img,
.ptv-ad-unit video {
    display: block;
    border-radius: 10px;
}

.ptv-ad-label {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
}

.ptv-ad-banner-wrap .ptv-ad-unit {
    width: 100%;
    max-width: 970px;
    aspect-ratio: 970 / 250;
}

.ptv-ad-infeed-wrap .ptv-ad-unit {
    width: 100%;
    max-width: 728px;
    aspect-ratio: 728 / 90;
}

.ptv-ad-sidebar .ptv-ad-unit {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 300 / 250;
}

/* Popup / Interstitial Ad */
.ptv-popup-ad-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.ptv-popup-ad-box {
    position: relative;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ptv-popup-ad-box .ptv-ad-unit {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: none;
    border-radius: 16px;
}

.ptv-popup-ad-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ptv-popup-ad-close:hover {
    background: rgba(212, 175, 55, 0.8);
    color: #000;
}

@media (max-width: 768px) {
    .ptv-ad-banner-wrap .ptv-ad-unit {
        aspect-ratio: 320 / 100;
    }
    .ptv-ad-infeed-wrap .ptv-ad-unit {
        aspect-ratio: 320 / 100;
    }
    .ptv-popup-ad-box {
        max-width: 90vw;
    }
}

/* ============================================
   STAR RATING UI
   ============================================ */
.ptv-rate-stars {
    display: inline-flex;
    gap: 6px;
    font-size: 1.8rem;
}

.ptv-rate-star {
    color: #555;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
}

.ptv-rate-star:hover {
    transform: scale(1.15);
}

.ptv-rate-star.ptv-star-active,
.ptv-rate-star.ptv-star-selected {
    color: #D4AF37;
}

.ptv-star-empty {
    color: #444 !important;
    opacity: 0.5;
}

.ptv-review-stars {
    font-size: 0.95rem;
    color: #D4AF37;
    letter-spacing: 1px;
}

.ptv-review-stars .ptv-star-empty {
    color: #555 !important;
    opacity: 0.4;
}

/* ============================================
   MODAL STYLING (rate/review modals)
   ============================================ */
.ptv-modal-content {
    background: var(--bg-secondary, #1a1410);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: var(--text-primary, #fff);
}

.ptv-modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1rem 1.5rem;
}

.ptv-modal-header .modal-title {
    color: var(--text-primary, #fff);
    font-weight: 700;
    font-size: 1.1rem;
}

.ptv-modal-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1rem 1.5rem;
}

.ptv-form-label {
    color: var(--text-secondary, #aaa);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.ptv-form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text-primary, #fff);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.ptv-form-input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.ptv-form-input::placeholder {
    color: #666;
}

.ptv-btn-outline-gold {
    background: transparent;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ptv-btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
}
