/* ==========================================================================
   CLICK LANDING PAGE - ULTRA-CINEMATIC ENLARGED VIDEO PLAYER STYLING
   ========================================================================== */

:root {
    --bg-dark: #08090d;
    --card-bg: rgba(18, 22, 34, 0.94);
    --player-bg: #000000;
    --accent-red: #ff2a5f;
    --accent-red-glow: rgba(255, 42, 95, 0.4);
    --accent-gold: #ffb800;
    --accent-blue: #00d2ff;
    --text-main: #f0f2f8;
    --text-muted: #8c96ab;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 42, 95, 0.22) 0%, transparent 60%),
        radial-gradient(circle at 100% 50%, rgba(0, 210, 255, 0.12) 0%, transparent 50%);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.45;
    min-height: 100vh;
    padding-bottom: 40px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announcement-bar {
    background: linear-gradient(90deg, #161a29 0%, #291528 50%, #161a29 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 12px;
    text-align: center;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-live {
    background: rgba(255, 42, 95, 0.2);
    color: var(--accent-red);
    border: 1px solid rgba(255, 42, 95, 0.4);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-live i {
    font-size: 0.45rem;
    animation: blink 1.2s infinite ease-in-out;
}

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

.text-gold {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   ENLARGED MAIN CONTAINER & CARD
   -------------------------------------------------------------------------- */
.main-wrapper {
    padding: 12px 6px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1280px; /* ENLARGED FULL CINEMATIC WIDTH */
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 42, 95, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.video-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.stream-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.tag-hd {
    background: linear-gradient(135deg, #ff2a5f 0%, #b8003f 100%);
    color: #fff;
    font-weight: 800;
}

.tag-status {
    background: rgba(255, 184, 0, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 184, 0, 0.3);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   ENLARGED VIDEO PLAYER CONTAINER (HERO DISPLAY)
   -------------------------------------------------------------------------- */
.player-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 480px; /* ENLARGED HEIGHT ON DESKTOP */
    background-color: var(--player-bg);
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.player-media-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #000000;
}

.player-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none !important;
}

.player-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.02) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    pointer-events: none;
}

/* UNMUTE FLOATING PROMPT */
.unmute-banner {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 15, 26, 0.94);
    border: 1.5px solid var(--accent-red);
    backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 42, 95, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: floatAnim 3s infinite ease-in-out;
    max-width: 90%;
}

.unmute-banner.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -10px);
}

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

.unmute-icon-wrap {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 42, 95, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 1rem;
}

.unmute-text {
    display: flex;
    flex-direction: column;
}

.unmute-text strong {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.unmute-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.pulse-icon {
    animation: pulseScale 1s infinite alternate;
}

@keyframes pulseScale {
    from { transform: scale(1); }
    to { transform: scale(1.25); }
}

/* CENTER PLAY BUTTON */
.play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.play-btn-wrapper.playing {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.play-btn-pulse {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--accent-red-glow);
    animation: ripple 1.8s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.big-play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2a5f 0%, #d4003b 100%);
    border: 3px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(255, 42, 95, 0.6);
    transition: all 0.3s ease;
    padding-left: 5px;
}

.player-container:hover .big-play-btn, 
.player-container:active .big-play-btn {
    transform: scale(1.1);
    box-shadow: 0 15px 45px rgba(255, 42, 95, 0.8);
}

/* BUFFERING OVERLAY */
.buffering-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.buffering-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

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

.buffering-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

/* WATERMARK BADGE */
.watermark-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.wm-tag {
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.wm-hd {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 700;
}

/* CUSTOM VIDEO CONTROLS BAR */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 70%, transparent 100%);
    padding: 12px 18px 10px 18px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-container {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff2a5f, #ff7b00);
    border-radius: 3px;
    position: relative;
}

.progress-thumb {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 13px;
    height: 13px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}

.left-controls, .right-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.control-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.control-btn:hover {
    color: var(--accent-red);
}

.time-display {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-slider {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.volume-level {
    height: 100%;
    background: #ffffff;
}

.hd-btn {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.hd-toggle {
    font-weight: 800;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1px 6px;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   CTA BUTTON SECTION
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 22px 18px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.main-cta-btn {
    width: 100%;
    max-width: 720px;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ff2a5f 0%, #e00038 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 42, 95, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.25s ease;
    touch-action: manipulation;
}

.main-cta-btn:hover, .main-cta-btn:active {
    transform: scale(1.02);
    box-shadow: 0 14px 40px rgba(255, 42, 95, 0.65);
    background: linear-gradient(135deg, #ff3b6d 0%, #f5003d 100%);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.main-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-subtext {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SCENE GALLERY THUMBNAILS
   -------------------------------------------------------------------------- */
.scenes-section {
    padding: 20px 18px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.scene-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    background: #000000;
    touch-action: manipulation;
}

.scene-card.video-type {
    border-color: rgba(0, 210, 255, 0.5);
}

.scene-card:hover, .scene-card:active, .scene-card.active {
    border-color: var(--accent-red);
    box-shadow: 0 5px 18px rgba(255, 42, 95, 0.4);
}

.scene-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}

.badge-video-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background: linear-gradient(135deg, #00d2ff, #0072ff);
    color: #fff;
    font-weight: 800;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.scene-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scene-time {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   COMMENTS SECTION
   -------------------------------------------------------------------------- */
.comments-section {
    padding: 20px 18px;
}

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

.comments-header h2 {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.online-indicator {
    font-size: 0.75rem;
    color: #00e676;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-item {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px;
    border-radius: var(--radius-md);
}

.comment-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.comment-author {
    font-weight: 700;
    font-size: 0.88rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-icon {
    color: #00d2ff;
    font-size: 0.78rem;
}

.comment-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.comment-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

.comment-actions {
    display: flex;
    gap: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.like-btn, .reply-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.card-footer {
    padding: 18px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------------
   MOBILE BREAKPOINTS - ENLARGED HIGH QUALITY VIDEO DISPLAY
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .main-wrapper {
        padding: 4px 2px;
    }

    .player-container {
        aspect-ratio: 16 / 10;
        min-height: 310px; /* ENLARGED TALLER VIDEO PLAYER ON MOBILE */
    }

    .scenes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .main-cta-btn {
        font-size: 0.95rem;
        padding: 15px 16px;
        border-radius: 40px;
    }

    .unmute-banner {
        width: 94%;
        padding: 7px 14px;
    }

    .unmute-icon-wrap {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.82rem;
    }

    .unmute-text strong {
        font-size: 0.76rem;
    }

    .unmute-text span {
        font-size: 0.64rem;
    }

    .big-play-btn {
        width: 76px;
        height: 76px;
        font-size: 1.7rem;
    }

    .play-btn-pulse {
        width: 96px;
        height: 96px;
    }

    .volume-control {
        display: none;
    }

    .card-header {
        padding: 12px 14px;
    }
}
