/* ============================================================
   VOTARA - Main Stylesheet
   Dark Premium Gold Theme
   ============================================================ */

/* ---- Google Fonts & Variables ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #c9a227;
  --primary-light: #e8c55a;
  --primary-dark: #a07d1a;
  --primary-glow: rgba(201, 162, 39, 0.25);
  --accent: #d4af37;

  --bg-dark: #070b14;
  --bg-card: #0e1426;
  --bg-card-2: #121929;
  --bg-surface: #141d2e;
  --border: rgba(201, 162, 39, 0.15);
  --border-subtle: rgba(255,255,255,0.06);

  --text-primary: #f0f4ff;
  --text-secondary: #9aabc2;
  --text-muted: #5a6a80;

  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --navbar-h: 70px;
  --container-max: 1280px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 30px rgba(201, 162, 39, 0.2);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* Footer */
  --footer-bg: #06090f;
}

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

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

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

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition-fast);
}

a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--primary); color: #000; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 11, 20, 0.98);
  box-shadow: 0 2px 30px rgba(201, 162, 39, 0.1);
}

.navbar-spacer { height: var(--navbar-h); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 1rem;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  flex-shrink: 0;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-sub {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--text-secondary);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(201, 162, 39, 0.1);
}

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

.nav-badge {
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--danger);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-badge.pulse {
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.95); }
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon-only {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.btn-icon-only i {
  margin: 0;
  font-size: 0.95rem;
}

.btn-icon-only span {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
  margin-left: 0.35rem;
}

.hamburger:hover,
.hamburger.open {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--primary);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(14, 20, 38, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 0.5rem 0 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

.mobile-menu.open { display: flex !important; }

.mobile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.mobile-link:hover, .mobile-link.active {
  color: var(--primary);
  background: rgba(201, 162, 39, 0.05);
}

.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 1.05rem; border-radius: 50px; }

.btn-gold {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-card-2);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-dark:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

/* ============================================================
   SECTION & TYPOGRAPHY
   ============================================================ */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body { padding: 1.5rem; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.card-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   HERO SECTION — full-bleed
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--navbar-h) + 3rem) 0 4.5rem;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@media (max-width: 1024px) {
  .hero-bg {
    background-size: contain !important;
    background-position: center 20px !important;
    background-repeat: no-repeat !important;
    transform: none !important;
    animation: none !important;
  }
}

@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,20,0.92) 0%, rgba(7,11,20,0.72) 48%, rgba(7,11,20,0.35) 100%),
    linear-gradient(180deg, rgba(7,11,20,0.55) 0%, transparent 35%, rgba(7,11,20,0.88) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 720px;
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-light);
  line-height: 1.2;
  animation: fadeInDown 0.6s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  animation: fadeInDown 0.6s ease 0.05s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title .gold-text {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), #f0d878);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(240, 244, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 540px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero {
    align-items: flex-end;
    min-height: min(78vh, 640px);
    padding: calc(var(--navbar-h) + 1.5rem) 0 2.5rem;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7,11,20,0.45) 0%, rgba(7,11,20,0.72) 42%, rgba(7,11,20,0.96) 100%);
  }
  .hero-inner { max-width: 100%; }
  .hero-content { max-width: 560px; }
  .hero-brand {
    font-size: clamp(1.1rem, 2.8vw, 1.45rem);
    margin-bottom: 0.65rem;
  }
  .hero-badge {
    margin-bottom: 0.85rem;
    font-size: 0.65rem;
    padding: 0.35rem 0.8rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.85rem);
    margin-bottom: 0.85rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.35rem;
    max-width: 480px;
  }
  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.65rem;
    width: 100%;
    max-width: 420px;
  }
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
  }
  .hero-actions .btn-xl {
    padding: 0.8rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 999px;
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    min-height: min(68vh, 520px);
    padding: calc(var(--navbar-h) + 1.1rem) 0 1.75rem;
  }
  .hero-inner,
  .hero-content {
    max-width: 100%;
    text-align: left;
  }
  .hero-brand {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
  }
  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }
  .hero-title {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
    line-height: 1.12;
    margin-bottom: 0.7rem;
  }
  .hero-desc {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.5rem;
    max-width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-actions .btn-xl {
    padding: 0.72rem 0.55rem;
    font-size: 0.76rem;
    border-radius: 999px;
  }
}

@media (max-width: 360px) {
  .hero-actions .btn-xl {
    font-size: 0.68rem;
    padding: 0.68rem 0.35rem;
  }
  .hero-actions .btn i {
    margin-right: 0.15rem;
    font-size: 0.75rem;
  }
}

/* ============================================================
   AJANG SLIDER (beranda — geser kiri/kanan)
   ============================================================ */
.ajang-slider-wrap {
  position: relative;
  margin: 0 -0.25rem;
}

.ajang-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0.5rem 1rem;
  scrollbar-width: none;
  touch-action: pan-x;
}

.ajang-slider::-webkit-scrollbar { display: none; }

.ajang-slide {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  height: auto;
  display: flex;
  flex-direction: column;
}

.ajang-slide .ajang-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ajang-slide .ajang-card-footer {
  margin-top: auto;
}

.ajang-slide:hover {
  transform: none;
}

.ajang-slider-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(10, 14, 24, 0.92);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.ajang-slider-nav:hover {
  background: var(--primary);
  color: #1a1208;
}

.ajang-slider-nav.prev { left: 0.15rem; }
.ajang-slider-nav.next { right: 0.15rem; }
.ajang-slider-nav.is-hidden { opacity: 0; pointer-events: none; }

.ajang-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  min-height: 0.65rem;
}

.ajang-slider-dots button {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(148, 163, 184, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.ajang-slider-dots button.is-active {
  width: 1.1rem;
  background: var(--primary);
}

.ajang-slider-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.65rem 0 0;
}

@media (min-width: 640px) {
  .ajang-slide { flex-basis: min(46vw, 320px); }
}

@media (min-width: 900px) {
  .ajang-slide { flex-basis: 300px; }
  .ajang-slider { gap: 1.25rem; padding-left: 0.25rem; padding-right: 0.25rem; }
  .ajang-slider-nav.prev { left: -0.35rem; }
  .ajang-slider-nav.next { right: -0.35rem; }
}

@media (max-width: 768px) {
  .ajang-slider-nav {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.8rem;
  }
  .ajang-slide .ajang-card-body { padding: 0.9rem 0.85rem 1rem; }
  .ajang-slide .ajang-card-title { font-size: 0.95rem; }
  .ajang-slide .ajang-card-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }
}

/* ============================================================
   AJANG CARDS
   ============================================================ */
.ajang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ajang-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.ajang-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201, 162, 39, 0.1);
}

.ajang-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ajang-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.ajang-card:hover .ajang-card-img img { transform: scale(1.03); }

.ajang-status-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-aktif { background: rgba(34, 197, 94, 0.9); color: #fff; border: 1px solid rgba(34, 197, 94, 0.5); }
.badge-akan { background: rgba(220, 38, 38, 0.92); color: #fff; border: 1px solid rgba(220, 38, 38, 0.45); }
.badge-selesai { background: rgba(100, 116, 139, 0.2); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.3); }
.badge-nonaktif { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }

.ajang-card-body { padding: 1.5rem; }

.ajang-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.ajang-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ajang-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.ajang-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

.ajang-meta-item i { color: var(--primary); font-size: 0.72rem; margin-top: 0.15rem; flex-shrink: 0; }

.ajang-meta-vote {
  flex: 1 1 100%;
  color: var(--primary-light);
}

.ajang-vote-schedule {
  margin-bottom: 1.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.28);
}

.ajang-vote-schedule-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.ajang-vote-schedule-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ajang-vote-schedule-row + .ajang-vote-schedule-row {
  margin-top: 0.35rem;
}

.ajang-vote-schedule-row .label {
  font-weight: 700;
  color: var(--text-muted);
}

.ajang-vote-schedule-row .value {
  font-weight: 650;
  color: var(--text-primary);
}

.ajang-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.ajang-price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ajang-price strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   PESERTA CARDS
   ============================================================ */
.peserta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.peserta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.peserta-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.peserta-card-rank {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #000;
}

.peserta-card-rank.rank-1 { background: #ffd700; }
.peserta-card-rank.rank-2 { background: #c0c0c0; }
.peserta-card-rank.rank-3 { background: #cd7f32; }

.peserta-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.peserta-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.peserta-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(7, 11, 20, 0.9) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.peserta-card:hover .peserta-img-overlay { opacity: 1; }

.peserta-card-body { padding: 1rem 1rem 1.25rem; }

.peserta-ajang-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.peserta-ajang-badge i {
  margin-top: 0.1rem;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--primary);
}

.leaderboard-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.leaderboard-ajang-block + .leaderboard-ajang-block {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.leaderboard-ajang-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.leaderboard-ajang-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.leaderboard-ajang-title i { color: var(--primary); }

.leaderboard-ajang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.leaderboard-ajang-link:hover { color: var(--primary-light); }

.peserta-nomor {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(201, 162, 39, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}

.peserta-nama {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.peserta-asal {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.peserta-vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.peserta-vote i { font-size: 0.8rem; }

/* Vote Progress Bar */
.vote-progress {
  height: 4px;
  background: var(--bg-surface);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.vote-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
  border-radius: 2px;
  transition: width 1s ease;
}

/* ============================================================
   BERITA CARDS
   ============================================================ */
.berita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.berita-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.berita-card:hover {
  border-color: rgba(201, 162, 39, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.berita-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.berita-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.berita-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.berita-kategori {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.65rem;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50px;
}

.berita-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 0.6rem;
  transition: var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.berita-card:hover .berita-card-title { color: var(--primary); }

.berita-card-text {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.berita-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.berita-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
}

.berita-read-more:hover { gap: 0.6rem; }

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(201, 162, 39, 0.03); }

.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.cta-band {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.16), transparent 60%),
    var(--bg-card);
  border-top: 1px solid rgba(201,162,39,0.22);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.cta-band-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.about-image-accent {
  position: absolute;
  width: 200px;
  bottom: -2rem;
  right: -2rem;
  border-radius: var(--radius-lg);
  border: 4px solid var(--bg-dark);
  box-shadow: var(--shadow-md);
}

.about-pattern {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--primary) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.3;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--border);
  background: var(--bg-card-2);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.about-feature-text h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.about-feature-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   VOTING SECTION
   ============================================================ */
.voting-banner {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.04));
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.voting-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -50px;
}

.voting-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.voting-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

.voting-step::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.voting-step:last-child::after { display: none; }

.voting-step:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-3px);
}

.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #000;
  margin: 0 auto 1rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Voting Form */
.voting-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-label span { color: var(--danger); }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control { cursor: pointer; }

.form-control-file {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-control-file:hover { border-color: var(--primary); }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Vote Counter */
.vote-counter-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vote-counter-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.vote-counter-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.vote-counter-input {
  width: 80px;
  text-align: center;
  padding: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
}

.vote-summary-box {
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
}

.vote-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.vote-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  margin-top: 0.5rem;
}

/* Payment Box */
.payment-box {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.payment-bank-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(201, 162, 39, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.payment-bank-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  font-weight: 800;
  flex-shrink: 0;
}

.payment-bank-detail h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.payment-bank-detail p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.rekening-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
              var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-hero-title span {
  color: var(--primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 0.65rem; }

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.badge-secondary { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
.badge-gold { background: rgba(201, 162, 39, 0.15); color: var(--primary); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInDown 0.3s ease;
}

.flash-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #4ade80; }
.flash-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; }
.flash-info { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); color: #93c5fd; }
.flash-warning { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); color: #fcd34d; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
  cursor: pointer;
}

.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); color: #000; border-color: var(--primary); }
.page-link.disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  position: relative;
  margin-top: auto;
}

.footer-wave {
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave svg { width: 100%; height: 80px; }

.footer-main { padding: 4rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-brand h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

.footer-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover { transform: translateY(-3px); }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; border-color: transparent; }
.social-btn.facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.social-btn.youtube:hover { background: #ff0000; color: #fff; border-color: #ff0000; }
.social-btn.whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }

.footer-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  space-y: 0.5rem;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-links a i { font-size: 0.65rem; color: var(--primary); }

.footer-news { list-style: none; }

.footer-news li { margin-bottom: 0.9rem; }

.footer-news a {
  display: block;
  transition: var(--transition-fast);
}

.footer-news a:hover .news-title { color: var(--primary); }

.news-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}

.news-title {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
  transition: var(--transition-fast);
}

.footer-contact { list-style: none; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.85rem;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact a, .footer-contact span {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: var(--transition-fast);
}

.footer-contact a:hover { color: var(--primary); }

.footer-newsletter p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  background: var(--bg-surface);
  border: none;
  color: var(--text-primary);
  font-size: 0.83rem;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-form button {
  padding: 0.6rem 1rem;
  background: var(--primary);
  border: none;
  color: #000;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.newsletter-form button:hover { background: var(--primary-light); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

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

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

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

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

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

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

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 1.5rem 0;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .voting-steps { grid-template-columns: repeat(2, 1fr); }
  .voting-step::after { display: none; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--border-subtle); }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.25rem; }
  .section-desc { font-size: 0.95rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
  .ajang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
  .berita-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
  .peserta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .peserta-img-overlay { opacity: 1; }
  .about-image-main { aspect-ratio: 16 / 10; max-height: 320px; }
  .about-pattern { display: none; }
  .voting-step { padding: 1.35rem 1.1rem; }
  .cta-band .btn-xl {
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 0.92rem; }
  .brand-sub {
    font-size: 0.5rem;
    max-width: 12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  :root { --navbar-h: 58px; }
  .nav-links { display: none; }
  .hamburger { display: flex !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .peserta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .about-feature { padding: 0.75rem; }
  .about-feature-text h5 { font-size: 0.78rem; }
  .about-feature-text p { font-size: 0.7rem; }
  .hero-float-card { display: none; }
  .voting-banner { padding: 2rem 1.5rem; }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2.25rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-title { font-size: clamp(1.35rem, 6vw, 1.85rem); margin-bottom: 0.65rem; }
  .section-desc { font-size: 0.86rem; line-height: 1.55; }
  .ajang-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ajang-card-body { padding: 1rem 1rem 1.1rem; }
  .ajang-card-title { font-size: 1rem; }
  .ajang-card-desc {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ajang-vote-schedule { padding: 0.6rem 0.7rem; margin-bottom: 0.9rem; }
  .ajang-vote-schedule-row {
    grid-template-columns: 44px 1fr;
    font-size: 0.75rem;
  }
  .ajang-card-footer {
    gap: 0.5rem;
  }
  .ajang-card-footer .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.55rem 0.65rem;
  }
  .berita-grid { grid-template-columns: 1fr; gap: 1rem; }
  .leaderboard-ajang-head { margin-bottom: 1rem; gap: 0.55rem; }
  .leaderboard-ajang-title { font-size: 1.05rem; }
  .peserta-card-body { padding: 0.7rem 0.65rem 0.85rem; }
  .peserta-nama { font-size: 0.8rem; }
  .peserta-asal { font-size: 0.68rem; margin-bottom: 0.45rem; }
  .peserta-vote { font-size: 0.72rem; }
  .peserta-img-overlay { padding: 0.55rem; }
  .peserta-img-overlay .btn { font-size: 0.68rem; padding: 0.4rem 0.45rem; }
  .voting-steps { margin-top: 1.5rem; gap: 0.85rem; }
  .voting-step { padding: 1.1rem 0.9rem; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 0.75rem; }
  .step-title { font-size: 0.92rem; }
  .step-desc { font-size: 0.78rem; }
  .about-inner { gap: 1.5rem; }
  .about-image-main { aspect-ratio: 16 / 9; max-height: 220px; border-radius: var(--radius-lg); }
  #tentang .d-flex {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem !important;
  }
  #tentang .d-flex .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.7rem 0.55rem;
  }
  .cta-band-inner .section-title { font-size: clamp(1.25rem, 5.5vw, 1.7rem); }
  .cta-band-inner .section-desc { font-size: 0.86rem; margin-bottom: 1.25rem !important; }
  .cta-band .d-flex {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.55rem !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .cta-band .btn-xl {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.86rem;
  }
  .container { padding: 0 1.1rem; }
}

@media (max-width: 640px) {
  .voting-steps { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

/* ============================================================
   BOTTOM NAV — Android / Tablet (bukan clone massal teal)
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-content: space-around;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0 4px;
  margin: 0;
  background: rgba(10, 12, 16, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8);
  transform: none;
  -webkit-transform: none;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50px;
  gap: 2px;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #94a3b8;
  line-height: 1;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item i {
  font-size: 1.1rem;
  line-height: 1;
  margin: 0;
}

.bottom-nav-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav-badge {
  position: absolute;
  top: -0.45rem;
  right: -0.85rem;
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  background: var(--danger);
  color: #fff;
  line-height: 1.2;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--primary);
  background: rgba(201, 162, 39, 0.1);
}

.bottom-nav-item.active {
  transform: translateY(-1px);
}

[data-theme="light"] .bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .bottom-nav-item {
  color: #64748b;
}

[data-theme="light"] .bottom-nav-item.active,
[data-theme="light"] .bottom-nav-item:hover {
  color: var(--primary-dark);
  background: rgba(201, 162, 39, 0.12);
}

.bottom-nav-admin {
  color: var(--primary);
}

.bottom-nav-admin i {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--primary);
  color: #1a1208;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.bottom-nav-admin.active,
.bottom-nav-admin:hover {
  color: var(--primary-light);
  background: rgba(201, 162, 39, 0.14);
}

@media (max-width: 1024px) {
  .bottom-nav { display: grid !important; }
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }
  .back-to-top {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }
  .nav-links { display: none; }
  .hamburger { display: flex !important; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: flex !important; }
  .nav-admin-top { display: inline-flex; }
}

@media (max-width: 400px) {
  .bottom-nav-item {
    font-size: 0.55rem;
    gap: 0.15rem;
  }
  .bottom-nav-item i {
    font-size: 1.05rem;
  }
  .bottom-nav-admin i {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 1025px) {
  .bottom-nav { display: none !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.95rem; }
  .section { padding: 2.75rem 0; }
  .peserta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .ajang-grid { grid-template-columns: 1fr; }
  /* Katalog voting & tiket tetap 2 kolom berdampingan di HP */
  .voting-ajang-section .ajang-grid,
  .tiket-ajang-section .ajang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .berita-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-sub { display: none; }
  .brand-logo { width: 36px; height: 36px; }
  .navbar-brand { gap: 0.55rem; }
  #tentang .d-flex { grid-template-columns: 1fr; }
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-2: #f1f5f9;
  --bg-surface: #e2e8f0;
  --border: rgba(201, 162, 39, 0.4);
  --border-subtle: rgba(15, 23, 42, 0.12);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.95);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 250, 252, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-float-card {
  background: rgba(255, 255, 255, 0.92);
}

/* Footer tetap gelap: kunci teks terang agar tetap terbaca */
[data-theme="light"] .footer {
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-card: #1e293b;
  --bg-surface: #0f172a;
  --border: rgba(201, 162, 39, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .footer .newsletter-form input {
  color: #f8fafc;
  background: #0f172a;
}

[data-theme="light"] .footer .social-btn {
  background: #1e293b;
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .nav-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .brand-name {
  background: none;
  -webkit-text-fill-color: var(--primary-dark);
  color: var(--primary-dark);
}

[data-theme="light"] .section-title span {
  background: none;
  -webkit-text-fill-color: var(--primary-dark);
  color: var(--primary-dark);
}

/* ============================================================
   TIKET & KEHADIRAN BARCODE / QR CENTERING
   ============================================================ */
.tk-qr-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 1.25rem auto 0 !important;
  text-align: center !important;
}

.tk-qr {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}


