/* Bilet / etkinlik detay — site paleti (--site-*) */
.ticket-detail,
.event-detail {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-surface-gradient);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.45);
  animation: promo-detail-in 0.28s ease-out;
}

@keyframes promo-detail-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticket-detail__wheel-link,
.event-detail__wheel-link {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  transform: translate(-100%, -50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0.5rem 0 0 0.5rem;
  padding: 0.65rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--site-text-muted);
  background: linear-gradient(180deg, rgba(22, 119, 255, 0.28), var(--site-deep));
  border: 1px solid var(--site-border);
  border-right: none;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.ticket-detail__wheel-link:hover,
.event-detail__wheel-link:hover {
  color: var(--site-text);
  background: linear-gradient(180deg, rgba(22, 119, 255, 0.42), var(--site-raised));
  border-color: rgba(22, 119, 255, 0.35);
}

@media (max-width: 1023px) {
  .ticket-detail__wheel-link,
  .event-detail__wheel-link {
    display: none;
  }
}

.ticket-detail__toolbar,
.event-detail__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--site-border-soft);
  background: var(--site-raised-gradient);
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .ticket-detail__toolbar,
  .event-detail__toolbar {
    padding: 0.75rem 1.5rem;
  }
}

.ticket-detail__back,
.event-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--site-border-soft);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--site-text-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.ticket-detail__back:hover,
.event-detail__back:hover {
  border-color: rgba(22, 119, 255, 0.35);
  color: var(--site-text);
  background: rgba(22, 119, 255, 0.08);
}

.ticket-detail__tabs,
.event-detail__tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--site-border-soft);
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .ticket-detail__tabs,
  .event-detail__tabs {
    padding: 0 1.5rem;
  }
}

.ticket-detail-tab,
.event-detail-tab {
  position: relative;
  padding: 0.75rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--site-text-soft);
  transition: color 0.15s;
}

.ticket-detail-tab:hover,
.event-detail-tab:hover {
  color: var(--site-text-muted);
}

.ticket-detail-tab--active,
.event-detail-tab--active {
  color: var(--site-accent-bright, #69b1ff);
}

.ticket-detail-tab--active::after,
.event-detail-tab--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--site-accent, #1677ff);
  border-radius: 2px 2px 0 0;
}

.ticket-detail-stat,
.event-detail-stat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--site-border-soft);
  background: var(--site-raised-gradient);
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .ticket-detail-stat,
  .event-detail-stat {
    border-bottom: none;
    border-right: 1px solid var(--site-border-soft);
  }
}

.ticket-detail-art,
.event-detail-art {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--site-border-soft);
  background: radial-gradient(ellipse 80% 70% at 50% 20%, rgba(22, 119, 255, 0.12), transparent 55%),
    var(--site-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ticket-detail__metric,
.event-detail__metric {
  border-radius: 0.75rem;
  border: 1px solid var(--site-border);
  background: var(--site-panel-gradient);
  padding: 1rem 1.25rem;
  text-align: center;
}

.ticket-detail__metric-label,
.event-detail__metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-text-soft);
}

.ticket-detail__metric-value,
.event-detail__metric-value {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--site-text);
}

.ticket-detail__metric-unit,
.event-detail__metric-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--site-text-muted);
}

.ticket-detail__date-card,
.event-detail__date-card {
  border-radius: 0.5rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-deep);
  padding: 0.75rem;
}

.ticket-detail__date-label,
.event-detail__date-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-text-soft);
}

.ticket-detail__date-value,
.event-detail__date-value {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--site-text-muted);
}

.ticket-detail__main,
.event-detail__main {
  min-width: 0;
  background: var(--site-surface-gradient);
}

.ticket-detail-panel,
.event-detail-panel {
  padding: 1.25rem;
}

.ticket-detail-panel.hidden,
.ticket-detail-panel[hidden],
.event-detail-panel.hidden,
.event-detail-panel[hidden] {
  display: none !important;
}

@media (min-width: 640px) {
  .ticket-detail-panel,
  .event-detail-panel {
    padding: 2rem;
  }
}

.ticket-detail__rules,
.event-detail__rules {
  max-width: none;
  white-space: pre-line;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--site-text-muted);
}

@media (min-width: 640px) {
  .ticket-detail__rules,
  .event-detail__rules {
    font-size: 1rem;
  }
}

.ticket-detail__prize,
.event-detail__prize {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(22, 119, 255, 0.28);
  background: rgba(22, 119, 255, 0.08);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--site-text-muted);
}

.ticket-detail__note,
.event-detail__note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--site-text-soft);
}

.ticket-detail__steps-title,
.event-detail__steps-title {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-text-soft);
}

.ticket-detail__step,
.event-detail__step {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--site-border-soft);
  padding-bottom: 0.75rem;
}

.ticket-detail__step:last-child,
.event-detail__step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ticket-detail__step-num,
.event-detail__step-num {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: rgba(22, 119, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--site-accent-bright, #69b1ff);
}

.ticket-detail__step-text,
.event-detail__step-text {
  padding-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--site-text-muted);
}

.ticket-detail__login-banner,
.event-detail__login-banner {
  border-radius: 0.5rem;
  border: 1px solid rgba(22, 119, 255, 0.28);
  background: rgba(22, 119, 255, 0.1);
  padding: 0.75rem;
}

.ticket-detail__login-text,
.event-detail__login-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--site-text-muted);
}

.ticket-detail__login-btn,
.event-detail__login-btn {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-raised-gradient);
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--site-text);
  transition: background 0.15s, border-color 0.15s;
}

.ticket-detail__login-btn:hover,
.event-detail__login-btn:hover {
  border-color: rgba(22, 119, 255, 0.35);
  background: rgba(22, 119, 255, 0.12);
}

.ticket-detail__request-form,
.event-detail__request-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(22, 119, 255, 0.22);
  background: var(--site-panel-gradient);
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ticket-detail__request-title,
.event-detail__request-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--site-text);
}

.ticket-detail__request-hint,
.event-detail__request-hint {
  font-size: 0.75rem;
  color: var(--site-text-soft);
}

.ticket-detail__field,
.event-detail__field {
  display: block;
  font-size: 0.75rem;
  color: var(--site-text-soft);
}

.ticket-detail__field-input,
.event-detail__field-input {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-deep);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--site-text);
}

.ticket-detail__field-input::placeholder,
.event-detail__field-input::placeholder {
  color: var(--site-text-soft);
}

.ticket-detail__field-input:focus,
.event-detail__field-input:focus {
  outline: none;
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.14);
}

.ticket-detail__site-note,
.event-detail__site-note {
  border-radius: 0.5rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-raised-gradient);
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--site-text-soft);
}

@media (min-width: 1024px) {
  .ticket-detail,
  .event-detail {
    margin-left: 2.5rem;
  }
}

.ticket-detail__layout,
.event-detail__layout {
  display: grid;
  min-height: 320px;
}

@media (min-width: 1024px) {
  .ticket-detail__layout,
  .event-detail__layout {
    grid-template-columns: minmax(240px, 300px) 1fr;
  }
}

.ticket-detail__dates,
.event-detail__dates {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ticket-detail__steps,
.event-detail__steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ticket-detail-art__placeholder,
.event-detail-art__placeholder {
  display: flex;
  height: 100%;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.ticket-detail-art__logo,
.event-detail-art__logo {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(22, 119, 255, 0.35);
}

.ticket-detail-art__sponsor,
.event-detail-art__sponsor {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--site-text-soft);
}

.ticket-list-card,
.event-list-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-surface-gradient);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ticket-list-card:hover,
.event-list-card:hover {
  border-color: rgba(22, 119, 255, 0.28);
  box-shadow: 0 16px 44px -14px rgba(22, 119, 255, 0.12);
}

.event-list-card--inactive {
  opacity: 0.55;
  filter: saturate(0.4) grayscale(0.2);
  border-color: rgba(255, 255, 255, 0.05);
}

.event-list-card--inactive:hover {
  opacity: 0.72;
  filter: saturate(0.55) grayscale(0.1);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 36px -16px rgba(0, 0, 0, 0.28);
}

.event-list-card--inactive .event-list-card__media img {
  filter: grayscale(0.35);
}

.ticket-list-card__media,
.event-list-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--site-deep);
}

.ticket-list-card__fade,
.event-list-card__fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--site-surface-bottom, rgb(18, 24, 36)), transparent, transparent);
}

.ticket-list-card__body,
.event-list-card__body {
  padding: 1.25rem;
}

.ticket-list-card__sponsor,
.event-list-card__sponsor {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--site-accent-bright, #69b1ff);
}

.ticket-list-card__title,
.event-list-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--site-text);
}

.ticket-list-card__meta,
.event-list-card__meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--site-text-soft);
}

.ticket-list-card__participants,
.event-list-card__participants {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--site-text-soft);
}

.ticket-list-card__participants strong,
.event-list-card__participants strong {
  color: var(--site-text-muted);
}

.promo-page-header {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--site-border-soft);
  background: var(--site-surface-gradient);
  padding: 2rem;
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) {
  .promo-page-header {
    padding: 2.5rem;
  }
}

.promo-page-header__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(22, 119, 255, 0.1), transparent);
}

.promo-page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 119, 255, 0.25);
  background: rgba(22, 119, 255, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--site-accent-bright, #69b1ff);
}

.promo-page-header__title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--site-text);
}

@media (min-width: 640px) {
  .promo-page-header__title {
    font-size: 2.25rem;
  }
}

.promo-page-header__subtitle {
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--site-text-soft);
}

@media (min-width: 640px) {
  .promo-page-header__subtitle {
    font-size: 1rem;
  }
}

[data-theme="light"] .ticket-detail,
[data-theme="light"] .event-detail {
  box-shadow: 0 16px 48px -20px rgba(22, 119, 255, 0.18);
}

[data-theme="light"] .ticket-detail-tab--active,
[data-theme="light"] .event-detail-tab--active {
  color: #0958d8;
}

[data-theme="light"] .ticket-detail__back:hover,
[data-theme="light"] .event-detail__back:hover {
  background: rgba(22, 119, 255, 0.1);
}

[data-theme="light"] .ticket-list-card:hover,
[data-theme="light"] .event-list-card:hover {
  box-shadow: 0 16px 44px -14px rgba(22, 119, 255, 0.14);
}

[data-theme="light"] .event-list-card--inactive {
  opacity: 0.62;
  filter: saturate(0.45) grayscale(0.15);
}
