/* JAT TV - Premium Streaming Platform Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #FFD700;
    --gold-dark: #FFA500;
    --blue: #0A1A3E;
    --blue-light: #1a2a5e;
    --black: #000000;
    --white: #ffffff;
    --gray: #333333;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--black) 0%, var(--blue) 50%, var(--black) 100%);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, .logo-text, .tagline {
    font-family: 'Cinzel', serif;
}

/* ============================================
   INTRO OVERLAY
   ============================================ */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--blue) 0%, var(--black) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

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

/* Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: particleFloat 4s infinite ease-in-out;
    box-shadow: 0 0 10px var(--gold);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(var(--tx), var(--ty)) scale(1.5);
        opacity: 1;
    }
}

/* Logo Reveal */
.intro-content {
    text-align: center;
    z-index: 10001;
}

.logo-reveal {
    animation: logoReveal 2s ease-out forwards;
}

@keyframes logoReveal {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.logo-circle {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px var(--gold));
    animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px var(--gold));
    }
    50% {
        filter: drop-shadow(0 0 60px var(--gold));
    }
}

.logo-svg {
    width: 100%;
    height: 100%;
}

/* Tagline */
.tagline {
    font-size: 28px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-top: 30px;
    opacity: 0;
    animation: taglineFade 1s ease-in 2s forwards;
    text-shadow: 0 0 20px var(--gold);
}

@keyframes taglineFade {
    to {
        opacity: 1;
    }
}

/* Preview Clips */
.preview-clips {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    opacity: 0;
    animation: clipsFade 1s ease-in 3s forwards;
}

.clip-flash {
    font-size: 50px;
    animation: clipFlash 0.5s ease-in-out;
    animation-fill-mode: both;
}

.clip-flash:nth-child(1) { animation-delay: 3.2s; }
.clip-flash:nth-child(2) { animation-delay: 3.4s; }
.clip-flash:nth-child(3) { animation-delay: 3.6s; }
.clip-flash:nth-child(4) { animation-delay: 3.8s; }

@keyframes clipsFade {
    to { opacity: 1; }
}

@keyframes clipFlash {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; filter: drop-shadow(0 0 20px var(--gold)); }
}

/* ============================================
   MAIN INTERFACE
   ============================================ */
.main-interface {
    opacity: 0;
    transition: opacity 1s ease;
}

.main-interface.visible {
    opacity: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

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

.logo-small {
    width: 60px;
    height: 60px;
}

.logo-svg-small {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--gold));
}

.header-title h1 {
    font-size: 28px;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.header-subtitle {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-top: 5px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--gold);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px #ff0000; }
    50% { opacity: 0.5; box-shadow: 0 0 15px #ff0000; }
}

.live-text {
    font-weight: 700;
    color: #ff0000;
    font-size: 14px;
}

.viewer-count {
    color: var(--gold);
    font-size: 14px;
}

.header-right {
    display: flex;
    gap: 10px;
}

.header-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    padding: 30px 40px;
    max-width: 1800px;
    margin: 0 auto;
}

/* Player Section */
.player-section {
    background: linear-gradient(135deg, rgba(10, 26, 62, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Loader */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.loader.active {
    pointer-events: all;
}

.loader-letters {
    display: flex;
    gap: 20px;
}

.letter {
    font-family: 'Cinzel', serif;
    font-size: 80px;
    font-weight: 900;
    color: var(--gold);
    opacity: 0;
    animation: letterGlow 1.5s infinite ease-in-out;
    text-shadow: 0 0 30px var(--gold);
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.3s; }
.letter:nth-child(3) { animation-delay: 0.6s; }

@keyframes letterGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
        text-shadow: 0 0 10px var(--gold);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 50px var(--gold), 0 0 80px var(--gold);
    }
}

.loader-subtitle {
    margin-top: 20px;
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    background: var(--black);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

/* Watermark */
.watermark {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: help;
    animation: watermarkGlow 10s infinite;
}

@keyframes watermarkGlow {
    0%, 90%, 100% {
        filter: drop-shadow(0 0 5px var(--gold));
    }
    95% {
        filter: drop-shadow(0 0 20px var(--gold));
    }
}

.watermark:hover {
    opacity: 1;
    transform: scale(1.1);
}

.watermark-svg {
    width: 100%;
    height: 100%;
}

/* Main Video */
.main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Ad Container */
.ad-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 600;
}

.ad-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.ad-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--black);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    z-index: 601;
}

.ad-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ad-skip {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 602;
}

.skip-btn {
    background: rgba(255, 215, 0, 0.9);
    color: var(--black);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.skip-btn:disabled {
    background: rgba(255, 215, 0, 0.4);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

.skip-btn:hover:not(:disabled) {
    background: var(--gold);
    transform: scale(1.05);
}

/* Video Info Overlay */
.video-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 30px 20px 20px;
    z-index: 400;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.now-playing {
    color: var(--gold);
}

.playing-label {
    font-size: 14px;
    opacity: 0.8;
}

.playing-title {
    font-size: 20px;
    font-weight: 700;
    margin-left: 10px;
    text-shadow: 0 2px 10px var(--black);
}

.powered-by {
    font-size: 12px;
    color: var(--gold);
    opacity: 0.7;
}

/* Transition Overlay */
.transition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 700;
    opacity: 0;
}

.transition-overlay.active {
    opacity: 1;
}

.gold-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    animation: sweep 1s ease-in-out;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Video Controls */
.video-controls {
    margin-top: 20px;
}

.control-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.control-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.control-btn:active::after {
    width: 200px;
    height: 200px;
}

.control-btn:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.control-btn:active {
    transform: translateY(0) scale(0.95);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.volume-slider {
    width: 100px;
    height: 6px;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider:hover {
    background: rgba(255, 215, 0, 0.5);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.volume-slider::-webkit-slider-thumb:hover {
    width: 20px;
    height: 20px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.8);
}

.volume-slider::-webkit-slider-thumb:active {
    width: 18px;
    height: 18px;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.volume-slider::-moz-range-thumb:hover {
    width: 20px;
    height: 20px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.8);
}

.volume-slider::-moz-range-thumb:active {
    width: 18px;
    height: 18px;
}

/* Interaction Section */
.interaction-section {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    flex-wrap: wrap;
}

.interaction-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.interaction-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.interaction-btn:active::before {
    width: 300px;
    height: 300px;
}

.interaction-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--gold);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.interaction-btn:active {
    transform: translateY(0) scale(0.98);
}

.interaction-btn .icon {
    font-size: 18px;
}

.interaction-btn .count {
    background: rgba(255, 215, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.subscribe-btn {
    margin-left: auto;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    font-weight: 700;
}

.subscribe-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

/* Live Chat */
.live-chat {
    margin-top: 30px;
    background: rgba(10, 26, 62, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.chat-header h3 {
    font-size: 18px;
    color: var(--gold);
}

.chat-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-close:hover {
    transform: scale(1.2);
    color: var(--white);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 250px;
}

.chat-message {
    margin-bottom: 12px;
    padding: 10px 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.chat-message.system {
    background: rgba(255, 215, 0, 0.2);
    border-left-color: var(--gold-dark);
    font-style: italic;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(10, 26, 62, 0.8);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.chat-input {
    flex: 1;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.chat-input:focus {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.15);
}

.chat-send {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(135deg, rgba(10, 26, 62, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

/* Schedule List */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    transition: all 0.3s ease;
    cursor: pointer;
}

.schedule-item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(5px);
}

.schedule-time {
    font-size: 12px;
    color: var(--gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.schedule-title {
    font-size: 14px;
    color: var(--white);
    font-weight: 600;
}

.countdown {
    font-size: 11px;
    color: rgba(255, 215, 0, 0.7);
    margin-top: 5px;
}

/* Playlist Items */
.playlist-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 215, 0, 0.1);
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--gold);
}

.playlist-item.active {
    background: rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.playlist-number {
    width: 30px;
    height: 30px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.playlist-info {
    flex: 1;
}

.playlist-title-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}

.playlist-duration {
    font-size: 11px;
    color: rgba(255, 215, 0, 0.7);
}

/* Add Video Form */
.add-video-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-input {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.form-input:focus {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.15);
}

.form-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Analytics */
.analytics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

/* Ticker */
.ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 50%, var(--gold) 100%);
    color: var(--black);
    padding: 12px 0;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(255, 215, 0, 0.5);
}

.ticker-content {
    display: flex;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

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

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, var(--blue) 0%, var(--black) 100%);
    border-radius: 15px;
    border: 2px solid var(--gold);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(255, 215, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.modal-header h2 {
    color: var(--gold);
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--white);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.modal-success {
    color: #00ff00;
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}

/* Banner Ad */
.banner-ad {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
    z-index: 8000;
    display: none;
    align-items: center;
    gap: 15px;
}

.banner-ad-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ad-label-small {
    background: var(--black);
    color: var(--gold);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
}

.banner-ad-text {
    font-weight: 600;
    font-size: 14px;
}

.banner-ad-close {
    background: var(--black);
    color: var(--gold);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.banner-ad-close:hover {
    transform: scale(1.1);
    background: var(--white);
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.chat-messages::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        max-height: none;
    }

    .header {
        padding: 15px 20px;
    }

    .logo-circle {
        width: 250px;
        height: 250px;
    }

    .tagline {
        font-size: 22px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .header-center {
        order: -1;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .main-content {
        padding: 20px 15px;
    }

    .player-section,
    .sidebar {
        padding: 20px;
    }

    .logo-circle {
        width: 200px;
        height: 200px;
    }

    .tagline {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .preview-clips {
        gap: 15px;
    }

    .clip-flash {
        font-size: 35px;
    }

    .control-row {
        justify-content: center;
    }

    .volume-control {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .volume-slider {
        flex: 1;
    }

    .interaction-section {
        justify-content: center;
    }

    .subscribe-btn {
        margin-left: 0;
        width: 100%;
    }

    .watermark {
        width: 60px;
        height: 60px;
        top: 10px;
        right: 10px;
    }

    .ticker-content span {
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-title h1 {
        font-size: 20px;
    }

    .letter {
        font-size: 50px;
    }

    .loader-subtitle {
        font-size: 14px;
    }

    .playing-title {
        font-size: 16px;
    }

    .sidebar-title {
        font-size: 16px;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header h2 {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .intro-overlay,
    .ticker,
    .header-right,
    .live-chat,
    .interaction-section,
    .video-controls,
    .banner-ad {
        display: none !important;
    }
}
