/* ============ RESET & ROOT ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #050608;
  --bg-alt: #0e1015;
  --bg-elevated: #141821;
  --accent-gold: #f7de50;
  --accent-gold-deep: #b99a2d;
  --accent-gold-soft: #f2e7a2;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(249, 250, 251, 0.12);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition: all 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151826 0, #050608 48%, #020308 100%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
.gold{
  color: rgb(243, 220, 93);
  display: inline-block;
  min-width: 10ch;
}
@keyframes fadeInGlobal {
  to { opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

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

/* ============ UTILITIES ============ */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #181b26 0, #050608 55%);
}

.section-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-soft);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-body {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 0.98rem;
}

.section-body.center {
  margin-inline: auto;
  text-align: center;
}

.btn,
.btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-gold), var(--accent-gold-deep));
  color: #111827;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold-soft);
  border-color: rgba(247, 222, 80, 0.4);
}

.btn-outline:hover {
  background: rgba(247, 222, 80, 0.12);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ============ FADE ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

[data-delay] {
  transition-delay: calc(var(--delay, 0s) + 0.1s);
}

/* ============ HEADER & NAV ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.95),
    rgba(5, 6, 8, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(249, 250, 251, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.logo-main      { color: #f9fafb; }
.logo-highlight { color: var(--accent-gold); }

.footer-logo { font-size: 1.1rem; }

.nav { display: flex; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
  border-radius: var(--radius-pill);
}

.nav-link:hover::before { transform: scaleX(1); }
.nav-link:hover { color: #2f67e0 !important; transform: translateY(-1px); }

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-deep));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 70%; }

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(247, 222, 80, 0.5);
  color: var(--accent-gold-soft);
}

.nav-cta:hover { background: rgba(247, 222, 80, 0.12); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.2);
  background: rgba(15, 23, 42, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.27rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  color: var(--text-main);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.1), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/5668481/pexels-photo-5668481.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.12;
  filter: grayscale(0.2);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3.25rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-gold-soft);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.hero-title span {
  color: var(--accent-gold);
  display: inline-block;
  animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldGlow {
  0%   { filter: drop-shadow(0 0 5px var(--accent-gold)); transform: scale(1); }
  100% { filter: drop-shadow(0 0 20px var(--accent-gold)) drop-shadow(0 0 30px var(--accent-gold)); transform: scale(1.02); }
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-actions .btn { animation: btnFloat 3s ease-in-out infinite; }
.hero-actions .btn:nth-child(2) { animation-delay: 0.5s; }

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 30rem;
}

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

.meta-value { font-size: 0.9rem; }

.hero-art {
  display: flex;
  justify-content: flex-end;
}

.hero-image {
  margin-top: -20%;
  width: 110%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  filter: saturate(1.1);
  transition: filter 0.3s ease;
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-image:hover { transform: translateY(0) scale(1.02); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: flex-start;
}

.about-text .section-body + .section-body { margin-top: 0.5rem; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.info-card {
  background: radial-gradient(circle at top left, rgba(247, 222, 80, 0.08), #050608);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(249, 250, 251, 0.06);
  transition: all 0.3s ease;
}

.info-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(247, 222, 80, 0.15); }
.info-card h3    { font-size: 1rem; margin-bottom: 0.5rem; }
.info-card p     { font-size: 0.9rem; color: var(--text-muted); }

.about-media { display: flex; flex-direction: column; gap: 1.5rem; }

.stat-card {
  background: radial-gradient(circle at top, rgba(247, 222, 80, 0.15), #111827);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(247, 222, 80, 0.35);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.stat-card:hover { transform: scale(1.02); }
.stat-card h3    { font-size: 1.05rem; margin-bottom: 0.5rem; }
.stat-card p     { font-size: 0.9rem; color: var(--text-muted); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.pill-list li {
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(249, 250, 251, 0.15);
  color: var(--accent-gold-soft);
  background: rgba(15, 23, 42, 0.9);
  transition: all 0.3s ease;
}

.pill-list li:hover { background: var(--accent-gold-soft); color: #111827; transform: translateY(-2px); }

.pill-list-light li {
  border-color: rgba(5, 6, 8, 0.3);
  background: rgba(249, 250, 251, 0.96);
  color: #111827;
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  margin-top: 2.2rem;
  border-left: 1px solid rgba(249, 250, 251, 0.12);
  padding-left: 1.7rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(247, 222, 80, 0.9), rgba(247, 222, 80, 0.3), transparent);
  width: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.7rem;
  padding-left: 0.1rem;
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid var(--bg-main);
  background: radial-gradient(circle, var(--accent-gold), var(--accent-gold-deep));
  position: absolute;
  left: -1.95rem;
  top: 0.2rem;
  box-shadow: 0 0 0 5px rgba(247, 222, 80, 0.12);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(247, 222, 80, 0.12); transform: scale(1); }
  50%       { box-shadow: 0 0 0 12px rgba(247, 222, 80, 0.08); transform: scale(1.2); }
}

.timeline-content {
  background: rgba(13, 17, 23, 0.92);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(249, 250, 251, 0.08);
  transition: all 0.3s ease;
}

.timeline-content:hover { background: rgba(247, 222, 80, 0.05); border-color: rgba(247, 222, 80, 0.2); }

.timeline-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold-soft);
}

.timeline-content h3 { font-size: 1rem; margin: 0.35rem 0 0.25rem; }
.timeline-content p  { font-size: 0.9rem; color: var(--text-muted); }

/* ============ SPONSORS ============ */
#sponsors { padding: 5rem 0 4rem; }

.sponsor-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.sponsor-label::before,
.sponsor-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(249, 250, 251, 0.07);
}

.sponsor-headline { margin-top: 2.5rem; margin-bottom: 2.5rem; }

.sponsor-headline-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 2.5rem;
  background: radial-gradient(ellipse at center, rgba(247, 222, 80, 0.06) 0%, rgba(5, 6, 8, 0.5) 70%);
  border: 1px solid rgba(247, 222, 80, 0.18);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  min-height: 130px;
  width: 50%;
  margin: auto;
}

.sponsor-headline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 222, 80, 0.04), transparent 60%);
  pointer-events: none;
}

.sponsor-headline-card:hover {
  border-color: rgba(247, 222, 80, 0.4);
  box-shadow: 0 0 50px rgba(247, 222, 80, 0.07), inset 0 0 40px rgba(247, 222, 80, 0.02);
  transform: translateY(-3px);
}

.sponsor-headline-card img {
  max-height: 76px;
  max-width: 340px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2) brightness(1.1);
  opacity: 0.88;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.sponsor-headline-card:hover img { filter: grayscale(0) brightness(1.15); opacity: 1; }

.sponsor-gold { margin-top: 0.5rem; }

/* Marquee */
.sponsor-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.sponsor-marquee-wrapper::before,
.sponsor-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.sponsor-marquee-wrapper::before { left: 0;  background: linear-gradient(to right, #050608, transparent); }
.sponsor-marquee-wrapper::after  { right: 0; background: linear-gradient(to left,  #050608, transparent); }

.sponsor-marquee-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  animation: marqueeScroll 18s linear infinite;
}

.sponsor-marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sponsor-marquee-track .sponsor-card { min-width: 160px; flex-shrink: 0; }

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: rgba(14, 16, 21, 0.85);
  border: 1px solid rgba(249, 250, 251, 0.06);
  border-radius: var(--radius-md);
  min-height: 96px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.sponsor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 222, 80, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sponsor-card:hover {
  border-color: rgba(247, 222, 80, 0.28);
  background: rgba(247, 222, 80, 0.03);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(247, 222, 80, 0.08);
}

.sponsor-card:hover::after { opacity: 1; }

.sponsor-card img {
  max-height: 50px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.sponsor-card:hover img { filter: grayscale(0) brightness(1.05); opacity: 1; }

.sponsor-cta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 2rem 1.5rem;
  border: 1px dashed rgba(247, 222, 80, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(247, 222, 80, 0.02);
  text-align: center;
  transition: all 0.3s ease;
}

/* ============ CTA / REGISTRATION SECTION ============ */
.section-cta {
  position: relative;
  padding: 5rem 0;
  color: #f9fafb;
  overflow: hidden;
}

.section-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, #f7de50, #bfa438 45%, #050608 100%);
  opacity: 0.12;
  mix-blend-mode: screen;
}

.section-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: flex-start;
}

/* ============ REG TOGGLE ============ */
.reg-toggle {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reg-toggle-option {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(249, 250, 251, 0.15);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  transition: all 0.25s ease;
}

.reg-toggle-option input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: #f7de50;
}

.reg-toggle-label  { display: flex; flex-direction: column; gap: 0.15rem; }
.reg-toggle-title  { font-size: 0.95rem; font-weight: 600; }
.reg-toggle-sub    { font-size: 0.78rem; color: var(--text-muted); }

.reg-toggle-option:has(input[type="radio"]:checked) {
  border-color: var(--accent-gold);
  background: rgba(247, 222, 80, 0.06);
}

.reg-toggle-option:has(input[type="radio"]:checked) .reg-toggle-title {
  color: var(--accent-gold-soft);
}

.reg-toggle-option input:checked + .reg-toggle-label .reg-toggle-title { color: var(--accent-gold-soft); }

/* ============ FORMS ============ */
.form {
  background: rgba(5, 6, 8, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(249, 250, 251, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
}

.form:hover { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6); }

.form-group {
  margin-bottom: 0.9rem;
  position: relative;
}

.form-group label {
  display: inline-block;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.form-group label span { color: #fca5a5; margin-left: 0.1rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(249, 250, 251, 0.18);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #6b7280; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(247, 222, 80, 0.85);
  box-shadow: 0 0 0 1px rgba(247, 222, 80, 0.4);
  animation: inputGlow 0.3s ease-out;
}

@keyframes inputGlow {
  0%   { box-shadow: 0 0 0 1px rgba(247, 222, 80, 0.4); }
  50%  { box-shadow: 0 0 0 4px rgba(247, 222, 80, 0.3); }
  100% { box-shadow: 0 0 0 1px rgba(247, 222, 80, 0.4); }
}

.error-message {
  display: block;
  min-height: 1rem;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #fecaca;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #fca5a5;
  animation: shake 0.5s ease-in-out;
}

.form-footnote {
  font-size: 0.78rem;
  color: rgba(249, 250, 251, 0.7);
  margin-top: 0.4rem;
}

.form-intro-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(247, 222, 80, 0.04);
  border-left: 2px solid rgba(247, 222, 80, 0.3);
  border-radius: 0 0.5rem 0.5rem 0;
}

.post-payment {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(247, 222, 80, 0.35);
  color: var(--accent-gold-soft);
  font-size: 0.9rem;
}

/* ============ FILE UPLOAD — FIXED ============ */
.file-upload-container {
  position: relative;
  width: 100%;
  border-radius: 0.6rem;
  border: 1.5px dashed rgba(247, 222, 80, 0.35);
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.file-upload-container:hover {
  border-color: rgba(247, 222, 80, 0.65);
  background: rgba(247, 222, 80, 0.04);
}

.file-upload-container input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* The visible label/placeholder inside the upload zone */
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.2rem 1rem;
  pointer-events: none;
  user-select: none;
}

.file-upload-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.file-upload-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: rgba(156, 163, 175, 0.6);
}

/* ============ ID PREVIEW — FIXED ============ */
.id-preview {
  display: none; /* shown via JS */
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(247, 222, 80, 0.25);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.id-preview img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(247, 222, 80, 0.2);
  flex-shrink: 0;
  background: rgba(5, 6, 8, 0.5);
}

.file-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0; /* allow text truncation */
}

.file-name {
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

#idFileType {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============ VERIFY STATUS ============ */
#verifyStatus {
  display: block;
  min-height: 1rem;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

/* ============ FORM STATUS BOX (Form B) ============ */
.form-status-box {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  border: 1px solid transparent;
}

.status-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.status-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.status-warn {
  background: rgba(247, 222, 80, 0.08);
  border-color: rgba(247, 222, 80, 0.25);
  color: var(--accent-gold-soft);
}

/* ============ LOADER ============ */
.form-processing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.35);
  border-radius: var(--radius-lg);
  z-index: 11;
  pointer-events: all;
  backdrop-filter: blur(1px);
}

.form-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.form-processing .form-loader { display: flex; }

.form-loader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(247, 222, 80, 0.15);
  border-top-color: var(--accent-gold);
  border-right-color: var(--accent-gold-deep);
  animation: goldSpin 0.9s linear infinite;
}

.form-loader-text {
  font-size: 0.82rem;
  color: var(--accent-gold-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes goldSpin    { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Prevent mobile zoom on inputs */
input, select, textarea { font-size: 16px !important; }

/* ============ COUNTDOWN ============ */
.countdown-wrapper {
  margin-top: 1rem;
  display: inline-block;
  margin-bottom: 2%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(247, 222, 80, 0.3);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  min-width: 68px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.countdown-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(247, 222, 80, 0.4);
}

.countdown-unit {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.countdown-sep {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-gold-deep);
  margin-bottom: 1rem;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid rgba(249, 250, 251, 0.08);
  margin-top: 2rem;
  background: #020308;
}

.footer-grid {
  padding: 2.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-text    { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-muted); }
.footer-heading { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text-main); }

.footer-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.footer-list a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-list a:hover { color: var(--accent-gold-soft); padding-left: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(249, 250, 251, 0.08);
  text-align: center;
  padding: 0.9rem 0 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-deep));
  color: #111827;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(247, 222, 80, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .section-cta-inner { grid-template-columns: minmax(0, 1fr); }
  .hero              { padding-top: 3.5rem; }
  .hero-art          { justify-content: center; }
  .about-cards       { grid-template-columns: minmax(0, 1fr); }
  .footer-grid       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-inner { padding-block: 0.6rem; padding-inline: 1rem; }
  .nav-toggle   { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 3.4rem 0 auto 0;
    background: rgba(5, 6, 8, 0.97);
    border-bottom: 1px solid rgba(249, 250, 251, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    right: 1rem;
    width: 70vw;
    left: auto;
    border-radius: 0 0 16px 16px;
  }

  .nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1.2rem 0.9rem;
    gap: 0.8rem;
  }

  .nav-link              { padding: 0.5rem 0.4rem; font-size: 0.95rem; }
  .nav-link::after,
  .nav-link::before      { display: none; }
  .nav-cta               { align-self: flex-start; margin-top: 0.3rem; }
  .hero-content          { padding-top: 0.5rem; }
  .hero-grid             { gap: 2rem; }
  .hero-meta             { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; max-width: 100%; }
  .hero-art              { margin-top: 1.5rem; }
  .hero-image            { margin-top: 0; width: 100%; height: auto; }
  .section-cta           { padding: 3.5rem 0; }
  .section-cta-inner     { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .reg-toggle            { flex-direction: column; gap: 0.5rem; }
  .reg-toggle-option     { width: 100%; padding: 0.7rem 0.85rem; }
  .reg-toggle-title      { font-size: 0.9rem; }
  .reg-toggle-sub        { font-size: 0.75rem; }
  #registerForm,
  #innovateOnlyForm      { width: 100%; max-width: 100%; }
  .form                  { width: 100%; max-width: 100%; padding: 1.3rem 1.2rem; }
  .timeline              { border-left: none; padding-left: 0; }
  .timeline::before,
  .timeline-dot          { display: none; }
  .timeline-content      { background: rgba(15, 23, 42, 0.95); }
  .footer-grid           { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .back-to-top           { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; font-size: 1rem; }
  .file-name             { max-width: 140px; }
}

@media (max-width: 480px) {
  .hero-title    { font-size: 2.3rem; }
  .hero-meta     { grid-template-columns: minmax(0, 1fr); }
  .hero-actions  { flex-direction: column; }
  .countdown     { flex-wrap: wrap; justify-content: center; }
  .countdown-block { min-width: 56px; padding: 0.4rem 0.6rem; }
  .countdown-sep { margin-bottom: 0; }

  .form-group input,
  .form-group select,
  .form-group textarea { padding: 0.5rem 0.6rem; }
}
