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

.poker-page {
  display: block;
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-dark-chocolate);
}

.poker-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 43, 31, 0.35) 0%, rgba(61, 43, 31, 0.75) 100%);
  z-index: 1;
}

.poker-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  padding-block: var(--space-9) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-hero__title {
  color: var(--color-soft-cream);
  max-width: 20ch;
  margin-block-end: 0;
}

.poker-hero__subtitle {
  color: var(--color-soft-cream);
  max-width: 60ch;
  margin-block-end: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.poker-hero__cta {
  min-width: 200px;
}

@media (min-width: 768px) {
  .poker-hero__content {
    padding-inline: var(--container-padding-desktop);
    width: 50%;
    margin-inline: 0 var(--container-padding-desktop);
    justify-content: flex-end;
  }
}

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

  .poker-hero__content {
    align-items: center;
    text-align: center;
    padding-block: var(--space-8) var(--space-7);
  }

  .poker-hero__title {
    max-width: 100%;
    font-size: clamp(1.875rem, 8vw, 2.625rem);
  }

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

  .poker-hero__cta {
    width: 100%;
  }
}

/* Concept */
.poker-concept__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

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

.poker-concept__title {
  margin-block-end: 0;
}

.poker-concept__lead,
.poker-concept__paragraph {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-concept__quote {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-concept__list {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-concept__media {
  margin-block-end: 0;
  min-width: 0;
}

.poker-concept__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-image);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .poker-concept__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--space-8);
  }
}

/* Room */
.poker-room__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

.poker-room__media {
  margin-block-end: 0;
  min-width: 0;
}

.poker-room__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-image);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

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

.poker-room__title {
  margin-block-end: 0;
}

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

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

@media (min-width: 768px) {
  .poker-room__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* Games */
.poker-games__title {
  margin-block-end: var(--space-6);
}

.poker-games__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.poker-game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-game-card__title {
  margin-block-end: 0;
}

.poker-game-card__text {
  max-width: 30ch;
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .poker-games__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

/* Rules */
.poker-rules__inner {
  max-width: 800px;
  margin-inline: auto;
}

.poker-rules__title {
  margin-block-end: var(--space-6);
}

.poker-rules__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.poker-rules__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-rules__subtitle {
  margin-block-end: 0;
}

.poker-rules__text {
  max-width: 70ch;
  margin-block-end: 0;
}

.poker-rules__list {
  max-width: 70ch;
  margin-block-end: 0;
}

/* Food */
.poker-food__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

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

.poker-food__title {
  margin-block-end: 0;
}

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

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

.poker-food__media {
  margin-block-end: 0;
  min-width: 0;
}

.poker-food__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-image);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .poker-food__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--space-8);
  }
}

/* Participate */
.poker-participate__title {
  margin-block-end: var(--space-4);
}

.poker-participate__lead {
  max-width: 65ch;
  margin-block-end: var(--space-6);
}

.poker-participate__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-block-end: var(--space-5);
}

.poker-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background-color: var(--color-soft-cream);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}

.poker-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background-color: var(--color-waterfall-turquoise);
  color: var(--color-white);
  font-weight: 600;
}

.poker-step__title {
  margin-block-end: 0;
}

.poker-step__text {
  margin-block-end: 0;
}

.poker-participate__address {
  max-width: 65ch;
  margin-block-end: 0;
  font-weight: 600;
}

@media (min-width: 768px) {
  .poker-participate__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

/* Testimonials */
.poker-testimonials__title {
  margin-block-end: var(--space-6);
}

.poker-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.poker-testimonial {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-end: 0;
}

.poker-testimonial__quote {
  max-width: 30ch;
  margin-block-end: 0;
}

.poker-testimonial__author {
  margin-block-start: auto;
  font-size: var(--text-small-size);
  color: var(--color-muted-forest);
}

@media (min-width: 768px) {
  .poker-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

/* FAQ */
.poker-faq__inner {
  max-width: 800px;
  margin-inline: auto;
}

.poker-faq__title {
  margin-block-end: var(--space-6);
}

.poker-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-faq__item {
  border: var(--border-subtle);
  border-radius: var(--radius-small);
  background-color: var(--color-soft-cream);
  overflow: hidden;
}

.poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  color: var(--color-dark-chocolate);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.poker-faq__question:hover {
  background-color: var(--color-pale-sand);
}

.poker-faq__question:focus-visible {
  outline: none;
  box-shadow: inset var(--focus-ring);
}

.poker-faq__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition-fast);
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-waterfall-turquoise);
  transition: transform var(--transition-fast);
}

.poker-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.poker-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.poker-faq__item.is-open .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.poker-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-in-out;
}

.poker-faq__answer p {
  padding: 0 var(--space-5) var(--space-4);
  margin-block-end: 0;
  max-width: 70ch;
}

/* CTA */
.poker-cta {
  background-color: var(--color-dark-chocolate);
  color: var(--color-soft-cream);
}

.poker-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.poker-cta__title {
  color: var(--color-soft-cream);
  margin-block-end: 0;
}

.poker-cta__text {
  max-width: 50ch;
  margin-block-end: 0;
}

.poker-cta__details {
  margin-block-end: 0;
  font-size: var(--text-small-size);
  line-height: 1.5;
}

.poker-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-block-start: var(--space-2);
}

.poker-cta__button {
  min-width: 200px;
}

@media (max-width: 767px) {
  .poker-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .poker-cta__button {
    width: 100%;
  }
}

/* Scroll fade-in */
.poker-page .section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.poker-page .section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .poker-page .section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
