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

/* ==========================================================================
   1. Design System Tokens & Base Reset
   ========================================================================== */
:root {
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Color Palette - Hybrid Dark/Light Theme */
  --bg-dark: #0f172a;       /* Slate 900 */
  --bg-dark-light: #1e293b; /* Slate 800 */
  --bg-light: #f8fafc;      /* Slate 50 */
  --bg-light-card: rgba(255, 255, 255, 0.85);
  
  --primary: #2563eb;       /* Electric Blue */
  --primary-glow: rgba(37, 99, 235, 0.15);
  --secondary: #4f46e5;     /* Indigo */
  --accent: #0d9488;        /* Teal */
  --success: #059669;       /* Emerald Green */
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass-dark: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.4);
  
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   3. Glassmorphism & Layouts
   ========================================================================== */
.glass-panel {
  background: var(--bg-light-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.premium-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   4. Glassmorphic Navigation Menu
   ========================================================================== */
.premium-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.premium-navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
}

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

.navbar-brand-link {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand-link img {
  height: 40px;
  width: 40px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link-item {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.nav-link-item:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.nav-link-item.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

/* Mobile Toggler */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    display: none;
    border-radius: 0 0 0 var(--radius-md);
  }
  
  .nav-links.active {
    display: flex;
  }
}

/* ==========================================================================
   5. Hero Section (Hybrid Dark Mode)
   ========================================================================== */
.premium-hero {
  position: relative;
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 10% 20%, rgba(90, 103, 216, 0.15) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.15) 0%, transparent 45%);
  padding: 160px 0 100px 0;
  color: var(--text-light);
  text-align: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #3b82f6;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-light);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 750px;
  margin: 0 auto 40px auto;
  color: var(--text-light-muted);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   6. Buttons & Interactions
   ========================================================================== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light) !important;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
}

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

.btn-premium-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light) !important;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 27px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-premium-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-dark) !important;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 27px;
  border-radius: var(--radius-md);
  border: 2px solid var(--text-dark);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-premium-dark-outline:hover {
  background: var(--text-dark);
  color: var(--text-light) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   7. Premium Cards (Features, Batches, etc.)
   ========================================================================== */
.premium-card {
  padding: 32px;
  border-radius: var(--radius-md);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

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

.card-icon-wrapper {
  height: 56px;
  width: 56px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.premium-card:hover .card-icon-wrapper {
  background: var(--primary);
  color: var(--text-light);
  transform: scale(1.05);
}

.card-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.badge-accent {
  background: rgba(13, 148, 136, 0.08);
  color: var(--accent);
}

.badge-success {
  background: rgba(5, 150, 105, 0.08);
  color: var(--success);
}

/* ==========================================================================
   8. Timeline Feed (Updates)
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 32px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 50%, var(--border-light) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-node {
  position: absolute;
  left: -32px;
  top: 4px;
  height: 18px;
  width: 18px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-node {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.2);
  transform: scale(1.15);
}

.timeline-content-card {
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.timeline-date {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ==========================================================================
   9. Performers and Results Grid
   ========================================================================== */
.performer-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-bounce);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.performer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.performer-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 110%; /* Aspect Ratio */
  background: #f1f5f9;
  overflow: hidden;
}

.performer-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.performer-card:hover .performer-img-wrapper img {
  transform: scale(1.05);
}

.performer-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.performer-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.performer-batch {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.performer-stats {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

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

.stat-val {
  font-weight: 700;
  color: var(--primary);
}

.stat-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

/* ==========================================================================
   10. Sections & Decorative Elements
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

.section-padding-large {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.highlight-banner {
  background: linear-gradient(135deg, var(--bg-dark-light) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 40px;
}

/* ==========================================================================
   11. Custom SVG Icons
   ========================================================================== */
.svg-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   12. Footer Styling
   ========================================================================== */
.premium-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 60px 0 30px 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  font-family: var(--font-title);
  color: var(--text-light);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-text {
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-title);
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link-item a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-link-item a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.95rem;
}

.footer-contact-info li {
  list-style: none;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-info svg {
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
