/* Global look & feel */
:root {
  color-scheme: light;
}

:root.dark {
  color-scheme: dark;
}

body {
  background: radial-gradient(
      circle at 20% 20%,
      rgba(103, 145, 180, 0.08),
      transparent 35%
    ),
    radial-gradient(circle at 80% 10%, rgba(43, 74, 106, 0.12), transparent 38%),
    linear-gradient(180deg, #f5f7fa 0%, #f0f4f8 30%, #f3f6f9 60%, #f5f7fa 100%);
  min-height: 100vh;
}

/* Dark mode body background */
.dark body,
html.dark body {
  background: radial-gradient(
      circle at 20% 20%,
      rgba(103, 145, 180, 0.06),
      transparent 35%
    ),
    radial-gradient(circle at 80% 10%, rgba(43, 74, 106, 0.08), transparent 38%),
    linear-gradient(180deg, #0d1b2a 0%, #111d2e 30%, #0f1925 60%, #0d1b2a 100%);
}

.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(103, 145, 180, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Dark mode glass effect */
.dark .glass {
  background: rgba(27, 40, 56, 0.75);
  border: 1px solid rgba(45, 74, 94, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.card-hover {
  transition: transform 200ms ease, box-shadow 200ms ease,
    border-color 200ms ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(43, 74, 106, 0.15);
}

/* Dark mode card hover */
.dark .card-hover:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(103, 145, 180, 0.25);
}

.hero-overlay {
  position: relative;
  overflow: hidden;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 0;
}

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

.divider-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(43, 74, 106, 0.25),
    transparent
  );
}

/* Dark mode divider */
.dark .divider-line {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(103, 145, 180, 0.25),
    transparent
  );
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
  padding: 0.5rem 0.75rem;
  background: #2b4a6a;
  color: #fff;
  border-radius: 8px;
}

/* Enhanced text shadow for hero quote readability */
.drop-shadow-2xl {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 0, 0, 0.3);
}

/* Livestream embed container */
.livestream-embed-container iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

/* Livestream countdown timer */
.countdown-item {
  min-width: 80px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

@media (min-width: 768px) {
  .countdown-box {
    padding: 1.25rem 2rem;
    min-width: 120px;
    border-radius: 16px;
  }
}

@media (min-width: 1024px) {
  .countdown-box {
    padding: 1.5rem 2.5rem;
    min-width: 140px;
    border-radius: 20px;
  }
}

.countdown-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0.75rem 0;
}

@media (min-width: 768px) {
  .countdown-divider {
    margin: 1rem 0;
  }
}

.countdown-number {
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: white;
}

@media (min-width: 768px) {
  .countdown-number {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .countdown-number {
    font-size: 6rem;
  }
}

.countdown-label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  margin-top: 0;
}

@media (min-width: 768px) {
  .countdown-label {
    font-size: 1rem;
  }
}

#livestream-countdown {
  z-index: 10;
}

/* Hero quote positioning - centered horizontally and vertically, full width */
.hero-quote-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-quote-content {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

/* Small tablets and up */
@media (min-width: 640px) {
  .hero-quote-content {
    padding: 1.5rem 2rem;
  }
}

/* Tablets and up */
@media (min-width: 768px) {
  .hero-quote-content {
    padding: 2rem 3rem;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .hero-quote-content {
    padding: 2rem 4rem;
  }
}

/* Extra large screens */
@media (min-width: 1280px) {
  .hero-quote-content {
    padding: 2.5rem 5rem;
  }
}
