/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: radial-gradient(circle at top, #111, #000);
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  border-bottom: 1px solid #222;
  backdrop-filter: blur(10px);
}

.logo {
  font-weight: 700;
  font-size: 22px;
  background: linear-gradient(to right, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BUTTON */
.btn {
  background: linear-gradient(to right, #7c3aed, #ec4899);
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  color: #aaa;
  max-width: 500px;
  margin: auto;
}

/* SECTION */
.section {
  padding: 60px 50px;
}

/* GRID */
.events {
  display: grid;
  gap: 25px;
}

/* CARD */
.card {
  background: linear-gradient(145deg, #111, #0a0a0a);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #1f1f1f;
  transition: 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.2);
}

/* CARD GLOW */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(236, 72, 153, 0.2),
    transparent
  );
  opacity: 0;
  transition: 0.3s;

  pointer-events: none; /* 🔥 INI KUNCINYA */
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin-bottom: 6px;
}

.price {
  color: #ec4899;
  font-weight: bold;
  margin-top: 10px;
}

/* INPUT */
.input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid #222;
  background: #111;
  color: white;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid #222;
  color: #666;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .events {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DETAIL PAGE */
.detail-container {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .detail-container {
    grid-template-columns: 2fr 1fr;
  }
}

/* BANNER */
.banner {
  height: 250px;
  border-radius: 20px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  margin-bottom: 20px;
}

/* INFO */
.detail-info h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.meta {
  color: #aaa;
  margin-bottom: 15px;
}

/* SIDEBAR */
.checkout-box {
  background: #111;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #222;
  position: sticky;
  top: 20px;
}

.checkout-box h2 {
  color: #ec4899;
  margin-bottom: 15px;
}

/* TICKET */
.ticket-card {
  background: linear-gradient(145deg, #111, #0a0a0a);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #222;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

#qrcode canvas {
  margin: auto;
  display: block;
  padding: 10px;
  background: black;
  border-radius: 10px;
}
