/* Texas Hold’em page styles */
.texas-holdem-page {
  overflow-x: hidden;
}

.texas-holdem-page .container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

/* Intro */
.th-intro {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-intro__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.th-intro h1 {
  max-width: 100%;
  margin-block-end: 0;
}

.th-intro__lead {
  max-width: 100%;
  font-size: 1.125rem;
  line-height: 1.7;
}

.th-intro__facts {
  list-style: none;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.th-intro__facts li {
  position: relative;
  padding-inline-start: 1.5rem;
}

.th-intro__facts li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-raspberry);
  font-weight: 700;
}

/* Why */
.th-why {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-why__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.th-why h2 {
  margin-block-end: 0;
}

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

.th-why__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
}

.th-why__card h3 {
  margin-block-end: 0;
}

.th-why__card ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Rules */
.th-rules {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-rules__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.th-rules__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.th-rules__text h2 {
  margin-block-end: 0;
}

.th-rules__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.th-rules__step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.th-rules__step h3 {
  margin-block-end: 0;
}

.th-rules__step ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.th-rules__figure {
  min-width: 0;
  margin-block-end: 0;
  position: relative;
  border-radius: var(--radius-image);
  overflow: hidden;
}

.th-rules__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.th-rules__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(210, 180, 140, 0.35), transparent 60%);
  pointer-events: none;
}

/* Evening */
.th-evening {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-evening__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.th-evening h2 {
  margin-block-end: 0;
}

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

.th-evening__step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-inline-start: var(--space-md);
  border-inline-start: 2px solid var(--color-citron);
}

.th-evening__step h3 {
  margin-block-end: 0;
}

.th-evening__step ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Audience */
.th-audience {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-audience__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.th-audience h2 {
  margin-block-end: 0;
}

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

.th-audience__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-card);
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.th-audience__card h3 {
  margin-block-end: 0;
}

.th-audience__card ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Room */
.th-room {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-room__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

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

.th-room__text h2 {
  margin-block-end: 0;
}

.th-room__block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.th-room__block h3 {
  margin-block-end: 0;
}

.th-room__block ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.th-room__figure {
  min-width: 0;
  margin-block-end: 0;
  position: relative;
  border-radius: var(--radius-image);
  overflow: hidden;
}

.th-room__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.th-room__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 139, 139, 0.35), transparent 60%);
  pointer-events: none;
}

/* FAQ */
.th-faq {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-faq__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.th-faq h2 {
  margin-block-end: 0;
}

.th-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 800px;
}

.th-faq__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-block-end: var(--space-md);
  border-block-end: 1px solid rgba(26, 26, 26, 0.15);
}

.th-faq__item:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

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

.th-faq__item ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Reservation */
.th-reservation {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-reservation__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.th-reservation h2 {
  margin-block-end: 0;
}

.th-reservation__intro {
  max-width: 500px;
  margin-inline: auto;
}

.th-reservation__form {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: #fff;
  color: var(--color-text-dark);
  padding: var(--space-md);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

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

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

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

.th-reservation__message {
  min-height: 1.5em;
  margin-block-end: 0;
  font-weight: 600;
}

.th-reservation__message.is-success {
  color: var(--color-deep-teal);
}

.th-reservation__message.is-error {
  color: var(--color-raspberry);
}

/* Contact */
.th-contact {
  padding-block: var(--space-xl) var(--space-lg);
}

.th-contact__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.th-contact h2 {
  margin-block-end: 0;
}

.th-contact__block {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

/* Tablet */
@media (max-width: 1024px) {
  .th-why__grid,
  .th-evening__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-why__card:last-child {
    grid-column: 1 / -1;
  }

  .th-evening__step:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .texas-holdem-page .container {
    padding-inline: var(--space-xs);
  }

  .th-intro,
  .th-why,
  .th-rules,
  .th-evening,
  .th-audience,
  .th-room,
  .th-faq,
  .th-reservation,
  .th-contact {
    padding-block: var(--space-lg) var(--space-md);
  }

  .th-why__grid,
  .th-evening__timeline,
  .th-audience__grid {
    grid-template-columns: 1fr;
  }

  .th-why__card:last-child,
  .th-evening__step:last-child {
    grid-column: auto;
  }

  .th-rules__inner,
  .th-room__inner {
    grid-template-columns: 1fr;
  }

  .th-rules__figure,
  .th-room__figure {
    order: -1;
  }

  .th-reservation__form {
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .th-intro__lead {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .texas-holdem-page *,
  .texas-holdem-page *::before,
  .texas-holdem-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
