@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Playfair+Display:wght@700&display=swap');

body {
  background: none;
  color: #fff;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(334deg, #6b97f7, #7525e2, #f7137e);
  background-size: 180% 180%;
  animation: gradient-animation 30s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cinefest-header {
  background: #111214;
  border-bottom: 1px solid #23272b;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  position: relative;
}

.cinefest-logo {
  width: 38px;
  height: 38px;
  background: #23272b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #e6c674;
  margin-left: 1.5rem;
}

.cinefest-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #e6c674;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.cinefest-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-top: 1.2rem;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.festival-section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000a;
}

.festival-section-desc {
  text-align: center;
  color: #bdbdbd;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.festival-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  z-index: 2;
  position: relative;
  /* background: rgba(35, 39, 43, 0.8);
  border-radius: 18px;
  padding: 1.5rem 1rem; */
}

.festival-card {
  background: rgba(35, 39, 43, 0.5);
  border-radius: 18px;
  box-shadow: 0 4px 24px #000a;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border: none;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.12s;
}

.festival-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px #000c;
}

.festival-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.95rem;
  padding: 0.45em 1em;
  border-radius: 1em;
  z-index: 1;
}

.festival-card .festival-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.festival-card .festival-desc {
  color: #bdbdbd;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.festival-card .festival-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #e6c674;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.festival-card .festival-meta i {
  margin-right: 0.4em;
}

.festival-card .festival-year {
  color: #fff;
  font-size: 1.05rem;
  margin-left: 0.5rem;
}

.footer {
  margin-top: auto;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
  color: #aaa;
  font-size: 1rem;
  background: #181a1b;
  border-top: 1px solid #23272b;
  z-index: 2;
  position: relative;
}

.ticket-section {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ticket-form {
  background: rgba(35, 39, 43, 0.5);
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.ticket-form h2 {
  color: #e6c674;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
}

.ticket-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background: #dc3545;
  color: white;
  z-index: 1000;
  transform: translateX(150%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ticket-notification.show {
  transform: translateX(0);
}

.category-card {
  background: rgba(35, 39, 43, 0.5);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px #0003;
}