body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #6e6e6e;
  color: #111827;
}

header {
  background: #f3f4f6;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-logo img {
  height: 64px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: #111827;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

nav a:hover {
  color: #3574B9;
}

a {
  color: #3574B9;
  text-decoration: underline;
  cursor: pointer;
}

[data-route],
[data-lightbox-src] {
  cursor: pointer;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1.5rem;
  background: #ffffff;
}

h1,
h2 {
  color: #3574B9;
}

.highlight {
  border: 2px solid #3574B9;
  padding: 1.2rem;
  border-radius: 14px;
  background: #ffffff;
}

.banner {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.carousel {
  position: relative;
  margin-bottom: 1.5rem;
}

.carousel img {
  display: block;
  width: 100%;
  height: 320px;
  aspect-ratio: 11 / 3.2;
  object-fit: cover;
  border-radius: 14px;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 8px;
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}

.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-intro {
  font-size: 1.125rem;
}

.event-meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.event-meta-icons img,
.community-link img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.community-link img {
  width: 32px;
  height: 32px;
  margin-right: 0.35rem;
}

.compact-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(90px, 130px);
  gap: 0.75rem;
  align-items: center;
}

.compact-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.compact-event-details p {
  margin: 0.25rem 0 0;
}

.compact-event-image {
  display: block;
  width: 100%;
  height: 70px;
  aspect-ratio: 13 / 7;
  object-fit: cover;
  border-radius: 8px;
  margin: 0;
}

.mailing-list-frame {
  width: 100%;
  height: 275px;
  border: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.list-img {
  display: block;
  width: 100%;
  height: 140px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1rem;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}

.ticket-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: #3574B9;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.cta-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

input[type=email] {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  width: 100%;
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
  background: #f3f4f6;
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .carousel img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  header {
    padding: 0.8rem 1rem;
  }

  .carousel img {
    height: 180px;
  }

  .compact-event {
    grid-template-columns: 1fr;
  }

  .compact-event-actions {
    order: 3;
  }

}
