:root {
  --bg: #2a1a0a;
  --card: #3d2714;
  --muted: #d4b5a5;
  --text: #ffe8d8;
  --brand: #fb923c;
  --brand-2: #fdba74;
  --accent: #f97316;
  --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, #1a1005, #2a1a0a 60%, #3d2714);
  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, 146, 60, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.12) 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, 39, 20, .8);
  border-bottom: 1px solid rgba(251, 146, 60, .3);
  z-index: 10;
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.2);
}

.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, 146, 60, 0.5);
}

.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 8px rgba(251, 146, 60, 0.6);
}

.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: #1a1005;
  border-color: rgba(251, 146, 60, 0.4);
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.3), rgba(249, 115, 22, 0.3), transparent);
  animation: rotate 3s linear infinite;
  opacity: 0;
  transition: opacity .3s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(251, 146, 60, 0.6);
}

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(251, 146, 60, .5);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.2), transparent);
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
  animation: rotate 4s linear infinite;
}

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

.btn-outline:hover {
  background: rgba(251, 146, 60, .15);
  border-color: var(--brand);
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(251, 146, 60, .3);
}

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

/* Hero Section */
.hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid rgba(251, 146, 60, .2);
  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, 146, 60, 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, #ffe8d8, #fdba74);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(251, 146, 60, 0.4));
}

.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, 39, 20, 0.9);
  border: 1px solid rgba(251, 146, 60, .35);
  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 18px rgba(251, 146, 60, 0.3);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.countdown-block::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.15), rgba(249, 115, 22, 0.15), transparent);
  animation: rotate 6s linear infinite;
  opacity: 0;
  transition: opacity .3s;
}

.countdown-block:hover::before {
  opacity: 1;
}

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

.countdown-value {
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #fdba74;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -0.5px;
  text-shadow: 0 0 15px rgba(253, 186, 116, 0.8);
  position: relative;
  z-index: 1;
}

.countdown-label {
  font-size: 11px;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.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: #fdba74;
  font-size: 14px;
  flex-wrap: wrap;
}

.badges li {
  padding: 4px 8px;
  background: rgba(251, 146, 60, .18);
  border-radius: 8px;
  border: 1px solid rgba(251, 146, 60, .35);
}

.hero-card {
  background: radial-gradient(80% 80% at 10% 0%, rgba(251, 146, 60, .25), transparent 60%), rgba(61, 39, 20, 0.95);
  border: 1px solid rgba(251, 146, 60, .35);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 35px rgba(251, 146, 60, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.2), rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.2), transparent);
  animation: rotate 8s linear infinite;
  opacity: 0.6;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  background: conic-gradient(from 180deg, transparent, rgba(253, 186, 116, 0.15), transparent);
  animation: rotate-reverse 12s linear infinite;
  opacity: 0.4;
}

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

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

.hero-card .prize-head {
  font-size: 12px;
  color: #fdba74;
  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: #ffe8d8;
  position: relative;
  z-index: 1;
}

.hero-card .value {
  color: #fb923c;
  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: #fdba74;
  font-size: 14px;
  margin: 4px 0;
}

.tagline {
  color: #fb923c;
  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, 146, 60, .3);
  border-radius: 16px;
  padding: 24px;
  transition: all .3s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.1), transparent);
  animation: rotate 10s linear infinite;
  opacity: 0;
  transition: opacity .3s;
}

.feature:hover::before {
  opacity: 1;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 8px 28px rgba(251, 146, 60, 0.35);
  background: rgba(61, 39, 20, 0.9);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ffe8d8;
  position: relative;
  z-index: 1;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

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

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

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

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

.ticket-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.4), rgba(249, 115, 22, 0.4), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  animation: rotate 5s linear infinite;
  z-index: -1;
}

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

.ticket-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 8px 28px rgba(251, 146, 60, 0.35);
}

.ticket-card h3 {
  margin: 0;
  font-size: 18px;
  color: #ffe8d8;
  position: relative;
  z-index: 1;
}

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

.ticket-card .price {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe8d8, #fdba74);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}

.ticket-card.popular {
  outline: 2px solid rgba(251, 146, 60, .55);
  box-shadow: 0 0 35px rgba(251, 146, 60, 0.4);
  background: radial-gradient(80% 80% at 50% 0%, rgba(251, 146, 60, .18), rgba(61, 39, 20, 0.95));
}

.ticket-card.popular::after {
  content: '';
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  background: conic-gradient(from 180deg, transparent, rgba(253, 186, 116, 0.2), rgba(251, 146, 60, 0.2), transparent);
  animation: rotate-reverse 8s linear infinite;
  opacity: 0.5;
  z-index: 0;
}

/* 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, 146, 60, .3);
  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: #fdba74;
  font-size: 13px;
}

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

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

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

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

.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: #fb923c;
  text-decoration: underline;
  transition: color .3s;
}

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

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

/* Footer */
.site-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(251, 146, 60, .2);
  color: #fb923c;
  background: rgba(42, 26, 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, 12, 5, .9);
  backdrop-filter: blur(5px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid rgba(251, 146, 60, .35);
  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, 146, 60, 0.4);
  position: relative;
  overflow: hidden;
}

.modal-dialog::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(251, 146, 60, 0.1), transparent);
  animation: rotate 15s linear infinite;
  opacity: 0.3;
  z-index: 0;
}

.modal-dialog h3 {
  margin: 0 0 20px;
  font-size: 24px;
  color: #ffe8d8;
  position: relative;
  z-index: 1;
}

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

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

/* Form */
.form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

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

.form input {
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, .35);
  background: rgba(42, 26, 10, 0.7);
  color: #ffe8d8;
  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 18px rgba(251, 146, 60, 0.4);
}

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

.age-backdrop {
  background: rgba(20, 12, 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;
  }
}

