@import url("css-constants.css");

.mds-ticket-type-card {
  position: relative;
  display: flex;
  max-width: 306px;
  width: 100%;
  padding: 40px 24px;
  flex-direction: column;
  align-items: flex-start;
}

.mds-ticket-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

.mds-ticket-header {
  display: flex;
  flex-direction: column;
}

.mds-ticket-type-card {
  border-radius: 2px;
}

.mds-ticket-type-card .ticket-price-label {
  color: var(--primary-color);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  padding: 6px 10px;
  align-self: flex-start;
  border-radius: 6px;
  border: 0.5px solid var(--primary-color);
  background: rgba(198, 141, 251, 0.05);
}

.mds-ticket-type-card .mds-ticket-header h3 {
  color: var(--White, #fff);
  font-family: Onest;
  font-size: clamp(1.5rem, 1.2857rem + 0.7143vw, 2rem);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 2.6rem */
  text-transform: uppercase;
  margin-top: 24px;
}

.mds-ticket-type-card .mds-ticket-header .ticket-sale-interval {
  color: var(--dark-gray, #d4d3d5);
  font-family: Onest;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 1.225rem */
}

.mds-ticket-type-card .ticket-type-description {
  color: var(--dark-gray, #d4d3d5);
  font-family: Onest;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 1.4rem */
  padding-top: 8px;
  margin-top: 16px;

  border-top: 0.5px solid #3b3a3c;
}

.mds-ticket-type-card .ticket-type-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 40px;

  color: var(--White, #fff);
  font-family: Onest;
  font-size: clamp(2rem, 1.7143rem + 0.5714vw, 2.625rem);
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 3.4125rem */
  text-transform: uppercase;
}

.mds-ticket-type-card .ticket-type-price s {
  color: var(--dark-gray, #d4d3d5);
  font-family: Onest;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 300;
  line-height: 140%; /* 1.75rem */
}

.mds-ticket-type-card .ticket-type-footer {
  width: 100%;
  margin-top: auto;
}

.mds-ticket-type-card .mds-view-tickets {
  padding: 8px 16px;
  margin-top: 16px;

  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 2px;
  background: var(--primary-color);
  color: white;

  color: var(--White, #fff);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 110%; /* 1.1rem */
  text-transform: uppercase;

  transition: background 0.3s ease;
  cursor: pointer;
}

.mds-ticket-type-card .mds-view-tickets svg {
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.mds-ticket-type-card .mds-view-tickets:hover {
  background: var(--blue, #0038ff);
}

.mds-ticket-type-card .mds-view-tickets:hover svg {
  transform: rotate(45deg);
}

.mds-ticket-vip-pass .mds-ticket-bg {
  display: none;
}

.mds-ticket-vip-pass {
  background-image: url("../img/mds-ticket-vip-pass-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  --primary-color: #0038ff;
  --dark-gray: #59575b;
}

.mds-ticket-vip-pass .mds-ticket-header h3 {
  color: var(--primary-color);
}

.mds-ticket-vip-pass .mds-view-tickets:hover {
  background: #c68dfb;
}

.mds-ticket-vip-pass .ticket-type-price .woocommerce-Price-amount {
  color: var(--primary-color);
}

.mds-ticket-vip-pass .ticket-price-label {
  background: rgba(0, 56, 255, 0.05);
}

@media screen and (max-width: 768px) {
  .mds-ticket-type-card {
    max-width: 100%;
    padding: 40px 16px;
  }
}
