:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #ff6b6b;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --bg-nav: rgba(10, 10, 15, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(231, 76, 60, 0.3);
    --gradient-1: linear-gradient(135deg, #e74c3c, #ff6b6b, #ee5a24);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--glow-color);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="light"] {
    --bg-dark: #f5f5f7; --bg-card: #ffffff; --bg-card-hover: #f0f0f5;
    --bg-nav: rgba(255, 255, 255, 0.95); --text-primary: #1a1a2e;
    --text-secondary: #555570; --text-muted: #8888a0;
    --border-color: rgba(0, 0, 0, 0.08); --glow-color: rgba(231, 76, 60, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; background: var(--bg-dark); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.bg-animation { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-animation .particle { position: absolute; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; opacity: 0.15; animation: floatParticle linear infinite; }
.bg-animation .particle:nth-child(1) { left: 10%; animation-duration: 20s; animation-delay: 0s; }
.bg-animation .particle:nth-child(2) { left: 20%; animation-duration: 25s; animation-delay: -5s; width: 6px; height: 6px; }
.bg-animation .particle:nth-child(3) { left: 35%; animation-duration: 22s; animation-delay: -10s; }
.bg-animation .particle:nth-child(4) { left: 50%; animation-duration: 28s; animation-delay: -3s; width: 3px; height: 3px; }
.bg-animation .particle:nth-child(5) { left: 65%; animation-duration: 24s; animation-delay: -8s; width: 5px; height: 5px; }
.bg-animation .particle:nth-child(6) { left: 75%; animation-duration: 21s; animation-delay: -12s; }
.bg-animation .particle:nth-child(7) { left: 85%; animation-duration: 26s; animation-delay: -6s; width: 7px; height: 7px; }
.bg-animation .particle:nth-child(8) { left: 95%; animation-duration: 23s; animation-delay: -15s; }
@keyframes floatParticle { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 0.15; } 90% { opacity: 0.15; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } }
.navbar { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--bg-nav); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); transition: var(--transition); }
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-placeholder { width: 40px; height: 40px; border-radius: 10px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; }
.site-title { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu { display: flex; list-style: none; gap: 8px; }
.nav-item a { padding: 8px 20px; border-radius: 8px; font-weight: 500; font-size: 0.95rem; color: var(--text-secondary); position: relative; transition: var(--transition); }
.nav-item a:hover, .nav-item a.active { color: var(--text-primary); background: rgba(231, 76, 60, 0.1); }
.nav-item a.active::after { content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: var(--primary); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.social-icons { display: flex; gap: 4px; }
.social-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--text-secondary); transition: var(--transition); font-size: 1rem; }
.social-icon:hover { color: var(--primary); background: rgba(231, 76, 60, 0.1); transform: translateY(-2px); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 100px 24px 60px; overflow: hidden; }
.hero-content { text-align: center; z-index: 2; max-width: 800px; }
.hero-title { font-family: 'Orbitron', sans-serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.gradient-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); font-family: inherit; }
.btn-primary { background: var(--gradient-1); color: white; box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; border-radius: 10px; }
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulseGlow 4s ease-in-out infinite; z-index: 0; }
@keyframes pulseGlow { 0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); } }
.live-section, .latest-section, .videos-section, .stats-section { padding: 80px 0; }
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.live-badge-container { display: flex; align-items: center; gap: 8px; }
.live-badge { background: #ff0000; color: white; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.live-text { color: #ff0000; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; }
.new-badge { background: var(--gradient-1); color: white; padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 700; }
.view-all { margin-left: auto; color: var(--primary); font-weight: 600; font-size: 0.95rem; }
.view-all:hover { color: var(--primary-light); }
.live-player { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); position: relative; padding-bottom: 56.25%; height: 0; }
.live-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.live-info { margin-top: 24px; padding: 24px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border-color); }
.live-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.live-info p { color: var(--text-secondary); }
.latest-video-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); }
.latest-video-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.latest-thumbnail { position: relative; overflow: hidden; min-height: 300px; }
.latest-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.latest-video-card:hover .latest-thumbnail img { transform: scale(1.05); }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: var(--transition); }
.latest-thumbnail:hover .play-overlay, .video-card:hover .play-overlay { opacity: 1; }
.play-btn { width: 70px; height: 70px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; transition: var(--transition); box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5); }
.play-btn:hover { transform: scale(1.1); background: var(--primary-dark); }
.latest-content { padding: 40px 40px 40px 0; display: flex; flex-direction: column; justify-content: center; }
.latest-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.latest-desc { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.latest-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.latest-meta span { color: var(--text-muted); font-size: 0.9rem; }
.latest-meta span i { margin-right: 6px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); cursor: pointer; }
.video-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.video-thumbnail { position: relative; padding-bottom: 56.25%; overflow: hidden; }
.video-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-card:hover .video-thumbnail img { transform: scale(1.08); }
.video-info { padding: 16px; }
.video-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.video-date { color: var(--text-muted); font-size: 0.85rem; }
.video-date i { margin-right: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { background: var(--bg-card); border-radius: var(--radius); padding: 32px; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); }
.stat-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.stat-icon { font-size: 2.5rem; margin-bottom: 16px; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-number { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.stat-label { color: var(--text-secondary); font-size: 0.9rem; }
.footer { background: var(--bg-card); border-top: 1px solid var(--border-color); padding: 60px 0 0; margin-top: 40px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-brand h3 { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; margin-bottom: 12px; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { color: var(--text-secondary); margin-bottom: 20px; }
.footer-logo { width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--text-secondary); transition: var(--transition); }
.footer-social-icon:hover { color: var(--primary); background: rgba(231, 76, 60, 0.1); transform: translateY(-3px); }
.footer-links h4 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; color: var(--text-primary); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.design-credit { color: var(--text-muted) !important; font-size: 0.85rem !important; }
.design-credit strong { color: var(--primary) !important; }
.loading { display: flex; justify-content: center; padding: 60px; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--border-color); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.toast-container { position: fixed; top: 90px; right: 24px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 24px; border-radius: 10px; color: white; font-weight: 500; font-size: 0.9rem; animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s; box-shadow: var(--shadow-lg); }
.toast-success { background: #27ae60; }
.toast-error { background: #e74c3c; }
.toast-info { background: #3498db; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(50px); } }
@media (max-width: 1024px) { .latest-video-card { grid-template-columns: 1fr; } .latest-content { padding: 24px; } .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-nav); backdrop-filter: blur(20px); flex-direction: column; padding: 20px; gap: 4px; transform: translateY(-120%); transition: var(--transition); border-bottom: 1px solid var(--border-color); }
    .nav-menu.open { transform: translateY(0); }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-title { font-size: 2rem; }
    .social-icons { display: none; }
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } .video-grid { grid-template-columns: 1fr; } .hero-buttons { flex-direction: column; align-items: center; } }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
