/* Poker Room page styles */
#poker-room-main {
  overflow-x: hidden;
}

.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-deep-teal);
  color: var(--color-text-light);
  overflow: hidden;
}

.poker-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.poker-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.poker-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.poker-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-xl) var(--space-sm);
}

.poker-hero__content {
  max-width: 60%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.poker-hero__content h1 {
  color: var(--color-text-light);
  font-size: clamp(2rem, 5vw, var(--text-display));
  line-height: var(--leading-display);
  margin-block-end: 0;
  max-width: 12ch;
}

.poker-hero__content p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  max-width: 65ch;
  margin-block-end: 0;
  color: var(--color-text-light);
}

.poker-hero__cta {
  align-self: flex-start;
}

.poker-section {
  padding-block: var(--space-xl);
}

.poker-section--light {
  background-color: var(--color-warm-beige);
  color: var(--color-text-dark);
}

.poker-section--dark {
  background-color: var(--color-deep-teal);
  color: var(--color-text-light);
}

.poker-section--dark h2,
.poker-section--dark h3 {
  color: var(--color-text-light);
}

.poker-section__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.poker-section__inner--narrow {
  max-width: var(--container-narrow);
}

.poker-section__inner--form {
  max-width: 500px;
  margin-inline: auto;
  text-align: center;
}

.poker-section__inner--two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-lg);
  align-items: center;
}

.poker-section__inner--reverse {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.poker-section__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-section__text h2 {
  margin-block-end: 0;
}

.poker-section__text p {
  margin-block-end: 0;
  max-width: 75ch;
}

.poker-section__media {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-image);
}

.poker-section__media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.poker-section__media:hover img {
  transform: scale(1.02);
}

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

.poker-list li {
  position: relative;
  padding-inline-start: 1.5rem;
  line-height: var(--leading-body);
}

.poker-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-raspberry);
  border-radius: 50%;
}

.poker-section--dark .poker-list li::before {
  background-color: var(--color-citron);
}

.poker-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-block-start: var(--space-md);
}

.poker-step {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.poker-step:hover {
  border-color: var(--color-citron);
  transform: translateY(-2px);
}

.poker-step__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-citron);
}

.poker-step h3 {
  margin-block-end: 0;
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
}

.poker-step p {
  margin-block-end: 0;
  max-width: 60ch;
}

.poker-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-block-start: var(--space-md);
  text-align: left;
}

.poker-form__field {
  min-width: 0;
}

.poker-form__field--full {
  grid-column: 1 / -1;
}

.poker-form__intro {
  margin-block-end: 0;
  max-width: 60ch;
  margin-inline: auto;
}

.poker-form__submit {
  grid-column: 1 / -1;
  justify-self: center;
  margin-block-start: var(--space-xs);
}

.poker-form__confirmation {
  grid-column: 1 / -1;
  margin-block-start: var(--space-sm);
  color: var(--color-citron);
  font-weight: 600;
  text-align: center;
}

.poker-faq {
  margin-block-start: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-faq__item {
  border-block-end: 1px solid rgba(26, 26, 26, 0.15);
  padding-block-end: var(--space-sm);
}

.poker-faq__item h3 {
  margin-block-end: 0;
}

.poker-faq__question {
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: 700;
  color: var(--color-text-dark);
  padding: var(--space-xs) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: color 0.2s ease;
}

.poker-faq__question::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-raspberry);
  transition: transform 0.2s ease;
}

.poker-faq__question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

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

.poker-faq__answer {
  padding-block-start: var(--space-xs);
}

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

@media (max-width: 1024px) {
  .poker-hero__content {
    max-width: 75%;
  }

  .poker-section__inner--two-col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .poker-section__inner--reverse {
    grid-template-columns: 1fr;
  }

  .poker-section__media {
    order: -1;
  }

  .poker-section__inner--reverse .poker-section__media {
    order: -1;
  }

  .poker-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__content {
    max-width: 100%;
  }

  .poker-hero__content h1 {
    max-width: 100%;
  }

  .poker-hero__content p {
    max-width: 100%;
  }

  .poker-section {
    padding-block: var(--space-lg);
  }

  .poker-form {
    grid-template-columns: 1fr;
  }

  .poker-form__field--full,
  .poker-form__submit,
  .poker-form__confirmation {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .poker-hero {
    min-height: 60vh;
  }

  .poker-hero__inner {
    padding: var(--space-lg) var(--space-xs);
  }

  .poker-section__inner {
    padding-inline: var(--space-xs);
  }

  .poker-section__inner--form {
    padding-inline: var(--space-xs);
  }

  .poker-step {
    padding: var(--space-sm);
  }

  .poker-form__intro {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-section__media img,
  .poker-step,
  .poker-faq__question::after {
    transition: none;
  }
}
