/* ============================================================
   PDAM HUT - Festival Kreasi Karyawan 2025
   CSS Stylesheet — Premium Corporate Theme
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --blue-950: #0c1a3a;
  --blue-900: #0a2351;
  --blue-800: #0d3a6e;
  --blue-700: #0f4c8a;
  --blue-600: #1565c0;
  --blue-500: #1976d2;
  --blue-400: #2196f3;
  --blue-300: #64b5f6;
  --blue-200: #bbdefb;
  --blue-100: #e3f2fd;

  --cyan-600: #0097a7;
  --cyan-500: #00bcd4;
  --cyan-400: #26c6da;
  --cyan-300: #80deea;
  --cyan-200: #b2ebf2;

  --primary:   #0369a1;
  --primary-dark: #0c4a6e;
  --accent:    #06b6d4;
  --accent-dark: #0891b2;

  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;

  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
  --shadow-blue: 0 8px 32px rgba(3,105,161,0.25);
  --shadow-cyan: 0 8px 32px rgba(6,182,212,0.30);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --font: 'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Shared ── */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(3,105,161,0.10), rgba(6,182,212,0.10));
  color: var(--primary);
  border: 1px solid rgba(3,105,161,0.20);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(3,105,161,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 2px solid rgba(255,255,255,0.45);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: white;
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar.scrolled .logo-text { color: var(--gray-900); }
.navbar.scrolled .logo-text span { color: var(--primary); }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.navbar.scrolled .hamburger span { background: var(--gray-800); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon { display: flex; }

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  transition: var(--transition);
}
.logo-text span {
  color: var(--cyan-300);
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.12); }
.nav-links .nav-cta {
  background: white;
  color: var(--primary);
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--cyan-200);
  transform: translateY(-1px);
}
.nav-links .nav-upload {
  background: var(--primary);
  color: white;
  font-weight: 600;
  margin-left: 4px;
}
.nav-links .nav-upload:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 35%, var(--primary) 65%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Animated waves */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 200px;
  border-radius: 50%;
  opacity: 0.08;
}
.wave-1 { background: rgba(255,255,255,0.6); animation: waveAnim 8s linear infinite; height: 180px; }
.wave-2 { background: rgba(6,182,212,0.5); animation: waveAnim 11s linear infinite reverse; height: 160px; bottom: -20px; }
.wave-3 { background: rgba(14,165,233,0.4); animation: waveAnim 14s linear infinite; height: 140px; bottom: -40px; }

@keyframes waveAnim {
  0%   { transform: translateX(0) scaleY(1); }
  50%  { transform: translateX(-12%) scaleY(0.88); }
  100% { transform: translateX(0) scaleY(1); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
}

/* Decorative circles */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  animation: rotateSlow 20s linear infinite;
}
.deco-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.deco-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-duration: 28s; animation-direction: reverse; }
.deco-3 { width: 250px; height: 250px; top: 50%; left: 45%; animation-duration: 16s; border-color: rgba(6,182,212,0.15); }

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  animation: heroIn 1s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-year {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.year-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.year-badge {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(6,182,212,0.3));
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(12px);
}
.year-big {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.year-label {
  font-size: 0.7rem;
  color: var(--cyan-300);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #7dd3fc, #67e8f9, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 24px 48px;
  backdrop-filter: blur(10px);
}

.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.18);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.8); }
}

/* ── Event Info ── */
.event-info { background: var(--gray-50); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.info-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color) 12%, transparent);
  color: var(--color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; stroke: currentColor; }

.info-body h3 { font-size: 0.825rem; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.info-main { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.info-sub { font-size: 0.825rem; color: var(--text-muted); }

/* Timeline */
.timeline-section { max-width: 680px; margin: 0 auto; }
.timeline-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 36px;
  text-align: center;
  color: var(--gray-800);
}

.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--gray-300);
  background: white;
  transition: var(--transition);
}
.timeline-item.active .timeline-dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(3,105,161,0.18);
}

.timeline-content { padding-left: 8px; }
.tl-date { font-size: 0.775rem; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.timeline-content h4 { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin: 4px 0 6px; }
.timeline-content p { font-size: 0.875rem; color: var(--text-muted); }

/* ── Countdown ── */
.countdown-section {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-dark) 100%);
  overflow: hidden;
}

.countdown-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.wave-light {
  opacity: 0.06;
  background: white !important;
}

.countdown-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

.countdown-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.cd-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  min-width: 100px;
  backdrop-filter: blur(10px);
}
.cd-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.1s;
}
.cd-num.bump { transform: scale(1.15); }
.cd-unit { font-size: 0.7rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 6px; display: block; }
.cd-sep { font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,0.4); }

/* ── Lomba Section ── */
.lomba-section { background: white; }

.lomba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 28px;
}

.lomba-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  background: white;
}
.lomba-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.lomba-header {
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.lh-blue { background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--blue-400)); }
.lh-cyan { background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--cyan-300)); }

.lomba-icon-wrap {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.lomba-badge-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.10);
  line-height: 1;
  pointer-events: none;
}

.lomba-body { padding: 28px 32px 32px; }
.lomba-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.lomba-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

.lomba-details { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-700);
}
.detail-row svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; stroke: currentColor; }

.lomba-syarat {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.lomba-syarat h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lomba-syarat h4 svg { width: 14px; height: 14px; stroke: currentColor; }
.lomba-syarat ul { display: flex; flex-direction: column; gap: 6px; }
.lomba-syarat li {
  font-size: 0.845rem;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}
.lomba-syarat li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.btn-lomba {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--primary), var(--blue-400));
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
}
.btn-lomba:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,105,161,0.35); }
.btn-cyan { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); box-shadow: var(--shadow-cyan); }
.btn-cyan:hover { box-shadow: 0 8px 24px rgba(6,182,212,0.40); }
.btn-lomba svg { width: 16px; height: 16px; stroke: currentColor; }

/* ── Hadiah Section ── */
.hadiah-section { background: var(--gray-50); }

.hadiah-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px;
  max-width: 360px;
  margin: 0 auto 48px;
}

.tab-btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
}
.tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.hadiah-content.hidden { display: none; }

.podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 20px;
  align-items: end;
  max-width: 860px;
  margin: 0 auto 28px;
}

.podium-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.podium-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.podium-card.gold {
  border-color: #f59e0b;
  background: linear-gradient(160deg, #fffbeb, white);
  padding-top: 40px;
}
.podium-card.silver { border-color: var(--gray-300); }
.podium-card.bronze { border-color: #d97706; }

.podium-crown {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.podium-rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 12px;
}
.gold .podium-rank { background: #fef3c7; color: #d97706; }
.silver .podium-rank { background: var(--gray-100); color: var(--gray-500); }
.bronze .podium-rank { background: #fef3c7; color: #92400e; }

.podium-trophy { margin-bottom: 10px; display: flex; justify-content: center; }
.podium-trophy svg { display: block; }
.podium-card h4 { font-size: 0.875rem; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

.prize-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.gold .prize-amount { color: #d97706; }

.podium-card ul { font-size: 0.8rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 5px; }
.podium-card li::before { content: '✓ '; color: var(--accent-dark); font-weight: 700; }

.special-prize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(3,105,161,0.06), rgba(6,182,212,0.06));
  border: 1px solid rgba(3,105,161,0.15);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  max-width: 460px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.special-prize svg { width: 16px; height: 16px; color: #f59e0b; stroke: currentColor; }

/* ── Gallery ── */
.gallery-section { background: white; }

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.hidden { display: none; }

.gallery-img {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* Visual patterns for gallery items (in absence of real images) */
.gi-1 { background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #0891b2 70%, #0284c7 100%); }
.gi-2 { background: linear-gradient(135deg, #075985 0%, #0369a1 50%, #2563eb 100%); }
.gi-3 { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0369a1 100%); }
.gi-4 { background: linear-gradient(135deg, #164e63 0%, #0891b2 50%, #22d3ee 100%); }
.gi-5 { background: linear-gradient(135deg, #0c4a6e 0%, #06b6d4 50%, #67e8f9 100%); }
.gi-6 { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #38bdf8 100%); }

/* Decorative pattern overlays */
.gi-1::before, .gi-2::before, .gi-3::before,
.gi-4::before, .gi-5::before, .gi-6::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 0, transparent 50%);
  background-size: 24px 24px;
}

/* Gallery icon overlays — SVG silhouette */
.gi-1::after, .gi-2::after, .gi-3::after,
.gi-4::after, .gi-5::after, .gi-6::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 64px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.35;
}
.gi-1::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20 14 L14 22 H24 V44 H40 V22 H50 L44 14 L38 18 C36 16 34 14 32 14 C30 14 28 16 26 18 Z'/%3E%3C/svg%3E");
}
.gi-2::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M16 18 L24 14 V28 H16 Z M48 18 L40 14 V28 H48 Z M24 14 L32 20 L40 14 V44 H36 V34 H28 V44 H24 Z'/%3E%3C/svg%3E");
}
.gi-3::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M18 22 L28 20 L32 14 L36 20 L46 22 L42 44 H22 Z'/%3E%3C/svg%3E");
}
.gi-4::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linejoin='round'%3E%3Cellipse cx='32' cy='30' rx='16' ry='14'/%3E%3Ccircle cx='24' cy='26' r='2.5' fill='rgba(255,255,255,0.5)' stroke='none'/%3E%3Ccircle cx='40' cy='26' r='2.5' fill='rgba(255,255,255,0.5)' stroke='none'/%3E%3Cpath d='M24 34 C28 38 36 38 40 34'/%3E%3C/svg%3E");
}
.gi-5::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M32 12 C20 26 18 34 18 40 C18 48 24 54 32 54 C40 54 46 48 46 40 C46 34 44 26 32 12Z'/%3E%3C/svg%3E");
}
.gi-6::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 40 Q20 28 32 40 Q44 52 56 40'/%3E%3Cpath d='M8 46 Q20 34 32 46 Q44 58 56 46' opacity='0.6'/%3E%3C/svg%3E");
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-cat {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.gallery-overlay p { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500; }

/* ── Form Section ── */
.form-section {
  background: linear-gradient(160deg, var(--gray-50) 0%, white 50%, var(--blue-100) 100%);
}

.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

/* Progress Steps */
.form-progress {
  display: flex;
  align-items: center;
  margin-bottom: 44px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--gray-300);
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.progress-step.active .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(3,105,161,0.15);
}
.progress-step.completed .step-circle {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}
.progress-step span { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); }
.progress-step.active span { color: var(--primary); }
.progress-step.completed span { color: var(--accent-dark); }

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 4px;
  align-self: flex-start;
  margin-top: 19px;
  transition: var(--transition);
}
.progress-line.active { background: linear-gradient(to right, var(--primary), var(--accent)); }

/* Form Steps */
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.3s ease; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group label svg { width: 14px; height: 14px; stroke: currentColor; color: var(--primary); }
.required { color: #ef4444; }

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(3,105,161,0.10);
}
.form-group input.error, .form-group textarea.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.10); }

.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.select-wrap select:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(3,105,161,0.10); }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--gray-400); pointer-events: none; stroke: currentColor; }

.input-prefix {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: var(--gray-50);
}
.input-prefix:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(3,105,161,0.10); background: white; }
.input-prefix span { padding: 12px 14px; background: var(--gray-200); font-size: 0.875rem; font-weight: 600; color: var(--gray-600); border-right: 2px solid var(--gray-200); white-space: nowrap; }
.input-prefix input { flex: 1; border: none; background: transparent; padding: 12px 14px; font-family: var(--font); font-size: 0.9rem; color: var(--gray-900); outline: none; }

.form-error { font-size: 0.78rem; color: #ef4444; font-weight: 500; min-height: 18px; }

.form-step-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.form-step-header h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--blue-950);
  line-height: 1.2;
}
.form-step-header .step-sub {
  color: var(--text-muted);
  max-width: 760px;
  font-size: 0.95rem;
}

.gdrive-guide {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(3,105,161,0.12);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow: 0 20px 60px rgba(3,105,161,0.08);
  padding: 28px;
  margin-bottom: 24px;
}
.gdrive-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.gdrive-guide-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(3,105,161,0.15), rgba(6,182,212,0.14));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.gdrive-guide-header h4 {
  font-size: 1.05rem;
  color: var(--blue-950);
  margin-bottom: 8px;
}
.gdrive-guide-header p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
}
.gdrive-guide-body { margin-top: 24px; }
.guide-steps { display: grid; gap: 16px; }
.guide-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(3,105,161,0.03);
  border: 1px solid rgba(3,105,161,0.10);
}
.gs-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.gs-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue-950);
  margin-bottom: 6px;
}
.gs-content span {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.gs-content code {
  display: inline-block;
  margin: 6px 0 0;
  padding: 8px 10px;
  background: rgba(3,105,161,0.08);
  color: var(--blue-950);
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
}
.gdrive-warning {
  background: linear-gradient(90deg, rgba(254,226,226,0.95), rgba(255,245,224,0.95));
  border: 1px solid rgba(240,113,0,0.18);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.gw-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
  display: grid;
  place-items: center;
  color: #d97706;
}
.gw-body strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue-950);
  margin-bottom: 8px;
}
.gw-body ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.7;
}
.gdrive-setting-visual {
  margin-top: 22px;
}
.gsv-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-950);
  margin-bottom: 14px;
}
.gsv-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15,23,42,0.08);
  background: white;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 16px;
}
.gsv-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
}
.gsv-row.correct {
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.22);
}
.gsv-row.wrong {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.22);
}
.gsv-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
}
.gsv-row.correct .gsv-check { background: var(--accent); }
.gsv-row.wrong .gsv-check { background: #ef4444; }
.gsv-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.gsv-icon svg {
  width: 20px;
  height: 20px;
}
.gdrive-globe { background: rgba(3,105,161,0.08); }
.gsv-row.correct .gsv-icon { color: var(--accent-dark); }
.gsv-row.wrong .gsv-icon { color: #ef4444; }
.gsv-row strong { display: block; font-size: 0.9rem; color: var(--blue-950); }
.gsv-row span { display: block; font-size: 0.82rem; color: var(--gray-600); }
.gsv-badge {
  border-radius: var(--radius-full);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.correct-badge { background: rgba(6,182,212,0.12); color: var(--accent-dark); }
.wrong-badge { background: rgba(239,68,68,0.12); color: #b91c1c; }

.gdrive-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.gdrive-input-wrap input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(3,105,161,0.18);
  border-radius: var(--radius-lg);
  background: white;
  color: var(--blue-950);
  font-size: 0.95rem;
  transition: var(--transition);
}
.gdrive-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(3,105,161,0.08);
}
.gdrive-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 700;
  transition: var(--transition);
}
.gdrive-verify-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-blue); }
.gdrive-link-status {
  margin-top: 14px;
  min-height: 22px;
  font-size: 0.92rem;
  color: var(--gray-700);
}
.gdrive-hint {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(3,105,161,0.08);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(3,105,161,0.12);
  color: var(--blue-950);
}
.gdrive-hint i { width: 22px; height: 22px; display: grid; place-items: center; color: var(--primary); }
.gdrive-hint strong { color: var(--blue-950); }

/* Lomba radio cards */
.lomba-radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }

.lomba-radio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.lomba-radio-card input[type="radio"] { display: none; }
.lomba-radio-card:hover { border-color: var(--primary); background: rgba(3,105,161,0.03); }
.lomba-radio-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(3,105,161,0.05);
  box-shadow: 0 0 0 3px rgba(3,105,161,0.10);
}

.lrc-inner { display: flex; align-items: center; gap: 12px; }
.lrc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lrc-icon.blue { background: rgba(3,105,161,0.10); color: var(--primary); }
.lrc-icon.cyan { background: rgba(6,182,212,0.12); color: var(--accent-dark); }
.lrc-icon svg { width: 26px; height: 26px; }
.lrc-inner strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.lrc-inner span { font-size: 0.775rem; color: var(--text-muted); margin-top: 2px; display: block; }

.lrc-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.lrc-check svg { width: 12px; height: 12px; stroke: white; opacity: 0; }
.lomba-radio-card:has(input:checked) .lrc-check {
  background: var(--primary);
  border-color: var(--primary);
}
.lomba-radio-card:has(input:checked) .lrc-check svg { opacity: 1; }

.char-count { font-size: 0.75rem; color: var(--gray-400); text-align: right; }

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary);
  background: rgba(3,105,161,0.03);
}

.upload-icon { margin-bottom: 14px; }
.upload-icon svg { width: 44px; height: 44px; color: var(--gray-400); stroke: currentColor; margin: 0 auto; }
.upload-main { font-size: 1rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.upload-sub { font-size: 0.875rem; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.upload-hint { font-size: 0.775rem; color: var(--gray-400); }

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: previewIn 0.3s ease;
}
@keyframes previewIn { from { opacity:0; transform: scale(0.8); } to { opacity:1; transform: scale(1); } }

.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .preview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.preview-item .preview-icon svg {
  width: 28px;
  height: 28px;
}
.preview-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  border: 2px solid white;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 5px;
  flex-shrink: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.checkbox-label:has(input:checked) .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-label:has(input:checked) .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}
.checkbox-text { font-size: 0.875rem; color: var(--gray-700); line-height: 1.6; }
.checkbox-text a { color: var(--primary); text-decoration: underline; }

/* Form Navigation */
.form-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-next:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-next svg { width: 16px; height: 16px; stroke: currentColor; }

.btn-prev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-prev:hover { border-color: var(--gray-400); background: var(--gray-50); }
.btn-prev svg { width: 16px; height: 16px; stroke: currentColor; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(22,163,74,0.30);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(22,163,74,0.40); }
.btn-submit svg { width: 16px; height: 16px; stroke: currentColor; }
.btn-submit.loading { opacity: 0.7; pointer-events: none; }

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
  animation: successIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-success.hidden { display: none; }
@keyframes successIn { from { opacity:0; transform: scale(0.85); } to { opacity:1; transform: scale(1); } }

.success-icon { width: 100px; height: 100px; margin: 0 auto 24px; animation: successPulse 2s ease infinite; }
@keyframes successPulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.05);} }

.form-success h3 { font-size: 1.6rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.form-success p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }

.success-info {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 28px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.success-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.success-info svg { width: 14px; height: 14px; stroke: currentColor; color: var(--primary); }

/* ── FAQ Section ── */
.faq-section { background: var(--gray-50); }

.faq-grid { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q.active { color: var(--primary); }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; transition: transform var(--transition); color: var(--primary); }
.faq-q.active svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a.open { max-height: 200px; }
.faq-a p { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Footer ── */
.footer { background: var(--blue-950); color: rgba(255,255,255,0.8); margin-top: 0; }

.footer-wave {
  background: var(--gray-50);
  line-height: 0;
}
.footer-wave svg { width: 100%; height: 60px; display: block; }

.footer-body { padding: 64px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-logo strong { display: block; font-size: 1rem; color: white; font-weight: 700; }
.footer-logo span { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 2px; display: block; }

.footer-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-2px); }

.footer-col h5 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: white; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col a:hover { color: var(--cyan-300); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.contact-item svg { width: 14px; height: 14px; stroke: currentColor; color: var(--accent); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Winner Section ── */
.winner-section {
  background: linear-gradient(160deg, var(--blue-100) 0%, white 50%, var(--gray-50) 100%);
}

.winner-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: white;
  border-radius: var(--radius-full);
  padding: 6px;
  max-width: 360px;
  margin: 0 auto 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.tab-btn-winner {
  flex: 1;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}
.tab-btn-winner.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-blue);
}
.tab-btn-winner:hover:not(.active) {
  color: var(--gray-700);
}

.winner-content.hidden { display: none; }

.winner-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.winner-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.winner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.winner-card.first {
  border-color: #f59e0b;
  box-shadow: 0 8px 32px rgba(245,158,11,0.15);
  transform: scale(1.03);
}
.winner-card.first:hover {
  transform: scale(1.03) translateY(-4px);
}

.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-md) 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.winner-badge.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.winner-thumb {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.w-thumb-1 { background: linear-gradient(135deg, #0c4a6e, #0369a1, #0891b2); }
.w-thumb-2 { background: linear-gradient(135deg, #075985, #0369a1, #0ea5e9); }
.w-thumb-3 { background: linear-gradient(135deg, #0f172a, #1e3a5f, #0369a1); }
.w-thumb-4 { background: linear-gradient(135deg, #164e63, #0891b2, #22d3ee); }
.w-thumb-5 { background: linear-gradient(135deg, #0c4a6e, #06b6d4, #67e8f9); }
.w-thumb-6 { background: linear-gradient(135deg, #0369a1, #0ea5e9, #38bdf8); }

.winner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: var(--transition);
}

.winner-overlay-img {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}
.winner-overlay-img svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.winner-thumb:hover .winner-overlay-img { opacity: 1; }
.winner-thumb:hover .winner-placeholder { opacity: 0.3; transform: scale(0.9); }

.winner-info {
  padding: 18px 20px 20px;
  text-align: center;
}

.winner-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.winner-unit {
  display: block;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.winner-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.winner-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.winner-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: var(--transition);
}
.winner-social-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.winner-social-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.winner-cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.winner-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .winner-podium { grid-template-columns: 1fr; max-width: 340px; }
  .winner-card.first { transform: none; order: -1; }
  .winner-card.first:hover { transform: translateY(-4px); }
  .winner-thumb { height: 120px; }
}

/* ── Registration Flow Indicator ── */
.regist-flow-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 20px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}
.rf-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rf-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rf-circle.muted {
  background: var(--gray-300);
  color: var(--gray-500);
}
.rf-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-900);
}
.rf-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.rf-arrow {
  color: var(--gray-400);
  display: flex;
}
.rf-arrow svg {
  width: 20px;
  height: 20px;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(3,105,161,0.06);
  border: 1px solid rgba(3,105,161,0.12);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.form-notice svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.success-card {
  background: linear-gradient(135deg, rgba(3,105,161,0.06), rgba(6,182,212,0.06));
  border: 2px dashed var(--primary);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin: 0 auto 24px;
  max-width: 380px;
  text-align: center;
}
.success-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.success-card-id {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.success-card-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Upload Section ── */
.upload-section {
  background: linear-gradient(160deg, var(--gray-50) 0%, white 50%, var(--blue-100) 100%);
}

.upload-login {
  max-width: 480px;
  margin: 0 auto;
}
.upload-login-header {
  text-align: center;
  margin-bottom: 28px;
}
.upload-login-header svg {
  margin: 0 auto 16px;
}
.upload-login-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-950);
  margin-bottom: 6px;
}
.upload-login-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.upload-login-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}
.upload-login-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.upload-form-content {
  animation: stepIn 0.4s ease;
}

.upload-session-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(3,105,161,0.05);
  border: 1px solid rgba(3,105,161,0.12);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.usi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3,105,161,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.usi-detail {
  flex: 1;
  min-width: 0;
}
.usi-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
}
.usi-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}
.usi-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  background: white;
}
.usi-logout:hover {
  border-color: #ef4444;
  color: #ef4444;
}
.usi-logout svg {
  width: 15px;
  height: 15px;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(3,105,161,0.40); }
.back-to-top svg { width: 18px; height: 18px; stroke: currentColor; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .lomba-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 180px); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }

  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; height: 100vh; width: 280px; background: white; padding: 80px 24px 24px; box-shadow: -4px 0 32px rgba(0,0,0,0.12); z-index: 999; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--gray-700); padding: 12px 16px; border-radius: var(--radius-md); font-size: 1rem; }
  .nav-links a:hover { color: var(--primary); background: var(--gray-50); }
  .nav-links .nav-cta { background: var(--primary); color: white; text-align: center; margin-top: 8px; }
  .hamburger { display: flex; z-index: 1000; }

  .hero { padding: 100px 16px 64px; }
  .hero-stats { gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .hero-year { gap: 12px; }
  .year-big { font-size: 2.8rem; }

  .info-grid { grid-template-columns: 1fr; }
  .podium-grid { grid-template-columns: 1fr; max-width: 300px; }
  .podium-card.gold { order: -1; }

  .form-wrapper { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .lomba-radio-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 160px); }

  .countdown-grid { gap: 8px; }
  .cd-box { padding: 14px 16px; min-width: 72px; }
  .cd-num { font-size: 2rem; }
  .cd-sep { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { gap: 16px; justify-content: space-around; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item { height: 160px; }
  .form-progress span { display: none; }
}
