/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

/* Background */
/* Background */
body {
  min-height: 100vh;
  background: radial-gradient(circle at top,
    #fff8e1,
    #ffe0b2,
    #ffd180,
    #ffecb3
  );
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Main container */
.container {
  width: 90%;
  max-width: 950px;
  background: rgba(255, 255, 255, 0.92);
  padding: 50px 40px;
  border-radius: 22px;
  position: relative;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.18),
    inset 0 0 0 2px rgba(255, 193, 7, 0.15);
}

/* Glow around container */
.container::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 26px;
  background: linear-gradient(120deg, #ff9800, #e91e63, #9c27b0);
  z-index: -1;
  filter: blur(30px);
  opacity: 0.35;
}

/* Title */
h1 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
  color: #4a148c;
}

/* Grid */
.festival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Festival cards */
.festival-card {
  text-decoration: none;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #4e342e;
  font-weight: 500;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}


/* Hover glow ring */
.festival-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 rgba(255, 152, 0, 0);
  transition: box-shadow 0.35s ease;
}

/* Hover effect */
.festival-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: white;
  box-shadow: 0 15px 30px rgba(255, 87, 34, 0.45);
}

.festival-card:hover::before {
  box-shadow: 0 0 28px rgba(255, 152, 0, 0.6);
}

/* Icon */
.festival-card .icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Text */
.festival-card .text {
  font-size: 1.05rem;
}

/* Icon animation */
@keyframes sparkle {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.35) rotate(-6deg); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

.festival-card:hover .icon {
  animation: sparkle 0.8s ease-in-out infinite;
}

/* Wide card */
.wide {
  grid-column: span 3;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .festival-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .festival-grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: span 1;
  }
}
