/* Poker Nights page styles */

.poker-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-ocean-deep);
}

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

.poker-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: poker-hero-zoom 1.2s ease-out forwards;
}

@keyframes poker-hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-inline: 0;
  padding-block: var(--space-2xl);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.poker-hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 82, 104, 0.28) 0%, rgba(31, 82, 104, 0.28) 100%);
  z-index: -1;
  border-radius: var(--radius-card-desktop);
}

.poker-hero__kicker {
  color: var(--color-sand);
  margin-block-end: 0;
}

.poker-hero h1 {
  color: var(--color-white);
  margin-block-end: 0;
  max-width: 100%;
}

.poker-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  max-width: 45ch;
  margin-block-end: 0;
}

.poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin-block-start: var(--space-xs);
}

.poker-hero__text-link {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.poker-hero__text-link:hover {
  color: var(--color-sand);
  text-decoration-color: var(--color-sand);
}

.poker-expect {
  background-color: var(--color-off-white);
}

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

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

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

.poker-expect__card p {
  margin-block-end: 0;
  max-width: 40ch;
}

.poker-expect__icon {
  width: 48px;
  height: 48px;
  color: var(--color-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(31, 82, 104, 0.08);
}

.poker-expect__icon svg {
  width: 28px;
  height: 28px;
}

.poker-formats {
  background-color: var(--color-sand);
}

.poker-formats .section-header h2,
.poker-formats .section-header p {
  color: var(--color-ocean-deep);
}

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

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

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

.poker-formats__card p {
  margin-block-end: 0;
  max-width: 40ch;
}

.poker-formats__label {
  color: var(--color-terracotta);
  margin-block-end: 0;
}

.poker-schedule {
  background-color: var(--color-off-white);
}

.poker-schedule__table-wrap {
  overflow-x: auto;
  margin-block-end: var(--space-lg);
  border: 1px solid var(--color-ocean-border);
  border-radius: var(--radius-card-desktop);
}

.poker-schedule__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.poker-schedule__table th,
.poker-schedule__table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-block-end: 1px solid var(--color-ocean-border);
}

.poker-schedule__table thead th {
  background-color: var(--color-ocean);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.poker-schedule__table tbody tr:nth-child(even) {
  background-color: rgba(31, 82, 104, 0.04);
}

.poker-schedule__table tbody tr:hover {
  background-color: rgba(31, 82, 104, 0.08);
}

.poker-schedule__table tbody th {
  font-weight: 600;
  color: var(--color-ocean-deep);
}

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

.poker-audience {
  background-color: var(--color-sand);
}

.poker-audience__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
  align-items: center;
}

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

.poker-audience__text .section-header {
  margin-block-end: 0;
}

.poker-audience__block h3 {
  margin-block-end: var(--space-sm);
}

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

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

.poker-audience__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-image);
  border: 1px solid var(--color-ocean-border);
  transition: transform var(--transition-medium);
}

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

.poker-audience__media figcaption {
  margin-block-start: var(--space-xs);
}

.poker-practical {
  background-color: var(--color-off-white);
}

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

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

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

.poker-practical__card p {
  margin-block-end: 0;
  max-width: 40ch;
}

.poker-practical__icon {
  width: 48px;
  height: 48px;
  color: var(--color-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(31, 82, 104, 0.08);
}

.poker-practical__icon svg {
  width: 28px;
  height: 28px;
}

.poker-reserve {
  background-color: var(--color-ocean);
  color: var(--color-white);
  padding-block: var(--space-3xl);
}

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

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

.poker-reserve__header .caption-label {
  color: var(--color-sand);
}

.poker-reserve__header h2 {
  color: var(--color-white);
}

.poker-reserve__header p {
  color: var(--color-white);
  max-width: 50ch;
  margin-inline: auto;
}

.poker-reserve__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.poker-reserve__contact {
  margin-block-end: 0;
  font-size: var(--text-small);
  color: var(--color-sand);
}

.poker-reserve__contact a {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
}

.poker-reserve__contact a:hover {
  color: var(--color-sand);
  text-decoration-color: var(--color-sand);
}

.poker-faq {
  background-color: var(--color-off-white);
}

.poker-faq__container {
  max-width: 800px;
  margin-inline: auto;
}

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

.poker-faq__item {
  border: 1px solid var(--color-ocean-border);
  border-radius: var(--radius-card-mobile);
  background-color: var(--color-off-white);
  overflow: hidden;
}

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

.poker-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-ocean-deep);
  text-align: left;
  background: transparent;
  transition: color var(--transition-fast);
}

.poker-faq__trigger:hover {
  color: var(--color-ocean);
}

.poker-faq__trigger:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}

.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-medium);
}

.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__item.is-open .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.poker-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.poker-faq__answer p {
  padding: 0 var(--space-lg) var(--space-md);
  margin-block-end: 0;
  max-width: 60ch;
}

.poker-final {
  background-color: var(--color-sand);
}

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

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

.poker-final__header p {
  max-width: 50ch;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .poker-hero {
    min-height: 80vh;
  }

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

  .poker-faq__item {
    border-radius: var(--radius-card-desktop);
  }
}

@media (max-width: 899px) {
  .poker-expect__grid,
  .poker-formats__grid,
  .poker-practical__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .poker-audience__media {
    order: -1;
  }

  .poker-audience__media img {
    aspect-ratio: 16 / 9;
  }
}

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

  .poker-hero__content {
    padding-block: var(--space-xl);
    gap: var(--space-md);
  }

  .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .poker-hero__actions .btn,
  .poker-hero__text-link {
    width: 100%;
    justify-content: center;
  }

  .poker-expect__grid,
  .poker-formats__grid,
  .poker-practical__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-schedule__table-wrap {
    border-radius: var(--radius-card-mobile);
  }

  .poker-reserve__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .poker-reserve__actions .btn {
    width: 100%;
  }

  .poker-faq__trigger {
    padding: var(--space-md);
  }

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

@media (prefers-reduced-motion: reduce) {
  .poker-hero__media img {
    animation: none;
  }

  .poker-audience__media img:hover {
    transform: none;
  }

  .poker-faq__answer {
    transition: none;
  }
}
