/* Texas Hold’em page styles — scoped to .texas-holdem-page */

.texas-holdem-page {
  --th-hero-overlay: rgba(27, 42, 74, 0.6);
  --th-card-bg: #FFFFFF;
  --th-step-bg: #F0F4E8;
  --th-step-radius: 8px;
  --th-card-radius: 8px;
  --th-faq-border: #F0F4E8;
  --th-faq-radius: 4px;
  --th-transition: 0.2s ease;
}

/* Hero */
.th-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-midnight);
}

.th-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.th-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.th-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--th-hero-overlay);
}

.th-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.th-hero__text {
  max-width: 600px;
  text-align: left;
}

.th-hero__eyebrow {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-block-end: var(--space-md);
}

.th-hero__text h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  color: var(--color-cream);
  margin-block-end: var(--space-lg);
}

.th-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--color-sage-light);
  margin-block-end: var(--space-xl);
}

.th-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* Definition */
.th-definition__content {
  max-width: 700px;
  text-align: left;
}

.th-definition__content h2 {
  margin-block-end: var(--space-lg);
}

.th-definition__content p {
  margin-block-end: var(--space-md);
}

.th-definition__content p:last-child {
  margin-block-end: 0;
}

/* Steps */
.th-steps__intro {
  max-width: 700px;
  text-align: left;
  margin-block-end: var(--space-xl);
}

.th-steps__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-lg);
}

.th-step-card {
  background-color: var(--th-step-bg);
  border-radius: var(--th-step-radius);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.th-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-sage);
  color: var(--color-cream);
  font-weight: 700;
  font-size: var(--text-small);
  line-height: 1;
  flex-shrink: 0;
}

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

.th-step-card p {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin-block-end: 0;
}

/* Atmosphere */
.th-atmosphere__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
  align-items: center;
}

.th-atmosphere__content {
  min-width: 0;
}

.th-atmosphere__content h2 {
  margin-block-end: var(--space-lg);
}

.th-atmosphere__content p {
  margin-block-end: var(--space-md);
}

.th-atmosphere__content p:last-child {
  margin-block-end: 0;
}

.th-atmosphere__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.th-atmosphere__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Benefits */
.th-benefits__intro {
  max-width: 700px;
  text-align: left;
  margin-block-end: var(--space-xl);
}

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

.th-benefit-card {
  background-color: var(--th-card-bg);
  border-radius: var(--th-card-radius);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.th-benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-sage-light);
  flex-shrink: 0;
}

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

.th-benefit-card p {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin-block-end: 0;
}

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

.th-audience__column {
  min-width: 0;
}

.th-audience__column h3 {
  margin-block-end: var(--space-md);
}

.th-audience__column p {
  margin-block-end: 0;
}

/* FAQ */
.th-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 700px;
}

.th-faq__item {
  border: 1px solid var(--th-faq-border);
  border-radius: var(--th-faq-radius);
  background-color: var(--color-white);
  overflow: hidden;
}

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

.th-faq__question:hover {
  background-color: var(--color-sage-light);
  color: var(--color-sage-dark);
}

.th-faq__question:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: -2px;
}

.th-faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.th-faq__icon::before,
.th-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--th-transition);
}

.th-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.th-faq__item.is-open .th-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.th-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-inline: var(--space-lg);
}

.th-faq__item.is-open .th-faq__answer {
  max-height: 300px;
  padding-block-end: var(--space-lg);
}

.th-faq__answer p {
  margin-block-end: 0;
  color: var(--color-midnight);
}

/* CTA */
.th-cta__content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.th-cta__content h2 {
  color: var(--color-cream);
  margin-block-end: 0;
}

.th-cta__content p {
  color: var(--color-sage-light);
  margin-block-end: 0;
}

.th-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

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

  .th-atmosphere__grid {
    gap: var(--space-xl);
  }

  .th-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  .th-hero {
    min-height: auto;
    padding-block: var(--space-2xl);
  }

  .th-hero__content {
    padding-inline: var(--space-md);
  }

  .th-hero__text {
    max-width: 100%;
  }

  .th-hero__text h1 {
    font-size: var(--text-h1);
  }

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

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

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

  .th-audience__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .th-hero {
    padding-block: var(--space-xl);
  }

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

  .th-hero__text h1 {
    font-size: var(--text-h1);
  }

  .th-hero__lead {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

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

  .th-step-card {
    padding: var(--space-md);
  }

  .th-benefit-card {
    padding: var(--space-md);
  }

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

  .th-faq__answer {
    padding-inline: var(--space-md);
  }

  .th-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .th-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-faq__answer {
    transition: none;
  }
}
