@import url('https://fonts.googleapis.com/css2?family=Staatliches&family=VT323&display=swap');

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

body {
    background: #0a0a0a;
    font-family: 'VT323', monospace;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

.container {
    position: relative;
    width: 95vw;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

/* CRT TV Frame */
.tv-frame {
    position: relative;
    flex: 1;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 
        0 0 80px rgba(0, 0, 0, 0.9),
        inset 0 0 40px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

.tv-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        inset 0 0 50px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.05);
}

/* Video Player */
#player {
    width: 100%;
    height: 100%;
    position: relative;
}

#player iframe {
    pointer-events: auto;
}

/* CRT Effects */
.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Scan lines */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scanline 8s linear infinite;
    opacity: 0.5;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* Screen flicker */
.flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 16, 16, 0.1);
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 0.027; }
    50% { opacity: 0.08; }
}

/* Vignette */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.9);
}

/* MTV Logo */
.mtv-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    animation: logoGlow 3s ease-in-out infinite;
    cursor: pointer;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 107, 0, 0.8)); }
}

/* Info Button */
.info-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #666;
    color: #ffd700;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
}

.tv-screen:hover .info-btn {
    opacity: 1;
    pointer-events: auto;
}

.info-btn:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

/* Welcome Modal - FIXED FOR ALL VIEWPORT SIZES */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-content h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    text-align: center;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.modal-content p {
    font-family: 'VT323', monospace;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.4;
    color: #ccc;
    margin-bottom: 1rem;
    text-align: center;
    flex-shrink: 1;
}

.modal-features {
    font-family: 'VT323', monospace;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #ffd700;
    margin: 1rem 0;
    padding-left: 2rem;
    flex-shrink: 1;
}

.modal-features li {
    margin: 0.4rem 0;
}

.modal-credits {
    font-family: 'VT323', monospace;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #888;
    text-align: center;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #333;
    flex-shrink: 1;
}

.modal-credits a {
    color: #ffd700;
    text-decoration: none;
}

.modal-credits a:hover {
    text-decoration: underline;
}

.modal-disclaimer {
    font-family: 'VT323', monospace;
    font-size: clamp(0.75rem, 1.8vw, 0.8rem);
    color: #888;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    line-height: 1.4;
    flex-shrink: 1;
}

.modal-disclaimer strong {
    color: #ffd700;
}

.modal-disclaimer a {
    color: #ffd700;
    text-decoration: none;
}

.modal-disclaimer a:hover {
    text-decoration: underline;
}

.modal-enter-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    border: none;
    color: #000;
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    padding: 0.9rem 2.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: block;
    margin: 1rem auto 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    white-space: nowrap;
}

.modal-enter-btn:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0080 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.6);
}

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

/* 14" MacBook Pro and similar screens at 100% zoom */
@media (max-height: 900px) {
    .modal-content {
        padding: 1.25rem;
        max-height: 80vh;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-content p {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-features {
        font-size: 1rem;
        margin: 0.75rem 0;
    }
    
    .modal-enter-btn {
        padding: 0.75rem 2rem;
        margin-top: 0.75rem;
    }
}

/* Very short screens (landscape or highly zoomed) */
@media (max-height: 700px) {
    .modal-content {
        padding: 1rem;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-features {
        font-size: 0.95rem;
        margin: 0.5rem 0;
    }
    
    .modal-features li {
        margin: 0.25rem 0;
    }
    
    .modal-credits {
        font-size: 0.9rem;
        margin: 0.75rem 0;
        padding-top: 0.75rem;
    }
    
    .modal-disclaimer {
        font-size: 0.75rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .modal-enter-btn {
        font-size: 1.1rem;
        padding: 0.65rem 1.75rem;
        margin-top: 0.5rem;
    }
}

.hidden {
    display: none;
}

/* MOBILE DONATION MODAL */
.mobile-donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.mobile-donation-modal.show {
    display: flex;
}

.mobile-donation-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    max-width: 400px;
    width: 95%;
    box-shadow: 
        0 0 80px rgba(255, 215, 0, 0.5),
        0 0 120px rgba(255, 107, 0, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modal-glow 3s ease-in-out infinite;
}

@keyframes modal-glow {
    0%, 100% {
        box-shadow: 
            0 0 80px rgba(255, 215, 0, 0.5),
            0 0 120px rgba(255, 107, 0, 0.3),
            inset 0 0 40px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 
            0 0 100px rgba(255, 215, 0, 0.7),
            0 0 160px rgba(255, 107, 0, 0.5),
            inset 0 0 60px rgba(0, 0, 0, 0.5);
    }
}

.mobile-donation-content h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: 1.8rem;
    text-align: center;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: text-glow 2s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
    }
}

.mobile-donation-content p {
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mobile-donation-content .highlight {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    display: inline-block;
}

.mobile-donation-btn {
    background: linear-gradient(135deg, #FFDD00 0%, #FBB034 100%);
    border: none;
    color: #000;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 50px rgba(255, 215, 0, 0.9);
    }
}

.mobile-donation-btn:active {
    transform: scale(0.95);
}

.mobile-skip-btn {
    background: transparent;
    border: 2px solid #666;
    color: #888;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.mobile-skip-btn:active {
    border-color: #ffd700;
    color: #ffd700;
}

@media (min-width: 1025px) {
    .mobile-donation-modal {
        display: none !important;
    }
}

@media (max-width: 1366px), (hover: none) and (pointer: coarse) {
    .guilt-message,
    .guilt-message-bottom,
    .floating-coffee-btn {
        display: none !important;
    }
}

/* Volume Control */
.volume-control {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 10px;
    border-radius: 12px;
    border: 2px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tv-frame:hover .volume-control {
    opacity: 1;
    pointer-events: all;
}

.volume-icon {
    font-size: 1.2rem;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 6px;
    background: linear-gradient(to right, #333 0%, #ffd700 0%);
    border-radius: 5px;
    outline: none;
    transform: rotate(-90deg);
    margin: 25px 0;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border: 2px solid #ff6b00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffd700;
    border: 2px solid #ff6b00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

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

.volume-percentage {
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    color: #ffd700;
    font-weight: bold;
}

@media (max-width: 768px) {
    .volume-control {
        right: 10px;
        padding: 15px 10px;
    }
    
    .volume-slider {
        width: 80px;
        margin: 30px 0;
    }
}

@media (max-width: 1024px) {
    .volume-control {
        display: none !important;
    }
}

/* Control Panel */
.control-panel {
    width: 320px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    max-height: 90vh;
}

.control-panel::-webkit-scrollbar {
    width: 8px;
}

.control-panel::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 10px;
}

.control-panel::-webkit-scrollbar-thumb {
    background: #ff6b00;
    border-radius: 10px;
}

.panel-header {
    font-family: 'Staatliches', sans-serif;
    font-size: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.channel-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.channel-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #333;
    color: #fff;
    padding: 1rem;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.channel-btn:hover {
    border-color: #ffd700;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.channel-btn.active {
    border-color: #ff6b00;
    background: linear-gradient(135deg, #ff6b00 0%, #ff0080 100%);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
}

.video-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    color: #ffd700;
}

.channel-info-icon {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffd700;
    cursor: help;
    z-index: 5;
    transition: all 0.3s ease;
}

.channel-info-icon:hover {
    background: rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.global-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 1.5rem;
    width: 400px;
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.6),
        0 0 100px rgba(255, 107, 0, 0.4);
    z-index: 100000;
    display: none;
}

.global-tooltip.show {
    display: block;
}

.global-tooltip p {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #ccc;
    margin: 0;
}

.global-tooltip a {
    color: #ffd700;
    text-decoration: none;
}

.global-tooltip a:hover {
    text-decoration: underline;
}

.now-playing {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: auto;
}

.now-playing h3 {
    font-family: 'Staatliches', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.now-playing p {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #ccc;
}

.video-counter {
    font-size: 1rem;
    color: #888;
    margin-top: 0.5rem;
}

.database-stats {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
}

.database-stats h4 {
    font-family: 'Staatliches', sans-serif;
    font-size: 1rem;
    color: #ffd700;
    margin-bottom: 0.3rem;
    line-height: 1.1;
}

.database-stats p {
    font-size: 0.95rem;
    color: #ccc;
    margin: 0.15rem 0;
    line-height: 1.3;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'VT323', monospace;
    font-size: 3rem;
    color: #ffd700;
    z-index: 30;
    animation: blink 1s infinite;
    text-align: center;
}

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

.video-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 25;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tv-screen:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    border: 2px solid #ffd700;
    color: #000;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.control-btn:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0080 100%);
    border-color: #ff0080;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.control-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

/* Guilt Trip Messages */
.guilt-message {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 31;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    max-width: 800px;
    padding: 0 2rem;
}

.tv-screen:hover .guilt-message {
    opacity: 1;
}

.guilt-message h3 {
    font-family: 'VT323', monospace;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 215, 0, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.9);
    margin: 0;
    line-height: 1.4;
    font-weight: normal;
    white-space: nowrap;
}

.guilt-message p {
    display: none;
}

.guilt-message-bottom {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 31;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    max-width: 550px;
    padding: 0 2rem;
}

.tv-screen:hover .guilt-message-bottom {
    opacity: 1;
}

.guilt-message-bottom p {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 
        0 0 12px rgba(255, 215, 0, 0.8),
        0 3px 6px rgba(0, 0, 0, 0.9);
    margin: 0;
}

.floating-coffee-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #FFDD00 0%, #FBB034 100%);
    color: #000;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 30px rgba(255, 221, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    animation: mega-pulse-glow 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes mega-pulse-glow {
    0%, 100% {
        box-shadow: 
            0 8px 30px rgba(255, 221, 0, 0.6),
            0 0 60px rgba(255, 215, 0, 0.5),
            inset 0 2px 10px rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 
            0 10px 40px rgba(255, 221, 0, 0.8),
            0 0 100px rgba(255, 215, 0, 0.7),
            inset 0 2px 15px rgba(255, 255, 255, 0.4);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.tv-screen:hover .floating-coffee-btn {
    opacity: 1;
    pointer-events: all;
}

.floating-coffee-btn:hover {
    box-shadow: 
        0 12px 50px rgba(255, 221, 0, 0.9),
        0 0 120px rgba(255, 215, 0, 0.8),
        inset 0 2px 20px rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #FBB034 0%, #FFDD00 100%);
    transform: translate(-50%, -50%) scale(1.1);
}

.floating-coffee-btn:active {
    transform: translate(-50%, -50%) scale(1);
}

.mobile-video-controls {
    display: none;
}

/* ============================================================================ */
/* EASTER EGG PLAYLIST FEATURE */
/* ============================================================================ */

.playlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: none;
}

.playlist-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    height: 80vh;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 3px solid #ffd700;
    border-radius: 20px;
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.6),
        0 0 100px rgba(255, 107, 0, 0.4),
        inset 0 0 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.playlist-header {
    padding: 1.5rem;
    border-bottom: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 215, 0, 0.05);
}

.playlist-header h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.playlist-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #666;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.playlist-close:hover {
    background: rgba(255, 107, 0, 0.3);
    border-color: #ff6b00;
    transform: rotate(90deg);
}

.playlist-body {
    flex: 1;
    padding: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#playlistList {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: scroll !important;
    flex: 1;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #ffd700 transparent;
}

/* Custom scrollbar for playlist */
#playlistList::-webkit-scrollbar {
    width: 8px;
}

#playlistList::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

#playlistList::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700 0%, #ff8c00 100%);
    border-radius: 10px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#playlistList::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffed4e 0%, #ffa500 100%);
    opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
    #playlistList::-webkit-scrollbar-thumb {
        opacity: 1;
    }
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.playlist-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: translateX(5px);
}

.playlist-number {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: #ffd700;
    min-width: 30px;
    font-weight: bold;
}

.playlist-link {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: #ccc;
    text-decoration: none;
    word-break: break-all;
    flex: 1;
    transition: color 0.3s ease;
}

.playlist-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.playlist-footer {
    padding: 1rem;
    border-top: 2px solid #333;
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
}

.playlist-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 120px;
}

.scroll-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    text-transform: uppercase;
}

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

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

.copy-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0080 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.clear-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #666;
}

.clear-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff6b6b;
}

.playlist-hint {
    padding: 0.75rem;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: #888;
    border-top: 1px solid #222;
}

.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b00 100%);
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
        padding: 0;
        gap: 0;
        width: 100vw;
    }
    
    .tv-frame {
        border-radius: 0;
        padding: 0;
        height: 60vh;
    }
    
    .tv-screen {
        border-radius: 0;
    }
    
    .mtv-logo {
        max-width: 85px;
        top: 10px;
        right: 10px;
    }
    
    .info-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        bottom: 10px;
        right: 10px;
        opacity: 0;
        pointer-events: none;
    }
    
    .tv-screen:active .info-btn,
    .tv-frame:active .info-btn {
        opacity: 1;
        pointer-events: auto;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 2rem;
    }
    
    .modal-content p {
        font-size: 1.1rem;
    }
    
    .modal-features {
        font-size: 1.1rem;
        padding-left: 1rem;
    }
    
    .modal-enter-btn {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }
    
    .video-controls {
        display: none;
    }
    
    .mobile-video-controls {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 0.75rem 0;
        margin: 0;
    }
    
    .panel-header {
        display: none;
    }
    
    .database-stats {
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .database-stats h4 {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .database-stats p {
        font-size: 0.75rem;
        margin: 0.05rem 0;
        line-height: 1.2;
    }
    
    .control-btn {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }
    
    .guilt-message {
        top: 22%;
        padding: 0 1rem;
    }
    
    .guilt-message h3 {
        font-size: 1.5rem;
    }
    
    .guilt-message-bottom {
        top: 62%;
        padding: 0 1rem;
    }
    
    .guilt-message-bottom p {
        font-size: 1.2rem;
    }
    
    .floating-coffee-btn {
        font-size: 1.3rem;
        padding: 0.75rem 1.3rem;
    }
    
    .control-panel {
        width: 100%;
        max-height: 50vh;
        border-radius: 0;
        padding: 1rem;
        padding-top: 0.5rem;
        overflow-y: auto;
    }
    
    .global-tooltip {
        width: 90%;
        max-width: 350px;
        padding: 1rem;
    }
    
    .global-tooltip p {
        font-size: 1rem;
    }
    
    .playlist-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .playlist-header h2 {
        font-size: 1.5rem;
    }
    
    .playlist-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .playlist-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .playlist-btn {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
    
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .tv-frame {
        height: 50vh;
    }
    
    .mtv-logo {
        max-width: 75px;
        top: 8px;
        right: 8px;
    }
    
    .video-controls {
        bottom: 0.75rem;
        gap: 0.4rem;
    }
    
    .control-btn {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .panel-header {
        font-size: 1.5rem;
    }
    
    .channel-btn {
        padding: 0.75rem;
        font-size: 1.2rem;
    }
    
    .control-panel {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .mtv-logo {
        max-width: 65px;
        top: 6px;
        right: 6px;
    }
    
    .video-controls {
        bottom: 0.5rem;
        gap: 0.3rem;
    }
    
    .control-btn {
        font-size: 0.9rem;
        padding: 0.35rem 0.7rem;
    }
    
    .panel-header {
        font-size: 1.3rem;
    }
    
    .channel-btn {
        padding: 0.6rem;
        font-size: 1.1rem;
    }
    
    .now-playing {
        padding: 1rem;
    }
    
    .now-playing h3 {
        font-size: 1.2rem;
    }
    
    .now-playing p {
        font-size: 1rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .tv-frame {
        height: 100vh;
    }
    
    .control-panel {
        display: none;
    }
    
    .mtv-logo {
        max-width: 55px;
        top: 5px;
        right: 5px;
    }
    
    .video-controls {
        opacity: 1;
        bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .control-btn {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}
