body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7f8fa;
  color: #222;
  margin: 0;
  padding: 0;
}
header {
  background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
  color: #fff;
  padding: 2.5rem 0 1.5rem 0;
  text-align: center;
  box-shadow: 0 4px 24px 0 rgba(80,80,180,0.08);
  position: relative;
}
h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
  font-weight: 700;
  animation: fadeInDown 1s;
}
.subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #f3e9ff;
  letter-spacing: 0.5px;
  animation: fadeIn 1.5s;
}
.cta {
  display: inline-block;
  background: #ffd43b;
  color: #222;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  margin-top: 0.5rem;
  box-shadow: 0 2px 12px 0 #ffd43b44;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  animation: pulse 2s infinite alternate;
}
.cta:hover {
  background: #222;
  color: #ffd43b;
  transform: scale(1.05);
}
.highlight {
  color: #fc5c7d;
  font-weight: 700;
  animation: highlightFade 2s infinite alternate;
}
main {
  max-width: 900px;
  margin: 2.5rem auto 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 6px 32px 0 rgba(80,80,180,0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
}
section {
  flex: 2 1 60%;
}
aside {
  flex: 1 1 32%;
  background: #f3f6fd;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 12px 0 rgba(80,80,180,0.06);
  margin-top: 0.5rem;
  min-width: 220px;
}
.event-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin-top: 1.2rem;
}
.event-table th, .event-table td {
  padding: 0.85rem 0.7rem;
  text-align: left;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(80,80,180,0.06);
  transition: box-shadow 0.2s, background 0.2s;
}
.event-table tr:hover td {
  background: #f0f7ff;
  box-shadow: 0 4px 16px 0 #6a82fb22;
  transition: box-shadow 0.2s, background 0.2s;
}
.event-link {
  color: #6a82fb;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.event-link:hover {
  color: #fc5c7d;
}
.search-bar-container {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: flex-end;
}
#event-search {
  width: 100%;
  max-width: 340px;
  padding: 0.7rem 1.1rem;
  border-radius: 2rem;
  border: 1.5px solid #d1d5db;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(80,80,180,0.04);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
#event-search:focus {
  border: 1.5px solid #6a82fb;
  box-shadow: 0 4px 16px 0 #6a82fb22;
}
ul {
  padding-left: 1.2rem;
}
li {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}
@media (max-width: 900px) {
  main {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem 0.5rem;
  }
  aside {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  main {
    padding: 0.7rem 0.2rem;
  }
  .event-table th, .event-table td {
    padding: 0.6rem 0.3rem;
    font-size: 0.95rem;
  }
  aside {
    padding: 1rem 0.5rem;
  }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  from { box-shadow: 0 0 8px 2px #ffd43b33; }
  to { box-shadow: 0 0 24px 8px #ffd43b66; }
}
@keyframes highlightFade {
  from { color: #fc5c7d; }
  to { color: #6a82fb; }
}