:root {
  /* Enhanced HOA Palette */
  --primary: #0b1a2a;       /* Deep Navy */
  --primary-light: #162c46; 
  --secondary: #103622;     /* Elegant Forest Green */
  --secondary-hover: #174b2f; 
  --accent: #C5A059;        /* Refined Gold */
  --accent-light: #dfbe7d;
  
  /* Structure */
  --bg-color: #f7f9fc;      
  --card-bg: #FFFFFF;
  --text-main: #334155;     
  --text-dark: #0f172a;     
  --text-light: #64748b;    
  --border: #e2e8f0;        
}

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

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

/* Custom Scrollbar for Polished Feel */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f172a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation Bar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s;
  font-size: 1.05rem;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent);
}

.hidden {
  display: none !important;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
}

.text-accent {
  color: var(--accent);
}

.italic {
  font-style: italic;
  font-weight: 600;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 20px 120px;
  background-image: url('https://offertabs.s3.amazonaws.com/offer/we79hp/site/media/6a2d69474c96e1.34707090.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 26, 42, 0.92) 0%, rgba(16, 54, 34, 0.85) 100%);
  z-index: 0;
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.5;
  animation: float 14s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.25), transparent 60%);
}

.blob-2 {
  bottom: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(23, 75, 47, 0.35), transparent 60%);
  animation-delay: -7s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -70px) scale(1.05); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

@media (min-width: 768px) {
  .hero-wave svg { height: 140px; }
}

.hero-content {
  position: relative;
  z-index: 5;
  background: rgba(11, 26, 42, 0.5);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6rem 5rem;
  border-radius: 40px;
  text-align: center;
  max-width: 1000px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: var(--accent-light);
  padding: 0.6rem 2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-title {
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  text-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero-dates {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.date-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transition: transform 0.4s, background 0.4s, border-color 0.4s;
  text-align: left;
}

.date-pill:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(197, 160, 89, 0.4);
}

.date-pill-icon {
  background: rgba(197, 160, 89, 0.2);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}

.date-pill-text {
  display: flex;
  flex-direction: column;
}

.date-pill-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 2px;
}

.date-pill-value {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-promo {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 2.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #0a2316 100%);
  color: white;
  box-shadow: 0 10px 30px -5px rgba(16, 54, 34, 0.6), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -5px rgba(16, 54, 34, 0.7), inset 0 1px 0 rgba(255,255,255,0.25);
  background: linear-gradient(135deg, var(--secondary-hover) 0%, #0a2316 100%);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.15);
}

.btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -5px rgba(0,0,0,0.2);
}

/* Main Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  flex: 1;
  width: 100%;
}

.section-badge {
  display: inline-block;
  padding: 0.6rem 2rem;
  background: #ffffff;
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Form Section */
.enter-section {
  margin-bottom: 9rem;
}

.enter-header {
  text-align: center;
  margin-bottom: 4rem;
}

.enter-header h2 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
}

.enter-header p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

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

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

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  font-size: 1.05rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8fafc;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
  background: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

input[type="file"].form-control {
  padding: 0.8rem 1rem;
  background: #ffffff;
  cursor: pointer;
}

.form-help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.error-msg {
  background: #fee2e2;
  color: #b91c1c;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.success-msg {
  text-align: center;
  padding: 3rem 1rem;
}

.success-msg h3 {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.success-msg p {
  font-size: 1.15rem;
  color: var(--text-light);
}

.w-100 {
  width: 100%;
}

/* Photo Inputs Group */
.photo-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.photo-inputs input[type="file"] {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  transition: border-color 0.3s;
}
.photo-inputs input[type="file"]:hover {
  border-color: var(--accent);
}

/* Prizes Section */
.prizes-section {
  margin-bottom: 9rem;
}

.prizes-header {
  text-align: center;
  margin-bottom: 6rem;
}

.prizes-header h2 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
}

.prizes-header p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.prize-card {
  background: var(--card-bg);
  border-radius: 32px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Shimmer animation on prize cards */
@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.prize-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-15deg);
  animation: shimmer 4s infinite;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 10;
}

.prize-card:hover::before {
  opacity: 1;
}

.prize-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 35px 70px -15px rgba(0,0,0,0.12);
}

.prize-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 250px;
  background: radial-gradient(100% 100% at 50% 0%, var(--glow-color), transparent);
  opacity: 0.15;
  z-index: -1;
  transition: opacity 0.5s;
}

.prize-card:hover .prize-card-glow {
  opacity: 0.25;
}

/* Premium Metallic Treatments */
.prize-card.gold { 
  --glow-color: var(--accent); 
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: linear-gradient(160deg, #ffffff 0%, #fffbf0 100%);
}
.prize-card.silver { 
  --glow-color: #94A3B8; 
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(160deg, #ffffff 0%, #F8FAFC 100%);
}
.prize-card.bronze { 
  --glow-color: #B45309; 
  border: 1px solid rgba(180, 83, 9, 0.25);
  background: linear-gradient(160deg, #ffffff 0%, #FFF7ED 100%);
}
.prize-card.random { 
  --glow-color: #0EA5E9; 
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(160deg, #ffffff 0%, #F0F9FF 100%);
}

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

.prize-icon-wrapper {
  width: 96px; height: 96px;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
  box-shadow: 
    12px 12px 30px rgba(0,0,0,0.06), 
    -12px -12px 30px rgba(255,255,255,1),
    inset 2px 2px 5px rgba(255,255,255,0.6);
  animation: bounceFloat 6s ease-in-out infinite;
}

.prize-card.gold .prize-icon-wrapper { background: linear-gradient(135deg, #fef08a 0%, #C5A059 100%); animation-delay: 0s; }
.prize-card.silver .prize-icon-wrapper { background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%); animation-delay: 1s; }
.prize-card.bronze .prize-icon-wrapper { background: linear-gradient(135deg, #fcd34d 0%, #b45309 100%); animation-delay: 2s; }
.prize-card.random .prize-icon-wrapper { background: linear-gradient(135deg, #bae6fd 0%, #0ea5e9 100%); animation-delay: 3s; }

.prize-icon {
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.2));
}

.prize-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--text-dark);
}

.prize-amount {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin: 1.25rem 0;
  letter-spacing: -0.02em;
}

.prize-card.gold .prize-amount {
  background: linear-gradient(135deg, #8a6c1c, #C5A059, #8a6c1c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prize-card.silver .prize-amount {
  background: linear-gradient(135deg, #334155, #94A3B8, #475569);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prize-card.bronze .prize-amount {
  background: linear-gradient(135deg, #78350F, #d97706, #92400e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prize-card.random .prize-amount {
  background: linear-gradient(135deg, #0369a1, #0ea5e9, #0284c7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prize-detail {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Gallery Section */
.gallery-header {
  text-align: center;
  margin-bottom: 5rem;
}

.gallery-header h2 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
}

.gallery-header p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem;
}

.gallery-card {
  background: var(--card-bg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 70px -15px rgba(0,0,0,0.15);
}

.gallery-img-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--border);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.gallery-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 26, 42, 0.8) 0%, transparent 70%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}

.gallery-card:hover .gallery-img-wrapper::before {
  opacity: 1;
}

.gallery-img-wrapper::after {
  content: '\1F50D View';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -20px);
  background: #ffffff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 4;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-card:hover .gallery-img-wrapper::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.photo-address-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(11, 26, 42, 0.95) 0%, rgba(11, 26, 42, 0.6) 60%, transparent 100%);
  color: white;
  padding: 2.5rem 1.25rem 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.photo-address-overlay svg {
  flex-shrink: 0;
  color: var(--accent);
}

.gallery-info {
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.entry-number {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.gallery-caption {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Voting UI */
.vote-info {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.vote-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  min-width: 80px;
  padding: 12px 10px;
}

.vote-count svg {
  fill: var(--accent);
  width: 22px; height: 22px;
  margin-bottom: 6px;
}

.vote-count .count-val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
}

.btn-vote {
  flex: 1;
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.15rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-vote:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(11, 26, 42, 0.4);
}

.btn-vote.voted {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.btn-vote:disabled:not(.voted) {
  background: var(--border);
  color: var(--text-light);
  opacity: 0.8;
  cursor: not-allowed;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 6rem;
}

/* Loading & Empty States */
.loading, .empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-light);
  font-size: 1.35rem;
  background: var(--card-bg);
  border-radius: 32px;
  border: 2px dashed #cbd5e1;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.spinner {
  width: 50px; height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* FAQ Section */
.faq-section {
  margin-bottom: 9rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header h2 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
}

.faq-header p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s, content 0.3s;
}

.faq-item.active .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #ffffff;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 26, 42, 0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 1;
  transition: opacity 0.5s;
}

.lightbox.hidden {
  opacity: 0;
  pointer-events: none;
  display: flex !important;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.hidden .lightbox-content {
  transform: scale(0.92);
}

.lightbox-close {
  position: fixed;
  top: 2.5rem; right: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(16px);
  width: 60px; height: 60px;
  font-size: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.lightbox-close:hover {
  background: white;
  color: black;
  transform: scale(1.1) rotate(90deg);
}

.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.9);
  border: 1px solid rgba(255,255,255,0.15);
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 3rem 0 0;
  width: 100%;
  max-width: 850px;
}

.lightbox-caption h3 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.lightbox-caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  line-height: 1.8;
}

#wbx-powered-by-slot {
  margin: 0 auto;
  padding: 4rem 0;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 140px 1rem 80px;
    min-height: auto;
  }

  .hero-content {
    padding: 4rem 2rem;
    border-radius: 32px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-dates {
    flex-direction: column;
    gap: 1.25rem;
  }

  .date-pill {
    justify-content: flex-start;
  }
  
  .container {
    padding: 4rem 1.25rem;
  }

  .enter-header h2, .prizes-header h2, .gallery-header h2, .faq-header h2 {
    font-size: 2.8rem;
  }
  
  .form-container {
    padding: 2rem;
  }

  .prizes-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .btn {
    width: 100%;
  }
  
  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 1rem; right: 1rem;
    width: 48px; height: 48px;
    font-size: 2rem;
  }
  
  .lightbox-caption h3 {
    font-size: 1.8rem;
  }

  .nav-container {
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  
  .nav-links {
    gap: 1.25rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}