:root {
  --rich-orange: #ff7a18;
  --sunset-orange: #ffb347;
  --soft-cream: #fff8f0;
  --charcoal: #1d1a1a;
  --deep-charcoal: #0f0d0d;
  --gold-accent: #d4af37;
}

body {
  background: var(--soft-cream);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--charcoal);
}

.nav-link {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--rich-orange), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-primary {
  background: linear-gradient(135deg, var(--rich-orange), var(--sunset-orange));
  color: white;
  box-shadow: 0 14px 30px rgba(255, 122, 24, 0.35);
}

.cta-primary:hover {
  background: linear-gradient(135deg, var(--sunset-orange), var(--rich-orange));
  color: var(--deep-charcoal);
}

.cta-secondary {
  border: 1px solid rgba(255, 122, 24, 0.6);
  color: var(--rich-orange);
  background: transparent;
}

.cta-secondary:hover {
  border-color: var(--rich-orange);
  background: rgba(255, 122, 24, 0.08);
  color: var(--rich-orange);
}

.cta-secondary--light {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.cta-secondary--light:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.cta-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rich-orange);
  transition: color 0.3s ease;
}

.cta-link:hover {
  color: var(--sunset-orange);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(29, 26, 26, 0.6);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--deep-charcoal);
}

.glass-card {
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.95), #fff);
  border: 1px solid rgba(255, 122, 24, 0.18);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

.stat-card,
.highlight-card,
.icon-card,
.detail-card,
.stage-card,
.prize-card,
.ticket-card,
.contestant-card,
.gallery-tile,
.video-card,
.participation-card,
.dept-card,
.faq-item,
.update-card,
.news-card,
.benefit-card,
.tier-card,
.judge-card,
.pillar-card,
.crown-card,
.judge-preview {
  border-radius: 28px;
  border: 1px solid rgba(255, 122, 24, 0.15);
  background: white;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

.icon-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
  font-size: 24px;
}

.icon-circle i {
  font-size: 24px;
  color: inherit;
}

.contestant-card__photo {
  border-radius: 32px;
  width: 100%;
  height: 320px;
  object-fit: cover;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.contestant-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 122, 24, 0.2);
  background: white;
}

.contestant-layout__media img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-card__thumb {
  position: relative;
  min-height: 260px;
  border-radius: 32px;
  overflow: hidden;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--charcoal);
}

.filter-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.18);
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.filter-pill.active,
.filter-pill:hover {
  border-color: var(--rich-orange);
  color: var(--rich-orange);
}

.gallery-tile__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
}

.gallery-tile__body {
  margin-top: 16px;
}

.tier-card {
  border-width: 1.5px;
}

.tier-card--premium {
  background: linear-gradient(
    135deg,
    rgba(255, 122, 24, 0.15),
    rgba(255, 255, 255, 0.95)
  );
  border-color: var(--rich-orange);
}

.judge-card__photo,
.judge-preview__photo {
  border-radius: 28px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.expertise-tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 24, 0.12);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticket-card + .ticket-card {
  margin-top: 16px;
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.faq-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

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

.page-hero__media {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1504593811423-6dd665756598?auto=format&fit=crop&w=1200&q=80")
    center/cover;
  opacity: 0.35;
}

.page-hero__overlay {
  position: relative;
  background: linear-gradient(135deg, rgba(29, 26, 26, 0.9), rgba(255, 122, 24, 0.65));
}

.site-footer {
  background: var(--charcoal);
  color: white;
  padding: 60px 0;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 32px;
  border: 1px solid rgba(255, 122, 24, 0.2);
  padding: 40px;
  background: linear-gradient(120deg, rgba(255, 248, 240, 0.95), #fff);
}

@media (min-width: 768px) {
  .cta-panel {
    flex-direction: row;
    align-items: center;
  }
}

.map-embed {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 24, 0.25);
  min-height: 360px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
}

.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(29, 26, 26, 0.6);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 14px 16px;
  background: white;
  color: var(--charcoal);
}

.timeline {
  border-left: 2px solid rgba(255, 122, 24, 0.5);
  padding-left: 24px;
  display: grid;
  gap: 24px;
}

.timeline article {
  position: relative;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rich-orange);
}

.step-card {
  border-radius: 20px;
  border: 1px dashed rgba(255, 122, 24, 0.55);
  padding: 1.25rem;
  background: white;
}

.step-number {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--rich-orange);
}

.logo-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.logo-pill {
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 18px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.participation-card {
  min-height: 220px;
}

.dept-card {
  min-height: 180px;
}

.page-hero nav {
  color: white;
}

.page-hero nav .nav-link {
  color: white;
}

.page-hero nav .nav-link.is-active {
  color: var(--sunset-orange);
}

.page-hero nav .nav-link:hover {
  color: var(--sunset-orange);
}

/* Grouped navigation dropdowns */
.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-group-toggle::after {
  content: "▾";
  font-size: 0.6rem;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin-top: 10px;
  border-radius: 18px;
  background: rgba(15, 13, 13, 0.98);
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 122, 24, 0.35);
  display: none;
  z-index: 40;
}

.nav-dropdown li + li {
  margin-top: 8px;
}

.nav-dropdown .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.nav-dropdown .nav-link.is-active {
  color: var(--sunset-orange);
}

@media (min-width: 1024px) {
  .nav-group:hover > .nav-dropdown,
  .nav-group.is-open > .nav-dropdown {
    display: block;
  }
}

@media (max-width: 1023.98px) {
  .nav-dropdown {
    position: static;
    margin-top: 6px;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 6px 14px;
    display: none;
  }

  .nav-group.is-open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown .nav-link {
    color: inherit;
  }
}

/* Parallax effects for Why Section */
.why-parallax-layer-1 {
  will-change: transform;
  pointer-events: none;
  transform-origin: center center;
  background-size: cover;
}

.why-parallax-layer-2 {
  will-change: transform;
  pointer-events: none;
}

.why-orb {
  will-change: transform;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE DESIGN ENHANCEMENTS
   ============================================ */

/* Mobile Menu Button Improvements */
#mobileMenuButton {
  min-width: 44px;
  min-height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide on large screens - respect Tailwind's lg:hidden */
@media (min-width: 1024px) {
  #mobileMenuButton {
    display: none !important;
  }
}

#mobileMenuButton:hover {
  opacity: 0.8;
}

#mobileMenuButton:active {
  opacity: 0.6;
}

/* Consistent Footer Styling */
.site-footer,
footer.bg-charcoal {
  background: var(--charcoal);
  color: white;
  padding: 40px 0 20px;
}

/* Container max-width for large screens */
.container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ============================================
   MOBILE DEVICES (320px - 767px)
   ============================================ */
@media (max-width: 767.98px) {
  /* Typography adjustments */
  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
  }

  /* Navigation improvements */
  #mainNav {
    background: rgba(15, 13, 13, 0.98);
    padding: 1.5rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    gap: 0.5rem !important; /* Reduced from gap-4 (1rem) to gap-2 (0.5rem) for mobile */
  }

  #mainNav li {
    padding: 0.25rem 0; /* Reduced from 0.5rem 0 to 0.25rem 0 for mobile */
  }

  .nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Touch-friendly buttons */
  .cta-primary,
  .cta-secondary {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 0.7rem;
    width: 100%;
    justify-content: center;
  }

  /* Card spacing */
  .glass-card,
  .stat-card,
  .contestant-card,
  .news-card,
  .update-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  /* Grid adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero section adjustments */
  .page-hero__overlay > div:last-child {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* New hero section mobile adjustments */
  header h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  header .hero-info-card,
  header .rounded-2xl.border {
    padding: 1rem;
  }

  header img {
    height: 400px !important;
  }

  /* Hide floating badge on very small screens */
  @media (max-width: 640px) {
    .hero-badge {
      display: none;
    }
  }

  /* Footer mobile layout */
  .site-footer .container,
  footer.bg-charcoal .container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    text-align: left;
  }

  .site-footer > div:last-child,
  footer.bg-charcoal > div:last-child {
    text-align: center;
  }

  /* Image responsiveness */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Spacing adjustments */
  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .py-16 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .py-12 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* Contestant cards */
  .contestant-card img {
    height: 240px;
  }

  /* Timeline adjustments */
  .timeline {
    padding-left: 1rem;
    margin-left: 0.5rem;
  }

  .timeline article::before {
    left: -18px;
    width: 10px;
    height: 10px;
  }
}

/* ============================================
   TABLETS (768px - 1023px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .container {
    max-width: 720px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  /* Grid adjustments for tablets */
  .grid {
    gap: 1.5rem;
  }

  /* Navigation stays horizontal but compact */
  #mainNav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  /* Card padding */
  .glass-card,
  .stat-card {
    padding: 1.5rem;
  }

  /* Footer layout */
  .site-footer .container,
  footer.bg-charcoal .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer > div:last-child,
  footer.bg-charcoal > div:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* ============================================
   LAPTOPS (1024px - 1439px)
   ============================================ */
@media (min-width: 1024px) and (max-width: 1439.98px) {
  .container {
    max-width: 1200px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  h1 {
    font-size: 3rem !important;
  }

  /* Optimal content width for readability */
  main {
    max-width: 100%;
  }

  /* Navigation spacing */
  #mainNav {
    gap: 1.5rem;
  }

  /* Footer 3-column layout */
  .site-footer .container,
  footer.bg-charcoal .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   LARGE SCREENS (1440px+)
   ============================================ */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 3.5rem !important;
  }

  /* Maintain readability on very large screens */
  main p,
  main li {
    max-width: 65ch;
  }

  /* Enhanced spacing for large screens */
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Footer maintains 3-column but with more spacing */
  .site-footer .container,
  footer.bg-charcoal .container {
    gap: 3rem;
  }
}

/* ============================================
   EXTRA LARGE SCREENS (1920px+)
   ============================================ */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  /* Prevent content from becoming too wide */
  .glass-card,
  .stat-card,
  article {
    max-width: 100%;
  }
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */
.hero-badge {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.delay-1000 {
  animation-delay: 1s;
}

/* Enhanced hero image hover effect */
header img {
  will-change: transform;
}

/* Scroll indicator animation */
@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce-slow 2s infinite;
}

/* Glass morphism effect for hero cards */
.hero-info-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   PARTICLE EFFECTS
   ============================================ */
.particles-container {
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.6) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8), 0 0 12px rgba(255, 165, 0, 0.6);
  animation: particle-float 8s infinite ease-in-out;
}

.particle--large {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 1), 0 0 16px rgba(255, 165, 0, 0.8);
}

.particle--small {
  width: 2px;
  height: 2px;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.6), 0 0 8px rgba(255, 165, 0, 0.4);
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px) scale(1);
    opacity: 0;
  }
}

@keyframes particle-sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.particle--sparkle {
  animation: particle-sparkle 2s infinite ease-in-out;
}

/* Multiple particle animations with different delays */
.particle:nth-child(1) { animation-delay: 0s; }
.particle:nth-child(2) { animation-delay: 0.5s; }
.particle:nth-child(3) { animation-delay: 1s; }
.particle:nth-child(4) { animation-delay: 1.5s; }
.particle:nth-child(5) { animation-delay: 2s; }
.particle:nth-child(6) { animation-delay: 2.5s; }
.particle:nth-child(7) { animation-delay: 3s; }
.particle:nth-child(8) { animation-delay: 3.5s; }
.particle:nth-child(9) { animation-delay: 4s; }
.particle:nth-child(10) { animation-delay: 4.5s; }
.particle:nth-child(11) { animation-delay: 5s; }
.particle:nth-child(12) { animation-delay: 5.5s; }
.particle:nth-child(13) { animation-delay: 6s; }
.particle:nth-child(14) { animation-delay: 6.5s; }
.particle:nth-child(15) { animation-delay: 7s; }
.particle:nth-child(16) { animation-delay: 7.5s; }
.particle:nth-child(17) { animation-delay: 8s; }
.particle:nth-child(18) { animation-delay: 8.5s; }
.particle:nth-child(19) { animation-delay: 9s; }
.particle:nth-child(20) { animation-delay: 9.5s; }

/* ============================================
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  /* Touch device optimizations */
  .nav-link,
  .cta-primary,
  .cta-secondary,
  .cta-link,
  button {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover effects on touch devices */
  .nav-link:hover::after {
    opacity: 0;
  }
}

/* ============================================
   ROTATING WORD ANIMATION
   ============================================ */
#rotating-word {
  transition: min-width 0.3s ease;
  text-align: left;
  display: inline-block;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  header,
  footer,
  nav,
  .cta-primary,
  .cta-secondary {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* ============================================
   COUNTDOWN TIMER STYLES
   ============================================ */
.countdown-wrapper {
  position: relative;
  border-radius: 32px;
}

.countdown-bg-image {
  background-image: url('../images/crown.jpg');
  background-size: 70% auto;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  filter: blur(0px);
  z-index: 0;
}

@media (min-width: 768px) {
  .countdown-bg-image {
    background-size: 60% auto;
    opacity: 0.55;
  }
}

@media (min-width: 1024px) {
  .countdown-bg-image {
    background-size: 55% auto;
    opacity: 0.6;
  }
}

.countdown-wrapper .glass-card {
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.75), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 122, 24, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(4px);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 179, 71, 0.08));
  border: 2px solid rgba(255, 122, 24, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.countdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 122, 24, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.countdown-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.countdown-item:hover::before {
  opacity: 1;
}

.countdown-item:hover::after {
  opacity: 1;
}

.countdown-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 122, 24, 0.25), 0 0 0 1px rgba(212, 175, 55, 0.3);
  border-color: rgba(255, 122, 24, 0.5);
}

.countdown-icon {
  font-size: 1.125rem;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 122, 24, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.countdown-item:hover .countdown-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--rich-orange);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(255, 122, 24, 0.15));
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.countdown-value {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rich-orange), var(--sunset-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.15rem;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(255, 122, 24, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.countdown-value.flip {
  animation: countdown-flip 0.6s ease-in-out;
}

@keyframes countdown-flip {
  0% {
    transform: rotateX(0deg) scale(1);
  }
  50% {
    transform: rotateX(90deg) scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: rotateX(0deg) scale(1);
    opacity: 1;
  }
}

.countdown-item:hover .countdown-value {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(255, 122, 24, 0.3));
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(29, 26, 26, 0.7);
  margin-top: 0;
  z-index: 1;
  position: relative;
  transition: color 0.3s ease;
}

.countdown-item:hover .countdown-label {
  color: var(--rich-orange);
}

@media (min-width: 768px) {
  .countdown-value {
    font-size: 2rem;
    min-height: 2.5rem;
  }
  
  .countdown-item {
    padding: 1rem 0.75rem;
  }
  
  .countdown-icon {
    font-size: 1.15rem;
    width: 34px;
    height: 34px;
    margin-bottom: 0.35rem;
  }
  
  .countdown-label {
    font-size: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .countdown-value {
    font-size: 2.5rem;
    min-height: 3rem;
  }
  
  .countdown-item {
    padding: 1.25rem 1rem;
  }
  
  .countdown-icon {
    font-size: 1.35rem;
    width: 38px;
    height: 38px;
  }
}

/* ============================================
   FLOATING DOWNLOAD BUTTON (MOBILE)
   ============================================ */
@media (max-width: 1023.98px) {
  .fixed.bottom-6.right-6 {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
  }
  
  /* Ensure footer doesn't overlap with floating button */
  .site-footer {
    padding-bottom: 5rem;
  }
}

/* Red Carpet Logo Gallery Styles */
.logo-carpet-item {
  position: relative;
  overflow: hidden;
}

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

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

.logo-carpet-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 1rem;
  transition: border-color 0.3s ease;
}

.logo-carpet-item:hover::after {
  border-color: var(--gold-accent);
}

/* Logo Marquee Animation */
.logo-marquee {
  display: flex;
  width: 100%;
  will-change: transform;
}

/* First row: moves right to left */
.logo-marquee-left {
  animation: logo-scroll-left 30s linear infinite;
}

/* Second row: moves left to right */
.logo-marquee-right {
  animation: logo-scroll-right 30s linear infinite;
}

.logo-marquee-track {
  display: flex;
  flex-shrink: 0;
}

@keyframes logo-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes logo-scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Pause animation on hover */
.logo-marquee:hover {
  animation-play-state: paused;
}

/* Responsive adjustments for logo marquee */
@media (max-width: 767.98px) {
  .logo-marquee-left,
  .logo-marquee-right {
    animation-duration: 25s;
  }
  
  .logo-carpet-item {
    width: 240px !important;
  }
}

/* Enhanced download button styles for better mobile experience */
a[download] {
  -webkit-tap-highlight-color: rgba(255, 122, 24, 0.3);
  tap-highlight-color: rgba(255, 122, 24, 0.3);
}

/* Ensure download buttons are touch-friendly */
.cta-primary[download],
.cta-secondary[download] {
  min-height: 48px;
  min-width: 48px;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (max-width: 767.98px) {
  .cta-primary[download],
  .cta-secondary[download] {
    min-height: 56px;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

/* ============================================
   STEP ARROWS STYLING
   ============================================ */
.step-arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(255, 179, 71, 0.1));
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.step-arrow-wrapper:hover {
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.2), rgba(255, 179, 71, 0.2));
  transform: scale(1.1);
}

.step-arrow-wrapper i {
  filter: drop-shadow(0 2px 4px rgba(255, 122, 24, 0.3));
}

/* Mobile arrow spacing */
@media (max-width: 1023.98px) {
  .step-card {
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
  }
  
  .step-card:last-child {
    margin-bottom: 0;
  }
  
  /* Hide arrow after last step */
  .step-card:last-child .absolute.-bottom-8 {
    display: none;
  }
}

/* ============================================
   FAQ ACCORDION STYLES
   ============================================ */
.faq-accordion-item {
  transition: all 0.3s ease;
}

.faq-accordion-item.is-open {
  border-color: rgba(255, 122, 24, 0.4);
}

.faq-accordion-button {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-accordion-button:hover {
  background: rgba(255, 122, 24, 0.05);
}

.faq-accordion-button:focus {
  outline: 2px solid rgba(255, 122, 24, 0.5);
  outline-offset: 2px;
}

.faq-accordion-content {
  transition: max-height 0.3s ease-out;
}

.faq-accordion-button[aria-expanded="true"] + .faq-accordion-content {
  max-height: 500px;
}

/* ============================================
   TIMELINE STYLING - CLEAN & MINIMALIST
   ============================================ */
.timeline-clean {
  position: relative;
}

.timeline-item-clean {
  position: relative;
}

/* Timeline vertical line styling */
.timeline-clean .absolute.left-0 {
  border-radius: 1px;
}

/* Timeline node hover effects */
.timeline-item-clean:hover .absolute.-left-8 div,
.timeline-item-clean:hover .absolute.-left-12 div {
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.1);
}

/* Timeline card hover effects */
.timeline-item-clean:hover .rounded-xl {
  border-color: rgba(29, 26, 26, 0.15);
}

/* Grand Finale special node */
.timeline-item-clean:last-child .absolute.-left-8 div,
.timeline-item-clean:last-child .absolute.-left-12 div {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.timeline-item-clean:last-child:hover .absolute.-left-8 div,
.timeline-item-clean:last-child:hover .absolute.-left-12 div {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

/* Responsive timeline adjustments */
@media (max-width: 767.98px) {
  .timeline-clean {
    padding-left: 1.5rem;
  }
  
  .timeline-item-clean {
    margin-bottom: 1.5rem;
  }
  
  .timeline-item-clean:last-child {
    margin-bottom: 0;
  }
  
  .timeline-clean .absolute.left-0 {
    left: 0.5rem;
  }
  
  .timeline-item-clean .p-5 {
    padding: 1rem;
  }
}

/* ============================================
   CONTESTANT MODAL STYLES
   ============================================ */
#contestantModal {
  animation: fadeIn 0.3s ease-out;
  overscroll-behavior: contain;
}

#modalContent {
  animation: slideUp 0.4s ease-out;
  scrollbar-width: thin;
  scrollbar-color: var(--rich-orange) var(--soft-cream);
}

#modalContent::-webkit-scrollbar {
  width: 8px;
}

#modalContent::-webkit-scrollbar-track {
  background: var(--soft-cream);
  border-radius: 10px;
}

#modalContent::-webkit-scrollbar-thumb {
  background: var(--rich-orange);
  border-radius: 10px;
}

#modalContent::-webkit-scrollbar-thumb:hover {
  background: var(--sunset-orange);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Typography Improvements */
#modalContent h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#modalContent h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

#modalContent p {
  line-height: 1.7;
  font-size: 1rem;
}

#modalContent .text-base {
  line-height: 1.6;
}

/* Modal Card Styling */
#modalContent .rounded-2xl {
  transition: all 0.3s ease;
}

#modalContent .rounded-2xl:hover {
  box-shadow: 0 10px 30px rgba(255, 122, 24, 0.15);
}

/* Modal responsive adjustments */
@media (max-width: 639.98px) {
  #contestantModal {
    padding: 0.5rem;
  }

  #modalContent {
    max-height: 98vh;
    border-radius: 1.5rem;
  }

  #modalContent .p-6 {
    padding: 1rem;
  }

  #modalContent h2 {
    font-size: 1.75rem !important;
  }

  #modalContent .text-3xl {
    font-size: 1.5rem;
  }

  #modalContent .text-4xl {
    font-size: 2rem;
  }

  #modalContent .text-5xl {
    font-size: 2.25rem;
  }

  #modalContent .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #modalContent .space-y-6 > * + * {
    margin-top: 1.25rem;
  }

  #modalContent .p-6 {
    padding: 1rem;
  }

  #modalContent .gap-8 {
    gap: 1.5rem;
  }

  #modalContent .gap-12 {
    gap: 1.5rem;
  }

  #modalContent button {
    right: 0.75rem;
    top: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (min-width: 640px) and (max-width: 767.98px) {
  #modalContent {
    max-height: 96vh;
  }

  #modalContent h2 {
    font-size: 2.25rem;
  }

  #modalContent .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  #modalContent {
    max-width: 90vw;
  }

  #modalContent .lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  #modalContent h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  #modalContent {
    max-width: 80vw;
  }

  #modalContent .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Enhanced readability for modal text */
#modalContent .text-charcoal\/80 {
  color: rgba(29, 26, 26, 0.85);
  font-size: 1rem;
}

#modalContent .text-charcoal {
  color: var(--charcoal);
}

/* Orange accent enhancements */
#modalContent .border-rich-orange\/20 {
  border-color: rgba(255, 122, 24, 0.25);
}

#modalContent .border-rich-orange\/40:hover {
  border-color: rgba(255, 122, 24, 0.5);
}

/* Gallery image hover effects */
#modalGallery img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#modalGallery .group:hover img {
  transform: scale(1.08);
}

/* Contestant card hover effect enhancement */
.contestant-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contestant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Contestant card as link */
a.contestant-card {
  text-decoration: none;
  color: inherit;
}

a.contestant-card:hover {
  text-decoration: none;
  color: inherit;
}

a.contestant-card h3 {
  color: inherit;
}

a.contestant-card p {
  color: inherit;
}

/* Modal photo frame effect */
#modalPhoto {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#modalPhoto:hover {
  transform: scale(1.02);
}

/* Improve focus states for accessibility */
#modalContent button:focus-visible {
  outline: 3px solid var(--rich-orange);
  outline-offset: 2px;
}

/* Smooth scrolling for modal content */
#modalContent {
  scroll-behavior: smooth;
}

/* Modal Header Visibility */
#contestantModal .rounded-t-3xl {
  position: relative;
  z-index: 10;
}

#contestantModal .rounded-t-3xl > div:last-child {
  position: relative;
  z-index: 10;
}

#modalLabel,
#modalName {
  color: #1d1a1a !important;
}

#modalLabel {
  opacity: 1 !important;
}

#modalName {
  opacity: 1 !important;
  font-weight: 700;
}

/* ============================================
   MODAL ACCORDION STYLES
   ============================================ */
.accordion-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:hover {
  border-color: rgba(255, 122, 24, 0.3);
}

.accordion-button {
  transition: all 0.2s ease;
  cursor: pointer;
}

.accordion-button:hover {
  background-color: rgba(255, 122, 24, 0.05);
}

.accordion-button:focus {
  outline: none;
  background-color: rgba(255, 122, 24, 0.08);
}

.accordion-button[aria-expanded="true"] {
  background-color: rgba(255, 122, 24, 0.05);
}

.accordion-button .ri-arrow-down-s-line {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.accordion-content {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved text visibility in modal */
#modalContent .text-charcoal {
  color: #1d1a1a;
  font-weight: 500;
}

#modalContent .text-charcoal\/60 {
  color: rgba(29, 26, 26, 0.7);
}

#modalContent .text-charcoal\/80 {
  color: rgba(29, 26, 26, 0.9);
}

#modalContent ul li {
  color: #1d1a1a;
}

#modalContent .text-base {
  color: #1d1a1a;
  font-size: 0.9375rem;
  line-height: 1.6;
}

#modalContent .text-sm {
  color: #1d1a1a;
  font-size: 0.875rem;
  line-height: 1.6;
}

#modalContent .text-lg {
  color: #1d1a1a;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Accordion active state */
.accordion-item.border-rich-orange\/40 {
  border-color: rgba(255, 122, 24, 0.4);
  box-shadow: 0 4px 12px rgba(255, 122, 24, 0.1);
}

.accordion-item.bg-soft-cream\/50 {
  background-color: rgba(255, 248, 240, 0.5);
}

/* Gallery images in accordion */
#modalGallery {
  gap: 0.75rem;
}

#modalGallery > div {
  border-radius: 0.5rem;
}

#modalGallery img {
  border-radius: 0.5rem;
  object-fit: cover;
  width: 100%;
}

/* Compact modal adjustments */
#modalContent {
  max-width: 90vw;
}

@media (min-width: 1024px) {
  #modalContent {
    max-width: 56rem;
  }
}

/* Better spacing for accordion content */
.accordion-content > div {
  padding-top: 0.5rem;
}

/* Profile details list styling */
#modalDetails li {
  padding: 0.75rem 0;
}

#modalDetails li:last-child {
  padding-bottom: 0;
}

#modalDetails .text-xs {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(29, 26, 26, 0.65);
}

#modalDetails .text-base {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1d1a1a;
  margin-top: 0.25rem;
}

/* ============================================
   GALLERY CAROUSEL STYLES
   ============================================ */
.gallery-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.gallery-carousel-track {
  display: flex;
  transition: transform 0.1s linear;
  will-change: transform;
}

.gallery-carousel-item {
  transition: transform 0.3s ease;
}

.gallery-carousel-item:hover {
  transform: translateY(-4px);
}

.gallery-carousel-item img {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.gallery-carousel-item:hover img {
  border-color: rgba(255, 122, 24, 0.3);
  box-shadow: 0 10px 30px rgba(255, 122, 24, 0.2);
}

/* Lightbox Styles */
#galleryLightbox {
  animation: fadeIn 0.3s ease-out;
}

#galleryLightbox img {
  animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#galleryLightbox button {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#galleryLightbox button:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .gallery-carousel-item {
    width: 240px !important;
  }
  
  .gallery-carousel-item img {
    height: 240px !important;
  }
  
  #galleryLightbox button {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  #galleryLightbox .left-4 {
    left: 0.5rem;
  }
  
  #galleryLightbox .right-4 {
    right: 0.5rem;
  }
}

/* ============================================
   EVENT HIGHLIGHTS (POST-EVENT HOMEPAGE)
   ============================================ */
.highlights-grid .highlights-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 122, 24, 0.15);
  background: #fff8f0;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 30px rgba(255, 122, 24, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlights-grid .highlights-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 122, 24, 0.15);
}

.highlights-grid .highlights-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease, filter 0.4s ease;
}

.highlights-grid .highlights-tile:hover img {
  transform: scale(1.05);
}

.highlights-grid .highlights-tile img.loading {
  opacity: 0.6;
  filter: blur(2px);
}

.highlights-grid .highlights-tile img.loaded {
  opacity: 1;
  filter: blur(0);
}

.highlights-grid .highlights-tile--hidden {
  display: none;
}

.highlights-grid .highlights-tile--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8f0, rgba(255, 122, 24, 0.1));
}

.highlights-grid .highlights-tile--fallback i {
  font-size: 2rem;
  color: rgba(255, 122, 24, 0.35);
}

#highlightsLightbox.flex {
  display: flex;
}

#highlightsLightbox .highlights-lightbox-btn {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767.98px) {
  .highlights-grid {
    gap: 0.5rem;
  }

  #highlightsLightbox .highlights-lightbox-btn {
    min-height: 44px;
    min-width: 44px;
  }

  #highlightsLightbox #highlightsLightboxPrev {
    left: 0.5rem;
  }

  #highlightsLightbox #highlightsLightboxNext {
    right: 0.5rem;
  }
}

#galleryLightbox.flex {
  display: flex;
}

#galleryLightbox .gallery-lightbox-btn {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767.98px) {
  #galleryLightbox .gallery-lightbox-btn {
    min-height: 44px;
    min-width: 44px;
  }

  #galleryLightbox #galleryLightboxPrev {
    left: 0.5rem;
  }

  #galleryLightbox #galleryLightboxNext {
    right: 0.5rem;
  }
}

/* ============================================
   TEAM MEMBER CARDS ENHANCEMENTS
   ============================================ */
.team-member-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.team-member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.1), rgba(212, 175, 55, 0.1), rgba(255, 179, 71, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover::before {
  opacity: 1;
}

.team-member-card .glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Enhanced avatar glow effect */
.team-member-card img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.team-member-card:hover img {
  filter: drop-shadow(0 12px 24px rgba(255, 122, 24, 0.3));
}

/* Better spacing for team cards */
.team-member-card {
  padding: 0 !important;
}

.team-member-card > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Responsive adjustments for team cards */
@media (max-width: 767.98px) {
  .team-member-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member-card:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .team-member-card {
    height: 100%;
  }
}

/* ============================================
   REIGNING QUEEN — HOMEPAGE HERO DUAL IMAGES
   ============================================ */
.queen-hero-dual {
  min-height: 380px;
}

.queen-hero-dual__primary {
  width: 72%;
  margin-left: auto;
}

.queen-hero-dual__secondary {
  width: 48%;
  height: 220px;
  bottom: -1rem;
  left: 0;
}

@media (min-width: 768px) {
  .queen-hero-dual__secondary {
    height: 260px;
    bottom: -1.5rem;
  }
}

@media (min-width: 1024px) {
  .queen-hero-dual__primary {
    width: 68%;
  }

  .queen-hero-dual__secondary {
    width: 44%;
    height: 300px;
    bottom: 2rem;
    left: -0.5rem;
  }
}

@media (min-width: 1280px) {
  .queen-hero-dual__secondary {
    height: 340px;
    bottom: 3rem;
  }
}

/* ============================================
   REIGNING QUEEN — PROFILE PAGE
   ============================================ */
.queen-profile-hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: linear-gradient(135deg, #3d1500 0%, #8b4000 45%, #cc5500 100%);
  color: white;
}

.queen-profile-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0.35;
}

.queen-profile-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(61, 21, 0, 0.95) 0%, rgba(139, 64, 0, 0.85) 50%, rgba(204, 85, 0, 0.6) 100%);
}

.queen-profile-hero__content {
  position: relative;
  z-index: 10;
}

.queen-profile-portrait {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.queen-profile-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.queen-stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 122, 24, 0.15);
  background: white;
  padding: 1.25rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.queen-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 122, 24, 0.12);
}

.queen-stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.12), rgba(212, 175, 55, 0.15));
  color: var(--rich-orange);
  font-size: 1.25rem;
}

.queen-mission-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(145deg, rgba(255, 248, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.queen-mission-card::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
}

.queen-initiative-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 122, 24, 0.12);
  background: white;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
}

.queen-initiative-card:hover {
  border-color: rgba(255, 122, 24, 0.35);
  box-shadow: 0 16px 40px rgba(255, 122, 24, 0.1);
  transform: translateY(-3px);
}

.queen-initiative-card__num {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--rich-orange), var(--gold-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
}

.queen-timeline {
  position: relative;
  padding-left: 2rem;
}

.queen-timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--rich-orange), var(--gold-accent));
}

.queen-timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.queen-timeline__item:last-child {
  padding-bottom: 0;
}

.queen-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--gold-accent);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--rich-orange);
}

.queen-gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.queen-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.queen-gallery-item:hover img {
  transform: scale(1.06);
}

.queen-gallery-item__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.queen-gallery-item:hover .queen-gallery-item__caption {
  opacity: 1;
}

.queen-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.queen-social-btn--tiktok {
  background: #010101;
  color: white;
}

.queen-social-btn--tiktok:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.queen-social-btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.queen-social-btn--instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.35);
}

.queen-hobby-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.25);
  background: rgba(255, 122, 24, 0.06);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
}

.queen-quote-block {
  border-left: 4px solid var(--gold-accent);
  padding-left: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
}

.queen-prize-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(145deg, #fff 0%, var(--soft-cream) 100%);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.queen-prize-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(255, 122, 24, 0.12);
}

.queen-prize-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.15), rgba(212, 175, 55, 0.2));
  color: var(--rich-orange);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.queen-event-featured {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  text-align: left;
}

.queen-event-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.queen-event-featured:hover img {
  transform: scale(1.04);
}

.queen-event-featured__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
  pointer-events: none;
}

.queen-event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .queen-event-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .queen-event-grid__wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

.queen-event-photo {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.queen-event-photo:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 3px;
}

#queenLightbox img {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
  .queen-profile-hero {
    min-height: auto;
  }

  .queen-profile-hero__content {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .queen-hero-dual {
    padding-bottom: 1.5rem;
  }

  .queen-hero-dual__primary {
    width: 85%;
  }

  .queen-hero-dual__secondary {
    width: 55%;
    height: 160px;
    bottom: 0;
    left: -0.25rem;
  }

  .queen-hero-dual .hero-badge {
    top: auto;
    bottom: 8rem;
    right: 0;
    padding: 0.75rem 1rem;
  }

  .queen-hero-dual .hero-badge i {
    font-size: 1.5rem;
  }
}
