:root {
  --bg: #2a1f0a;
  --card: #3d2e14;
  --muted: #d4c5a5;
  --text: #fff8e8;
  --brand: #fbbf24;
  --brand-2: #fcd34d;
  --accent: #f59e0b;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  background: linear-gradient(180deg, #1a1405, #2a1f0a 60%, #3d2e14);
  color: var(--text);
  line-height: 1.5;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 0;
}

h1 {
  font-size: 40px;
  line-height: 1.2;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 18px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(61, 46, 20, .8);
  border-bottom: 1px solid rgba(251, 191, 36, .4);
  z-index: 10;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 20px;
  color: var(--text);
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  opacity: .85;
  transition: all .3s;
  font-size: 15px;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .3s;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #1a1405;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 25px rgba(251, 191, 36, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  opacity: 0;
  transition: opacity .3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(251, 191, 36, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(251, 191, 36, .5);
}

.btn-outline:hover {
  background: rgba(251, 191, 36, .15);
  border-color: var(--brand);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(251, 191, 36, .4);
}

.btn-ghost:hover {
  background: rgba(251, 191, 36, .1);
  border-color: var(--brand);
}

/* Hero Section */
.hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid rgba(251, 191, 36, .25);
  background-image: url('./bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff8e8, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(251, 191, 36, 0.5));
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}

.hero-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.countdown-block {
  background: rgba(61, 46, 20, 0.9);
  border: 1px solid rgba(251, 191, 36, .4);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all .3s;
}

.countdown-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(251, 191, 36, 0.5);
  border-color: var(--brand);
}

.countdown-value {
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #fcd34d;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(252, 211, 77, 1), 0 0 30px rgba(251, 191, 36, 0.8);
}

.countdown-label {
  font-size: 11px;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}

.badges {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  color: #fcd34d;
  font-size: 14px;
  flex-wrap: wrap;
}

.badges li {
  padding: 4px 8px;
  background: rgba(251, 191, 36, .2);
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, .4);
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.hero-card {
  background: radial-gradient(80% 80% at 10% 0%, rgba(251, 191, 36, .28), transparent 60%), rgba(61, 46, 20, 0.95);
  border: 1px solid rgba(251, 191, 36, .4);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 191, 36, 0.15), transparent);
  animation: rotate 10s linear infinite;
}

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

.hero-card .prize-head {
  font-size: 12px;
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero-card h2 {
  margin: 4px 0 6px;
  font-size: 24px;
  color: #fff8e8;
  position: relative;
  z-index: 1;
}

.hero-card .value {
  color: #fbbf24;
  margin: 0 0 10px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.prize-list {
  margin: 0 0 6px 18px;
  padding: 0;
  list-style: disc;
  position: relative;
  z-index: 1;
}

.prize-list li {
  color: #fcd34d;
  font-size: 14px;
  margin: 4px 0;
}

.tagline {
  color: #fbbf24;
  font-size: 14px;
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 40px 0;
  position: relative;
}

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

.feature {
  background: var(--card);
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: 16px;
  padding: 24px;
  transition: all .3s;
  backdrop-filter: blur(10px);
  position: relative;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
  background: rgba(61, 46, 20, 0.9);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #fff8e8;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Tickets Section */
.tickets {
  padding: 36px 0;
}

.tickets h2 {
  margin: 0 0 20px;
  font-size: 28px;
  color: #fff8e8;
}

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

.ticket-card {
  background: var(--card);
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .3s;
  backdrop-filter: blur(10px);
}

.ticket-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.ticket-card h3 {
  margin: 0;
  font-size: 18px;
  color: #fff8e8;
}

.ticket-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ticket-card .price {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff8e8, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.5));
}

.ticket-card.popular {
  outline: 2px solid rgba(251, 191, 36, .6);
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
  background: radial-gradient(80% 80% at 50% 0%, rgba(251, 191, 36, .2), rgba(61, 46, 20, 0.95));
}

/* Prizes Section */
.prizes {
  padding: 36px 0;
}

.prizes h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.prize-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: decimal inside;
}

.prize-deck li {
  background: var(--card);
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: 14px;
  padding: 16px;
}

.prize-deck h3 {
  margin: 0 0 6px;
  font-size: 18px;
  display: inline;
}

.prize-deck p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.prize-deck em {
  color: #fcd34d;
  font-size: 13px;
}

/* Responsible Section */
.responsible {
  padding: 36px 0;
  border-top: 1px solid rgba(251, 191, 36, .25);
  position: relative;
}

.responsible::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 31, 10, 0.85), rgba(61, 46, 20, 0.9));
}

.responsible .container {
  position: relative;
  z-index: 1;
}

.responsible h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #fff8e8;
}

.responsible p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.responsible .links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.responsible .links a {
  color: #fbbf24;
  text-decoration: underline;
  transition: color .3s;
}

.responsible .links a:hover {
  color: #fcd34d;
}

.licenses {
  color: #fcd34d;
  font-size: 14px;
}

/* Footer */
.site-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(251, 191, 36, .25);
  color: #fbbf24;
  background: rgba(42, 31, 10, 0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal[aria-hidden="false"] {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 5, .9);
  backdrop-filter: blur(5px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid rgba(251, 191, 36, .4);
  border-radius: 20px;
  padding: 28px;
  width: min(520px, 92%);
  margin: 10vh auto;
  max-height: 85vh;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal-dialog h3 {
  margin: 0 0 20px;
  font-size: 24px;
  color: #fff8e8;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  color: #fcd34d;
  font-size: 28px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(251, 191, 36, .2);
  transform: rotate(90deg);
}

/* Form */
.form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #fcd34d;
}

.form input {
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, .4);
  background: rgba(42, 31, 10, 0.7);
  color: #fff8e8;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: all .3s;
}

.form input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-color: var(--brand);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

/* Age Verification Modal */
.age-verification-modal {
  z-index: 1000;
}

.age-backdrop {
  background: rgba(20, 14, 5, .95);
  cursor: not-allowed;
}

.age-dialog {
  text-align: center;
}

.age-dialog h3 {
  margin: 0 0 16px;
  font-size: 28px;
}

.age-dialog p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.age-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-buttons .btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
}

.age-verification-modal .modal-close {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .ticket-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-copy h1 {
    font-size: 32px;
  }
  
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
}

