*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050814;
  --bg-alt: #070a1a;
  --accent: #ff5c7a;
  --accent-soft: rgba(255, 92, 122, 0.14);
  --accent-2: #7b5cff;
  --text: #f8fafc;
  --muted: #e3e3e3;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.55);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.4);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #020617 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 6vw 6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    radial-gradient(circle at 10% 0, rgba(255, 92, 182, 0.18) 0, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(92, 182, 255, 0.16) 0, transparent 50%),
    linear-gradient(145deg, #020617 0, #020617 40%, #020617 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/167636/pexels-photo-167636.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Nav */

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: 0.9rem;
  text-decoration: none;
  color: #0b1120;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(248, 113, 113, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(248, 113, 113, 0.45);
}

/* Hero content */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 5rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(2.75rem, 4vw, 3.8rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.1rem;
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.8);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.hero-countdown {
  display: inline-flex;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px);
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.countdown-item {
  min-width: 3.2rem;
  text-align: center;
}

.count-number {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.count-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 5rem 6vw;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 2.25rem;
  color: var(--muted);
  max-width: 34rem;
}

.lineup {
  background: radial-gradient(circle at top, rgba(124, 58, 237, 0.25) 0, transparent 55%), #020617;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.artist-card {
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
}

.artist-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.artist-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Tickets */

.tickets {
  background: radial-gradient(circle at bottom, rgba(56, 189, 248, 0.14) 0, transparent 55%), #020617;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ticket-card {
  position: relative;
  padding: 1.7rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
}

.ticket-card-featured {
  border: 1px solid rgba(244, 63, 94, 0.7);
  box-shadow: 0 24px 50px rgba(244, 63, 94, 0.4);
  background: radial-gradient(circle at top, rgba(248, 113, 113, 0.15), rgba(15, 23, 42, 0.98) 45%);
}

.ticket-badge {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.ticket-card h3 {
  margin: 0 0 0.25rem;
}

.ticket-tag {
  margin: 0 0 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.ticket-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.ticket-list li {
  margin-bottom: 0.35rem;
}

/* Form */

.ticket-form {
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
}

.form-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.form-note {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1.3rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-field input,
.form-field select {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
  background: #020617;
}

.form-helper {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Info & FAQ */

.info {
  background: #020617;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: flex-start;
}

.info-items {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.7rem;
}

.info-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-title {
  margin: 0 0 0.9rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.95);
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--muted);
  margin-left: 0.75rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.2s ease;
}

.faq-answer p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 120px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Footer */

.footer {
  padding: 1.8rem 6vw 2.2rem;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: #020617;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-logo {
  font-weight: 600;
  margin-right: 0.75rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    padding: 1.2rem 1.3rem 3.5rem;
  }

  .section {
    padding: 3.5rem 1.3rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding-inline: 0.9rem;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero-countdown {
    width: 100%;
    justify-content: space-between;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  max-width: 480px;
  width: 90%;
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
  padding: 1.6rem 1.8rem 1.4rem;
  z-index: 51;
}

.modal.open .modal-backdrop {
  animation: cookieFadeIn 220ms ease-out both;
}

.modal.open .modal-dialog {
  animation: modalBounceIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Optional: shake animation trigger.
   You can later add `.modal.shake` via JS if you want. */
.modal.shake .modal-dialog {
  animation: modalShake 280ms ease-in-out both;
}

@keyframes modalBounceIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
  }
  80% {
    transform: translateY(2px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}

@keyframes cookieFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-dialog h2 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.modal-dialog p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .modal.open .modal-dialog,
  .modal.open .modal-backdrop,
  .modal.shake .modal-dialog {
    animation: none !important;
  }
}

/* Cookie consent */

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40; /* below the payment modal (z-index: 50) */
  background: rgba(2, 6, 23, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.cookie-consent-inner {
  padding: 1.1rem 1.2rem 1.0rem;
}

.cookie-consent-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-consent-text {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-consent-options {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.9rem;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cookie-action {
  padding-inline: 1.1rem;
}

.cookie-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.cookie-consent-links a {
  color: var(--muted);
}

.cookie-consent-links a:hover {
  color: var(--text);
}

.cookie-settings-button {
  position: fixed;
  z-index: 35;
  bottom: 1rem;
  left: 1rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(2, 6, 23, 0.85);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 520px) {
  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-action {
    width: 100%;
  }
}