/*
Theme Name: Maveeranal
Theme URI: https://ttn.tv/
Author: TTN.TV
Author URI: https://ttn.tv/
Description: A special remembrance theme for Tamil Eelam Maveerar Naal - dedicated to honoring the heroes with emotional design, live streaming capabilities, and Tamil language support. This theme is designed for international live telecast of the remembrance event.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maveeranal
Domain Path: /languages
Tags: custom-background, custom-header, custom-menu, featured-images, translation-ready, live-streaming, remembrance, memorial
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

:root {
  --bg: #000000;
  --card: #000000;
  --text: #f6f6f4;
  --muted: #c2c2c6;
  --accent: #ff4444;
  --accent-gold: #ffaa00;
  --accent-soft: rgba(255, 68, 68, 0.2);
  --accent-gold-soft: rgba(255, 170, 0, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --flame-gradient: linear-gradient(180deg, rgba(255, 68, 68, 0.3) 0%, rgba(255, 170, 0, 0.2) 50%, transparent 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: 'Noto Sans Tamil', 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  position: relative;
  min-height: 100vh;
}

body.custom-background {
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
}

/* Hide background on login page */
body.login,
body.login form,
body.login #login {
  background: #000 !important;
}

body.login::before {
  display: none !important;
}

/* Hide background on BeeTeam368 login popup */
.beeteam368_login_popup,
.beeteam368_login_popup-control,
.beeteam368_login_popup::before,
.beeteam368_login_popup *::before {
  background-image: none !important;
}

.beeteam368_login_popup {
  background: #000 !important;
}

.beeteam368_login_popup::before {
  display: none !important;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 40% auto !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #000 !important;
  z-index: 0;
  opacity: 1;
  display: block;
  mask-image: radial-gradient(ellipse 50% 60% at center, black 60%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at center, black 60%, transparent 85%);
}

.fire-light {
  display: none !important;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0.4;
}

/* Animated Fire Effect - Realistic Live Fire */
.fire-light {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 1200px;
  pointer-events: none;
  z-index: 0.3;
  mix-blend-mode: screen;
  background: 
    radial-gradient(ellipse 40% 60% at 50% 50%,
      rgba(255, 240, 120, 0.4) 0%,
      rgba(255, 200, 60, 0.35) 8%,
      rgba(255, 160, 20, 0.3) 16%,
      rgba(255, 120, 0, 0.25) 24%,
      rgba(255, 80, 0, 0.2) 32%,
      rgba(240, 40, 0, 0.15) 40%,
      transparent 60%);
  filter: blur(40px);
  animation: fireFlickerCore 1.2s ease-in-out infinite, fireGlow 2s ease-in-out infinite;
  box-shadow: 
    0 0 200px rgba(255, 150, 0, 0.3),
    0 0 300px rgba(255, 100, 0, 0.2),
    0 0 400px rgba(255, 50, 0, 0.15);
}

/* Outer Fire Layer - Large flickering flames */
.fire-light::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 1200px;
  background: 
    radial-gradient(ellipse 60% 80% at 45% 50%,
      rgba(255, 200, 50, 0.25) 0%,
      rgba(255, 150, 0, 0.2) 10%,
      rgba(255, 100, 0, 0.18) 20%,
      rgba(255, 50, 0, 0.15) 30%,
      rgba(200, 0, 0, 0.12) 40%,
      rgba(150, 0, 0, 0.08) 50%,
      transparent 70%),
    radial-gradient(ellipse 50% 70% at 55% 50%,
      rgba(255, 180, 40, 0.22) 0%,
      rgba(255, 120, 0, 0.18) 15%,
      rgba(255, 80, 0, 0.15) 25%,
      rgba(220, 0, 0, 0.12) 35%,
      transparent 60%);
  filter: blur(80px);
  animation: fireFlickerOuter 1.8s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* Middle Fire Layer - Medium intensity */
.fire-light::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 1000px;
  background: 
    radial-gradient(ellipse 55% 75% at 48% 50%,
      rgba(255, 220, 80, 0.3) 0%,
      rgba(255, 180, 0, 0.25) 12%,
      rgba(255, 140, 0, 0.2) 22%,
      rgba(255, 100, 0, 0.18) 32%,
      rgba(240, 50, 0, 0.15) 42%,
      rgba(200, 0, 0, 0.1) 52%,
      transparent 70%);
  filter: blur(60px);
  animation: fireFlickerMiddle 1.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* Realistic Fire Flicker Animations */
@keyframes fireFlickerOuter {
  0% { 
    transform: translate(-50%, -50%) translateX(-12px) translateY(0) scale(1) scaleX(1) rotate(-1deg); 
    opacity: 0.75; 
  }
  8% { 
    transform: translate(-50%, -50%) translateX(10px) translateY(-8px) scale(1.12) scaleX(0.88) rotate(1.5deg); 
    opacity: 0.9; 
  }
  16% { 
    transform: translate(-50%, -50%) translateX(-8px) translateY(-12px) scale(0.92) scaleX(1.1) rotate(-1.2deg); 
    opacity: 0.7; 
  }
  24% { 
    transform: translate(-50%, -50%) translateX(12px) translateY(-5px) scale(1.08) scaleX(0.92) rotate(2deg); 
    opacity: 0.88; 
  }
  32% { 
    transform: translate(-50%, -50%) translateX(-6px) translateY(-15px) scale(0.95) scaleX(1.06) rotate(-0.8deg); 
    opacity: 0.78; 
  }
  40% { 
    transform: translate(-50%, -50%) translateX(9px) translateY(-7px) scale(1.1) scaleX(0.9) rotate(1.3deg); 
    opacity: 0.92; 
  }
  48% { 
    transform: translate(-50%, -50%) translateX(-10px) translateY(-4px) scale(0.94) scaleX(1.08) rotate(-1.5deg); 
    opacity: 0.72; 
  }
  56% { 
    transform: translate(-50%, -50%) translateX(7px) translateY(-11px) scale(1.06) scaleX(0.94) rotate(0.9deg); 
    opacity: 0.86; 
  }
  64% { 
    transform: translate(-50%, -50%) translateX(-9px) translateY(-3px) scale(0.97) scaleX(1.05) rotate(-1.1deg); 
    opacity: 0.8; 
  }
  72% { 
    transform: translate(-50%, -50%) translateX(11px) translateY(-9px) scale(1.13) scaleX(0.87) rotate(1.8deg); 
    opacity: 0.94; 
  }
  80% { 
    transform: translate(-50%, -50%) translateX(-7px) translateY(-6px) scale(0.93) scaleX(1.09) rotate(-0.6deg); 
    opacity: 0.74; 
  }
  88% { 
    transform: translate(-50%, -50%) translateX(8px) translateY(-13px) scale(1.09) scaleX(0.91) rotate(1.2deg); 
    opacity: 0.89; 
  }
  96% { 
    transform: translate(-50%, -50%) translateX(-11px) translateY(-2px) scale(0.96) scaleX(1.07) rotate(-1.4deg); 
    opacity: 0.77; 
  }
  100% { 
    transform: translate(-50%, -50%) translateX(-5px) translateY(-8px) scale(1.02) scaleX(1.01) rotate(-0.5deg); 
    opacity: 0.82; 
  }
}

@keyframes fireFlickerMiddle {
  0% { 
    transform: translate(-50%, -50%) translateX(-8px) translateY(0) scale(1) scaleX(1) rotate(0.5deg); 
    opacity: 0.8; 
  }
  12% { 
    transform: translate(-50%, -50%) translateX(7px) translateY(-9px) scale(1.15) scaleX(0.85) rotate(-1.2deg); 
    opacity: 0.95; 
  }
  24% { 
    transform: translate(-50%, -50%) translateX(-9px) translateY(-6px) scale(0.89) scaleX(1.13) rotate(1.5deg); 
    opacity: 0.7; 
  }
  36% { 
    transform: translate(-50%, -50%) translateX(6px) translateY(-11px) scale(1.11) scaleX(0.89) rotate(-0.8deg); 
    opacity: 0.92; 
  }
  48% { 
    transform: translate(-50%, -50%) translateX(-7px) translateY(-4px) scale(0.93) scaleX(1.1) rotate(1.1deg); 
    opacity: 0.75; 
  }
  60% { 
    transform: translate(-50%, -50%) translateX(10px) translateY(-8px) scale(1.14) scaleX(0.86) rotate(-1.4deg); 
    opacity: 0.97; 
  }
  72% { 
    transform: translate(-50%, -50%) translateX(-5px) translateY(-12px) scale(0.91) scaleX(1.12) rotate(0.9deg); 
    opacity: 0.68; 
  }
  84% { 
    transform: translate(-50%, -50%) translateX(8px) translateY(-5px) scale(1.08) scaleX(0.92) rotate(-1deg); 
    opacity: 0.88; 
  }
  96% { 
    transform: translate(-50%, -50%) translateX(-6px) translateY(-10px) scale(0.94) scaleX(1.08) rotate(1.3deg); 
    opacity: 0.73; 
  }
  100% { 
    transform: translate(-50%, -50%) translateX(4px) translateY(-7px) scale(1.05) scaleX(0.95) rotate(-0.5deg); 
    opacity: 0.85; 
  }
}

@keyframes fireFlickerCore {
  0% { 
    transform: translate(-50%, -50%) translateX(-5px) translateY(0) scale(1) scaleX(1) rotate(0deg); 
    opacity: 0.85; 
  }
  10% { 
    transform: translate(-50%, -50%) translateX(6px) translateY(-10px) scale(1.2) scaleX(0.8) rotate(-1.5deg); 
    opacity: 1; 
  }
  20% { 
    transform: translate(-50%, -50%) translateX(-7px) translateY(-8px) scale(0.85) scaleX(1.18) rotate(2deg); 
    opacity: 0.75; 
  }
  30% { 
    transform: translate(-50%, -50%) translateX(5px) translateY(-12px) scale(1.16) scaleX(0.84) rotate(-1deg); 
    opacity: 0.98; 
  }
  40% { 
    transform: translate(-50%, -50%) translateX(-8px) translateY(-5px) scale(0.88) scaleX(1.15) rotate(1.8deg); 
    opacity: 0.72; 
  }
  50% { 
    transform: translate(-50%, -50%) translateX(9px) translateY(-9px) scale(1.22) scaleX(0.82) rotate(-2deg); 
    opacity: 1; 
  }
  60% { 
    transform: translate(-50%, -50%) translateX(-4px) translateY(-14px) scale(0.86) scaleX(1.16) rotate(1.2deg); 
    opacity: 0.7; 
  }
  70% { 
    transform: translate(-50%, -50%) translateX(7px) translateY(-6px) scale(1.14) scaleX(0.88) rotate(-1.3deg); 
    opacity: 0.95; 
  }
  80% { 
    transform: translate(-50%, -50%) translateX(-9px) translateY(-11px) scale(0.9) scaleX(1.12) rotate(1.6deg); 
    opacity: 0.78; 
  }
  90% { 
    transform: translate(-50%, -50%) translateX(4px) translateY(-7px) scale(1.18) scaleX(0.85) rotate(-0.7deg); 
    opacity: 0.92; 
  }
  100% { 
    transform: translate(-50%, -50%) translateX(-6px) translateY(-9px) scale(1.02) scaleX(0.98) rotate(0.5deg); 
    opacity: 0.88; 
  }
}

@keyframes fireGlow {
  0%, 100% {
    box-shadow: 
      0 0 200px rgba(255, 150, 0, 0.3),
      0 0 300px rgba(255, 100, 0, 0.2),
      0 0 400px rgba(255, 50, 0, 0.15);
  }
  50% {
    box-shadow: 
      0 0 250px rgba(255, 180, 0, 0.4),
      0 0 350px rgba(255, 120, 0, 0.3),
      0 0 450px rgba(255, 70, 0, 0.2);
  }
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* Navigation */
.main-nav,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.main-nav.scrolled,
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container,
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem clamp(1.5rem, 6vw, 5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo,
.site-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-logo .custom-logo-img {
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
  margin-right: 0.5rem;
}

.nav-logo.has-logo .logo-text {
  display: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tv {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(255, 170, 0, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.live-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 2s ease-in-out infinite;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(255, 68, 68, 0); }
}

.nav-links,
.main-navigation ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link,
.main-navigation a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.main-navigation a:hover {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

@media (max-width: 768px) {
  .nav-container,
  .site-header .container {
    padding: 1rem;
    flex-wrap: wrap;
  }
  
  .nav-logo {
    font-size: 1.1rem;
  }
  
  .nav-logo .custom-logo-img {
    max-height: 40px;
  }
  
  .nav-links,
  .main-navigation ul {
    gap: 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .nav-container,
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
    padding: 0.75rem 1rem;
  }
  
  .nav-links,
  .main-navigation ul {
    gap: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-logo {
    font-size: 1rem;
  }
  
  .nav-logo .custom-logo-img {
    max-height: 35px;
  }
}

.hero {
  padding: 8rem clamp(1.5rem, 6vw, 5rem) 5rem;
  text-align: center;
  position: relative;
}

.channel-brand {
  margin-bottom: 2rem;
}

.hero-logo {
  max-width: 300px;
  max-height: 150px;
  width: auto;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.channel-brand.has-logo .channel-name {
  display: none;
}

.channel-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.channel-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--accent-gold);
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 2s ease-in-out infinite;
}

.hero-tag {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.85rem;
  margin: 2rem 0 0.5rem;
}

.hero-subtitle {
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-lead {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

/* Countdown Timer Styles - Modern Design */
.countdown-section {
  margin: 4rem auto;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 1000px;
  position: relative;
}

.countdown-label {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  display: inline-block;
}

.countdown-label::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 170, 0, 0.1) 100%);
  border: 1px solid rgba(255, 68, 68, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.countdown-item:hover::before {
  left: 100%;
}

.countdown-item:hover {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.2) 0%, rgba(255, 170, 0, 0.2) 100%);
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 68, 68, 0.4);
}

.countdown-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
  position: relative;
  display: block;
  animation: numberPulse 1s ease-in-out infinite;
}

@keyframes numberPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.countdown-label-small {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.countdown-separator {
  display: none;
}

.countdown-date {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 2rem;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: 50px;
  display: inline-block;
}

.countdown-message {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  font-weight: 700;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.2) 0%, rgba(255, 170, 0, 0.2) 100%);
  border: 2px solid var(--accent);
  border-radius: 20px;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(255, 68, 68, 0.3);
}

@media (max-width: 768px) {
  .countdown-section {
    padding: 2rem 1rem;
    margin: 2rem auto;
  }
  
  .countdown-timer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .countdown-item {
    padding: 1.5rem 1rem;
  }
  
  .countdown-number {
    font-size: 2.5rem;
  }
  
  .countdown-label-small {
    font-size: 0.7rem;
  }
  
  .countdown-date {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .countdown-item {
    padding: 1.2rem 0.8rem;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2.5rem auto;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  max-width: 720px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}

.hero-info strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta,
.ghost {
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta {
  background: linear-gradient(135deg, var(--accent) 0%, #ff6666 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 68, 68, 0.4);
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

main {
  padding: 0 clamp(1.5rem, 6vw, 5rem) 4rem;
}

.live {
  margin: 3.5rem auto;
  max-width: 920px;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

@media (max-width: 768px) {
  .live {
    margin: 2rem auto;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .live {
    margin: 1.5rem auto;
    padding: 0 0.75rem;
  }
}

.live .countries {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.schedule {
  margin: 3.5rem auto;
  max-width: 920px;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

@media (max-width: 768px) {
  .schedule {
    margin: 2rem auto;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .schedule {
    margin: 1.5rem auto;
    padding: 0 0.75rem;
  }
}

.schedule-intro {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.schedule-intro p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--accent-gold);
}

.schedule-intro strong {
  color: var(--accent);
  font-weight: 700;
}

.schedule-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.2);
  border-radius: 16px;
  border-left: 4px solid var(--accent-gold);
}

.schedule-note p {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--muted);
  line-height: 1.6;
}

.schedule-note strong {
  color: var(--accent-gold);
  font-weight: 600;
}

.live-card {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.live-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 2s ease-in-out infinite;
}

.live-card h2 {
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.player {
  border-radius: 20px;
  border: 1px dashed var(--border);
  padding: 0;
  text-align: center;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: block;
  width: 100%;
  max-width: 100%;
}

/* When player has content, remove extra padding */
.player:has(iframe),
.player:has(video),
.player:has(.video-js) {
  padding: 0;
  display: block;
  min-height: 0;
}

/* Responsive player container */
@media (max-width: 768px) {
  .player {
    padding: 0;
    min-height: 0;
    border-radius: 12px;
  }
  
  .player:has(iframe),
  .player:has(video),
  .player:has(.video-js) {
    padding: 0;
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .player {
    padding: 0;
    min-height: 0;
    border-radius: 10px;
  }
  
  .player:has(iframe),
  .player:has(video),
  .player:has(.video-js) {
    padding: 0;
    min-height: 0;
  }
}

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

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

.player-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.player-placeholder svg {
  color: var(--accent);
  opacity: 0.6;
}

.player iframe {
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.player video {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 20px;
  display: block;
  margin: 0;
  padding: 0;
}

/* Video.js player container */
.player .video-js {
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 56.25% !important; /* 16:9 aspect ratio */
  position: relative;
  height: 0 !important;
  border-radius: 20px;
  overflow: hidden;
}

.player .video-js video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border-radius: 20px;
}

/* Responsive video player */
@media (max-width: 768px) {
  .player {
    width: 100%;
    margin: 0 auto;
  }
  
  .player iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    min-height: 0 !important;
  }
  
  .player video {
    border-radius: 12px;
  }
  
  .player .video-js {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 56.25% !important; /* 16:9 aspect ratio */
    position: relative;
    height: 0 !important;
    border-radius: 12px;
  }
  
  .player .video-js video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 12px;
  }
  
  /* Video.js controls mobile optimization */
  .player .video-js .vjs-control-bar {
    font-size: 1.2em;
  }
  
  .player .video-js .vjs-big-play-button {
    width: 3em;
    height: 3em;
    line-height: 3em;
    border-radius: 50%;
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .player {
    width: 100%;
    margin: 0;
    border-radius: 10px;
  }
  
  .player iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    min-height: 0 !important;
  }
  
  .player video {
    border-radius: 10px;
  }
  
  .player .video-js {
    padding-top: 56.25% !important; /* 16:9 aspect ratio */
    border-radius: 10px;
  }
  
  .player .video-js video {
    border-radius: 10px;
  }
  
  /* Video.js controls small mobile optimization */
  .player .video-js .vjs-control-bar {
    font-size: 1em;
    height: 3em;
  }
  
  .player .video-js .vjs-big-play-button {
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    font-size: 1.3em;
  }
  
  /* Make controls more touch-friendly */
  .player .video-js .vjs-button {
    min-width: 2.5em;
    min-height: 2.5em;
  }
}

.player-note {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.7;
}

.live-note {
  margin-top: 1.5rem;
  color: var(--muted);
  text-align: center;
}

.schedule ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.schedule li {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.3s ease;
}

.schedule li:hover {
  background: rgba(255, 68, 68, 0.05);
}

.schedule li:last-child {
  border-bottom: none;
}

.schedule strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.schedule span {
  color: var(--accent-gold);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: 8px;
  width: fit-content;
}

.schedule li small {
  display: block;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.5;
  margin-top: 0.3rem;
  font-style: italic;
  opacity: 0.9;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.country-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.country-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 68, 68, 0.15);
}

.country-card:hover::before {
  transform: scaleX(1);
}

.country-card.selected {
  border-color: var(--accent);
  background: rgba(255, 68, 68, 0.15);
  box-shadow: 0 8px 24px rgba(255, 68, 68, 0.25);
}

.country-card.selected::before {
  transform: scaleX(1);
}

.select-indicator {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.country-card.selected .select-indicator {
  display: block;
}

.share-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid var(--accent);
  border-radius: 20px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  z-index: 10;
  font-family: inherit;
}

.share-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.country-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1;
}

.country-flag-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.country-card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: var(--text);
}

.country-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.country-time {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.uprising-theme {
  margin: 4rem auto;
  max-width: 920px;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: rgba(255, 68, 68, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 68, 68, 0.3);
  text-align: center;
}

@media (max-width: 768px) {
  .uprising-theme {
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .uprising-theme {
    margin: 1.5rem auto;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
}

.theme-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quote Container */
.quote-container {
  margin: 1.5rem 0;
}

.theme-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--accent-gold);
  margin: 0 0 1.5rem 0;
  line-height: 1.8;
  font-weight: 500;
  position: relative;
}

/* Author Design - Elegant and Distinguished */
.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.quote-author::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent), var(--accent-gold), transparent);
  border-radius: 2px;
}

.author-icon {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 300;
  font-style: normal;
  opacity: 0.9;
  line-height: 1;
  text-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
  animation: authorIconPulse 2s ease-in-out infinite;
}

@keyframes authorIconPulse {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.author-name {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.15) 0%, rgba(255, 68, 68, 0.1) 100%);
  border: 2px solid rgba(255, 170, 0, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.1);
  overflow: hidden;
}

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

.author-name:hover::before {
  left: 100%;
}

.author-name:hover {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.25) 0%, rgba(255, 68, 68, 0.15) 100%);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 170, 0, 0.3);
}

.author-name::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 1px solid rgba(255, 170, 0, 0.2);
  border-radius: 50px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .quote-author {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
  }
  
  .author-icon {
    font-size: 1.5rem;
  }
  
  .author-name {
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
  }
}

.theme-description {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.message {
  margin: 4rem auto;
  max-width: 920px;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .message {
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .message {
    margin: 1.5rem auto;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
}

.message-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  color: var(--accent);
}

.message-content p {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer,
footer {
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 3rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  background: rgba(0, 0, 0, 0.5);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.footer-brand .footer-logo {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.footer-brand.has-logo h3 {
  display: none;
}

.footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--accent-gold);
  font-weight: 600;
  margin: 0;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-info p {
  margin: 0;
  line-height: 1.6;
}

.back-to-top {
  display: block;
  text-align: center;
  margin-top: 2rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-top:hover {
  color: var(--accent-gold);
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }
  .hero-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cta,
  .ghost {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
  .country-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .uprising-theme,
  .message {
    padding: 2rem 1.5rem;
  }
  
  /* Live stream section mobile */
  .live-stream {
    padding: 2rem 1rem;
  }
  
  .live-stream h2 {
    font-size: 1.5rem;
  }
  
  #player-message {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  
  /* Live card mobile */
  .live-card {
    padding: 1.5rem 1rem;
  }
  
  .live-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .live-card h2 {
    font-size: 1.3rem;
    margin: 1rem 0;
  }
  
  /* Country cards mobile */
  .country-card {
    padding: 1.5rem 1rem;
  }
  
  .country-card h3 {
    font-size: 1.2rem;
  }
  
  .country-card p {
    font-size: 0.9rem;
  }
  
  /* Schedule mobile */
  .schedule {
    padding: 2rem 1rem;
  }
  
  .schedule h2 {
    font-size: 1.3rem;
  }
  
  .schedule-item {
    padding: 1.2rem 1rem !important;
  }
  
  .schedule-time-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Navigation mobile */
  .main-nav {
    padding: 1rem;
  }
  
  .nav-logo {
    font-size: 1.2rem;
  }
  
  /* Theme content mobile */
  .theme-content {
    padding: 2rem 1.5rem;
  }
  
  .theme-content h2 {
    font-size: 1.5rem;
  }
  
  .theme-quote {
    font-size: 1.1rem !important;
    line-height: 1.6;
  }
  
  .theme-description {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  /* Extra small devices */
  .hero {
    padding: 3rem 1rem 2rem;
  }
  
  .hero-logo {
    max-width: 200px;
    max-height: 100px;
  }
  
  .channel-name {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-lead {
    font-size: 0.9rem;
  }
  
  .live-card {
    padding: 1rem 0.75rem;
  }
  
  .live-card h2 {
    font-size: 1.1rem;
  }
  
  .player {
    padding: 0.75rem 0;
  }
  
  .country-card {
    padding: 1.2rem 0.75rem;
  }
  
  .schedule {
    padding: 1.5rem 0.75rem;
  }
  
  .schedule-item {
    padding: 1rem 0.75rem !important;
  }
  
  .theme-content {
    padding: 1.5rem 1rem;
  }
  
  .theme-quote {
    font-size: 1rem !important;
  }
}

/* Fonts are loaded via functions.php */
