:root {
  --bg: #0b1220;
  --card: #111a2e;
  --muted: #7b8aa0;
  --text: #f4f6fb;
  --brand: #23b3ff;
  --brand-2: #6cf;
  --accent: #42d392;
  --danger: #ff5470;
}

* {
  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, #07101d, #0b1220 60%);
  color: var(--text);
  line-height: 1.5;
}

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(140%) blur(8px);
  background: rgba(11, 18, 32, .6);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  z-index: 10;
}

.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);
}

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

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

.nav a:hover {
  opacity: 1;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #02111f;
  border-color: rgba(0, 0, 0, .1);
}

.btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, .2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, .08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .05);
}

/* Hero Section */
.hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background-image: url('./bg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.2;
}

.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(17, 26, 46, 0.8);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.countdown-value {
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #6cf;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -0.5px;
}

.countdown-label {
  font-size: 11px;
  color: #b5c6e0;
  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: #b5c6e0;
  font-size: 14px;
  flex-wrap: wrap;
}

.badges li {
  padding: 4px 8px;
  background: rgba(255, 255, 255, .05);
  border-radius: 6px;
}

.hero-card {
  background: radial-gradient(80% 80% at 10% 0%, rgba(35, 179, 255, .18), transparent 60%), rgba(17, 26, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  padding: 20px;
}

.hero-card .prize-head {
  font-size: 12px;
  color: #b6c7df;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.hero-card h2 {
  margin: 4px 0 6px;
  font-size: 24px;
}

.hero-card .value {
  color: #c7d6eb;
  margin: 0 0 10px;
  font-size: 16px;
}

.prize-list {
  margin: 0 0 6px 18px;
  padding: 0;
  list-style: disc;
}

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

.tagline {
  color: #a7bad7;
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

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

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

.feature {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 18px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

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

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

.tickets h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

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

.ticket-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.ticket-card .price {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a6d7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ticket-card.popular {
  outline: 2px solid rgba(35, 179, 255, .35);
}

/* 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(255, 255, 255, .06);
  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: #9db5d4;
  font-size: 13px;
}

/* Responsible Section */
.responsible {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background-image: url('./bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.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: #9bb7d9;
  text-decoration: underline;
}

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

/* Footer */
.site-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #c3d3eb;
}

.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(2, 10, 20, .7);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 28px;
  width: min(520px, 92%);
  margin: 10vh auto;
  max-height: 85vh;
  overflow-y: auto;
}

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

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

.modal-close:hover {
  opacity: .7;
}

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

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

.form input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #0c1528;
  color: #f5f7fc;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
}

.form input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

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

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