/* Tickets Section */
.tickets-section {
  background-color: #000;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.tickets-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tickets-header {
  text-align: center;
  margin-bottom: 60px;
}

.tickets-badge {
  margin-bottom: 24px;
}

.tickets-header-title {
  margin: 0 0 16px 0;
}

.tickets-header-description {
  margin: 0;
}

.tickets-countdown-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 800px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.countdown-dot {
  width: 8px;
  height: 8px;
  background-color: var(--event-color);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.countdown-timer {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.countdown-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 50px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tickets-grid {
  --ticket-gap: clamp(14px, 1.8vw, 22px);
  --ticket-card-min: 272px;
  --ticket-card-max: 332px;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, var(--ticket-card-min)), 1fr)
  );
  gap: var(--ticket-gap);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

.tickets-grid[data-ticket-count="1"] {
  --ticket-card-min: 320px;
  --ticket-card-max: 420px;
  max-width: 420px;
}

.tickets-grid[data-ticket-count="2"] {
  --ticket-card-min: 280px;
  --ticket-card-max: 344px;
  max-width: 720px;
}

.tickets-grid[data-ticket-count="3"] {
  --ticket-card-min: 258px;
  --ticket-card-max: 320px;
  max-width: 1036px;
}

.ticket-card {
  width: min(100%, var(--ticket-card-max));
  min-height: 100%;
  justify-self: center;
  background-color: var(--ticket-card-bg, #fff);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ticket-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.ticket-card-top {
  padding: 28px 24px 0;
  text-align: center;
}

.ticket-card-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.ticket-card-title {
  font-size: clamp(1.05rem, 1rem + 0.55vw, 1.35rem);
  font-weight: 800;
  color: #000;
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.ticket-card-price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ticket-card-price {
  font-size: clamp(1.7rem, 1.5rem + 0.75vw, 2.25rem);
  font-weight: 800;
  color: #000;
  margin: 0;
  line-height: 1;
}

.ticket-card-previous-price {
  font-size: 14px;
  color: rgb(59, 59, 59);
  margin: 0;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ticket-card-divider {
  position: relative;
  margin: 0px -24px 0;
  padding: 0 24px;
}

.ticket-card-divider svg {
  width: 100%;
  height: 2px;
  color: rgba(0, 0, 0, 0.2);
}

.ticket-card-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #000;
  border-radius: 50%;
}

.ticket-card-dot-left {
  left: -12px;
}

.ticket-card-dot-right {
  right: -12px;
}

.ticket-card-bottom {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ticket-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ticket-card-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ticket-card-feature::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2321A366'/%3E%3Cpath d='M5.5 10.4 8.5 13.4 14.7 7.2' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
}

.ticket-card-feature p {
  font-size: 14px;
  color: rgb(49, 49, 49);
  margin: 0;
  line-height: 1.35;
  font-weight: 500;
}

.ticket-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.ticket-card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background-color: #000;
  color: #fff;
  border-radius: 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

.ticket-card-button span {
  flex: 1;
  text-align: center;
}

.ticket-card-button:hover {
  background-color: #222;
  transform: translateY(-2px);
}

.ticket-card-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.ticket-card-button:hover svg {
  transform: translateX(4px);
}

.ticket-card-button--disabled {
  background-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.35);
  cursor: not-allowed;
  pointer-events: none;
  justify-content: center;
}

.ticket-card-info-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  background-color: rgba(0, 0, 0, 0.08);
  color: #000;
  border-radius: 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

.ticket-card-info-button:hover {
  background-color: rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.ticket-card-info-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.ticket-card-info-button:hover svg {
  transform: translateX(4px);
}

.ticket-card-validity {
  font-size: 12px;
  color: rgb(59, 59, 59);
  text-align: center;
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 920px) {
  .tickets-grid {
    --ticket-gap: 18px;
    --ticket-card-min: 248px;
    --ticket-card-max: 320px;
    max-width: 700px;
  }

  .ticket-card-top {
    padding: 24px 20px 0;
  }

  .ticket-card-bottom {
    padding: 20px;
  }

  .ticket-card-title {
    font-size: 18px;
  }

  .ticket-card-price {
    font-size: 30px;
  }

  .ticket-card-divider {
    margin: 0px -20px 0;
    padding: 0 20px;
  }

}

@media (max-width: 768px) {
  .tickets-grid {
    --ticket-card-min: 100%;
    --ticket-card-max: 430px;
    --ticket-gap: 16px;
    max-width: 430px;
  }

  .ticket-card {
    width: min(100%, 430px);
  }

  .ticket-card-top {
    padding: 22px 18px 0;
  }

  .ticket-card-bottom {
    padding: 18px;
  }

  .ticket-card-title {
    font-size: 18px;
  }

  .ticket-card-price {
    font-size: 24px;
  }

  .ticket-card-feature p {
    font-size: 14px;
  }

  .ticket-card-button {
    padding: 13px 16px;
    font-size: 14px;
  }

  .ticket-card-info-button {
    padding: 11px 16px;
    font-size: 13px;
  }

  .ticket-card-divider {
    margin: 0px -18px 0;
    padding: 0 18px;
  }

  .ticket-card-dot {
    width: 20px;
    height: 20px;
  }

  .ticket-card-dot-left {
    left: -10px;
  }

  .ticket-card-dot-right {
    right: -10px;
  }

  .countdown-badge {
    padding: 12px 24px;
    font-size: 12px;
  }

  .countdown-timer {
    font-size: 16px;
    gap: 8px;
  }

  .countdown-item {
    gap: 4px;
  }

  .countdown-label {
    font-size: 9px;
  }

  .countdown-days,
  .countdown-hours,
  .countdown-minutes,
  .countdown-seconds {
    min-width: 45px;
    height: 40px;
    padding: 0 10px;
    font-size: 18px;
  }
}
