/* =========================================================
   VOTERASTICS 2025 - GLOBAL FUTURISTIC THEME
   ========================================================= */

:root {
  --bg-main: #050816;
  --bg-card: rgba(15, 23, 42, 0.9);
  --bg-card-soft: rgba(15, 23, 42, 0.6);
  --accent-primary: #00f6ff;
  --accent-secondary: #8a2eff;
  --accent-danger: #ff4b81;
  --text-main: #e5e7eb;
  --text-soft: #9ca3af;
  --border-glow: rgba(0, 246, 255, 0.4);
  --radius-lg: 18px;
  --shadow-neon: 0 0 20px rgba(0, 246, 255, 0.4);
  --shadow-soft: 0 10px 40px rgba(15, 23, 42, 0.8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  user-select: none;
}

/* ===== BASE BODY / LAYOUT ===== */

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
}

.main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
}

.main-content-top {
  align-items: flex-start;
}

.page-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.page-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* FOOTER KECIL / THANKS PAGE FOOTER */

.footer-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-soft);
  padding: 16px;
  opacity: 0.7;
}

/* =========================================================
   LOGIN FUTURISTIK (login.html)
   ========================================================= */

body.login-future {
  min-height: 100vh;
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #e5e7eb;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
}

.login-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(15, 23, 42, 0.7),
    rgba(0, 0, 0, 0.9)
  );
  pointer-events: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.96)
  );
  border-radius: 24px;
  padding: 28px 28px 24px;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 35px rgba(56, 189, 248, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.6);
  backdrop-filter: blur(22px);
}

.login-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #22d3ee;
}

.login-subtext {
  font-size: 0.9rem;
  text-align: center;
  color: #9ca3af;
  margin-top: 10px;
  margin-bottom: 10px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-label {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: left;
}

.login-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.12),
    rgba(15, 23, 42, 0.95)
  );
  padding: 9px 14px;
  font-size: 0.9rem;
  color: #e5e7eb;
  outline: none;
}

.login-input:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 1px #22d3ee;
}

.login-button {
  width: 100%;
  margin-top: 6px;
  padding: 10px 16px;

  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;

  position: relative;
  overflow: hidden;
  z-index: 2;

  /* Ambience-based gradient */
  background: linear-gradient(
    135deg,
    rgba(0, 180, 255, 0.35),
    rgba(120, 80, 255, 0.32)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(90, 200, 255, 0.55);

  color: #e0f7ff;

  /* Glow harmonized with card's outer neon */
  box-shadow:
      0 0 14px rgba(0, 200, 255, 0.65),
      inset 0 0 18px rgba(140, 80, 255, 0.45);

  transition: 0.28s ease;
}

/* Shine effect */
.login-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.55s ease-out;
}

/* Hover */
.login-button:hover::after {
  left: 130%;
}

.login-button:hover {
  transform: scale(1.05);
  box-shadow:
      0 0 22px rgba(0, 220, 255, 1),
      inset 0 0 26px rgba(150, 90, 255, 0.65);
}

.login-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.login-register {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
}

.login-register a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.login-register a:hover {
  color: #7dd3fc;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

.login-note {
  margin-top: 14px;
  font-size: 0.8rem;
  text-align: center;
  color: #9ca3af;
}

/* =========================================================
   KARTU FUTURISTIK GENERIK (THANKS PAGE)
   ========================================================= */

.futuristic-card {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.95)
  );
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft), var(--shadow-neon);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(12px);
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
}

.futuristic-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

.futuristic-subtitle {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.futuristic-button {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(
    to right,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #0b1020;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
}

.futuristic-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-neon);
}

.futuristic-button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =========================================================
   NAVBAR HOLOGRAM (dipakai homepage & voters)
   ========================================================= */

/* ============================
   NAVBAR HOLOGRAM FUTURISTIK
============================ */

.nav-home {
  width: 100%;
  height: 60px; /* lebih tinggi biar logo 80px muat */
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* HOLOGRAM GLASS EFFECT */
  background: rgba(10, 17, 40, 0.35); /* transparan */
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  border-bottom: 2px solid rgba(0, 255, 255, 0.35);

  box-shadow:
    0 0 18px rgba(0, 255, 255, 0.25),
    0 0 32px rgba(138, 46, 255, 0.20);

  position: fixed;
  top: 0;
  z-index: 200;
}

/* LOGO */
.nav-logo {
  height: 80px;   /* logo besar */
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.55)); /* glow neon */
}

/* MENU LIST */
.nav-home ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

/* MENU ITEM */
.nav-home a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;

  transition: 0.22s ease;
}

/* HOVER NEON */
.nav-home a:hover {
  color: #00f6ff;
  border-color: #00f6ff;
  text-shadow: 0 0 14px #00f6ff;
}

/* Biar bisa fade-in fade-out */
.nav-home {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Saat disembunyikan */
.nav-hidden {
    opacity: 0;
    transform: translateY(-20px);  /* geser naik kayak hologram memudar */
    pointer-events: none;
}

/* =========================================================
   HOMEPAGE CLEAN FUTURISTIC (voters/index.html)
   ========================================================= */

body.homepage {
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: #e5e7eb;
}

/* HERO */

.hero-clean {
  min-height: 100vh;
  padding-top: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at top, #26007a 0%, #030014 70%);
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.5), transparent 70%);
  filter: blur(45px);
  z-index: 1;
}

.hero-bg-cloud {
  position: absolute;
  top: 200px;
  left: 50%;
  width: 115%;
  height: 340px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent);
  filter: blur(40px);
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 5;
}

.hero-logo {
  width: 500px;
}

.hero-tagline {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* NEON BUTTON (dipakai di beberapa halaman) */

.neon-button {
  margin-top: 24px;
  padding: 12px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #004cff, #00c6ff);
  box-shadow: 0 0 18px #00c6ff;
  transition: 0.25s;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.neon-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 26px #00e8ff;
}

/* ABOUT */

.about-clean {
  padding: 120px 0;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.about-card {
  width: 75%;
  margin: auto;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  text-align: left;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-logo-mini {
  width: 95px;
  position: absolute;
  right: 24px;
  top: 18px;
  opacity: 0.9;
}

/* PROCEDURE */

.procedure-clean {
  padding: 140px 0 120px;
  text-align: center;
}

.steps {
  width: 75%;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004cff, #00c6ff);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 0 18px #00c6ff;
}

.step p {
  font-size: 0.95rem;
}

/* =========================================================
   HALAMAN PASLON (voters/vote.html)
   ========================================================= */

.section-text {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-top: 8px;
  margin-bottom: 16px;
}

/* GRID PASLON */

.paslon-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.paslon-card {
  background: var(--bg-card-soft);
  border-radius: 18px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.paslon-photo {
  text-align: center;
  margin-bottom: 10px;
}

.paslon-photo img {
  border-radius: 14px;
  max-height: 240px;
  object-fit: cover;
}

.paslon-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.paslon-vision {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

/* TOMBOL PASLON */

.paslon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #0b1020;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

.btn-primary:hover {
  box-shadow: var(--shadow-neon);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* VISI-MISI SLIDE-DOWN */

.visi-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.visi-content.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 8px;
}

.visi-content h3 {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: var(--accent-primary);
}

.visi-content ul {
  padding-left: 18px;
}

/* =========================================================
   DASHBOARD ADMIN (admin/dashboard.html)
   ========================================================= */

body.dark-theme {
  background-color: #020617;
  color: #e0e0e0;
}

.dashboard-container {
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
}

.admin-header {
  background: #111827;
  border-radius: 18px;
  padding: 32px 20px;
  margin: 0 auto 24px;
  max-width: 700px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.card {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.card h2 {
  color: #03dac6;
  font-size: 2em;
  margin-bottom: 5px;
}

.chart-section {
  margin-top: 40px;
}

.actions {
  margin-top: 40px;
}

/* TOMBOL GENERIK ADMIN */

.actions button {
  background-color: #03dac6;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin: 5px;
  transition: 0.3s;
}

.actions button:hover {
  background-color: #00bfa5;
}

/* TABEL DATA */

.table-wrapper {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.table-wrapper th,
.table-wrapper td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(30, 41, 59, 1);
}

.table-wrapper th {
  text-align: left;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
  font-weight: 500;
}

.table-wrapper tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.7);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .nav-home {
    padding: 6px 14px !important;
    gap: 6px !important;
    height: 58px !important; /* lebih pendek */
  }

  .nav-logo {
    height: 60px !important; /* tadinya 80px */
  }

  .nav-home ul {
    gap: 14px !important;
  }

  .nav-home a {
    font-size: 0.85rem !important;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 600px) {
  .nav-home {
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    padding: 10px 14px !important;
    gap: 6px !important;

    background: rgba(5, 10, 25, 0.75) !important;
    backdrop-filter: blur(14px);
  }

  .nav-logo {
    height: 46px !important; /* HP friendly */
    margin-bottom: 4px;
  }

  .nav-home ul {
    margin-top: 6px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .nav-home a {
    font-size: 0.78rem !important;
    padding-bottom: 2px;
    letter-spacing: 0.07em;
  }
}




/* ===================== HERO SECTION ===================== */
.hero-section {
    width: 100%;
    height: 100vh;                  /* hero full 1 layar */
    background-image: url("/images/hero.png");
    background-size: cover;         /* desktop tampil penuh */
    background-position: center;    /* posisi tengah */
    background-repeat: no-repeat;
    position: relative;
    margin-top: 70px;               /* supaya tidak ketimpa navbar */
}

/* tombol */
.hero-overlay {
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.hero-button {
    padding: 12px 34px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    border-radius: 14px;

    background: linear-gradient(135deg, rgba(115, 90, 255, 0.35), rgba(0, 220, 255, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(120, 200, 255, 0.8);

    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12em;

    box-shadow:
        0 0 16px rgba(120, 180, 255, 0.8),
        inset 0 0 25px rgba(160, 80, 255, 0.45);

    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 3;

    transition: 0.25s ease;
}

/* Shine animation */
.hero-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.45s ease-out;
}

.hero-button:hover::after {
    left: 130%;
}

.hero-button:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 30px rgba(120, 200, 255, 1),
        inset 0 0 35px rgba(170, 100, 255, 0.55);
}

/* ===================== ABOUT FULL IMAGE (DESKTOP) ===================== */
.about-full {
    width: 100%;
    height: auto;
    position: relative;
}

.about-full-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================= PROCEDURE FULL IMAGE ========================= */

.procedure-section {
    width: 100%;
    overflow: hidden;
    margin-top: -4px; /* biar rapet sama atas */
    position: relative;
    z-index: 3;
}

.procedure-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive padding bottom stabilization */
@media (max-width: 768px) {
    .procedure-section {
        margin-top: -20px;
    }
}

/* tombol */
.procedure-overlay {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.procedure-button {
    padding: 14px 42px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    border-radius: 14px;

    background: linear-gradient(135deg, rgba(88, 59, 253, 0.35), rgba(162, 39, 166, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(120, 200, 255, 0.8);

    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12em;

    box-shadow:
        0 0 16px rgba(120, 180, 255, 0.8),
        inset 0 0 25px rgba(160, 80, 255, 0.45);

    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 3;

    transition: 0.25s ease;
}

/* Shine animation */
.procedure-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.45s ease-out;
}

.procedure-button:hover::after {
    left: 130%;
}

.procedure-button:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 30px rgba(120, 200, 255, 1),
        inset 0 0 35px rgba(170, 100, 255, 0.55);
}

@media (max-width: 600px) {
    .hero-overlay {
        top: 82% !important;   /* tombol naik/turun di HP */
    }

    .hero-button {
        padding: 10px 24px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .hero-overlay {
        top: 75% !important;  /* tablet posisinya beda sedikit */
    }

    .hero-button {
        padding: 12px 28px !important;
        font-size: 16px !important;
        border-radius: 14px !important;
        min-width: 180px;
    }
}

@media (max-width: 600px) {
    .procedure-overlay {
        top: 82% !important;   /* tombol naik/turun di HP */
    }

    .procedure-button {
        padding: 10px 24px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .procedure-overlay {
        top: 80% !important;  /* tablet posisinya beda sedikit */
    }

    .procedure-button {
        padding: 12px 28px !important;
        font-size: 16px !important;
        border-radius: 14px !important;
        min-width: 180px;
    }
}

/* ===================== VOTE HERO SECTION ===================== */
.hero-vote {
    width: 100%;
    height: auto;
    position: relative;
}

.hero-full-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===================== VISI FULL IMAGE (DESKTOP) ===================== */
.visi-section {
    width: 100%;
    height: auto;
    position: relative;
}

.visi-section-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================= GEDUNG FULL IMAGE ========================= */

.gedung-section {
    width: 100%;
    overflow: hidden;
    margin-top: -4px; /* biar rapet sama atas */
    position: relative;
    z-index: 3;
}

.gedung-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive padding bottom stabilization */
@media (max-width: 768px) {
    .procedure-section {
        margin-top: -20px;
    }
}

/* Container tombol (2 kolom sejajar) */
.paslon-button-container {
    position: absolute;
    bottom: -1000px;  /* NAikin / turunin tombol dari bawah */
    left: 50%;
    transform: translateX(-50%);
    
    display: flex;
    justify-content: center;
    gap: 175px;     /* jarak antar tombol */
    
    z-index: 10;
    width: 100%;
}

/* tombol paslon */
.neon-btn {
    padding: 14px 40px;
    font-size: 20px;
    border-radius: 14px;
    cursor: pointer;
    color: white;
    border: 1px solid rgba(120, 200, 255, 0.8);

    background: linear-gradient(
        135deg,
        rgba(115, 90, 255, 0.35),
        rgba(0, 220, 255, 0.3)
    );
    backdrop-filter: blur(10px);

    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;

    box-shadow:
        0 0 18px rgba(120, 180, 255, 0.8),
        inset 0 0 20px rgba(160, 80, 255, 0.45);

    transition: 0.25s ease;
}

/* Hover effect tombol */
.neon-btn:hover {
    transform: scale(1.06);
    box-shadow:
        0 0 28px rgba(120, 200, 255, 1),
        inset 0 0 30px rgba(170, 100, 255, 0.55);
}

/* Mobile: buat tombol ke atas dan vertikal *
@media (max-width: 768px) {
    .paslon-button-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-top: -80px;
    }

    .neon-btn {
        width: 70%;
    }
}/

/* background overlay */
.popup-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* kotak popup */
.popup-box {
    background: rgba(20,20,35,0.85);
    border: 1px solid rgba(120,200,255,0.6);
    padding: 28px 35px;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(100,180,255,0.4);
    text-align: center;
    color: white;
    max-width: 320px;
}

/* tombol popup */
.popup-actions {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.popup-btn {
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.popup-btn.yes {
    background: #34d399;
    color: #000;
}

.popup-btn.no {
    background: #ef4444;
    color: #fff;
}

/* ==== FOOTER COMPACT FUTURISTIC ==== */
.footer {
    width: 100%;
    background: linear-gradient(90deg, #071026, #1a1f67);
    color: #d9eafe;

    padding: 12px 28px;            /* sedikit lebih besar agar layout stabil */
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: auto;                  /* FIX: jangan paksa tinggi */
}

/* Kiri */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;                      /* kecil & rapi */
    padding-left: 0;
}

/* Logo */
.footer-logo {
    height: 70px;                 /* FIX: muat, tetap futuristik */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0,255,255,0.6));
    margin-bottom: 0;
}

/* Alamat */
.footer-address {
    margin: 0;                     /* FIX: hilangkan margin merusak */
    font-size: 1rem;
    line-height: 1.2;
    padding-left: 4px;             /* kecil, sejajar logo */
}

/* Icon kanan */
.footer-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-icon {
    height: 38px;
    width: 38px;
    padding: 4px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #58d8ff);
}

/* ========== DASHBOARD ADMIN ========== */

.admin-main {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  display: flex;
  flex-direction: column;
}

.dashboard-container {
  max-width: 1100px;
  margin: 40px auto 32px;
  padding: 24px 20px 40px;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), transparent 55%),
              rgba(15, 23, 42, 0.95);
  box-shadow:
    0 0 45px rgba(56, 189, 248, 0.25),
    0 0 120px rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
}

/* ======= HEADER FUTURISTIK SUPER KEREN ======= */

.admin-header {
  margin-bottom: 32px;
  padding: 28px;
  border-radius: 24px;

  background: radial-gradient(
      circle at top center,
      rgba(56, 189, 248, 0.20),
      rgba(15, 23, 42, 0.90)
    );
  border: 1px solid rgba(56, 189, 248, 0.45);

  box-shadow:
      0 0 40px rgba(56, 189, 248, 0.28),
      inset 0 0 18px rgba(15, 23, 42, 0.8);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  animation: header-breathe 3s ease-in-out infinite alternate;
}

/* Animasi glow lembut */
@keyframes header-breathe {
  from {
    box-shadow:
      0 0 28px rgba(56, 189, 248, 0.20),
      inset 0 0 16px rgba(15, 23, 42, 0.8);
  }
  to {
    box-shadow:
      0 0 48px rgba(56, 189, 248, 0.40),
      inset 0 0 26px rgba(15, 23, 42, 0.9);
  }
}

/* Judul besar */
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0f7ff;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

/* Deskripsi */
.section-text.header-desc {
  color: #9fb8ff;
  max-width: 620px;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Badge realtime monitor */
.realtime-badge {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;

  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.42),
    rgba(129, 140, 248, 0.38)
  );
  border: 1px solid rgba(56, 189, 248, 0.75);

  color: #e0f2fe;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  box-shadow: 0 0 22px rgba(56, 189, 248, 0.85);
}

/* Titik hijau */
.realtime-dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
  animation: pulse 1.2s infinite ease-in-out;
}

/* Pulse animasi */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* generic card */
.card {
  border-radius: 18px;
  background: radial-gradient(circle at top left,
              rgba(59, 130, 246, 0.16),
              transparent 55%),
              rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 133, 255, 0.45);
  box-shadow:
    0 0 22px rgba(37, 99, 235, 0.35),
    inset 0 0 14px rgba(15, 23, 42, 0.9);
  padding: 16px 18px 18px;
  margin-top: 16px;
}

/* alert section */
.alert-section.hidden {
  display: none;
}

.alert-card {
  margin-top: 4px;
  border-radius: 18px;
  padding: 14px 16px;
  background: radial-gradient(circle at top left,
              rgba(248, 113, 113, 0.18),
              transparent 60%),
              rgba(24, 24, 27, 0.96);
  border: 1px solid rgba(248, 113, 113, 0.65);
  box-shadow:
    0 0 26px rgba(248, 113, 113, 0.6),
    inset 0 0 18px rgba(24, 24, 27, 0.9);
}

.alert-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.alert-header h2 {
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fee2e2;
}

.alert-header p {
  font-size: 0.85rem;
  color: #fecaca;
}

.alert-icon {
  font-size: 1.4rem;
}

.alert-body p {
  font-size: 0.85rem;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.alert-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.alert-list li {
  margin-bottom: 2px;
}

.alert-user {
  font-weight: 600;
  color: #fee2e2;
}

.alert-time {
  margin-left: 4px;
  color: #9ca3af;
}

/* progress */
.progress-section {
  margin-top: 12px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.progress-chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(129, 140, 248, 0.45));
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
}

.progress-bar-outer {
  margin-top: 10px;
  width: 100%;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at top,
              rgba(15, 23, 42, 0.9),
              rgba(15, 23, 42, 0.98));
  box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.95);
  overflow: hidden;
  border: 1px solid rgba(51, 133, 255, 0.7);
}

.progress-bar-inner {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #38bdf8, #6366f1);
  box-shadow:
    0 0 22px rgba(56, 189, 248, 0.9),
    0 0 40px rgba(56, 189, 248, 0.8);
  transition: width 0.45s ease-out;
}

.progress-footer {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-card {
  padding: 14px 16px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.stat-value {
  margin-top: 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e5f2ff;
}

.stat-value.accent {
  color: #22d3ee;
}

.stat-value.warning {
  color: #facc15;
}

/* tables */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

.table-wrapper {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(51, 133, 255, 0.45);
  background: rgba(15, 23, 42, 0.95);
}

.table-voters-wrapper {
  max-height: 320px;
  overflow-y: auto;
}

/* hide scrollbar (optional) */
.table-voters-wrapper::-webkit-scrollbar {
  width: 6px;
}
.table-voters-wrapper::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.9);
  border-radius: 999px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table thead {
  background: linear-gradient(
    90deg,
    rgba(30, 64, 175, 0.9),
    rgba(59, 130, 246, 0.85)
  );
  color: #e5f2ff;
}

.data-table th,
.data-table td {
  padding: 9px 12px;
  text-align: left;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.98);
}

.data-table tbody tr:nth-child(odd) {
  background: rgba(15, 23, 42, 0.9);
}

.data-table tbody tr:hover {
  background: rgba(30, 64, 175, 0.4);
}

.empty-row {
  text-align: center;
  color: #9ca3af;
}

/* status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
}

.status-ok {
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.8);
}

.status-pending {
  background: rgba(250, 204, 21, 0.16);
  color: #fef3c7;
  border: 1px solid rgba(250, 204, 21, 0.85);
}

/* actions */
.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.admin-button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(129, 140, 248, 0.4));
  color: #e0f2fe;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.7),
    inset 0 0 14px rgba(15, 23, 42, 0.9);
  transition: 0.2s ease;
}

.admin-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 24px rgba(56, 189, 248, 1),
    inset 0 0 18px rgba(15, 23, 42, 0.9);
}

.admin-button.secondary {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
  box-shadow: 0 0 14px rgba(15, 23, 42, 0.9);
}

/* footer */
.footer-text {
  text-align: center;
  padding: 10px 0 18px;
  font-size: 0.78rem;
  color: #6b7280;
}

/* responsive */
@media (max-width: 900px) {
  .dashboard-container {
    margin: 24px 10px 24px;
    padding: 18px 14px 28px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .admin-button {
    width: 100%;
    text-align: center;
  }
}

/* ====================================
   THANK YOU PAGE (FUTURISTIC NEON)
   ==================================== */

.thanks-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: radial-gradient(circle at top, #0f172a 0%, #020617 55%, #000 100%);
  padding: 20px;
}

.thanks-card {
  max-width: 560px;
  padding: 36px 38px;
  border-radius: 24px;

  background: radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.22),
      rgba(15, 23, 42, 0.95)
    );

  border: 1px solid rgba(56, 189, 248, 0.55);

  box-shadow:
    0 0 48px rgba(56, 189, 248, 0.28),
    inset 0 0 22px rgba(15, 23, 42, 0.9);

  text-align: center;

  animation: thanks-breathe 3.2s ease-in-out infinite alternate;
}

@keyframes thanks-breathe {
  from {
    box-shadow:
      0 0 32px rgba(56, 189, 248, 0.22),
      inset 0 0 16px rgba(15, 23, 42, 0.85);
  }
  to {
    box-shadow:
      0 0 60px rgba(56, 189, 248, 0.38),
      inset 0 0 28px rgba(15, 23, 42, 1);
  }
}

.thanks-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #e0f7ff;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.55);
}

.thanks-text {
  margin-top: 6px;
  color: #c9e6ff;
  font-size: 1rem;
  line-height: 1.55;
}

.thanks-subtext {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Futuristic button (same style as login button) */
.thanks-button {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 32px;

  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: white;
  text-decoration: none;

  background: linear-gradient(
    135deg,
    rgba(115, 90, 255, 0.35),
    rgba(0, 220, 255, 0.3)
  );

  backdrop-filter: blur(10px);
  border: 1px solid rgba(120, 200, 255, 0.8);

  box-shadow:
    0 0 16px rgba(120, 180, 255, 0.8),
    inset 0 0 25px rgba(160, 80, 255, 0.45);

  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
}

/* Shine effect */
.thanks-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.45s ease-out;
}

.thanks-button:hover::after {
  left: 130%;
}

.thanks-button:hover {
  transform: scale(1.07);
  box-shadow:
    0 0 34px rgba(120, 200, 255, 1),
    inset 0 0 35px rgba(170, 100, 255, 0.55);
}

/* Footer */
.thanks-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* ============= HERO FIX RESPONSIF ============= */

.hero-full {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Wrapper untuk menjaga aspect ratio gambar */
.hero-image-wrapper {
    width: 100%;
    position: relative;
}

/* Gambar hero */
.hero-full-bg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

/* Tombol */
.hero-overlay {
    position: absolute;
    left: 50%;
    top: 70%;                 /* posisi tombol relatif pada gambar */
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-overlay {
        top: 72%;            /* geser sedikit untuk HP */
    }
}

.paslon-overlay {
    position: absolute;
    top: 5%;           /* POSISI TOMBOL DI ATAS GEDUNG — bisa ubah 1%–2% */
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 235px;
    z-index: 20;
}

/* RESPONSIVE SIZE FIX */
.btn-paslon {
    padding: 14px 40px;
    font-size: 18px;
    border-radius: 14px;
}

/* =======================================
   FIX UKURAN TOMBOL TABLET (PILIH PASLON)
   ======================================= */
@media (min-width: 600px) and (max-width: 1024px) {

    .paslon-overlay .neon-btn,
    .paslon-overlay .btn-paslon {
        padding: 10px 28px !important;  /* lebih kecil dari desktop */
        font-size: 16px !important;      /* sedang */
        border-radius: 12px !important;
        min-width: 180px !important;
        max-width: 240px !important;
    }

    .paslon-overlay {
        top: 5% !important;  /* sedikit turun/naik sesuai gambar tablet */
        gap: 90px !important; /* jarak antar tombol */
    }
}

@media (max-width: 600px) {

    /* Paksa override semua ukuran lama */
    .paslon-overlay .neon-btn,
    .paslon-overlay .btn-paslon {
        padding: 8px 16px !important;  /* tombol lebih kecil */
        font-size: 14px !important;    /* font kecil */
        border-radius: 10px !important;
        width: auto !important;
        min-width: 160px !important;
        max-width: 220px !important;
    }

    /* Posisi tombol pada gambar */
    .paslon-overlay {
        top: 50% !important; /* bisa disesuaikan */
        gap: 10px !important;
        flex-direction: column !important;
    }
}
