/* Page-owned styles for poker-tournaments */

.poker-tournaments-page {
  min-width: 0;
}

/* Section heading pattern */
.section-heading {
  margin-block-end: var(--space-xl);
}

.section-heading__label {
  color: var(--color-amber);
  margin-block-end: var(--space-xs);
}

.section-heading__lead {
  max-width: 68ch;
  color: var(--color-silver);
}

/* Tournament Hero */
.tournament-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-asphalt);
}

.tournament-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tournament-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0.78) 100%);
}

.tournament-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-4xl) var(--space-3xl);
}

.tournament-hero__heading-block {
  max-width: 60%;
}

.tournament-hero__eyebrow {
  color: var(--color-amber);
  margin-block-end: var(--space-sm);
}

.tournament-hero__title {
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  letter-spacing: var(--text-display-letter-spacing);
  margin-block-end: var(--space-md);
}

.tournament-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-silver);
  max-width: 54ch;
}

.tournament-hero__telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-block-start: var(--space-2xl);
  padding-block-start: var(--space-lg);
  border-block-start: 1px solid var(--color-steel);
}

.tournament-hero__telemetry-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  min-width: 0;
}

.tournament-hero__telemetry-value {
  color: var(--color-offwhite);
  overflow-wrap: break-word;
}

/* Tournament Schedule */
.tournament-schedule {
  background-color: var(--color-asphalt);
}

.tournament-schedule__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--border-default);
  border-radius: var(--radius-default);
  background-color: var(--color-slate);
  scroll-snap-type: x proximity;
}

.tournament-schedule__table {
  min-width: 760px;
  width: 100%;
  border-collapse: collapse;
}

.tournament-schedule__table th,
.tournament-schedule__table td {
  padding: var(--space-sm) var(--space-md);
  text-align: start;
  border-block-end: 1px solid var(--color-steel);
}

.tournament-schedule__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--color-steel);
  color: var(--color-offwhite);
  font-family: var(--font-mono);
  font-size: var(--text-mono-label-size);
  line-height: var(--text-mono-label-line-height);
  font-weight: var(--text-mono-label-weight);
  letter-spacing: var(--text-mono-label-letter-spacing);
  text-transform: uppercase;
}

.tournament-schedule__table tbody tr {
  transition: background-color var(--transition-fast);
}

.tournament-schedule__table tbody tr:hover {
  background-color: var(--color-graphite);
  box-shadow: inset 2px 0 0 var(--color-amber);
}

.tournament-schedule__table tbody th {
  font-family: var(--font-mono);
  font-size: var(--text-mono-data-size);
  line-height: var(--text-mono-data-line-height);
  font-weight: var(--text-mono-data-weight);
  letter-spacing: var(--text-mono-data-letter-spacing);
  color: var(--color-offwhite);
  background-color: transparent;
}

.tournament-schedule__seats {
  color: var(--color-amber);
  white-space: nowrap;
}

.tournament-schedule__note {
  margin-block-start: var(--space-md);
  color: var(--color-silver);
}

/* Tournament Formats */
.tournament-formats {
  background-color: var(--color-slate);
}

.tournament-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.format-card {
  background-color: var(--color-asphalt);
  border: var(--border-default);
  border-radius: var(--radius-default);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  transition: border-color var(--transition-fast);
}

.format-card:hover {
  border-color: rgba(217, 119, 6, 0.5);
}

.format-card__label {
  color: var(--color-amber);
}

.format-card h3 {
  margin-block-end: 0;
}

.format-card p {
  color: var(--color-silver);
  margin-block-end: 0;
}

.format-card__details {
  margin-block-start: var(--space-xs);
  padding-inline-start: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.format-card__details li {
  color: var(--color-silver);
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  padding-inline-start: var(--space-md);
  position: relative;
}

.format-card__details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-amber);
  border-radius: var(--radius-circle);
}

.format-card--high-roller {
  border-color: rgba(217, 119, 6, 0.35);
}

/* Tournament Structure */
.tournament-structure {
  background-color: var(--color-asphalt);
}

.tournament-structure__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.tournament-structure__main {
  min-width: 0;
}

.tournament-structure__main p {
  color: var(--color-silver);
  max-width: 68ch;
}

.structure-panel {
  background-color: var(--color-graphite);
  border: var(--border-default);
  border-radius: var(--radius-default);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.structure-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.structure-panel__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  position: relative;
  z-index: 1;
  padding-block-end: var(--space-sm);
  border-block-end: 1px solid var(--color-steel);
}

.structure-panel__item:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

.structure-panel__item .mono-data {
  color: var(--color-offwhite);
}

/* Registration Process */
.registration-process {
  background-color: var(--color-slate);
}

.registration-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2xl);
  align-items: start;
}

.registration-process__content {
  min-width: 0;
}

.registration-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 68ch;
}

.registration-steps__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--space-md);
  padding-block: var(--space-lg);
  border-block-end: 1px solid var(--color-steel);
  min-width: 0;
}

.registration-steps__item:first-child {
  padding-block-start: 0;
}

.registration-steps__item:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

.registration-steps__number {
  font-family: var(--font-mono);
  font-size: var(--text-h3-size);
  line-height: 1;
  font-weight: 700;
  color: var(--color-amber);
}

.registration-steps__item h3 {
  margin-block-end: var(--space-2xs);
}

.registration-steps__item p {
  color: var(--color-silver);
  margin-block-end: 0;
}

.registration-process__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
  min-width: 0;
}

.registration-process__button {
  min-width: 180px;
}

.registration-process__cta-note {
  color: var(--color-silver);
}

/* Player Benefits */
.player-benefits {
  background-color: var(--color-asphalt);
}

.player-benefits__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-2xl);
  align-items: center;
}

.player-benefits__text {
  min-width: 0;
}

.player-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 500px;
}

.player-benefits__list li {
  color: var(--color-silver);
  padding-inline-start: var(--space-xl);
  position: relative;
}

.player-benefits__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 16px;
  height: 16px;
  background-color: var(--color-amber);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.player-benefits__image-wrap {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-default);
  border: var(--border-default);
}

.player-benefits__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05) sepia(0.08);
}

/* Testimonials */
.testimonials {
  background-color: var(--color-slate);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background-color: var(--color-asphalt);
  border: var(--border-default);
  border-radius: var(--radius-default);
  padding: var(--space-lg);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1;
  color: var(--color-amber);
  display: block;
}

.testimonial-card p {
  color: var(--color-offwhite);
  margin-block-end: 0;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.testimonial-card footer {
  color: var(--color-silver);
  margin-block-start: auto;
}

/* Private Tournaments */
.private-tournaments {
  background-color: var(--color-felt);
  position: relative;
  overflow: hidden;
}

.private-tournaments::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.private-tournaments__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.private-tournaments__label {
  color: var(--color-amber);
}

.private-tournaments__content h2 {
  margin-block-end: 0;
}

.private-tournaments__content p {
  color: var(--color-silver);
  margin-block-end: 0;
}

.private-tournaments__button {
  margin-block-start: var(--space-sm);
  border-color: var(--color-amber);
  color: var(--color-offwhite);
}

.private-tournaments__button:hover {
  border-color: var(--color-ember);
  color: var(--color-offwhite);
}

/* FAQ */
.faq {
  background-color: var(--color-asphalt);
}

.faq__container {
  max-width: 800px;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  border: var(--border-default);
  border-radius: var(--radius-default);
  background-color: var(--color-slate);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  text-transform: uppercase;
  color: var(--color-offwhite);
  text-align: start;
  min-height: 48px;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-amber);
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: currentColor;
  transition: transform var(--transition-medium);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-silver);
}

.faq__answer p {
  margin-block-end: 0;
  max-width: 68ch;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1023px) {
  .tournament-hero {
    min-height: 560px;
  }

  .tournament-hero__heading-block {
    max-width: 75%;
  }

  .tournament-hero__telemetry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
  }

  .tournament-formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tournament-structure__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .structure-panel {
    max-width: 600px;
  }

  .registration-process__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .registration-process__cta {
    align-items: flex-start;
  }

  .player-benefits__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .player-benefits__image-wrap {
    order: -1;
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tournament-hero {
    min-height: 520px;
    align-items: flex-end;
  }

  .tournament-hero__content {
    padding-block: var(--space-3xl) var(--space-2xl);
  }

  .tournament-hero__heading-block {
    max-width: 100%;
  }

  .tournament-hero__title {
    font-size: clamp(32px, 9vw, 40px);
  }

  .tournament-hero__lead {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line-height);
  }

  .tournament-hero__telemetry {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: var(--space-sm);
    padding-block-end: var(--space-xs);
    margin-inline: calc(-1 * var(--container-padding-mobile));
    padding-inline: var(--container-padding-mobile);
  }

  .tournament-hero__telemetry-item {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background-color: rgba(19, 21, 24, 0.85);
    border: var(--border-default);
    border-radius: var(--radius-default);
    padding: var(--space-sm) var(--space-md);
  }

  .tournament-formats__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .registration-steps__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--space-sm);
  }

  .testimonials__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .private-tournaments__content {
    text-align: start;
    align-items: flex-start;
  }

  .private-tournaments__button {
    width: 100%;
  }

  .faq__question {
    padding: var(--space-sm) var(--space-md);
  }

  .faq__answer {
    padding: 0 var(--space-md) var(--space-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
