/* =====================================================================
   F5IFF 2026 - Modern Cinematic Luxe Design System
   ===================================================================== */

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

:root {
  /* Core Color Palette */
  --bg-dark: #0a0810;
  --bg-card: rgba(22, 17, 31, 0.75);
  --bg-card-hover: rgba(32, 25, 46, 0.85);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(247, 203, 83, 0.35);

  --maroon-glow: #8b0025;
  --maroon-bright: #b80d38;
  --gold: #f7cb53;
  --gold-glow: rgba(247, 203, 83, 0.18);
  --gold-dark: #dca326;
  
  --text-main: #f5f2f9;
  --text-muted: #a39cb3;
  --text-subtle: #6e677c;

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Caveat', cursive;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  
  --shadow-glow: 0 10px 30px -10px rgba(139, 0, 37, 0.35);
  --shadow-gold: 0 10px 30px -10px rgba(247, 203, 83, 0.25);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Hide Top Nav Bars & Admin Bars Site-Wide on Public Pages */
.f5-topbar, .f5-admin-bar-top, .f5-admin-mobile-top {
  display: none !important;
}

/* Base Reset & Ambient Background */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(139, 0, 37, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(247, 203, 83, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(10, 8, 16, 1) 0%, rgba(5, 4, 8, 1) 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); transition: color 0.2s ease; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

/* Typography Helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-glow);
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(247, 203, 83, 0.25);
}

h1, h2, h3, .display { 
  font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; color: #fff; 
  letter-spacing: -0.01em;
}

.script { 
  font-family: var(--script); font-weight: 600; color: var(--gold); 
  font-size: 1.15em; display: inline-block;
}

/* ---------- Global Button & Submission Utility System ---------- */
button, 
input[type="submit"], 
input[type="button"] {
  font-family: var(--sans);
}

.f5-btn, 
.f5-form button[type="submit"],
.f5-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  padding: 16px 28px !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.f5-btn:hover,
.f5-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(247, 203, 83, 0.35);
}

.f5-btn:active,
.f5-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Button Variants */
.f5-btn-gold,
.f5-btn-primary {
  background: linear-gradient(135deg, #f7cb53 0%, #dca326 100%) !important;
  color: #0a0810 !important;
  border: 1px solid rgba(247, 203, 83, 0.6) !important;
}

.f5-btn-gold:hover,
.f5-btn-primary:hover {
  background: linear-gradient(135deg, #fce078 0%, #f7cb53 100%) !important;
  color: #000000 !important;
  box-shadow: 0 10px 30px rgba(247, 203, 83, 0.45) !important;
}

.f5-btn-outline {
  background: transparent !important;
  border: 1px solid rgba(247, 203, 83, 0.5) !important;
  color: #f7cb53 !important;
}

.f5-btn-outline:hover {
  background: rgba(247, 203, 83, 0.15) !important;
  border-color: #f7cb53 !important;
  color: #ffffff !important;
}

.f5-btn-dark {
  background: linear-gradient(135deg, #8b0025, #35000c) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.f5-btn-dark:hover {
  background: linear-gradient(135deg, #b80d38, #8b0025) !important;
  box-shadow: 0 10px 30px rgba(139, 0, 37, 0.5) !important;
}

/* ---------- Live Festival Countdown Banner ---------- */
.f5-live-countdown-banner {
  position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 30px; margin-bottom: 20px; border: 1px solid rgba(247, 203, 83, 0.5);
  box-shadow: var(--shadow-card); background-color: #120b17;
  background-image: linear-gradient(180deg, rgba(10, 8, 16, 0.15) 0%, rgba(10, 8, 16, 0.55) 100%), url('../images/venue-banner.jpg');
  background-size: cover; background-position: center;
}
.f5-countdown-inner {
  padding: 46px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.f5-countdown-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(10, 8, 16, 0.88);
  border: 1px solid rgba(247, 203, 83, 0.6); padding: 6px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.f5-countdown-badge .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 10px #ef4444; animation: f5LivePulse 1.5s infinite;
}
@keyframes f5LivePulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}
.f5-countdown-heading {
  font-family: var(--serif); font-size: 25px; color: #ffffff; margin: 0;
  text-shadow: 0 3px 15px rgba(0,0,0,0.95), 0 1px 3px rgba(0,0,0,0.9);
}
.f5-countdown-timer { display: flex; gap: 12px; margin-top: 6px; }
.f5-cd-box {
  background: rgba(16, 11, 23, 0.92); border: 1px solid rgba(247, 203, 83, 0.45);
  border-radius: 12px; padding: 12px 18px; min-width: 76px; text-align: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.7);
}
.f5-cd-box .num { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.f5-cd-box .lbl { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; display: block; }

/* ---------- Main Layout ---------- */
.f5-main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.f5-section { padding: 80px 0; }

/* ---------- Registration Forms (Split Layout) ---------- */
.f5-reg-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; padding: 30px 0 80px; }
.f5-reg-copy h1 { font-size: 44px; margin: 18px 0; }
.f5-reg-copy p.f5-lede { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

/* Glass Form Card */
.f5-form-card { 
  background: var(--bg-card); border: 1px solid var(--border-glass); 
  border-radius: var(--radius-lg); padding: 40px; 
  box-shadow: var(--shadow-card); backdrop-filter: blur(16px); 
}
.f5-form-card h2 { font-size: 24px; margin-bottom: 6px; }
.f5-form-card .f5-form-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 28px; }

.f5-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f5-form.single-col { grid-template-columns: 1fr; }

.f5-form label { 
  display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; 
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); 
}
.f5-form label.f5-span-2 { grid-column: 1 / -1; }

.f5-form input[type=text], .f5-form input[type=email], .f5-form input[type=tel], .f5-form input[type=password], .f5-form select, .f5-form textarea {
  padding: 14px 16px; border: 1px solid var(--border-glass); border-radius: var(--radius-sm); 
  font-size: 14.5px; font-family: var(--sans); color: #fff; background: rgba(10, 8, 16, 0.6); 
  transition: all 0.2s ease;
}
.f5-form input:focus, .f5-form select:focus, .f5-form textarea:focus { 
  outline: none; border-color: var(--gold); background: rgba(10, 8, 16, 0.9); 
  box-shadow: 0 0 15px rgba(247, 203, 83, 0.2); 
}

.f5-checkbox { 
  flex-direction: row !important; align-items: center; font-weight: 500 !important; 
  text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; 
  color: var(--text-muted) !important; grid-column: 1 / -1; cursor: pointer;
}
.f5-checkbox input { margin-right: 12px; width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }

/* Horizontal Netflix Film Reel Strip with Arrows */
.f5-reel-section { 
  margin-top: 40px; 
  padding-top: 40px; 
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
  position: relative;
}
.f5-reel-title { 
  font-size: 22px; 
  font-family: 'Cinzel', serif; 
  color: #fff; 
  margin-bottom: 18px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.f5-reel-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.f5-reel-scroll {
  display: flex; 
  gap: 16px; 
  overflow-x: auto; 
  padding-top: 14px; 
  padding-bottom: 18px; 
  margin-top: -14px;
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  scrollbar-width: none;
}
.f5-reel-scroll::-webkit-scrollbar { display: none; }

.f5-reel-arrow {
  position: absolute; top: 0; bottom: 18px; width: 44px; z-index: 25;
  background: rgba(10, 8, 16, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 203, 83, 0.35); color: #f7cb53;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; cursor: pointer; transition: all 0.25s ease; user-select: none; opacity: 0.85;
}
.f5-reel-arrow:hover { opacity: 1; background: rgba(139, 0, 37, 0.85); color: #ffffff; border-color: #f7cb53; transform: scale(1.05); }
.f5-reel-arrow.prev { left: -12px; border-radius: 12px 0 0 12px; }
.f5-reel-arrow.next { right: -12px; border-radius: 0 12px 12px 0; }

.f5-reel-card {
  flex: 0 0 180px; 
  background: rgba(22, 17, 31, 0.85); 
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px; 
  overflow: hidden; 
  scroll-snap-align: start; 
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.f5-reel-card:hover { 
  transform: translateY(-6px) scale(1.02); 
  border-color: #f7cb53; 
  box-shadow: 0 12px 30px rgba(0,0,0,0.7), 0 0 20px rgba(247, 203, 83, 0.25);
}
.f5-reel-poster { aspect-ratio: 3/4; background: #120e1a; position: relative; overflow: hidden; }
.f5-reel-poster img { width: 100%; height: 100%; object-fit: cover; }
.f5-reel-info { padding: 10px 12px; }
.f5-reel-info h5 { margin: 0 0 4px; font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f5-reel-info p { margin: 0; font-size: 11px; color: #a39cb3; }

/* Dark Luxe Footer Styling */
.f5-footer { background: #050408 !important; border-top: 1px solid var(--border-glass) !important; color: var(--text-muted) !important; margin-top: 80px; }
.f5-footer-inner { max-width: 1200px; margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.f5-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.f5-footer-brand img { height: 34px; }
.f5-footer-brand-text { font-family: var(--serif); color: var(--gold) !important; font-size: 18px; font-weight: 800; }
.f5-footer p { font-size: 14px; line-height: 1.6; color: var(--text-muted) !important; }
.f5-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold) !important; margin: 0 0 16px; font-weight: 800; }
.f5-footer ul { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.f5-footer a { color: var(--text-muted) !important; text-decoration: none !important; font-size: 14px; transition: color 0.2s ease; }
.f5-footer a:hover { color: #ffffff !important; }
.f5-footer-bottom { border-top: 1px solid var(--border-glass); text-align: center; padding: 22px; font-size: 12.5px; color: var(--text-subtle) !important; }

@media (max-width: 900px) {
  .f5-reg-split { grid-template-columns: 1fr; }
  .f5-footer-inner { grid-template-columns: 1fr; }
  .f5-form { grid-template-columns: 1fr; }
  .f5-cd-box { min-width: 60px; padding: 8px 10px; }
  .f5-cd-box .num { font-size: 22px; }
  .f5-reel-arrow { display: none; }
}