/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3e;
  --bg-surface: #161633;
  --accent: #ffc107;
  --accent-hover: #ffca2c;
  --accent-dark: #e6ac00;
  --text: #ffffff;
  --text-secondary: #9a9ab5;
  --text-muted: #6b6b85;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --border: #2a2a4a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TICKER BAR ===== */
.ticker-bar {
  background: var(--accent);
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
  padding: 8px 0;
}

.ticker-dot { margin: 0 24px; opacity: 0.6; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.main-header {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
}

.logo-icon { font-size: 1.8rem; }
.logo-text { letter-spacing: -0.5px; }
.logo-accent { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 12px 28px;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  font-size: 0.95rem;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1040 50%, #0a0a1a 100%);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(255,193,7,0.10) 0%, transparent 65%);
  animation: pulse-glow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 380px;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.25);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,193,7,0.06);
}

.hero-image {
  flex: 1.2;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  transform: translateY(10px);
  animation: heroCarFloat 6s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent),
                      linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent),
              linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
  mask-composite: intersect;
}

.hero-image-glow {
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255,193,7,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== COMPETITIONS SECTION ===== */
.competitions-section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.competitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== COMPETITION CARD ===== */
.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.comp-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(255, 193, 7, 0.15);
  background: var(--bg-card-hover);
}

.comp-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-surface);
}

.comp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.comp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comp-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.comp-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comp-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.comp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.comp-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.comp-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.comp-timer {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.comp-timer.urgent {
  color: var(--danger);
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== PROGRESS BAR ===== */
.progress-container { margin-bottom: 16px; }

.progress-bar {
  height: 8px;
  background: var(--bg-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 4px;
  transition: width 0.6s ease;
  min-width: 2px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.progress-lg .progress-bar {
  height: 12px;
}

.progress-lg .progress-info {
  font-size: 0.9rem;
  margin-top: 8px;
}

.comp-card-action {
  margin-top: auto;
  padding-top: 8px;
}

.comp-card-action .btn {
  width: 100%;
}

/* ===== HOW TO PLAY ===== */
.how-to-play {
  padding: 80px 0;
  background: var(--bg-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.8;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== LEGACY / WINNERS SECTION ===== */
.legacy-section {
  padding: 80px 0 60px;
}

.text-accent-green { color: #22c55e; }

.legacy-story {
  margin-bottom: 56px;
}

.legacy-story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.legacy-badge-wrap { margin-bottom: 16px; }

.legacy-badge {
  display: inline-block;
  background: rgba(255,193,7,0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,193,7,0.25);
}

.legacy-story-content h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.legacy-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.legacy-intro strong {
  color: var(--text);
}

.legacy-stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.legacy-stat {
  text-align: center;
}

.legacy-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.legacy-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.legacy-winners-header {
  text-align: center;
  margin-bottom: 36px;
}

.legacy-winners-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legacy-winners-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legacy-winners-header p strong {
  color: #22c55e;
}

/* ===== LEGACY WINNER GALLERY ===== */
.legacy-winners-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.legacy-winner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.legacy-winner-card:hover {
  transform: translateY(-3px);
  border-color: #22c55e;
  box-shadow: 0 8px 24px rgba(34,197,94,0.12);
}

.legacy-winner-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-surface);
}

.legacy-winner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.legacy-winner-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
}

.legacy-label {
  background: rgba(34,197,94,0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.legacy-winner-info {
  padding: 16px 18px 18px;
}

.legacy-winner-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.legacy-winner-prize {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.legacy-winner-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legacy-winner-tag {
  display: inline-block;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid rgba(34,197,94,0.2);
}

/* ===== LEGACY CTA ===== */
.legacy-cta {
  margin-bottom: 56px;
}

.legacy-cta-inner {
  background: linear-gradient(135deg, #1a1040 0%, #12122a 50%, #0f2a1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}

.legacy-cta-inner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.legacy-cta-inner p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 1rem;
}

/* ===== NEW WINNERS / RECENT ORDERS ===== */
.new-winners-section {
  padding-top: 16px;
}

.new-winners-section h3 {
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.winner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.winner-icon { font-size: 2rem; }

.winner-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.winner-prize {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.winner-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== LOCKED / COMING SOON CARDS ===== */
.comp-card--locked {
  position: relative;
}

.comp-card--locked .comp-card-image img {
  filter: brightness(0.6) saturate(0.7);
}

.comp-locked-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(245, 158, 11, 0.9);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.comp-timer.coming-soon {
  color: #f59e0b;
  font-weight: 700;
}

.btn-coming-soon {
  position: relative;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  background: transparent !important;
}

.locked-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e2e;
  color: #e0e0e0;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  width: 240px;
  text-align: center;
  line-height: 1.4;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.locked-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1e1e2e;
}

.btn-coming-soon:hover .locked-tooltip {
  display: block;
}

/* ===== LOCKED DETAIL PAGE ===== */
.locked-hero-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(245,158,11,0.02) 100%);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.locked-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.locked-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  animation: lockedPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes lockedPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

.locked-status-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.locked-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.locked-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.locked-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  transition: border-color 0.2s;
}

.locked-info-item:hover {
  border-color: rgba(245,158,11,0.3);
}

.locked-info-item svg {
  width: 22px;
  height: 22px;
  color: #f59e0b;
  flex-shrink: 0;
}

.locked-info-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.locked-info-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Waitlist Card */
.waitlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}

.waitlist-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(255,193,7,0.10) 0%, rgba(255,193,7,0.02) 100%);
  border-bottom: 1px solid var(--border);
}

.waitlist-bell {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.waitlist-bell svg {
  width: 22px;
  height: 22px;
  color: #000;
}

.waitlist-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.waitlist-card-header p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

.waitlist-card .waitlist-form {
  padding: 20px 22px;
}

.waitlist-card .waitlist-input-row {
  display: flex;
  gap: 10px;
}

.waitlist-card .waitlist-input-row input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.waitlist-card .waitlist-input-row input[type="email"]:focus {
  border-color: var(--accent);
  outline: none;
}

.waitlist-card .waitlist-input-row .btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 600;
}

.waitlist-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.comp-locked-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(245, 158, 11, 0.9);
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 10px;
  letter-spacing: 1px;
  z-index: 3;
}

.comp-detail-image {
  position: relative;
}

.waitlist-msg {
  font-size: 0.85rem;
  margin-top: 10px;
  padding: 0 22px 16px;
}

.waitlist-success {
  color: #22c55e;
}

.waitlist-error {
  color: #ef4444;
}

/* ===== COMPETITION DETAIL ===== */
.comp-detail {
  padding: 40px 0 80px;
}

.back-link {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: color var(--transition);
}

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

.comp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.comp-detail-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.comp-detail-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.comp-detail-info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.comp-detail-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.price-tag {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.price-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== KEY INFO BULLETS ===== */
.comp-key-info {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.key-info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.key-info-item:hover {
  border-color: var(--accent);
}

.key-info-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ===== CLOSES / COUNTDOWN ===== */
.comp-closes-section {
  margin-bottom: 28px;
}

.closes-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.comp-countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.countdown-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 6px;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.cd-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-style: italic;
}

.cd-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  font-weight: 500;
}

/* ===== LIVE DRAW LINE ===== */
.live-draw-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-draw-badge {
  background: var(--accent);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-draw-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== PROGRESS CARD (SOLD BAR) ===== */
.progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px 20px;
  margin-bottom: 24px;
  position: relative;
}

.progress-bubble {
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.progress-bubble::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--accent);
}

.bubble-num {
  background: var(--accent);
  color: #000;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 2px 8px 0;
  border-radius: 8px 8px 0 0;
  line-height: 1.3;
}

.bubble-label {
  background: var(--accent);
  color: #000;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0 8px 3px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.progress-bar-v2 {
  height: 10px;
  background: var(--bg-dark, #1a1a2e);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 16px;
}

.progress-fill-v2 {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 5px;
  transition: width 0.6s ease;
}

.progress-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* ===== TICKET SELECTOR ===== */
.ticket-selector {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.ticket-selector label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
}

.qty-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty-btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty-btn:hover { background: var(--accent); color: #000; }

#qtyInput {
  width: 80px;
  height: 48px;
  text-align: center;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  background: var(--bg-dark);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  -moz-appearance: textfield;
}

#qtyInput::-webkit-inner-spin-button { -webkit-appearance: none; }

.qty-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.preset-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.preset-btn:hover,
.preset-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,193,7,0.1);
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
}

.total-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.comp-description {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.comp-description h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.comp-description p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== CHECKOUT ===== */
.checkout-section {
  padding: 40px 0 80px;
  overflow-x: hidden;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.checkout-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.checkout-form-wrap h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
  box-sizing: border-box;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,193,7,0.15);
}

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

.checkout-summary-mobile {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.summary-line.total {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
}

.checkout-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.order-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.order-summary-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.summary-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.summary-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.order-summary-card h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.summary-details hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.modal-icon { font-size: 3rem; margin-bottom: 16px; }

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-ref {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-ref span {
  color: var(--accent);
  font-weight: 700;
}

.modal-tickets {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.modal-tickets h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.modal-tickets .ticket-num {
  display: inline-block;
  background: var(--bg-dark);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 4px 10px;
  margin: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent);
}

.modal p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-about {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 2px 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== 404 ===== */
.error-page {
  text-align: center;
  padding: 120px 0;
}

.error-page h1 {
  font-size: 6rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .competitions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy-winners-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-split {
    gap: 24px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-image img {
    max-width: 500px;
  }

  .comp-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1.4rem;
    font-weight: 700;
  }

  .mobile-toggle {
    display: flex;
    z-index: 101;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin: 0 auto 24px;
    font-size: 1rem;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-image img {
    max-width: 480px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .competitions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .winners-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legacy-winners-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .legacy-story-content h2 {
    font-size: 1.6rem;
  }

  .legacy-intro {
    font-size: 0.95rem;
  }

  .legacy-stats-row {
    gap: 24px;
  }

  .legacy-stat-num {
    font-size: 1.4rem;
  }

  .legacy-cta-inner {
    padding: 32px 20px;
  }

  .legacy-cta-inner h3 {
    font-size: 1.2rem;
  }

  .legacy-winners-header h3 {
    font-size: 1.2rem;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    display: none;
  }

  .checkout-summary-mobile {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .comp-detail-info h1 {
    font-size: 1.4rem;
  }

  .comp-countdown {
    gap: 8px;
  }

  .countdown-item {
    padding: 10px 6px;
  }

  .cd-num {
    font-size: 1.4rem;
  }

  .progress-card {
    padding: 28px 16px 16px;
  }

  .comp-key-info {
    flex-direction: column;
    gap: 8px;
  }

  .key-info-item {
    font-size: 0.85rem;
    padding: 12px 14px;
  }

  .qty-presets {
    gap: 6px;
  }

  .preset-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .comp-card-body {
    padding: 16px;
  }

  .ticket-selector {
    padding: 16px;
  }

  .checkout-form-wrap {
    padding: 20px;
  }

  .checkout-section .container {
    padding: 0 12px;
  }

  .modal {
    padding: 24px;
  }
}

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

  .checkout-section {
    padding: 24px 0 60px;
  }

  .checkout-section .container {
    padding: 0 10px;
  }

  .checkout-form-wrap {
    padding: 16px;
    border-radius: 10px;
  }

  .checkout-form-wrap h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"] {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .discount-code-wrap {
    padding: 12px;
  }

  .discount-input-row {
    gap: 6px;
  }

  .discount-input-row input {
    padding: 10px 10px;
    font-size: 0.9rem;
  }

  .checkout-summary-mobile {
    padding: 12px;
  }

  .btn-block {
    width: 100%;
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .back-link {
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: inline-block;
  }

  .hero { padding: 40px 0 0; }

  .hero h1 { font-size: 1.8rem; }

  .hero-image img { max-width: 340px; }

  .hero-badge { font-size: 0.65rem; padding: 5px 10px; }

  .header-inner { height: 56px; }

  .logo { font-size: 1.2rem; }
  .logo-icon { font-size: 1.4rem; }

  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }

  .comp-detail { padding: 24px 0 60px; }

  .price-tag { font-size: 1.6rem; }

  .comp-countdown { flex-wrap: nowrap; gap: 6px; }
  .countdown-item { padding: 8px 4px; }
  .cd-num { font-size: 1.2rem; }
  .cd-label { font-size: 0.6rem; }

  .live-draw-line { flex-wrap: wrap; gap: 8px; }
  .live-draw-badge { font-size: 0.72rem; padding: 5px 12px; }
  .live-draw-date { font-size: 0.85rem; }

  .progress-card { padding: 28px 14px 14px; }
  .comp-key-info { flex-direction: column; gap: 6px; }
  .key-info-item { padding: 10px 12px; font-size: 0.82rem; gap: 8px; }
  .key-info-svg { width: 18px; height: 18px; }

  .locked-info-grid { grid-template-columns: 1fr; gap: 8px; }
  .waitlist-card .waitlist-input-row { flex-direction: column; }
  .waitlist-card .waitlist-input-row .btn { justify-content: center; }
}

/* ===== SKILL QUESTION ===== */
.skill-question-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 20px;
  overflow: hidden;
}

.skill-question-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255,193,7,0.12) 0%, rgba(255,193,7,0.03) 100%);
  border-bottom: 1px solid var(--border);
}

.skill-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-icon-svg {
  width: 22px;
  height: 22px;
  color: #000;
}

.skill-header-text {
  display: flex;
  flex-direction: column;
}

.skill-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-header-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.skill-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 18px 20px 14px;
  margin: 0;
}

.skill-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px 20px;
}

.skill-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.92rem;
  position: relative;
}

.skill-option:first-child { border-radius: 10px 10px 0 0; }
.skill-option:last-child { border-radius: 0 0 10px 10px; }
.skill-option:not(:last-child) { border-bottom: none; }

.skill-option:hover {
  background: rgba(255, 193, 7, 0.06);
  border-color: var(--accent);
  z-index: 1;
}

.skill-option:hover + .skill-option {
  border-top-color: var(--accent);
}

.skill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.skill-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.skill-radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-option input[type="radio"]:checked ~ .skill-radio-dot {
  border-color: var(--accent);
}

.skill-option input[type="radio"]:checked ~ .skill-radio-dot::after {
  transform: scale(1);
}

.skill-option-label {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all 0.2s;
}

.skill-option input[type="radio"]:checked ~ .skill-option-label {
  background: var(--accent);
  color: #000;
}

.skill-option-text {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}

.skill-option input[type="radio"]:checked ~ .skill-option-text {
  color: var(--accent);
  font-weight: 600;
}

.skill-error {
  color: #ef4444;
  font-size: 0.82rem;
  padding: 0 20px 16px;
  margin: 0;
  font-weight: 500;
}

@keyframes skillShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.skill-shake {
  animation: skillShake 0.5s ease;
}

/* ===== FREE ENTRY NOTE ===== */
.free-entry-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

.free-entry-note a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.free-entry-note a:hover {
  color: var(--accent);
}

/* ===== FREE ENTRY PAGE ===== */
.legal-page {
  padding: 40px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--accent);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.free-entry-page {
  padding: 40px 0 80px;
}

.free-entry-content {
  max-width: 750px;
  margin: 0 auto;
}

.free-entry-content h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.free-entry-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.free-entry-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.fe-step {
  display: flex;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.fe-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
}

.fe-step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.fe-step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.fe-step-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.postal-address {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-top: 8px;
}

.free-entry-terms {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.free-entry-terms h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.free-entry-terms ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.8;
}

.free-entry-terms a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .fe-step { flex-direction: column; gap: 12px; padding: 18px; }
  .free-entry-content h1 { font-size: 1.5rem; }
}

/* ========== IMAGE GALLERY ========== */
.gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-main-img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}

.gallery-nav:hover { background: var(--accent); color: #000; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--accent);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== DISCOUNT CODE (CHECKOUT) ========== */
.discount-code-wrap {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.discount-code-wrap label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.discount-input-row {
  display: flex;
  gap: 8px;
}

.discount-input-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--text-primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discount-input-row .btn {
  white-space: nowrap;
}

.discount-msg {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.discount-success { color: #22c55e; }
.discount-error { color: #ef4444; }

.discount-line span:last-child {
  color: #22c55e;
  font-weight: 600;
}

/* ========== SEE ALL WINNERS BUTTON (homepage) ========== */
.winners-see-all {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 12px;
}

/* ========== WINNERS PAGE ========== */
.winners-page {
  padding: 48px 0 60px;
}

.winners-page .section-header {
  margin-bottom: 32px;
}

.winners-page .section-header h1 {
  font-size: 2.2rem;
}

.winners-filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.winners-filter {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.winners-filter:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.winners-filter.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.winners-group {
  margin-bottom: 48px;
}

.winners-group-header {
  margin-bottom: 24px;
}

.winners-group-header h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.winners-group-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.winners-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wp-winner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.wp-winner-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

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

.wp-winner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-winner-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wp-winner-badge.legacy {
  background: #22c55e;
  color: #000;
}

.wp-winner-badge.new {
  background: var(--accent);
  color: #000;
}

.wp-winner-info {
  padding: 16px;
}

.wp-winner-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.wp-winner-prize {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.wp-winner-location {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.wp-winner-date {
  color: var(--text-muted, #666);
  font-size: 0.75rem;
  margin-top: 2px;
}

.winners-load-more {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .winners-page .section-header h1 { font-size: 1.6rem; }
  .winners-page-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wp-winner-info { padding: 12px; }
  .wp-winner-info h4 { font-size: 0.9rem; }
  .wp-winner-prize { font-size: 0.8rem; }
  .winners-filter { padding: 8px 16px; font-size: 0.8rem; }
}

/* ========== LIGHTBOX ========== */
.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-overlay.fade-in {
  opacity: 1;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 20px 40px;
  box-sizing: border-box;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lightbox-img { max-width: 95vw; max-height: 80vh; border-radius: 4px; }
  .lightbox-content { padding: 50px 10px 50px; }
}
