:root {
  --color-bg-primary: #f8f9fa;
  --color-bg-secondary: #ffffff;
  --color-accent-red: #ff0033;
  --color-accent-gold: #b8860b;
  --color-text-primary: #121212;
  --color-text-muted: #6c757d;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-default: 8px;
}

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

body {
  font-family: 'Cairo', 'Outfit', sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Curtain Loader Overlay */
.curtain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  /* Velvet folds simulation using repeated gradients and shadow layers */
  background: repeating-linear-gradient(
    to right,
    #2b0004 0px,
    #4a0008 15px,
    #70000c 30px,
    #9c0012 45px,
    #cc0018 60px,
    #9c0012 75px,
    #70000c 90px,
    #4a0008 105px,
    #2b0004 120px
  );
  box-shadow: inset -15px 0 40px rgba(0, 0, 0, 0.8), inset 15px 0 40px rgba(0, 0, 0, 0.8);
  transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.curtain::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

.curtain-left {
  left: 0;
  transform-origin: left center;
  border-right: 3px solid #1a0003;
}

.curtain-right {
  right: 0;
  transform-origin: right center;
  border-left: 3px solid #1a0003;
}

/* Curtain opening class */
.curtains-open .curtain-left {
  transform: translateX(-100%) scaleX(0.2);
}

.curtains-open .curtain-right {
  transform: translateX(100%) scaleX(0.2);
}

/* Logo & Button inside Curtain */
.curtain-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.curtains-open .curtain-content {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gold-logo {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 0 15px rgba(229, 169, 59, 0.4));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(229, 169, 59, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(229, 169, 59, 0.6));
  }
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  color: var(--color-accent-gold);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.enter-btn {
  background-color: transparent;
  color: var(--color-accent-gold);
  border: 2px solid var(--color-accent-gold);
  padding: 14px 44px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(229, 169, 59, 0.2);
  transition: var(--transition-smooth);
  outline: none;
  font-family: 'Cairo', sans-serif;
}

.enter-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-primary);
  box-shadow: 0 0 30px rgba(229, 169, 59, 0.6);
  transform: translateY(-3px);
}

.enter-btn:active {
  transform: translateY(-1px);
}

/* Main App Container styles (hidden initially) */
.app-container {
  height: 100vh;
  height: 100dvh;
  max-width: 576px;
  margin: 0 auto;
  position: relative;
  background-color: var(--color-bg-primary);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1.4s ease 0.5s, transform 1.4s ease 0.5s;
}

.curtains-open + .app-container {
  opacity: 1;
  transform: scale(1);
}

.app-header {
  position: relative;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-secondary);
  border-bottom: 1px solid rgba(255, 0, 51, 0.08);
}

.header-logo {
  font-family: 'Outfit', sans-serif;
  color: var(--color-accent-red);
  font-weight: 700;
  font-size: 20px;
}

.lang-switch {
  position: absolute;
  inset-inline-end: 20px;
  background: transparent;
  border: 1px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-switch:hover {
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
}

.app-main {
  flex: 1;
  padding: 24px 16px;
  overflow-y: auto;
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); /* space for bottom nav */
}

.welcome-card {
  background-color: var(--color-bg-secondary);
  padding: 32px 24px;
  border-radius: var(--border-radius-default);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.welcome-card h2 {
  color: var(--color-accent-gold);
  margin-bottom: 12px;
  font-size: 24px;
}

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

/* Bottom Nav Styles */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 576px;
  height: auto;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 0, 51, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding-top: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); /* space for modern mobile home bar */
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-muted);
  gap: 4px;
  transition: var(--transition-smooth);
  width: 20%;
}

.nav-item.active {
  color: var(--color-accent-red);
}

.nav-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: transform 0.2s ease, stroke-width 0.2s ease;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  stroke-width: 2.2;
}

.nav-item:active .nav-icon {
  transform: scale(1.15);
}

.nav-text {
  font-size: 11px;
  font-weight: 600;
}

/* App Sections Switcher Styles */
.app-section {
  display: none;
  animation: sectionFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.app-section.active {
  display: block;
}

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

/* Active Nav Glow Effect */
.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 6px rgba(255, 0, 51, 0.6));
}

.nav-item.active .nav-text {
  text-shadow: 0 0 8px rgba(255, 0, 51, 0.3);
}

/* ==========================================
   News Ticker Styles
   ========================================== */
.ticker-wrap {
  width: 100%;
  background: var(--color-accent-red);
  color: #ffffff;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--color-accent-gold);
  border-bottom: 1px solid var(--color-accent-gold);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.ticker-badge {
  background: var(--color-accent-gold);
  color: var(--color-bg-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  z-index: 12;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
  animation: pulse 2s infinite;
}

html[dir="rtl"] .ticker-badge {
  right: 0;
  left: auto;
  box-shadow: -2px 0 6px rgba(0,0,0,0.15);
}

html[dir="ltr"] .ticker-badge {
  left: 0;
  right: auto;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
}

.ticker-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  direction: ltr !important;
}

html[dir="rtl"] .ticker-content {
  padding-right: 80px; /* offset badge */
  padding-left: 10px;
}

html[dir="ltr"] .ticker-content {
  padding-left: 80px; /* offset badge */
  padding-right: 10px;
}

.ticker-track {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  width: max-content;
  flex-shrink: 0;
  left: 0;
  right: auto;
}

html[dir="rtl"] .ticker-track {
  animation: marquee-rtl 35s linear infinite;
}

html[dir="ltr"] .ticker-track {
  animation: marquee-ltr 35s linear infinite;
}

.ticker-track span {
  display: inline-block;
  padding: 0 35px;
  flex-shrink: 0;
}

@keyframes marquee-rtl {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes marquee-ltr {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes pulse {
  0% { opacity: 0.95; }
  50% { opacity: 0.7; }
  100% { opacity: 0.95; }
}


/* ==========================================
   Home Section Components
   ========================================== */

/* Spotlight Branding Card */
.spotlight-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.spotlight-accent {
  position: absolute;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--color-accent-gold);
}

html[dir="rtl"] .spotlight-accent {
  right: 0;
}

html[dir="ltr"] .spotlight-accent {
  left: 0;
}

.spotlight-tag {
  background: rgba(184, 134, 11, 0.08);
  color: var(--color-accent-gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.spotlight-title {
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.spotlight-subtitle {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
}


/* Countdown Widget */
.countdown-widget {
  background: #111111;
  color: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 12px 35px rgba(255, 0, 51, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-widget .widget-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  text-align: center;
}

.timer-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  direction: ltr; /* Timers read left-to-right structurally */
  margin-bottom: 20px;
}

.timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 55px;
}

.timer-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent-red);
  font-family: monospace;
  text-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timer-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.timer-colon {
  font-size: 26px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  margin-top: -20px;
}

.countdown-details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  text-align: center;
}

.cd-show-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cd-show-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}


/* Asymmetric Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.01);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent-gold-hover);
}

.stat-num {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  -webkit-text-stroke: 1.5px var(--color-accent-gold);
  color: transparent;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stat-card:hover .stat-num {
  color: var(--color-accent-gold);
  text-shadow: 0 0 12px rgba(184, 134, 11, 0.35);
}

.stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
}


/* ============================================================
   Poster Carousel
   ============================================================ */
.poster-carousel-section {
  margin-bottom: 20px;
  position: relative;
}

.poster-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  direction: ltr; /* always slide left-to-right regardless of page lang */
}

.poster-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  direction: ltr;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.poster-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.poster-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;  /* show full image, no crop */
  border-radius: 0;
  z-index: 2;
}

/* Poster fallback styling when image is loading or fails to load */
.poster-fallback-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2b0004;
  z-index: 1;
}

.fallback-velvet-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to right,
    #2b0004 0px,
    #4a0008 15px,
    #70000c 30px,
    #9c0012 45px,
    #cc0018 60px,
    #9c0012 75px,
    #70000c 90px,
    #4a0008 105px,
    #2b0004 120px
  );
  box-shadow: inset 0 0 50px rgba(0,0,0,0.9);
  opacity: 0.9;
}

.fallback-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  gap: 8px;
}

.fallback-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(229,169,59,0.6));
  animation: logoGlow 4s ease-in-out infinite alternate;
}

.fallback-title-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent-gold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.fallback-title-en {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}


.poster-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  text-align: center;
  border-radius: 0 0 18px 18px;
}

/* Prev / Next arrow buttons — inside .poster-carousel (position: relative) */
.poster-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  color: var(--color-text-primary);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.poster-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.poster-prev { left: 10px; }
.poster-next { right: 10px; }

/* Dot indicators */
.poster-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.poster-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.poster-dot.active {
  background: var(--color-accent-gold);
  transform: scale(1.35);
}

/* Empty state placeholder */
.poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-family: 'Cairo', sans-serif;
}

.poster-placeholder-icon {
  font-size: 48px;
  opacity: 0.35;
}


/* Interactive countdown play details button */
#btn-cd-details {
  margin-top: 10px;
  background: transparent;
  color: var(--color-accent-gold);
  border: 1px solid rgba(184, 134, 11, 0.4);
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#btn-cd-details:hover {
  background: var(--color-accent-gold);
  color: #111111;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 10px rgba(184, 134, 11, 0.4);
}


/* ==========================================
   Admin Dashboard & Security Styles
   ========================================== */

/* Auth PIN Overlay */
.admin-auth-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 20px;
}

.auth-card {
  background: var(--color-card-bg);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.auth-card h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.auth-card p {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.pin-inputs {
  margin-bottom: 20px;
}

#admin-pin {
  width: 120px;
  font-size: 26px;
  text-align: center;
  letter-spacing: 8px;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
  background: #ffffff;
  color: var(--color-text-primary);
  outline: none;
  font-family: monospace;
}

#admin-pin:focus {
  border-color: var(--color-accent-red);
}

.error-msg {
  color: var(--color-accent-red);
  font-size: 11px;
  font-weight: 600;
  margin-top: 12px;
}

/* Dashboard Panel */
.admin-dashboard {
  background: var(--color-card-bg);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.dashboard-header h2 {
  font-family: 'Cairo', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-primary);
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.editor-section {
  background: rgba(0, 0, 0, 0.01);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.editor-section h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--color-text-primary);
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-red);
}

/* Input group inline styles */
.input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.input-group input {
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--color-text-primary);
  font-size: 13px;
  outline: none;
}

.input-group input:focus {
  border-color: var(--color-accent-red);
}

/* Dashboard Action Buttons */
.btn {
  font-family: 'Cairo', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-accent-red);
  color: #ffffff;
}

.btn-primary:hover {
  background: #e0002d;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
}

.btn-accent {
  background: var(--color-accent-gold);
  color: var(--color-bg-dark);
}

.btn-accent:hover {
  background: var(--color-accent-gold-hover);
}

.btn-small {
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 6px;
}

/* Ticker manager list */
.ticker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 150px;
  overflow-y: auto;
}

.ticker-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--color-text-primary);
}

.ticker-list li button {
  background: none;
  border: none;
  color: var(--color-accent-red);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

/* Dashboard footer controls */
.dashboard-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
}

.dashboard-footer button {
  width: 100%;
}

/* Config Export panel */
.export-area {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: right;
}

.export-area h4 {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.export-area textarea {
  width: 100%;
  font-family: monospace;
  font-size: 11px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #333333;
  direction: ltr; /* JSON is LTR */
  text-align: left;
  resize: none;
  margin-bottom: 10px;
}

/* ==========================================================================
   Program Section Styles
   ========================================================================== */

.section-header-row {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 32px;
  height: 3px;
  background: var(--color-accent-red);
  border-radius: 2px;
}

/* Category Tab Pills */
.program-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.03);
  padding: 4px;
  border-radius: 30px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.program-tabs::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.tab-pill {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.tab-pill.active {
  background: var(--color-accent-red);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 0, 51, 0.15);
}

.venue-link {
  color: var(--color-gold) !important;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}
.venue-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}
.venue-link-icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* Search Bar */
.search-bar-container {
  margin-bottom: 14px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

/* Position search icon according to direction */
html[dir="rtl"] .search-icon {
  right: 12px;
}

html[dir="ltr"] .search-icon {
  left: 12px;
}

#program-search {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 13.5px;
  font-family: 'Cairo', sans-serif;
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

html[dir="rtl"] #program-search {
  padding: 10px 40px 10px 16px;
}

html[dir="ltr"] #program-search {
  padding: 10px 16px 10px 40px;
}

#program-search:focus {
  border-color: var(--color-accent-red);
  box-shadow: 0 4px 12px rgba(255, 0, 51, 0.08);
}

/* Country Horizontal Slider */
.country-filters-wrap {
  margin: 0 -20px 16px -20px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.country-filters-wrap::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.country-filters {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.country-pill {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.country-pill.active {
  background: var(--color-accent-gold);
  color: #ffffff;
  border-color: var(--color-accent-gold);
  box-shadow: 0 4px 8px rgba(184, 134, 11, 0.25);
}

.country-pill:hover:not(.active) {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

/* Plays Grid */
.plays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding-bottom: 80px; /* Space for bottom nav */
}

/* Play Card */
.play-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition-smooth);
}

.play-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(255, 0, 51, 0.15);
}

.play-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-country-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(184, 134, 11, 0.1);
  color: var(--color-accent-gold);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(184, 134, 11, 0.15);
}

.card-category-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 0, 51, 0.06);
  color: var(--color-accent-red);
  padding: 4px 8px;
  border-radius: 6px;
}

.play-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-uni-text {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.card-play-title {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.play-card-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-card {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 8px;
  background: rgba(255, 0, 51, 0.04);
  color: var(--color-accent-red);
  border: 1px solid rgba(255, 0, 51, 0.1);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-card:hover {
  background: var(--color-accent-red);
  color: #ffffff;
  border-color: var(--color-accent-red);
  box-shadow: 0 4px 8px rgba(255, 0, 51, 0.15);
}

/* ==========================================================================
   Play Details Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  animation: modalFadeIn 0.3s forwards ease-out;
}

.modal-card {
  background: var(--color-bg-secondary);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transform: translateY(20px);
  animation: modalSlideUp 0.3s forwards ease-out;
}

@keyframes modalFadeIn {
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  to { transform: translateY(0); }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--color-accent-red);
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-badge-country {
  font-size: 11px;
  font-weight: 700;
  background: rgba(184, 134, 11, 0.1);
  color: var(--color-accent-gold);
  border: 1px solid rgba(184, 134, 11, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

.modal-badge-uni {
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-text-muted);
  padding: 4px 10px;
  border-radius: 20px;
}

.modal-badge-category {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 0, 51, 0.06);
  color: var(--color-accent-red);
  padding: 4px 10px;
  border-radius: 20px;
}

.modal-synopsis-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-synopsis-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 6px;
}

.modal-synopsis {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-primary);
  opacity: 0.85;
  white-space: pre-line;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.btn-modal-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12px;
  padding: 10px;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Admin Sub-Tabs and CRUD Panel
   ========================================================================== */

.admin-sub-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 16px;
  gap: 4px;
}

.admin-sub-tabs::-webkit-scrollbar {
  display: none;
}

.sub-tab-btn {
  flex: 1 0 auto;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 10px 14px;
  font-family: 'Cairo', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.sub-tab-btn.active {
  color: var(--color-accent-red);
}

.sub-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent-red);
}

.admin-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

/* Admin Table Design */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: right;
}

/* For English admin mode support */
html[dir="ltr"] .admin-table {
  text-align: left;
}

.admin-table th {
  background: rgba(0, 0, 0, 0.02);
  padding: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.admin-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  vertical-align: middle;
  color: var(--color-text-primary);
}

.admin-table tr:hover {
  background: rgba(0,0,0,0.01);
}

.action-btns {
  display: flex;
  gap: 6px;
}

.btn-table-action {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-edit {
  color: var(--color-accent-gold);
}

.btn-edit:hover {
  background: rgba(184, 134, 11, 0.08);
}

.btn-delete {
  color: var(--color-accent-red);
}

.btn-delete:hover {
  background: rgba(255, 0, 51, 0.08);
}

/* Admin Form grids */
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media(min-width: 520px) {
  .form-row-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.play-form-section {
  border: 1px solid rgba(255, 0, 51, 0.12);
  background: rgba(255, 0, 51, 0.01) !important;
  box-shadow: 0 4px 12px rgba(255, 0, 51, 0.02);
}

#inp-play-category {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--color-text-primary);
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

#inp-play-category:focus {
  border-color: var(--color-accent-red);
}

/* ==========================================================================
   Program Sub-tabs and Timeline Styles
   ========================================================================== */

.program-sub-tabs-bar {
  display: flex;
  background: var(--color-bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.program-sub-tabs-bar .sub-tab-btn {
  border-radius: 8px;
  padding: 10px 14px;
}

.program-sub-tabs-bar .sub-tab-btn.active {
  background: var(--color-bg-secondary);
  color: var(--color-accent-red);
  box-shadow: var(--shadow-sm);
}

.program-sub-tabs-bar .sub-tab-btn.active::after {
  display: none;
}

/* Timeline view styling */
#timeline-view-container {
  font-family: 'Cairo', sans-serif;
}

.timeline-day-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.timeline-day-selector::-webkit-scrollbar {
  display: none;
}

.timeline-day-selector .day-pill {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-speed-fast) var(--transition-ease);
  min-width: 90px;
  color: var(--color-text-primary);
}

.timeline-day-selector .day-pill.active {
  background: var(--color-accent-red);
  color: #fff;
  border-color: var(--color-accent-red);
  box-shadow: 0 4px 15px rgba(255, 0, 51, 0.2);
  transform: translateY(-2px);
}

.timeline-day-selector .day-pill .day-num {
  font-size: 13px;
  font-weight: 700;
}

.timeline-day-selector .day-pill .day-date {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 2px;
}

.timeline-track {
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
}

/* Timeline vertical line */
.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
}
html[dir="rtl"] .timeline-track::before {
  right: 32px;
}
html[dir="ltr"] .timeline-track::before {
  left: 32px;
}

.timeline-events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

/* Timeline dots */
.timeline-card .timeline-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 3px solid var(--color-gold);
  z-index: 2;
  top: 22px;
}
html[dir="rtl"] .timeline-card .timeline-dot {
  right: 6px;
}
html[dir="ltr"] .timeline-card .timeline-dot {
  left: 6px;
}

/* Offset cards based on RTL/LTR */
html[dir="rtl"] .timeline-card {
  padding-right: 44px;
}
html[dir="ltr"] .timeline-card {
  padding-left: 44px;
}

.timeline-time {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold);
  background: var(--color-bg-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  margin-top: 14px;
  min-width: 50px;
  text-align: center;
}

.timeline-content {
  flex: 1;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover .timeline-content {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.timeline-type-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.timeline-icon {
  width: 16px;
  height: 16px;
}

.timeline-type-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.timeline-event-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 6px 0;
}

.timeline-event-venue {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Specific cards styling by event type */
.timeline-card.type-ceremony .timeline-content {
  border-left: 4px solid #ffd700;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(255, 215, 0, 0.03) 100%);
}
html[dir="rtl"] .timeline-card.type-ceremony .timeline-content {
  border-left: none;
  border-right: 4px solid #ffd700;
}
.timeline-card.type-ceremony .timeline-dot {
  border-color: #ffd700;
}
.timeline-card.type-ceremony .timeline-type-row {
  color: #d4af37;
}

.timeline-card.type-play .timeline-content {
  border-left: 4px solid var(--color-accent-red);
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(255, 0, 51, 0.02) 100%);
}
html[dir="rtl"] .timeline-card.type-play .timeline-content {
  border-left: none;
  border-right: 4px solid var(--color-accent-red);
}
.timeline-card.type-play .timeline-dot {
  border-color: var(--color-accent-red);
}
.timeline-card.type-play .timeline-type-row {
  color: var(--color-accent-red);
}

.timeline-card.type-symposium .timeline-content {
  border-left: 4px solid #00a896;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(0, 168, 150, 0.02) 100%);
}
html[dir="rtl"] .timeline-card.type-symposium .timeline-content {
  border-left: none;
  border-right: 4px solid #00a896;
}
.timeline-card.type-symposium .timeline-dot {
  border-color: #00a896;
}
.timeline-card.type-symposium .timeline-type-row {
  color: #00a896;
}

.timeline-card.type-tourism .timeline-content {
  border-left: 4px solid #028090;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(2, 128, 144, 0.02) 100%);
}
html[dir="rtl"] .timeline-card.type-tourism .timeline-content {
  border-left: none;
  border-right: 4px solid #028090;
}
.timeline-card.type-tourism .timeline-dot {
  border-color: #028090;
}
.timeline-card.type-tourism .timeline-type-row {
  color: #028090;
}

.timeline-card.type-meal .timeline-content {
  border-left: 4px solid #8e9aaf;
}
html[dir="rtl"] .timeline-card.type-meal .timeline-content {
  border-left: none;
  border-right: 4px solid #8e9aaf;
}
.timeline-card.type-meal .timeline-dot {
  border-color: #8e9aaf;
}
.timeline-card.type-meal .timeline-type-row {
  color: #8e9aaf;
}

/* Play detail sub-card */
.timeline-play-details {
  margin-top: 12px;
  background: var(--color-bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media(min-width: 480px) {
  .timeline-play-details {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.t-play-meta {
  display: flex;
  flex-direction: column;
}

.t-play-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.t-play-uni {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.timeline-discussion {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,0,0,0.06);
  font-size: 12px;
  color: var(--color-text-primary);
  display: flex;
  gap: 4px;
}
.timeline-discussion strong {
  color: var(--color-gold);
}

.timeline-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Tourism Excursions List */
.tourism-trips-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 0;
  overflow-y: auto;
  max-height: calc(100vh - 240px);
  max-height: calc(100dvh - 240px);
}

.tourism-trip-card {
  background: var(--color-bg-secondary);
  border-radius: 12px;
  border-left: 5px solid #028090;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[dir="rtl"] .tourism-trip-card {
  border-left: none;
  border-right: 5px solid #028090;
}

.tourism-trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tourism-trip-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tourism-trip-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(2, 128, 144, 0.1);
  color: #028090;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tourism-trip-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin: 0;
}

.tourism-trip-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.tourism-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.tourism-card-icon {
  width: 16px;
  height: 16px;
  color: #028090;
  flex-shrink: 0;
}

/* Symposiums & Seminars List */
.symposiums-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 0;
  overflow-y: auto;
  max-height: calc(100vh - 240px);
  max-height: calc(100dvh - 240px);
}

.symposium-card {
  background: var(--color-bg-secondary);
  border-radius: 12px;
  border-left: 5px solid var(--color-accent-gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[dir="rtl"] .symposium-card {
  border-left: none;
  border-right: 5px solid var(--color-accent-gold);
}

.symposium-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.symposium-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.symposium-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(184, 134, 11, 0.1);
  color: var(--color-accent-gold);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.symposium-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin: 0;
}

.symposium-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.symposium-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.symposium-card-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}

/* Play Card and Modal Schedule Details Styles */
.card-schedule-info {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-sched-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.card-sched-icon {
  width: 14px;
  height: 14px;
  color: var(--color-accent-red);
  flex-shrink: 0;
}

.card-sched-discussion {
  margin-top: 2px;
  background: rgba(184, 134, 11, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(184, 134, 11, 0.1);
}

.card-sched-discussion .card-sched-icon {
  color: var(--color-accent-gold);
}

.card-sched-discussion span {
  color: var(--color-accent-gold);
  font-weight: 600;
  font-size: 11px;
}

/* Venue Link and Navigation Button Styles */
.venue-link {
  color: var(--color-accent-red);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.venue-link:hover {
  color: var(--color-accent-gold);
  text-decoration: underline;
}

.venue-link-icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.card-sched-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-navigate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--color-accent-red), #d6002b);
  color: #ffffff !important;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 0, 51, 0.2);
  transition: var(--transition-smooth);
}

.btn-navigate:hover {
  background: linear-gradient(135deg, var(--color-accent-gold), #9a7009);
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.btn-navigate-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.card-sched-divider {
  border: none;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  margin: 8px 0;
  width: 100%;
}

.card-sched-event-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Modal Schedule Section styling */
.modal-schedule-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}

.modal-schedule-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 6px;
}

.modal-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--color-bg-primary);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.03);
}

.modal-sched-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-primary);
}

.modal-sched-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent-red);
  flex-shrink: 0;
}

.modal-sched-discussion {
  background: rgba(184, 134, 11, 0.06);
  border: 1px solid rgba(184, 134, 11, 0.15);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 4px;
}

.modal-sched-discussion .modal-sched-icon {
  color: var(--color-accent-gold);
}

.modal-sched-discussion span {
  color: var(--color-accent-gold);
  font-size: 12px;
  line-height: 1.4;
}

/* ============================================================
   Places Section (Public & Admin Styles)
   ============================================================ */
.places-section-header {
  margin-bottom: 24px;
}

.places-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  -webkit-overflow-scrolling: touch;
}

.places-filters::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.places-pill {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--color-text-muted);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.places-pill:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  transform: translateY(-1px);
}

.places-pill.active {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 20px;
}

.place-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(255, 0, 51, 0.04);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.place-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 51, 0.12);
  box-shadow: 0 12px 30px rgba(255, 0, 51, 0.08), 0 0 15px rgba(184, 134, 11, 0.06);
}

.place-card-img-wrap {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #1a0003; /* velvet fallback background */
}

.place-card-img-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
  z-index: 1;
}

.place-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.place-badge {
  position: absolute;
  top: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .place-badge {
  right: 12px;
}

html[dir="ltr"] .place-badge {
  left: 12px;
}

.place-badge.theater {
  background: var(--color-accent-red);
}

.place-badge.accommodation {
  background: var(--color-accent-gold);
}

.place-badge.tourism {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.place-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.place-title {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0;
}

.place-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.place-card-actions {
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.btn-map {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-map:hover {
  background: var(--color-accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.2);
}

.btn-map * {
  pointer-events: none;
}

.btn-map-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.places-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  grid-column: 1 / -1;
}

/* Image fallback logo/pattern for place cards */
.place-fallback-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    #1f0004 0px,
    #1f0004 10px,
    #2a0006 10px,
    #2a0006 20px
  );
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.place-fallback-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.6;
}

/* ==========================================
   Links Screen & Components
   ========================================== */
.links-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 16px 4px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for clean layout */
}

.links-filters::-webkit-scrollbar {
  display: none;
}

.links-pill {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.links-pill:hover,
.links-pill.active {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 20px;
  padding-bottom: 40px;
}

.link-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Category-specific indicator borders */
.link-card.cat-whatsapp {
  border-left: 4px solid #25D366;
}
.link-card.cat-registration {
  border-left: 4px solid var(--color-accent-gold);
}
.link-card.cat-livestream {
  border-left: 4px solid var(--color-accent-red);
}
.link-card.cat-social {
  border-left: 4px solid #0088cc;
}
.link-card.cat-other {
  border-left: 4px solid var(--color-text-muted);
}

/* RTL Support - border-left becomes border-right on Arabic */
[dir="rtl"] .link-card.cat-whatsapp {
  border-left: none;
  border-right: 4px solid #25D366;
}
[dir="rtl"] .link-card.cat-registration {
  border-left: none;
  border-right: 4px solid var(--color-accent-gold);
}
[dir="rtl"] .link-card.cat-livestream {
  border-left: none;
  border-right: 4px solid var(--color-accent-red);
}
[dir="rtl"] .link-card.cat-social {
  border-left: none;
  border-right: 4px solid #0088cc;
}
[dir="rtl"] .link-card.cat-other {
  border-left: none;
  border-right: 4px solid var(--color-text-muted);
}

.link-card-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.link-badge {
  font-family: 'Cairo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.cat-whatsapp .link-badge {
  background: rgba(37, 211, 102, 0.08);
  color: #1ebe5d;
}
.cat-registration .link-badge {
  background: rgba(184, 134, 11, 0.08);
  color: var(--color-accent-gold);
}
.cat-livestream .link-badge {
  background: rgba(255, 0, 51, 0.06);
  color: var(--color-accent-red);
}
.cat-social .link-badge {
  background: rgba(0, 136, 204, 0.08);
  color: #0088cc;
}
.cat-other .link-badge {
  background: rgba(108, 117, 125, 0.08);
  color: var(--color-text-muted);
}

.link-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-title {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.link-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.link-card-actions {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.btn-link-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

/* Category-based Action Button Styling */
.cat-whatsapp .btn-link-action {
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.02);
}
.cat-whatsapp .btn-link-action:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.cat-registration .btn-link-action {
  color: var(--color-accent-gold);
  border: 1px solid rgba(184, 134, 11, 0.3);
  background: rgba(184, 134, 11, 0.02);
}
.cat-registration .btn-link-action:hover {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

.cat-livestream .btn-link-action {
  color: var(--color-accent-red);
  border: 1px solid rgba(255, 0, 51, 0.2);
  background: rgba(255, 0, 51, 0.02);
}
.cat-livestream .btn-link-action:hover {
  background: var(--color-accent-red);
  border-color: var(--color-accent-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 0, 51, 0.15);
}

.cat-social .btn-link-action {
  color: #0088cc;
  border: 1px solid rgba(0, 136, 204, 0.3);
  background: rgba(0, 136, 204, 0.02);
}
.cat-social .btn-link-action:hover {
  background: #0088cc;
  border-color: #0088cc;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.15);
}

.cat-other .btn-link-action {
  color: var(--color-text-muted);
  border: 1px solid rgba(108, 117, 125, 0.3);
  background: rgba(108, 117, 125, 0.02);
}
.cat-other .btn-link-action:hover {
  background: var(--color-text-muted);
  border-color: var(--color-text-muted);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.15);
}

.btn-link-action * {
  pointer-events: none;
}

.btn-link-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.links-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  grid-column: 1 / -1;
}

/* Featured/Urgent Link Styling */
.link-card.featured-link-card {
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.01) 0%, rgba(184, 134, 11, 0.02) 100%);
  border: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.06);
  animation: featuredGlow 3s infinite alternate;
}

@keyframes featuredGlow {
  0% {
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.04);
    border-color: rgba(184, 134, 11, 0.25);
  }
  100% {
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.12);
    border-color: rgba(184, 134, 11, 0.45);
  }
}

.featured-badge-glowing {
  font-family: 'Cairo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-red);
  background: rgba(255, 0, 51, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 0, 51, 0.12);
  animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
  0% {
    opacity: 0.8;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* Premium Section Titles */
.premium-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 24px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}
html[dir="rtl"] .premium-section-title {
  font-family: 'Cairo', sans-serif;
}
html[dir="ltr"] .premium-section-title {
  font-family: 'Outfit', sans-serif;
}
.premium-section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}
html[dir="rtl"] .premium-section-title::after {
  left: auto;
  right: 0;
}

/* Jury Members Section */
.jury-section {
  margin-bottom: 24px;
}
.jury-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 12px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}
.jury-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

/* Jury Coming Soon Placeholder */
.jury-coming-soon {
  flex: 1 1 100%;
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  animation: pulseGold 3s infinite alternate;
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), 0 0 5px rgba(184, 134, 11, 0.1);
    border-color: rgba(184, 134, 11, 0.2);
  }
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), 0 0 15px rgba(184, 134, 11, 0.3);
    border-color: rgba(184, 134, 11, 0.4);
  }
}

.jury-coming-soon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.jury-coming-soon .coming-soon-badge {
  display: inline-block;
  background: var(--color-accent-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.jury-coming-soon .coming-soon-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.jury-coming-soon .coming-soon-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.jury-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  background: var(--color-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.jury-card:hover, .jury-card:active {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(229, 169, 59, 0.12);
}
.jury-avatar-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-card-bg));
  border: 2px solid var(--color-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}
.jury-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jury-avatar-fallback {
  width: 50%;
  height: 50%;
  color: var(--color-gold);
}
.jury-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.jury-country-badge {
  font-size: 10px;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}
.jury-role {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-accent-red);
  line-height: 1.2;
}

/* Jury Carousel Dots */
.jury-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.jury-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.jury-dot.active {
  background: var(--color-accent-gold);
  width: 20px;
  border-radius: 4px;
}

/* Partners & Sponsors Section */
.partners-section {
  margin-bottom: 24px;
  position: relative;
}

.partners-ticker-wrap {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: center;
  will-change: transform;
}

/* Pause scroll on hover so users can hover */
.partners-ticker-wrap:hover .partners-ticker-track {
  animation-play-state: paused;
}

/* We support RTL and LTR scrolling anims */
[dir="rtl"] .partners-ticker-track {
  animation: partnersMarqueeRtl 30s linear infinite;
}

[dir="ltr"] .partners-ticker-track {
  animation: partnersMarqueeLtr 30s linear infinite;
}

@keyframes partnersMarqueeLtr {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes partnersMarqueeRtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* Circular Partner Item Card */
.partner-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  flex-shrink: 0;
  text-align: center;
}

.partner-logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 1px solid rgba(229, 169, 59, 0.25);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo-circle:hover {
  transform: scale(1.08);
  border-color: var(--color-accent-gold);
  box-shadow: 0 6px 14px rgba(229, 169, 59, 0.2);
}

.partner-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circle fallback acronym text */
.partner-logo-fallback {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-gold);
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.1), rgba(229, 169, 59, 0.02));
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}

/* Label below circle */
.partner-circle-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-family: 'Cairo', sans-serif;
}

/* Admin CRUD styles for logos */
.partner-logo-preview-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(229, 169, 59, 0.3);
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}
