/* Poker page styles */

.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bordeaux);
}

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

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(74, 26, 44, 0.55),
    rgba(74, 26, 44, 0.75)
  );
  z-index: 1;
}

.poker-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-inline: auto;
  padding: var(--space-xl) var(--container-gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.poker-hero__overline {
  color: rgba(245, 239, 230, 0.8);
}

.poker-hero__title {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
  font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
  line-height: 1.15;
}

.poker-hero__subtitle {
  color: rgba(245, 239, 230, 0.9);
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  margin-block-end: 0;
  max-width: 480px;
}

.poker-hero__cta {
  margin-block-start: var(--space-sm);
}

/* Intro section */
.poker-intro__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-lg);
  align-items: center;
  margin-block-end: var(--space-xl);
}

.poker-intro__text {
  min-width: 0;
  max-width: 700px;
}

.poker-intro__text h2 {
  margin-block-end: var(--space-md);
}

.poker-intro__text p {
  margin-block-end: var(--space-sm);
}

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

.poker-intro__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-medium);
}

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

.poker-intro__feature {
  min-width: 0;
  background-color: var(--surface-card);
  border: var(--border-thin) solid var(--border-color-moss);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.poker-intro__feature:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.poker-intro__feature h3 {
  margin-block-end: var(--space-xs);
}

.poker-intro__feature p {
  margin-block-end: 0;
}

/* Tables section */
.poker-tables__container {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-tables__container h2 {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
}

.poker-tables__lead {
  color: rgba(245, 239, 230, 0.85);
  max-width: 800px;
  margin-inline: auto;
  margin-block-end: 0;
}

.poker-tables__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 600px;
  margin-inline: auto;
  text-align: left;
}

.poker-tables__list li {
  position: relative;
  padding-inline-start: 1.75rem;
  color: rgba(245, 239, 230, 0.9);
}

.poker-tables__list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-terracotta);
  font-weight: 600;
}

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

.poker-tables__game-card {
  min-width: 0;
  background-color: rgba(245, 239, 230, 0.06);
  border: 1px solid rgba(245, 239, 230, 0.15);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.poker-tables__game-card:hover {
  background-color: rgba(245, 239, 230, 0.1);
  border-color: rgba(245, 239, 230, 0.3);
  transform: translateY(-2px);
}

.poker-tables__game-card h3 {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
}

.poker-tables__game-card p {
  color: rgba(245, 239, 230, 0.85);
  margin-block-end: 0;
}

.poker-tables__game-meta {
  font-size: var(--text-caption-size);
  color: var(--color-terracotta) !important;
  font-weight: 600;
}

.poker-tables__limits {
  color: rgba(245, 239, 230, 0.8);
  max-width: 700px;
  margin-inline: auto;
  margin-block-end: 0;
}

.poker-tables__limits strong {
  color: var(--color-text-on-dark);
}

/* Atmosphere section */
.poker-atmosphere {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bordeaux);
}

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

.poker-atmosphere__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(74, 26, 44, 0.85),
    rgba(74, 26, 44, 0.55)
  );
  z-index: 1;
}

.poker-atmosphere__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding-block: var(--space-xl);
}

.poker-atmosphere__text {
  min-width: 0;
  max-width: 600px;
}

.poker-atmosphere__text h2 {
  color: var(--color-text-on-dark);
  margin-block-end: var(--space-md);
}

.poker-atmosphere__text p {
  color: rgba(245, 239, 230, 0.9);
  margin-block-end: var(--space-sm);
}

.poker-atmosphere__quote {
  min-width: 0;
  max-width: 500px;
  background-color: rgba(245, 239, 230, 0.08);
  border: 1px solid rgba(245, 239, 230, 0.2);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  margin-block-end: 0;
  border-inline-start: 3px solid var(--color-terracotta);
  font-style: normal;
}

.poker-atmosphere__quote p {
  color: var(--color-text-on-dark);
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: 1.4;
  margin-block-end: var(--space-sm);
}

.poker-atmosphere__quote footer {
  color: rgba(245, 239, 230, 0.7);
  font-size: var(--text-caption-size);
}

/* Rules section */
.poker-rules__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.poker-rules__column {
  min-width: 0;
  max-width: 700px;
}

.poker-rules__column h2 {
  margin-block-end: var(--space-md);
}

.poker-rules__column p {
  margin-block-end: var(--space-sm);
}

.poker-rules__steps {
  list-style: decimal;
  padding-inline-start: 1.5rem;
  margin-block-end: var(--space-sm);
}

.poker-rules__steps li {
  margin-block-end: var(--space-xs);
}

.poker-rules__etiquette {
  background-color: var(--surface-card);
  border: 1px solid var(--border-color-cobalt);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.poker-rules__etiquette h2 {
  margin-block-end: var(--space-md);
}

.poker-rules__etiquette ul {
  margin-block-end: var(--space-sm);
}

/* Reservation section */
.poker-reservation__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-lg);
  align-items: start;
}

.poker-reservation__form-wrap {
  min-width: 0;
  max-width: 600px;
}

.poker-reservation__form-wrap h2 {
  margin-block-end: var(--space-md);
}

.poker-reservation__form-wrap > p {
  margin-block-end: var(--space-md);
}

.poker-reservation__form {
  background-color: var(--surface-card);
  border: var(--border-thin) solid var(--border-color-moss);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-medium);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

.poker-reservation__field label {
  margin-block-end: 0;
}

.poker-reservation__error {
  color: var(--color-bordeaux);
  font-size: var(--text-caption-size);
  margin-block-end: 0;
}

.poker-reservation__submit {
  align-self: flex-start;
  margin-block-start: var(--space-xs);
}

.poker-reservation__success {
  color: var(--color-moss);
  font-weight: 600;
  margin-block-end: 0;
}

.poker-reservation__contact {
  min-width: 0;
  max-width: 400px;
  background-color: var(--surface-card);
  border: var(--border-thin) solid var(--border-color-moss);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
}

.poker-reservation__contact h2 {
  margin-block-end: var(--space-md);
}

.poker-reservation__contact p {
  margin-block-end: var(--space-sm);
}

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

.poker-reservation__contact-list li {
  margin-block-end: 0;
}

.poker-reservation__contact-list a {
  color: var(--color-moss);
  font-weight: 500;
}

.poker-reservation__contact-list a:hover {
  color: var(--color-terracotta);
}

.poker-reservation__hours {
  font-size: var(--text-caption-size);
  color: var(--color-text-secondary);
  margin-block-end: 0;
}

/* FAQ section */
.poker-faq__container {
  max-width: 700px;
  margin-inline: auto;
}

.poker-faq__container h2 {
  margin-block-end: var(--space-md);
}

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

.poker-faq__item {
  border: 1px solid var(--border-color-moss);
  border-radius: var(--radius-card);
  background-color: var(--surface-card);
  overflow: hidden;
}

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

.poker-faq__question:hover {
  background-color: rgba(74, 93, 58, 0.06);
  color: var(--color-moss);
}

.poker-faq__question[aria-expanded="true"] {
  color: var(--color-moss);
}

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

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

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

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

.poker-faq__question[aria-expanded="true"] .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-md) var(--space-md);
  margin-block-end: 0;
  color: var(--color-text-secondary);
}

.poker-faq__item.active .poker-faq__answer {
  max-height: 300px;
}

/* Final CTA */
.poker-final-cta__container {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-xl);
}

.poker-final-cta__container h2 {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
}

.poker-final-cta__container p {
  color: rgba(245, 239, 230, 0.9);
  margin-block-end: 0;
}

.poker-final-cta__btn {
  margin-block-start: var(--space-sm);
}

/* Responsive */
@media (max-width: 1024px) {
  .poker-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

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

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

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

  .poker-hero__content {
    padding: var(--space-lg) var(--container-gutter);
    gap: var(--space-sm);
  }

  .poker-hero__title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
  }

  .poker-hero__subtitle {
    font-size: var(--text-body-size);
  }

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

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

  .poker-intro__features {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .poker-tables__games {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

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

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

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

  .poker-reservation__form-wrap {
    max-width: 100%;
  }

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

  .poker-reservation__submit {
    align-self: stretch;
    width: 100%;
  }

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

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

  .poker-hero__content {
    padding: var(--space-md) var(--container-gutter);
  }

  .poker-hero__cta {
    width: 100%;
  }

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

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

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

  .poker-faq__answer p {
    padding: 0 var(--space-sm) var(--space-sm);
  }

  .poker-final-cta__btn {
    width: 100%;
  }
}
