:root {
    /* Enhanced Color Palette */
    --primary-color: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --secondary-light: #f9a8d4;
    --accent-color: #14b8a6;
    --accent-dark: #0d9488;
    --accent-light: #5eead4;
    
    /* Background Colors */
    --background-dark: #0f0f23;
    --background-dark-secondary: #1a1a2e;
    --background-light: #f8fafc;
    --background-light-secondary: #f1f5f9;
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --text-muted-dark: #64748b;
    --text-muted-light: #cbd5e1;
    
    /* Card Colors */
    --card-dark: #1e1e3f;
    --card-dark-hover: #252547;
    --card-light: #ffffff;
    --card-light-hover: #f8fafc;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-dark: #059669;
    --danger-color: #ef4444;
    --danger-dark: #dc2626;
    --warning-color: #f59e0b;
    --warning-dark: #d97706;
    --youtube-color: #ff0000;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-dark-secondary) 100%);
    color: var(--text-light);
    line-height: 1.6;
    transition: background var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
}

body.light-theme {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-light-secondary) 100%);
    color: var(--text-dark);
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Animated Background Elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.light-theme .main-nav {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.nav-logo h1 {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
    cursor: pointer;
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.light-theme .nav-links a {
    color: var(--text-dark);
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(30, 30, 63, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    flex-direction: column;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid rgba(124, 58, 237, 0.2);
}

.light-theme .mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    margin-bottom: 0.5rem;
}

.light-theme .mobile-menu a {
    color: var(--text-dark);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%),
        linear-gradient(rgba(15, 15, 35, 0.8), rgba(26, 26, 46, 0.9)),
        url('/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-content p {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted-light);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-pink);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-pink);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), var(--danger-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-youtube {
    background: linear-gradient(135deg, var(--youtube-color), #cc0000);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-youtube:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 0, 0, 0.3);
}

.btn i {
    margin-right: 0.625rem;
    font-size: 1.125rem;
}

/* Section Styling */
section {
    padding: 6rem 5%;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--text-muted-light);
    font-weight: 500;
}

.light-theme .section-header p {
    color: var(--text-muted-dark);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Featured Videos Section */
.featured-videos {
    background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.03) 100%);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--card-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.light-theme .video-card {
    background: var(--card-light);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

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

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-dark-secondary), var(--card-dark));
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.video-card:hover .video-play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button i {
    color: white;
    font-size: 1.75rem;
    margin-left: 4px;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.light-theme .video-title {
    color: var(--text-dark);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.light-theme .video-meta {
    color: var(--text-muted-dark);
}

.video-views i,
.video-date i {
    margin-right: 0.375rem;
    color: var(--primary-color);
}

/* Upload Section */
.upload-section {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, transparent 100%);
}

.upload-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-dark);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.upload-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.light-theme .upload-container {
    background: var(--card-light);
    box-shadow: var(--shadow-lg);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.light-theme .form-group label {
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group textarea {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(124, 58, 237, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-base);
    font-weight: 500;
}

.light-theme .form-group input[type="text"],
.light-theme .form-group textarea {
    border: 2px solid rgba(124, 58, 237, 0.2);
    background: rgba(124, 58, 237, 0.03);
    color: var(--text-dark);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.file-upload-container {
    position: relative;
    border: 3px dashed rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    transition: all var(--transition-base);
    background: rgba(124, 58, 237, 0.03);
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.08);
    transform: scale(1.01);
}

.file-upload-container input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.file-upload-label i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.file-upload-label span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-muted-light);
}

.light-theme .file-upload-label span {
    color: var(--text-muted-dark);
}

.selected-file {
    margin-top: 1.25rem;
    font-size: 1rem;
    color: var(--success-color);
    font-weight: 600;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.upload-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.upload-progress {
    display: none;
    margin-top: 1.5rem;
}

.progress-bar {
    height: 12px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

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

.progress-text {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--card-dark);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(124, 58, 237, 0.2);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.light-theme .modal-content {
    background: var(--card-light);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-close {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: var(--danger-color);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

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

.modal-body {
    padding: 2rem;
}

.video-player-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-description {
    margin: 1.5rem 0;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-muted-light);
}

.light-theme .video-description {
    color: var(--text-muted-dark);
}

.video-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(236, 72, 153, 0.03) 100%);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted-light);
    font-weight: 500;
}

.light-theme .about-text p {
    color: var(--text-muted-dark);
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-dark);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.light-theme .stat-card {
    background: var(--card-light);
    box-shadow: var(--shadow-md);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.light-theme .stat-label {
    color: var(--text-muted-dark);
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, var(--background-dark-secondary) 0%, #0a0a1a 100%);
    padding: 5rem 5% 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
}

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

.light-theme .main-footer {
    background: linear-gradient(180deg, var(--background-light-secondary) 0%, #e2e8f0 100%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}

.footer-logo p {
    color: var(--text-muted-light);
    font-weight: 500;
    font-size: 1.125rem;
}

.light-theme .footer-logo p {
    color: var(--text-muted-dark);
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.light-theme .footer-section h3 {
    color: var(--text-dark);
}

.footer-section a {
    color: var(--text-muted-light);
    text-decoration: none;
    transition: all var(--transition-base);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.light-theme .footer-section a {
    color: var(--text-muted-dark);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section a i {
    font-size: 1.125rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.light-theme .footer-bottom p {
    color: var(--text-muted-dark);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-xl);
    color: white;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.4s ease-out forwards;
    max-width: 400px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.toast.success {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
}

.toast.error {
    background: linear-gradient(135deg, var(--danger-color), var(--danger-dark));
}

.toast.info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.toast.warning {
    background: linear-gradient(135deg, var(--warning-color), var(--warning-dark));
}

.toast i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Skeleton Loading */
.skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        var(--card-dark) 0%,
        var(--card-dark-hover) 50%,
        var(--card-dark) 100%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.light-theme .skeleton {
    background: linear-gradient(
        90deg,
        var(--card-light) 0%,
        var(--card-light-hover) 50%,
        var(--card-light) 100%
    );
    background-size: 200% 100%;
}

.video-card.skeleton {
    height: 350px;
    border-radius: var(--radius-xl);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark-secondary);
}

.light-theme ::-webkit-scrollbar-track {
    background: var(--background-light-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-stats {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    section {
        padding: 5rem 4%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 3rem;
    }
    
    .upload-container {
        padding: 2rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    section {
        padding: 4rem 4%;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.875rem;
    }
    
    .upload-container {
        padding: 1.5rem;
    }
    
    .file-upload-container {
        padding: 2rem;
    }
    
    .toast-container {
        left: 1rem;
        right: 1rem;
    }
    
    .toast {
        max-width: 100%;
    }
    
    .modal-content {
        border-radius: var(--radius-xl);
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 5%;
    }
}


/* Authentication Styles */
.btn-admin {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-admin i {
    font-size: 1rem;
}

.auth-notice {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.auth-notice .notice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.auth-notice i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-notice h3 {
    font-size: 1.75rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-notice p {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    margin: 0;
}

.auth-notice .btn {
    margin-top: 0.5rem;
}

/* Responsive adjustments for admin button */
@media (max-width: 768px) {
    .btn-admin {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }
    
    .btn-admin span {
        display: none;
    }
    
    .btn-admin i {
        margin: 0;
    }
    
    .auth-notice {
        padding: 2rem 1.5rem;
    }
    
    .auth-notice i {
        font-size: 3rem;
    }
    
    .auth-notice h3 {
        font-size: 1.5rem;
    }
    
    .auth-notice p {
        font-size: 1rem;
    }
}

/* PVS Hero Banner Styles */
.pvs-hero {
    background: url('/img/pvs-banner.png') center center / cover no-repeat !important;
    background-attachment: fixed !important;
}

.pvs-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.pvs-hero .hero-content {
    position: relative;
    z-index: 2;
}

.pvs-hero::before {
    display: none;
}

/* Admin User Management Styles */
.admin-container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    color: var(--text-primary);
    font-size: 2rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.users-table-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.users-table th {
    padding: 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

.users-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.05);
}

.users-table td.actions {
    display: flex;
    gap: 0.5rem;
}

.users-table td.loading,
.users-table td.no-data {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.btn-icon {
    padding: 0.5rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    background: transparent;
    color: var(--text-primary);
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-icon.btn-warning {
    color: #f59e0b;
}

.btn-icon.btn-warning:hover {
    background: rgba(245, 158, 11, 0.1);
}

.btn-icon.btn-danger {
    color: #ef4444;
}

.btn-icon.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

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

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-normal);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions .btn {
    flex: 1;
}

/* User Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 2rem;
}

.login-box {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-secondary);
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-normal);
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.btn-block {
    width: 100%;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.login-footer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.back-link:hover {
    color: var(--secondary-color);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.form-group small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .admin-actions .btn {
        width: 100%;
    }
    
    .users-table {
        font-size: 0.875rem;
    }
    
    .users-table th,
    .users-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .login-box {
        padding: 2rem;
    }
}

/* User Login Button */
.btn-user {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-user:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
