/* Page-owned styles for poker-room page */

.poker-room-page {
  background-color: var(--color-matte-black);
}

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

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

.poker-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: poker-hero-reveal 400ms ease-out both;
}

@keyframes poker-hero-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  margin-inline: 0;
  text-align: left;
}

.poker-hero__content h1 {
  margin-block-end: var(--space-md);
  max-width: 12ch;
}

.poker-hero__lead {
  color: var(--color-muted-cream);
  max-width: 68ch;
  margin-block-end: var(--space-lg);
}

.poker-hero__link {
  display: inline-block;
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.poker-hero__link:hover {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-emerald-green);
}

/* Section base */
.poker-section {
  padding-block: var(--space-3xl);
}

.poker-section--dark {
  background-color: var(--color-matte-black);
}

.poker-section--deep {
  background-color: var(--color-deep-black);
}

.poker-section--cream {
  background-color: var(--color-cream-surface);
  color: var(--color-ink-on-cream);
}

.poker-section--cream h2,
.poker-section--cream h3 {
  color: var(--color-ink-on-cream);
}

.poker-section--cream p {
  color: var(--color-ink-on-cream);
}

.poker-section--cream a {
  color: var(--color-ink-on-cream);
  text-decoration-color: var(--color-brass);
}

.poker-section--cream a:hover {
  color: var(--color-ink-on-cream);
  text-decoration-color: var(--color-emerald-green);
}

.poker-section--emerald-wash {
  background-color: var(--color-dark-emerald);
}

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

.poker-atmosphere__text {
  grid-column: span 7;
  min-width: 0;
}

.poker-atmosphere__text p {
  max-width: 68ch;
}

.poker-atmosphere__quote {
  grid-column: span 5;
  min-width: 0;
  margin-block-end: 0;
  padding-inline-start: var(--space-md);
  border-inline-start: 2px solid var(--color-emerald-green);
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  letter-spacing: var(--text-h3-tracking);
  color: var(--color-warm-cream);
  max-width: 50ch;
}

.poker-atmosphere__quote p {
  margin-block-end: 0;
  color: var(--color-warm-cream);
}

/* Layout */
.poker-layout__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.poker-layout__unit {
  max-width: 68ch;
  padding-block-end: var(--space-lg);
  border-block-end: 1px solid var(--color-walnut);
}

.poker-layout__unit:last-child {
  padding-block-end: 0;
  border-block-end: none;
}

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

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

/* Tables */
.poker-tables {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.poker-tables__content {
  grid-column: span 8;
  min-width: 0;
}

.poker-tables__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.poker-tables__unit {
  max-width: 60ch;
}

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

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

.poker-tables__media {
  grid-column: span 4;
  min-width: 0;
  margin-block-end: 0;
}

.poker-tables__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

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

/* Poker Nights */
.poker-nights__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.poker-nights__unit {
  max-width: 68ch;
}

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

.poker-nights__unit p {
  max-width: 68ch;
  margin-block-end: 0;
}

.poker-nights__unit a {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.poker-nights__unit a:hover {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-emerald-green);
}

/* Events */
.poker-events__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.poker-events__unit {
  max-width: 68ch;
  padding-block-end: var(--space-lg);
  border-block-end: 1px solid var(--color-divider-dark);
}

.poker-events__unit:last-child {
  padding-block-end: 0;
  border-block-end: none;
}

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

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

.poker-events__unit a {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.poker-events__unit a:hover {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-emerald-green);
}

/* Restaurant */
.poker-restaurant__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.poker-restaurant__unit {
  max-width: 68ch;
}

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

.poker-restaurant__unit p {
  max-width: 68ch;
  margin-block-end: 0;
}

/* Location */
.poker-location__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.poker-location__unit {
  max-width: 68ch;
}

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

.poker-location__unit p {
  max-width: 68ch;
  margin-block-end: 0;
}

.poker-location__unit a {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.poker-location__unit a:hover {
  color: var(--color-warm-cream);
  text-decoration-color: var(--color-emerald-green);
}

/* CTA */
.poker-cta {
  padding-block: var(--space-4xl);
}

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

.poker-cta__inner h2 {
  margin-block-end: 0;
}

.poker-cta__inner p {
  max-width: 50ch;
  margin-block-end: 0;
  color: var(--color-muted-cream);
}

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

.poker-cta__actions .btn {
  min-width: 180px;
}

/* Responsive */
@media (max-width: 63.9375rem) {
  .poker-atmosphere {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-atmosphere__text,
  .poker-atmosphere__quote {
    grid-column: auto;
    max-width: 68ch;
  }

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

  .poker-tables__content,
  .poker-tables__media {
    grid-column: auto;
  }

  .poker-tables__media {
    order: -1;
  }
}

@media (max-width: 47.9375rem) {
  .poker-hero {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

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

  .poker-hero__content h1 {
    font-size: var(--text-h1-size);
  }

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

  .poker-section {
    padding-block: var(--space-2xl);
  }

  .poker-cta {
    padding-block: var(--space-2xl);
  }

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

  .poker-cta__actions .btn {
    width: 100%;
    min-width: 0;
  }
}

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