@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Vibrant Brand Colors */
  --primary: #0082c8;
  --primary-gradient: linear-gradient(135deg, #0082c8 0%, #00d2ff 100%);
  --accent-red: #e31837;
  --accent-red-gradient: linear-gradient(135deg, #e31837 0%, #ff4b2b 100%);
  --accent-yellow: #ffb400;
  
  /* Glassmorphism & Surface Colors */
  --bg-base: #f4f7f6;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-solid: #ffffff;
  --border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  /* Text */
  --text-main: #1a202c;
  --text-muted: #4a5568;
  
  /* Radii & Shadows */
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-hover: 0 20px 40px -10px rgba(0, 130, 200, 0.2);
  
  --max-w: 1200px;
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Blobs */
body::before, body::after {
  content: '';
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  animation: float 20s infinite alternate ease-in-out;
}

body::before {
  background: radial-gradient(circle, #00d2ff 0%, rgba(0,210,255,0) 70%);
  top: -10vw;
  left: -20vw;
}

body::after {
  background: radial-gradient(circle, #ffb400 0%, rgba(255,180,0,0) 70%);
  bottom: -20vw;
  right: -10vw;
  animation-delay: -10s;
  opacity: 0.2;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 10%) scale(1.1); }
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main { flex: 1; }

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { 
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img { height: 60px; transition: transform 0.3s; }
.brand:hover img { transform: scale(1.05); }

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 130, 200, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 130, 200, 0.4);
}

.btn-accent {
  background: var(--accent-red-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227, 24, 55, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Video Player Container */
.video-player-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: #000;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.5);
  transform: translateZ(0);
}

.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#main-player-info {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: -2rem !important;
  position: relative;
  z-index: 10;
  box-shadow: var(--glass-shadow);
  max-width: 900px !important;
}

/* Section */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { position: relative; display: inline-block; padding-bottom: 1rem; }
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 4px;
}

/* Video Grid & Cards */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.video-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 130, 200, 0.3);
}

.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #cbd5e1;
  overflow: hidden;
}

.video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover .video-thumb img {
  transform: scale(1.08);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,130,200,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
}

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

.play-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-card:hover .play-icon { transform: scale(1); }

.play-icon::before {
  content: '';
  display: block;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid white;
  margin-left: 6px;
}

.video-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

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

.video-date {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* Featured Upcoming Section */
.featured-upcoming {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s ease;
}
.featured-upcoming:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Badges */
.badge-live {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-red-gradient);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(227, 24, 55, 0.3);
}

.badge-live::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* About & Contact Forms */
.about-content, .contact-form, .contact-info {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.9);
  border: 1px solid #cbd5e1;
  transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,130,200,0.1);
}

/* Footer */
footer {
  background: #0f172a;
  color: white;
  padding: 5rem 0 2rem;
  margin-top: auto;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--primary-gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h3 { color: white; margin-bottom: 1.5rem; }
.footer-col p { color: #94a3b8; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94a3b8; transition: color 0.3s ease; }
.footer-links a:hover { color: white; }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #64748b;
}

/* Status */
.status-msg {
  text-align: center;
  padding: 3rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0,0,0,0.1);
  color: var(--text-muted);
  font-weight: 500;
}
.loader {
  border: 4px solid rgba(0,130,200,0.1);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 2rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-hover);
    gap: 0;
  }
  .nav-links.active { display: flex; }
  .nav-links a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-links a::after { display: none; }
  .mobile-menu-btn { display: block; }
  
  .about-content, .contact-form, .contact-info { padding: 2rem; }
  #main-player-info { margin-top: 1rem !important; }
  
  /* Make badges smaller on mobile to prevent overlapping */
  .badge-live {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.7rem !important;
    top: 10px;
    left: 10px;
  }
}
