:root {
    --bg-main: #0B0B0F;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-navbar: rgba(11, 11, 15, 0.75);
    
    --primary: #8C5CE7;
    --primary-hover: #7b4edf;
    --primary-glow: rgba(140, 92, 231, 0.4);
    
    --accent: #E50914; /* Netflix Red accent */
    --accent-hover: #f40612;
    --accent-glow: rgba(229, 9, 20, 0.4);

    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
    --text-dark: #62627A;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(140, 92, 231, 0.3);
    
    --transition-speed: 0.3s;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* Ambient glow system */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(140, 92, 231, 0.15) 0%, rgba(229, 9, 20, 0.05) 50%, transparent 100%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
    transition: background 1s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==============================================================
   NAVBAR
   ============================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.nav.scrolled {
    height: 70px;
    background-color: rgba(11, 11, 15, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav__left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.nav__logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(140, 92, 231, 0.4);
}

.nav__logo-icon.small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav__logo-text .accent {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #B88CF2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav__link:hover, .nav__link.active {
    color: var(--text-main);
}

.nav__link.active {
    position: relative;
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    border-radius: 2px;
}

.nav__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__search, .nav__notif {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-speed);
    position: relative;
    border: 1px solid transparent;
}

.nav__search:hover, .nav__notif:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.notif-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.nav__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: border-color var(--transition-speed);
}

.nav__avatar:hover {
    border-color: var(--primary);
}

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

/* ==============================================================
   HERO SECTION
   ============================================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 0 6%;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 1;
    transition: background-image 0.8s ease-in-out;
}

.hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, var(--bg-main) 10%, rgba(11, 11, 15, 0.85) 30%, rgba(11, 11, 15, 0.4) 60%, transparent 100%),
                linear-gradient(to top, var(--bg-main) 0%, rgba(11, 11, 15, 0.5) 40%, transparent 100%);
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    margin-top: 50px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.badge-live {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px var(--accent); }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__match {
    color: #00E676;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero__year, .hero__duration {
    color: var(--text-muted);
}

.hero__rating {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero__quality {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero__quality.hdr {
    border-color: #FFA000;
    color: #FFA000;
}

.hero__desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, #B88CF2 100%);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(140, 92, 231, 0.6);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--glass {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn--icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn--icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero__genres {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__genres .dot {
    color: rgba(255, 255, 255, 0.15);
}

/* Floating particles */
.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: floatUp 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 35%; animation-delay: 2s; animation-duration: 18s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 60%; animation-delay: 5s; animation-duration: 14s; }
.particle:nth-child(4) { left: 75%; animation-delay: 1s; animation-duration: 20s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 90%; animation-delay: 8s; animation-duration: 16s; }

@keyframes floatUp {
    0% { transform: translateY(105vh) translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-5vh) translateX(50px); opacity: 0; }
}

/* ==============================================================
   CATALOG GRID
   ============================================================== */
.catalog {
    padding: 20px 6%;
    position: relative;
    z-index: 4;
}

.catalog__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.catalog__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog__title i {
    color: var(--primary);
}

.catalog__see-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-speed);
}

.catalog__see-all:hover {
    gap: 12px;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Movie Card */
.movie-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(140, 92, 231, 0.15);
}

.movie-card__img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.movie-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-speed);
}

.movie-card:hover .movie-card__img {
    transform: scale(1.05);
}

.movie-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 11, 15, 0.9) 0%, rgba(11, 11, 15, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-speed);
}

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

.movie-card__play {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    transform: scale(0.8);
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.movie-card:hover .movie-card__play {
    transform: scale(1);
}

.movie-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(140, 92, 231, 0.95);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-card__info {
    padding: 18px;
}

.movie-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.movie-card__match {
    color: #00E676;
    font-weight: 700;
}

/* ==============================================================
   FEATURES / TRUST SECTION
   ============================================================== */
.features {
    padding: 60px 6%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    background: linear-gradient(to bottom, transparent, rgba(140, 92, 231, 0.03));
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-speed);
}

.feature-card:hover {
    border-color: rgba(140, 92, 231, 0.2);
    background-color: rgba(255, 255, 255, 0.04);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: rgba(140, 92, 231, 0.1);
    border: 1px solid rgba(140, 92, 231, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==============================================================
   FOOTER
   ============================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 6% 30px;
    background-color: #08080C;
}

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

.footer__brand {
    max-width: 320px;
}

.footer__tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.footer__socials a:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.footer__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.footer__links a:hover {
    color: var(--text-main);
}

.footer__copyright {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==============================================================
   PLAYER OVERLAY & VIEWPORT
   ============================================================== */
.player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050507;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.player-overlay__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.player-overlay__close {
    position: absolute;
    top: 30px;
    left: 4%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1010;
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed);
}

.player-overlay__close:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(-4px);
}

.player-viewport {
    width: 90vw;
    max-width: 1100px;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(140, 92, 231, 0.15);
    z-index: 1002;
    transition: filter 0.5s ease;
}

/* YouTube wrapper to hide details */
.player-yt {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    pointer-events: none;
    opacity: 0.8;
}

.player-yt iframe {
    width: 100%;
    height: 100%;
}

/* Pre-play Cover Poster */
.player-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.player-cover__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) blur(5px);
    transform: scale(1.05);
}

.player-cover__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.player-cover__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.player-cover__sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.player-cover__play {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #B88CF2 100%);
    color: white;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 6px;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 40px var(--primary-glow);
    margin: 0 auto 20px;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-cover__play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(140, 92, 231, 0.7);
}

.player-cover__hint {
    color: var(--text-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Buffering/Loading system */
.player-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 15, 0.95);
    z-index: 15;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.player-loading__spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(140, 92, 231, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 20px;
}

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

.player-loading__status {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* Custom Controls styling */
.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 30px 25px 20px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.player-viewport:hover .player-controls {
    opacity: 1;
    transform: translateY(0);
}

.player-controls__timeline {
    width: 100%;
    height: 5px;
    cursor: pointer;
    position: relative;
}

.timeline-bar {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    transition: height 0.1s ease;
}

.player-controls__timeline:hover .timeline-bar {
    height: 7px;
}

.timeline-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 3px;
    position: relative;
}

.timeline-handle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%) scale(0);
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease;
}

.player-controls__timeline:hover .timeline-handle {
    transform: translate(50%, -50%) scale(1);
}

.player-controls__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-controls__left, .player-controls__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s;
}

.ctrl-btn:hover {
    color: var(--primary);
    transform: scale(1.15);
}

.ctrl-time {
    font-size: 0.85rem;
    font-weight: 500;
}

.ctrl-movie-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.ctrl-badge {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

/* ==============================================================
   CPA LOCKER SYSTEM
   ============================================================== */
.cpa-locker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1015;
    background-color: rgba(0, 0, 0, 0.92);
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
    padding: 20px;
}

.cpa-locker ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.cpa-locker__card {
    width: 90%;
    max-width: 520px;
    background-color: #0B0B0F;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(140, 92, 231, 0.12);
    position: relative;
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

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

.cpa-locker__shield {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(140, 92, 231, 0.1);
    border: 1px solid rgba(140, 92, 231, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(140, 92, 231, 0.15);
}

.cpa-locker__header {
    text-align: center;
    margin-bottom: 25px;
}

.cpa-locker__header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cpa-locker__header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cpa-locker__header p strong {
    color: var(--text-main);
}

.cpa-locker__instructions {
    background-color: rgba(140, 92, 231, 0.08);
    border: 1px solid rgba(140, 92, 231, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.85rem;
    color: #C0B0E5;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 25px;
}

.cpa-locker__instructions i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cpa-locker__offers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    max-height: 320px;
    overflow-y: auto;
}

.cpa-locker__offers::-webkit-scrollbar {
    width: 4px;
}
.cpa-locker__offers::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.offers-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
}

/* Offer layout styles */
.offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
}

.offer:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(140, 92, 231, 0.3);
    transform: translateY(-2px);
}

.offer__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.offer__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.offer__icon.purple { background-color: rgba(140, 92, 231, 0.15); color: var(--primary); }
.offer__icon.emerald { background-color: rgba(0, 230, 118, 0.12); color: #00E676; }
.offer__icon.amber { background-color: rgba(255, 160, 0, 0.12); color: #FFA000; }

.offer__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.offer__name {
    font-size: 0.95rem;
    font-weight: 600;
}

.offer__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.offer__tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.offer__tag.fast { background-color: rgba(140, 92, 231, 0.15); color: #B88CF2; }
.offer__tag.easy { background-color: rgba(0, 230, 118, 0.15); color: #00E676; }
.offer__tag.popular { background-color: rgba(255, 160, 0, 0.15); color: #FFA000; }

.offer__arrow {
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: color 0.2s, transform 0.2s;
}

.offer:hover .offer__arrow {
    color: var(--text-main);
    transform: translateX(2px);
}

/* Status checking bar */
.cpa-locker__status {
    display: none;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #8DF7C1;
}

.pulse-ring {
    width: 14px;
    height: 14px;
    background-color: #00E676;
    border-radius: 50%;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #00E676;
    animation: ringPulse 1.5s infinite ease-out;
}

@keyframes ringPulse {
    0% { width: 100%; height: 100%; opacity: 0.8; }
    100% { width: 300%; height: 300%; opacity: 0; }
}

.cpa-locker__footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
}

.cpa-locker__footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==============================================================
   LIVE SOCIAL PROOF TOAST
   ============================================================== */
.live-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(14, 14, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 380px;
    backdrop-filter: blur(10px);
}

.live-toast.active {
    transform: translateY(0);
    opacity: 1;
}

.live-toast__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 230, 118, 0.1);
    color: #00E676;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.live-toast__content {
    display: flex;
    flex-direction: column;
}

.live-toast__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #00E676;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-toast__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.live-toast__text strong {
    color: var(--text-main);
}

.live-toast__text em {
    color: var(--primary);
    font-style: normal;
    font-weight: 600;
}

/* ==============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================== */
@media (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
    }
    .nav__menu {
        display: none; /* simple hidden for mobile, focus on premium UI look */
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 4%;
        height: 70px;
    }
    .hero {
        height: auto;
        min-height: auto;
        padding: 100px 4% 50px;
    }
    .hero__title {
        font-size: 2.2rem;
    }
    .hero__desc {
        font-size: 0.95rem;
    }
    .hero__actions {
        flex-wrap: wrap;
    }
    .catalog {
        padding: 20px 4%;
    }
    .features {
        padding: 40px 4%;
    }
    .footer {
        padding: 40px 4% 30px;
    }
    .player-overlay__close {
        top: 15px;
        left: 15px;
    }
    .player-viewport {
        width: 96vw;
        border-radius: 12px;
    }
    .cpa-locker__card {
        padding: 25px 20px;
    }
    .live-toast {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}
