.poker-formats-page {
  overflow: hidden;
}

.poker-formats-page .section,
.poker-formats-page .section--spacious,
.poker-formats-page .section--compact {
  position: relative;
}

.poker-formats-hero {
  padding-block: var(--space-24) var(--space-32);
}

.poker-formats-hero::before,
.poker-formats-guide::before,
.poker-formats-enquiry::before {
  position: absolute;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), rgba(89, 108, 255, 0.05) 45%, transparent 72%);
  content: "";
  filter: blur(38px);
  pointer-events: none;
}

.poker-formats-hero::before {
  top: -13rem;
  right: -10rem;
}

.poker-formats-guide::before {
  top: 12rem;
  left: -18rem;
}

.poker-formats-enquiry::before {
  top: 0;
  right: -16rem;
}

.poker-formats-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: center;
}

.poker-formats-hero__copy {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 35rem;
  min-width: 0;
}

.poker-formats-hero__media {
  grid-column: 7 / -1;
  width: min(100%, 47rem);
  min-width: 0;
  aspect-ratio: 16 / 10;
  margin: var(--space-8) calc(min(8vw, 6rem) * -1) 0 0;
  justify-self: start;
}

.poker-formats-hero__media img {
  transition: filter var(--transition-base);
}

.poker-formats-hero__media:hover img {
  filter: brightness(1.08);
}

.poker-formats-hero__actions {
  margin-top: var(--space-6);
}

.poker-formats-guide__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.poker-formats-guide__intro {
  grid-column: 1 / span 4;
  width: 100%;
  max-width: 31.25rem;
  min-width: 0;
}

.poker-formats-format {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.poker-formats-format > * {
  min-width: 0;
  margin: 0;
}

.poker-formats-format:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-2px);
}

.poker-formats-format--featured {
  grid-column: 5 / span 5;
  max-width: 31rem;
}

.poker-formats-format--focused {
  grid-column: 10 / -1;
  max-width: 19rem;
}

.poker-formats-format--private {
  grid-column: 2 / span 4;
  max-width: 25rem;
}

.poker-formats-format__label {
  color: var(--color-violet-bright);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.poker-formats-format__best {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-small);
}

.poker-formats-decision__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: start;
}

.poker-formats-decision__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 31.25rem;
  min-width: 0;
}

.poker-formats-decision__points {
  display: flex;
  grid-column: 6 / -1;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

.poker-formats-point {
  display: grid;
  grid-template-columns: minmax(4rem, 1fr) minmax(0, 5fr);
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.poker-formats-point:last-child {
  border-bottom: 1px solid var(--color-border-subtle);
}

.poker-formats-point__rail,
.poker-formats-point__body {
  min-width: 0;
}

.poker-formats-point__rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  color: var(--color-violet-bright);
  font-family: var(--font-heading);
  font-weight: 700;
}

.poker-formats-point__rail small {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poker-formats-point__body {
  width: 100%;
  max-width: 38.75rem;
}

.poker-formats-tactile__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: center;
}

.poker-formats-tactile__media {
  grid-column: 1 / span 6;
  width: min(100%, 31rem);
  min-width: 0;
  aspect-ratio: 4 / 5;
  margin-left: calc(min(5vw, 4rem) * -1);
}

.poker-formats-tactile__copy {
  grid-column: 8 / span 4;
  width: 100%;
  max-width: 23.75rem;
  min-width: 0;
}

.poker-formats-tactile__meta {
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poker-formats-context__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: start;
}

.poker-formats-context__intro {
  grid-column: 1 / span 5;
  width: 100%;
  max-width: 31.25rem;
  min-width: 0;
}

.poker-formats-context__modules {
  display: grid;
  grid-column: 7 / -1;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr);
  gap: var(--space-6);
  width: 100%;
  min-width: 0;
  align-items: start;
}

.poker-formats-context-card {
  width: 100%;
  min-width: 0;
}

.poker-formats-context-card--room {
  margin-top: var(--space-8);
}

.poker-formats-flow__intro {
  width: min(100%, 38.75rem);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.poker-formats-flow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
  width: 100%;
  min-width: 0;
  margin-top: var(--space-12);
}

.poker-formats-flow-step {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: var(--space-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-panel-solid);
}

@supports ((-webkit-backdrop-filter: blur(18px)) or (backdrop-filter: blur(18px))) {
  .poker-formats-flow-step {
    background: var(--color-panel-surface);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
}

.poker-formats-flow-step__number {
  display: block;
  margin-bottom: var(--space-6);
  color: var(--color-violet-bright);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.poker-formats-flow-step h3 {
  font-size: 1.25rem;
}

.poker-formats-groups__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: center;
}

.poker-formats-groups__copy {
  grid-column: 1 / span 4;
  width: 100%;
  max-width: 25rem;
  min-width: 0;
}

.poker-formats-groups__media {
  grid-column: 6 / -1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
  margin-top: calc(var(--space-6) * -1);
}

.poker-formats-enquiry__panel {
  display: flex;
  width: min(100%, 47.5rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  margin-inline: auto;
  padding: var(--space-12);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-panel-solid);
}

.poker-formats-enquiry__panel > * {
  min-width: 0;
  margin: 0;
}

.poker-formats-enquiry__panel > p:not(.poker-formats-enquiry__helper) {
  width: 100%;
  max-width: 35rem;
}

.poker-formats-enquiry__action {
  width: fit-content;
  margin-top: var(--space-2) !important;
}

.poker-formats-enquiry__helper {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.poker-formats-faq__intro {
  width: min(100%, 35rem);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.poker-formats-faq__list {
  display: flex;
  width: min(100%, 50rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-12) auto 0;
}

.poker-formats-faq-item {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.poker-formats-faq-item h3 {
  margin: 0;
}

.poker-formats-faq-item button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border-radius: 0;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-align: left;
}

.poker-formats-faq-item button > span:first-child {
  min-width: 0;
}

.poker-formats-faq-item__icon {
  flex: 0 0 auto;
  color: var(--color-violet-bright);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--transition-base);
}

.poker-formats-faq-item button[aria-expanded="true"] .poker-formats-faq-item__icon {
  transform: rotate(45deg);
}

.poker-formats-faq-item__answer {
  width: 100%;
  min-width: 0;
  padding: 0 var(--space-6) var(--space-6);
}

.poker-formats-faq-item__answer p {
  width: 100%;
  max-width: 43.75rem;
  margin: 0;
}

.poker-formats-closing__inner {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
}

.poker-formats-closing__inner > * {
  min-width: 0;
}

.poker-formats-closing__inner p {
  width: 100%;
  max-width: 35rem;
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.4;
}

.poker-formats-closing__inner .button {
  flex: 0 0 auto;
}

@media (max-width: 63.75rem) {
  .poker-formats-hero__grid,
  .poker-formats-guide__grid,
  .poker-formats-decision__grid,
  .poker-formats-tactile__grid,
  .poker-formats-context__grid,
  .poker-formats-groups__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .poker-formats-hero__copy {
    grid-column: 1 / span 3;
  }

  .poker-formats-hero__media {
    grid-column: 4 / -1;
    margin-right: 0;
  }

  .poker-formats-guide__intro {
    grid-column: 1 / -1;
    max-width: 31.25rem;
  }

  .poker-formats-format--featured {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .poker-formats-format--focused {
    grid-column: 1 / span 3;
    max-width: 100%;
  }

  .poker-formats-format--private {
    grid-column: 4 / -1;
    max-width: 100%;
  }

  .poker-formats-decision__intro {
    grid-column: 1 / span 2;
  }

  .poker-formats-decision__points {
    grid-column: 3 / -1;
  }

  .poker-formats-tactile__media {
    grid-column: 1 / span 3;
    margin-left: 0;
  }

  .poker-formats-tactile__copy {
    grid-column: 4 / -1;
  }

  .poker-formats-context__intro {
    grid-column: 1 / -1;
  }

  .poker-formats-context__modules {
    grid-column: 1 / -1;
  }

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

  .poker-formats-groups__copy {
    grid-column: 1 / span 2;
  }

  .poker-formats-groups__media {
    grid-column: 3 / -1;
  }
}

@media (max-width: 56.25rem) {
  .poker-formats-hero__grid,
  .poker-formats-decision__grid,
  .poker-formats-groups__grid {
    grid-template-columns: 1fr;
  }

  .poker-formats-hero__copy,
  .poker-formats-hero__media,
  .poker-formats-decision__intro,
  .poker-formats-decision__points,
  .poker-formats-groups__copy,
  .poker-formats-groups__media {
    grid-column: 1;
  }

  .poker-formats-hero__media {
    width: 100%;
    margin: 0;
  }

  .poker-formats-hero__copy {
    max-width: 35rem;
  }

  .poker-formats-decision__intro,
  .poker-formats-groups__copy {
    max-width: 31.25rem;
  }

  .poker-formats-groups__media {
    order: -1;
    margin-top: 0;
  }

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

@media (max-width: 53.75rem) {
  .poker-formats-tactile__grid {
    grid-template-columns: 1fr;
  }

  .poker-formats-tactile__media,
  .poker-formats-tactile__copy {
    grid-column: 1;
  }

  .poker-formats-tactile__media {
    width: min(100%, 31rem);
  }

  .poker-formats-tactile__copy {
    max-width: 38.75rem;
  }
}

@media (max-width: 47.5rem) {
  .poker-formats-hero {
    padding-top: var(--space-8);
  }

  .poker-formats-hero::before,
  .poker-formats-guide::before,
  .poker-formats-enquiry::before {
    width: 20rem;
    height: 20rem;
    filter: blur(28px);
    opacity: 0.65;
  }

  .poker-formats-hero__grid,
  .poker-formats-guide__grid,
  .poker-formats-context__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .poker-formats-hero__media {
    order: -1;
    aspect-ratio: 5 / 4;
  }

  .poker-formats-hero__copy,
  .poker-formats-guide__intro,
  .poker-formats-format--featured,
  .poker-formats-format--focused,
  .poker-formats-format--private,
  .poker-formats-context__intro,
  .poker-formats-context__modules {
    grid-column: 1;
  }

  .poker-formats-hero__actions {
    display: flex;
    flex-direction: column;
  }

  .poker-formats-hero__actions > * {
    width: 100%;
  }

  .poker-formats-format {
    padding: var(--space-4);
  }

  .poker-formats-decision__grid {
    gap: var(--space-8);
  }

  .poker-formats-point {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding-block: var(--space-6);
  }

  .poker-formats-point__rail {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-2);
  }

  .poker-formats-context__modules {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .poker-formats-context-card--room {
    margin-top: 0;
  }

  .poker-formats-flow__steps {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-8);
  }

  .poker-formats-flow-step {
    padding: var(--space-4);
  }

  .poker-formats-flow-step__number {
    margin-bottom: var(--space-4);
  }

  .poker-formats-enquiry__panel {
    padding: var(--space-6);
  }

  .poker-formats-enquiry__action {
    width: 100%;
  }

  .poker-formats-faq__list {
    margin-top: var(--space-8);
  }

  .poker-formats-faq-item button {
    min-height: 2.75rem;
    padding: var(--space-4);
    font-size: 1rem;
  }

  .poker-formats-faq-item__answer {
    padding: 0 var(--space-4) var(--space-4);
  }

  .poker-formats-closing__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }

  .poker-formats-closing__inner .button {
    width: 100%;
  }
}

@media (max-width: 43.75rem) {
  .poker-formats-closing__inner {
    padding-top: var(--space-6);
  }
}
