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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1f1f1f;
    --bg-elevated: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b6b6b;
    --accent: #ff4757;
    --accent-hover: #ff3838;
    --accent-glow: rgba(255, 71, 87, 0.3);
    --border-color: #2a2a2a;
    --border-hover: #3a3a3a;
    --hover-bg: #1f1f1f;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Top neon glow effect - WHITE */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    animation: topGlowPulse 4s ease-in-out infinite;
}

@keyframes topGlowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.9;
        transform: scaleY(1.1);
    }
}

/* Additional top glow layer - WHITE */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
    animation: topGlowPulseInner 3s ease-in-out infinite;
}

@keyframes topGlowPulseInner {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Ensure content is above glow */
nav {
    position: relative;
    z-index: 10;
}

main {
    position: relative;
    z-index: 2;
}

footer {
    position: relative;
    z-index: 2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 14px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

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

.banner-link {
    color: white;
    display: block;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.banner-link:hover {
    color: white;
    transform: scale(1.02);
}

/* Navigation */
.navbar {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: rgba(20, 20, 20, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.logo:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord-icon {
    font-size: 18px;
}

.auth-links {
    display: flex;
    gap: 16px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}

/* Patreon Login Button */
.patreon-login-btn {
    background: linear-gradient(135deg, #FF424D 0%, #F1465B 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 66, 77, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.patreon-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.patreon-login-btn:hover {
    background: linear-gradient(135deg, #F1465B 0%, #FF424D 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 66, 77, 0.4);
}

.patreon-login-btn:hover::before {
    left: 100%;
}

.patreon-icon {
    font-size: 18px;
}

.patreon-login-btn-footer {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.patreon-login-btn-footer:hover {
    color: #FF424D;
}

/* Legacy signup-btn for backward compatibility */
.signup-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.signup-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.signup-btn:hover::before {
    left: 100%;
}

.nav-partners {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.partner-link {
    color: var(--text-secondary);
    opacity: 0.7;
}

.partner-link:hover {
    opacity: 1;
    color: var(--text-secondary);
}

/* Main Content */
.main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Video Section */
.video-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Player and Info Container */
.player-info-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

.video-player-wrapper {
    width: 100%;
}

/* Video Info Sidebar */
.video-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding-right: 8px;
}

.video-info-sidebar .video-stats {
    font-size: 14px;
    margin-bottom: 4px;
}

.video-info-sidebar .video-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.video-info-sidebar .info-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video-info-sidebar .info-section {
    padding: 16px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.video-info-sidebar .section-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.video-info-sidebar .video-tags {
    margin-top: 8px;
}

.video-info-sidebar .action-buttons {
    margin-top: 8px;
    flex-direction: column;
    gap: 8px;
}

.video-info-sidebar .action-btn {
    width: 100%;
    justify-content: center;
}

/* Horizontal Playlist */
.playlist-horizontal-container {
    margin-top: 40px;
    width: 100%;
}

.playlist-header-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.playlist-header-horizontal h2 {
    font-size: 24px;
    font-weight: 700;
}

.playlist-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.playlist-toggle:hover {
    background-color: var(--hover-bg);
}

.playlist-horizontal {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) var(--bg-primary);
}

.playlist-horizontal::-webkit-scrollbar {
    height: 8px;
}

.playlist-horizontal::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

.playlist-horizontal::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.playlist-horizontal::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
}

.playlist-item-horizontal {
    flex: 0 0 320px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.playlist-item-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.playlist-item-horizontal.active {
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.playlist-link-horizontal {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.playlist-thumbnail-horizontal {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-color: var(--bg-tertiary);
    overflow: hidden;
}

.playlist-thumbnail-horizontal img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-item-horizontal:hover .playlist-thumbnail-horizontal img {
    transform: scale(1.05);
}

.playlist-thumbnail-horizontal .playlist-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.playlist-info-horizontal {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.playlist-info-horizontal h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.playlist-info-horizontal .playlist-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.video-title-section {
    margin-bottom: 8px;
}

.video-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 3px;
    min-height: 60px;
}

.title-word {
    display: inline-block;
    margin-right: 6px;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease, transform 0.3s ease;
    cursor: default;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    pointer-events: auto;
}

/* Reveal letters only on hover over title container */
.video-title-section:hover .title-word {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-primary) !important;
    transition-delay: calc(var(--index) * 0.03s);
    pointer-events: auto;
    -webkit-text-fill-color: var(--text-primary) !important;
}

.video-title-section:hover .title-word:hover {
    color: var(--accent) !important;
    transform: translateY(-4px) scale(1.1);
    text-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
    filter: drop-shadow(0 0 8px var(--accent-glow));
    animation: neonGlow 1.5s ease-in-out infinite alternate;
    -webkit-text-fill-color: var(--accent) !important;
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow);
    }
    to {
        text-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow), 0 0 80px var(--accent-glow);
    }
}

.video-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.video-subtitle span {
    margin-right: 8px;
}

/* Video Player */
.video-player-container {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
}

/* Neon glow from video player - WHITE */
.video-player-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(100px);
    opacity: 0.8;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.video-player-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 30%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(60px);
    opacity: 0.7;
    animation: pulseGlowInner 2s ease-in-out infinite;
}

@keyframes pulseGlowInner {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    z-index: 1;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
    pointer-events: all;
}

.play-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

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

.play-btn:hover {
    transform: scale(1.15) rotate(5deg);
    background: white;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow);
}

.play-btn:hover::before {
    width: 120px;
    height: 120px;
}

/* Video Controls */
.video-controls {
    padding: 16px;
    background-color: var(--bg-secondary);
}

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

.control-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-glow);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    opacity: 0;
}

.control-btn:hover {
    background-color: var(--hover-bg);
    transform: scale(1.1);
    color: var(--accent);
}

.control-btn:hover::before {
    width: 40px;
    height: 40px;
    opacity: 0.3;
}

.progress-container {
    flex: 1;
    position: relative;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: height 0.3s ease;
}

.progress-container:hover {
    height: 10px;
}

.progress-bar {
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    z-index: 2;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--accent-glow);
    border: 2px solid white;
}

.progress-container:hover .progress-bar::-webkit-slider-thumb {
    opacity: 1;
    transform: scale(1.2);
}

.progress-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::-moz-range-thumb {
    opacity: 1;
}

.progress-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    border-radius: 4px;
    transition: width 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.progress-container:hover .progress-buffered {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
}

.progress-played {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        var(--accent) 0%,
        var(--accent-hover) 100%
    );
    border-radius: 4px;
    transition: width 0.1s linear;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.5);
}

.progress-container:hover .progress-played {
    box-shadow: 0 0 12px rgba(255, 71, 87, 0.7);
}

.time-display {
    font-size: 14px;
    color: var(--text-secondary);
    min-width: 100px;
    text-align: right;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--bg-tertiary);
    border-radius: 2px;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Video Options */
.video-options {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.option-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-btn {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
    transition: left 0.5s ease;
}

.option-btn:hover {
    background-color: var(--hover-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.option-btn:hover::before {
    left: 100%;
}

.option-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
    color: white;
}

.download-btn, .report-btn {
    background-color: transparent;
}

/* Video Info - removed, now using video-info-sidebar */

.video-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.video-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.info-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-section:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* Creator images optimization */
.creator-link img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
}

.creator-list, .music-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.creator-link, .music-link {
    color: var(--text-secondary);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.creator-link::before, .music-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height 0.3s ease;
}

.creator-link:hover, .music-link:hover {
    color: var(--accent);
    background-color: var(--bg-tertiary);
    transform: translateX(4px);
    padding-left: 16px;
}

.creator-link:hover::before, .music-link:hover::before {
    height: 60%;
}

.music-link {
    flex-direction: column;
    align-items: flex-start;
}

.music-title {
    font-weight: 500;
}

.music-artist {
    font-size: 13px;
    opacity: 0.7;
}

.view-all-btn {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

.video-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-glow);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    opacity: 0;
}

.tag:hover {
    background-color: var(--hover-bg);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.tag:hover::before {
    width: 100px;
    height: 100px;
    opacity: 0.2;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover {
    background-color: var(--hover-bg);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.action-btn:hover::before {
    left: 100%;
}

.donate-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.4);
}

.donate-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    color: white;
    box-shadow: 0 6px 24px rgba(255, 71, 87, 0.5);
    transform: translateY(-3px) scale(1.02);
}

/* Playlist Sidebar */
.playlist-sidebar {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    height: fit-content;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    align-self: start;
}

.playlist-sidebar:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 71, 87, 0.1);
    border-color: var(--border-hover);
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.playlist-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.playlist-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.playlist-toggle:hover {
    background-color: var(--hover-bg);
}

.playlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.playlist-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
}

.playlist-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-item:hover {
    background-color: var(--hover-bg);
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.playlist-item:hover::before {
    opacity: 1;
}

.playlist-item.active {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-elevated));
    border: 1px solid var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.playlist-item.active::before {
    opacity: 1;
}

.playlist-link {
    display: flex;
    gap: 12px;
    padding: 8px;
    color: var(--text-primary);
}

.playlist-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.playlist-item:hover .playlist-thumbnail {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-item:hover .playlist-thumbnail img {
    transform: scale(1.1);
}

.playlist-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.playlist-info h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.playlist-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    border-top: 1px solid var(--border-color);
    padding: 64px 24px 32px;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
}

.footer-logo-link {
    font-size: 24px;
    font-weight: 700;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 13px;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 71, 87, 0.2);
    backdrop-filter: blur(20px);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.4);
}

.modal-btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
}

.modal-btn.secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-btn.secondary:hover {
    background-color: var(--hover-bg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
}

/* Videos Page */
.videos-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.videos-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.videos-header h1 {
    font-size: 36px;
    font-weight: 700;
}

.videos-controls {
    display: flex;
    gap: 12px;
}

.filter-btn {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--hover-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.video-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.video-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-color: var(--bg-tertiary);
    overflow: hidden;
}

.video-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-card-thumbnail img {
    transform: scale(1.05);
}

.video-card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-card-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.video-card-info {
    padding: 16px;
}

.video-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Creators Page */
.creators-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.creators-header {
    text-align: center;
    margin-bottom: 48px;
}

.creators-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.creators-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.creator-card {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.creator-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.creator-card:hover .creator-avatar {
    border-color: var(--accent);
}

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

.creator-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.creator-bio {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.creator-stats {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.creator-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.creator-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 71, 87, 0.4);
}

/* Active nav link */
.nav-link.active {
    color: var(--accent);
    position: relative;
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .player-info-container {
        grid-template-columns: 1fr;
    }
    
    .video-info-sidebar {
        position: static;
        max-height: none;
    }
    
    .playlist-horizontal {
        gap: 16px;
    }
    
    .playlist-item-horizontal {
        flex: 0 0 280px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-main {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .auth-links {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .nav-partners {
        width: 100%;
        justify-content: center;
    }
    
    .video-title {
        font-size: 28px;
    }
    
    .info-sections {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

