:root {
  --gold: #d4af37;
  --gold-light: #f3d97a;
  --black: #000;
  --white: #fff;
  --shadow-sm: 0 10px 30px rgba(0,0,0,0.15);
  --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15pt;
  background: linear-gradient(145deg, #d4af37 0%, #f3d97a 100%);
  color: var(--black);
  scroll-behavior: smooth;
  opacity: 0;
  animation: bodyFade 0.6s ease forwards;
}
@keyframes bodyFade {
  to { opacity: 1; }
}

/* TOP BANNER */
.top-banner {
  background: var(--black);
  color: var(--gold);
  text-align: center;
  padding: 15px 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-banner i {
  color: var(--gold-light);
  font-size: 1.2rem;
  animation: sparkle 2s infinite;
}
@keyframes sparkle {
  0%,100%{ opacity: 0.7; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.2); color: #fff; }
}

/* HEADER */
header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(145deg, #000, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gold);
  transition: 0.3s;
}
.nav-menu a:hover {
  color: var(--gold);
}
.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}
.hamburger:hover {
  color: var(--gold);
  transform: scale(1.1);
}

/* HERO SLIDER (updated for 7 images) */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #222;
}
.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.slider-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slider-track {
  display: flex;
  width: 700%;              /* 7 images * 100% */
  height: 100%;
  transition: transform 0.7s ease-in-out;
  will-change: transform;
}
.slider-track img {
  width: 14.2857%;           /* 100% / 7 ≈ 14.2857% */
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  filter: brightness(45%);
  aspect-ratio: 16/9;
}
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  background: rgba(0,0,0,0.2);
  z-index: 5;
  pointer-events: none;
}
.hero-overlay h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: 'Playfair Display', serif;
  letter-spacing: 5px;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  animation: floatGlow 4s ease-in-out infinite;
}
@keyframes floatGlow {
  0%,100%{ transform: translateY(0); text-shadow: 0 0 20px #d4af37; }
  50%{ transform: translateY(-8px); text-shadow: 0 0 40px #f3d97a; }
}
.hero-overlay p {
  font-size: 1.3rem;
  margin-top: 20px;
  letter-spacing: 2px;
  font-weight: 300;
  background: linear-gradient(to right, #fff, #f3d97a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 20px;
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}
.section-banner {
  font-size: 2.2rem;
  font-weight: 900;
  border-bottom: 4px solid black;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 50px;
  position: relative;
}
.section-banner i {
  margin-right: 12px;
  color: var(--gold);
  font-size: 2rem;
  vertical-align: middle;
}

/* SPOTLIGHT (infinite scroll with hardware acceleration) */
.spotlight-container {
  overflow: hidden;
}
.spotlight-track {
  display: flex;
  gap: 40px;
  width: fit-content;
  animation: scroll 35s linear infinite;
  will-change: transform;
}
.spotlight-container:hover .spotlight-track {
  animation-play-state: paused;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.spotlight-card {
  background: white;
  padding: 25px;
  border-radius: 25px;
  width: 260px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.spotlight-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.spotlight-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  aspect-ratio: 260/280;
}

/* SEARCH */
.search-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}
.search-area input {
  padding: 14px 25px;
  font-size: 1rem;
  border: 2px solid var(--black);
  border-radius: 60px;
  width: 320px;
  outline: none;
  background: white;
  transition: 0.2s;
}
.search-area input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.25);
}

.main-desc {
  max-width: 70vw;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
}

.social-icons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.social-icons i {
  font-size: 1.3rem;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.social-icons .fa-facebook-f,
.social-icons .fa-instagram {
  border: 2px solid var(--gold);
}
.social-icons .fa-whatsapp {
  border: 2px solid #25D366;
  color: #25D366;
}
.search-btn, .reset-btn {
  background: black;
  color: var(--gold);
  padding: 14px 28px;
  border: none;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.reset-btn {
  background: #333;
  color: white;
}
.search-btn:hover {
  background: var(--gold);
  color: black;
  transform: scale(1.02);
}
.reset-btn:hover {
  background: #555;
  color: var(--gold-light);
  transform: scale(1.02);
}

/* VOTING CARDS */
/* Restored vote section styles */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.card {
  background: #fff;
  padding: 32px 24px 28px 24px;
  width: 340px;
  border-radius: 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}
.card.hidden {
  display: none;
}
.card img {
  width: 290px;
  height: 290px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 2px 0;
  color: #222;
}
.contestant-code {
  font-size: 0.98rem;
  color: #b8860b;
  margin-bottom: 8px;
  font-weight: 600;
}
.vote-count {
  font-weight: 700;
  margin: 8px 0 2px 0;
  font-size: 1.08rem;
  color: #222;
}
.finalist-progress {
  font-size: 1.01rem;
  color: #333;
  margin-bottom: 18px;
  font-weight: 500;
}
.finalist-progress i {
  color: var(--gold);
  margin-right: 4px;
}
.card button {
  background: #222;
  color: var(--gold);
  padding: 16px 0;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.13rem;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(212,175,55,0.08);
}
.card button:hover {
  background: var(--gold);
  color: #222;
  transform: scale(1.04);
  box-shadow: 0 5px 15px rgba(212,175,55,0.18);
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: 0.25s ease;
}
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal-content {
  background: white;
  max-width: 750px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 40px;
  padding: 35px 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.close-modal {
  position: absolute;
  top: 20px; right: 25px;
  font-size: 2rem;
  cursor: pointer;
  color: #888;
  transition: 0.2s;
}
.close-modal:hover {
  color: black;
  transform: scale(1.1);
}
.modal-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
}
.modal-contestant-name {
  color: var(--gold);
  font-weight: 700;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 15px;
  margin: 30px 0 20px;
}
.package-card {
  border: 2px solid #eee;
  border-radius: 20px;
  padding: 18px 8px;
  cursor: pointer;
  transition: 0.2s;
  background: #fafafa;
}
.package-card.selected {
  border-color: var(--gold);
  background: #fbf5e0;
  box-shadow: 0 5px 15px rgba(212,175,55,0.3);
}
.package-card .votes {
  font-size: 1.6rem;
  font-weight: 800;
}
.package-card .price {
  font-size: 1.2rem;
  color: #008000;
  font-weight: 600;
}
.package-card .bonus {
  font-size: 0.9rem;
  color: #b8860b;
}
.payment-step {
  margin-top: 25px;
  border-top: 2px dashed #ccc;
  padding-top: 25px;
}
.pay-btn, .mock-pay-btn {
  background: black;
  color: var(--gold);
  border: none;
  padding: 16px 30px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
}
.pay-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pay-btn:hover:not(:disabled) {
  background: var(--gold);
  color: black;
  transform: scale(1.02);
}
.mock-pay-btn {
  background: #25D366;
  color: white;
}
.mock-pay-btn:hover {
  background: #128C7E;
}
.payment-dummy {
  background: #f0f0f0;
  border-radius: 30px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.fine-print {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #444;
}

/* small code under contestant names */
.contestant-code {
  font-size: 0.8rem;
  color: var(--gold);
  margin: -5px 0 5px;
}

/* MOBILE */
@media (max-width: 700px) {
  header { padding: 18px 25px; }
  .hamburger { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 30px 20px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    border-top: 1px solid var(--gold-light);
    text-align: center;
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { font-size: 1.2rem; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .logo { font-size: 1.4rem; }
  .search-area { flex-direction: column; align-items: stretch; }
  .search-area input { width: 100%; max-width: none; }
  .sponsor-track img { height: 50px; }
}
