body {
  font-family: Roboto, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
.header-container {
  display: flex;
}

.header {
  flex: 1;
  color: black;
  padding: 20px 110px 0px 0px;
}

.header h1,
.header p {
  margin: 0;
}

h1 {
  font-size: 28px;
  font-weight: bold;
}

.play-times {
  font-size: 21px;
  font-weight: normal;
}

.location {
  display: flex;
  align-items: center;
  font-size: 21px;
}

.location-text {
  margin-left: 4px;
}

.material-symbols-outlined {
  font-size: 21px;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 4;
}

/* Image Column Styles */
.image-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
}

.top-image {
  background-color: #ddd;
  height: 340px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.image-text {
  text-align: start;
  padding: 8px 0;
  font-weight: bold;
  font-size: 10px;
}

.map-section {
  border-radius: 5px;
  background-color: #ccc;
  height: 100px;
}

.location__map {
  border: none;
  border-radius: 4px;
  width: 100%;
}

/* Registration Section Styles */
.register-section {
  margin-top: 26px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.register-top {
  padding: 12px 15px;
}

.discount-subtitle,
.discount-title {
  font-size: 15px;
}

.discount-title {
  font-weight: 900;
}

.discount-subtitle {
  font-weight: 300;
}

.register-bottom {
  background-color: #f6f6f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.register-price {
  font-size: 18px;
  font-weight: 300;
}
.pricing-text {
  display: block !important;
}

.register-free-agent-price {
  font-size: 14px;
  font-weight: 300;
  padding-top: 3px;
}

.register-price strong {
  font-size: 18px;
  font-weight: 900;
}

.register-button {
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  font-weight: 900;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

th,
td {
  padding: 0;
}

th {
  font-weight: normal;
  text-align: left;
  font-size: 16px;
}

td {
  text-align: right;
  font-size: 16px;
  font-weight: bold;
}

.section-header {
  font-weight: bold;
  margin-bottom: 4px;
  color: #2f2d2e;
  font-size: 14px;
}

.dates-section,
.requirements-section {
  margin-top: 25px;
}

.page-divider {
  height: 2px;
  margin: 20px 0;
}

.description {
  font-size: 17px;
}

.qr-code-container {
  background-color: #f6f6f6;
  width: 100%;
  box-sizing: border-box;
}

.qr-code-content {
  display: flex;
  justify-content: space-between;
}

.qr-code-text {
  flex: 1;
  padding-right: 20px;
  padding-left: 20px;
}

.qr-code-container h2 {
  font-size: 18px;
  color: #2f2d2e;
  margin-bottom: 10px;
}

.qr-code-container p {
  font-size: 14px;
  color: #2f2d2e;
  margin-bottom: 0;
}

.qr-code {
  width: 120px;
  height: 130px;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
  }

  .header-container {
    flex-direction: column;
  }

  .image-column {
    order: -1;
    padding-top: 0;
    margin: 0;
    position: relative;
    width: 100%;
  }

  .top-image {
    height: 30vh;
    position: relative;
  }

  /* Gradient overlay: transparent at the top, dark at the bottom */
  .top-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
  }

  .top-image img {
    position: relative;
    z-index: 0;
  }

  .header-content {
    display: none;
  }
  .page-divider,
  .description,
  .mobile-map-section,
  .header {
    margin-left: 20px;
  }

  .header-overlay {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    padding: 16px;
    text-align: left;
    z-index: 2;
  }

  .header-overlay h1,
  .header-overlay p {
    margin: 0;
    padding: 2px 0;
  }

  .header-overlay h1 {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
  }

  .header-overlay p,
  .header-overlay span {
    font-size: 14px;
    font-weight: normal;
    color: #e5e5e5;
  }

  .header {
    padding: 20px 0;
    width: 90%;
  }

  .description {
    padding: 20px 0;
    text-align: start;
    width: 90%;
  }

  .desktop-only {
    display: none;
  }

  .mobile-register-section,
  .mobile-map-section {
    display: block;
    width: 100%;
    border-radius: 5px;
  }

  .mobile-map-section {
    margin-top: 20px;
    width: 90%;
  }

  .page-divider {
    width: 90%;
  }

  table {
    margin: 0 auto;
    width: 100%;
  }

  .register-top,
  .register-bottom {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 769px) {
  .register-section {
    margin-top: 18px;
  }

  .mobile-register-section,
  .mobile-map-section {
    display: none;
  }
}
