:root {
  --bg: #170b14;
  --bg-soft: #2d0d20;
  --surface: rgba(86, 18, 49, 0.9);
  --surface-2: rgba(38, 12, 29, 0.86);
  --card: rgba(19, 12, 21, 0.7);
  --gold: #f4c85d;
  --gold-deep: #d8a735;
  --maroon: #7a0d21;
  --maroon-soft: #a91c34;
  --purple: #2f114d;
  --text: #fef7e7;
  --muted: #f5d5ae;
  --border: rgba(244, 200, 93, 0.35);
  --shadow: 0 26px 60px rgba(19, 4, 18, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(244, 200, 93, 0.18), transparent 20%),
    linear-gradient(135deg, var(--bg) 0%, #2c1028 35%, var(--purple) 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 8, 16, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(244, 200, 93, 0.28);
  border: 1px solid rgba(244, 200, 93, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ffe28d);
  color: var(--maroon);
  font-weight: 800;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  box-shadow: 0 20px 35px rgba(244, 200, 93, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(244, 200, 93, 0.34);
}

.button-small {
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
}

.button-secondary {
  background: transparent;
  border: 1px solid rgba(244, 200, 93, 0.42);
  color: var(--text);
  box-shadow: none;
}

.section-block {
  padding: 90px 0;
}

.hero {
  padding: 40px 0 40px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

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

.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(244, 200, 93, 0.08);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.8rem, 5vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--gold);
}

.tagline {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  color: #fff0b8;
}

.intro-text {
  max-width: 760px;
  margin: 18px auto 0;
  line-height: 1.8;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(220px, 100%);
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 200, 93, 0.18);
}

.meta-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-visual {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(244, 200, 93, 0.1), rgba(122, 13, 33, 0.24));
  border: 1px solid rgba(244, 200, 93, 0.28);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 18px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.prize-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.prize-card,
.contact-card,
.ticket-card,
.venue-card {
  background: rgba(17, 10, 17, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.prize-card {
  overflow: hidden;
  padding: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(135deg, rgba(122, 13, 33, 0.9), rgba(51, 13, 49, 0.9));
}

.prize-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(244, 200, 93, 0.2);
}

.prize-card span {
  display: block;
  padding: 18px 16px 20px;
  color: var(--text);
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.payment-copy h2,
.venue-section h2 {
  margin: 18px 0 18px;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.payment-copy p,
.venue-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

.qr-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(17, 10, 17, 0.72);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 20px;
  margin-top: 30px;
}

.qr-panel h3 {
  margin: 0 0 8px;
}

#qrCode {
  width: 130px;
  height: 130px;
  background: white;
  border-radius: 14px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ticket-panel {
  display: grid;
  gap: 18px;
}

.ticket-card {
  padding: 22px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ticket-card.selected {
  border-color: rgba(244, 200, 93, 0.7);
  transform: translateY(-2px);
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.ticket-header span {
  font-weight: 700;
  font-size: 1.05rem;
}

.ticket-header strong {
  color: var(--gold);
  font-size: 1.55rem;
}

.payment-form {
  display: grid;
  gap: 20px;
}

.field-control {
  position: relative;
}

.field input {
  width: 100%;
  background: rgba(12, 7, 13, 0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 54px;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.field label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 600;
  background: transparent;
  padding: 0 5px;
  pointer-events: none;
  transition: top 0.16s ease, left 0.16s ease, font-size 0.16s ease, color 0.16s ease,
    background-color 0.16s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(244, 200, 93, 0.8);
  box-shadow: 0 0 0 4px rgba(244, 200, 93, 0.13);
}

.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label {
  top: 0;
  left: 0.8rem;
  font-size: 0.72rem;
  color: var(--gold);
  background: var(--bg);
}

.field.invalid input {
  border-color: #ff6b6b;
}

.field.invalid input:focus {
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.16);
}

.field.invalid label {
  color: #ff8080;
}

.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #ff8080;
}

.wide-btn {
  width: 100%;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.venue-card {
  padding: 24px;
  background: linear-gradient(135deg, rgba(122, 13, 33, 0.85), rgba(51, 13, 49, 0.88));
}

.contact-card {
  padding: 22px 20px;
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1.2rem;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: #06210f;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.32);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 6, 11, 0.9);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 14px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .ticket-grid,
  .venue-grid,
  .prize-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-block {
    padding: 74px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta {
    flex-direction: column;
  }

  .qr-panel,
  .ticket-header,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
