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

#poker-room-main {
  --poker-measure-hero: 600px;
  --poker-measure-card: 55ch;
  --poker-measure-asymmetric: 65ch;
  --poker-measure-centered: 70ch;
  --poker-measure-reading: 65ch;
  --poker-gap-section: var(--space-9);
  --poker-gap-card: var(--space-5);
  --poker-gap-actions: var(--space-4);
  --poker-gap-list: var(--space-3);
  --poker-gap-text: var(--space-4);
  --poker-radius-card: var(--radius-md);
  --poker-border-card: 1px solid var(--color-charcoal-800);
  --poker-border-brass-soft: 1px solid rgba(198, 161, 91, 0.2);
  --poker-border-brass-hover: 1px solid rgba(198, 161, 91, 0.4);
  --poker-transition: 180ms ease-out;
  --poker-reveal-transition: 400ms ease-out;
}

/* Shared section heading pattern */
.poker-section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-end: var(--space-7);
}

.poker-section-heading__eyebrow {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brass-500);
  margin: 0;
}

.poker-section-heading__eyebrow--center {
  text-align: center;
}

.poker-section-heading h2 {
  margin: 0;
}

.poker-section-heading__deck {
  max-width: var(--poker-measure-reading);
  color: var(--color-ivory-300);
  margin: 0;
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: min(720px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-charcoal-950);
}

.poker-hero__image {
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/poker-room-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.poker-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.92) 0%, rgba(18, 18, 18, 0.72) 35%, rgba(18, 18, 18, 0.28) 70%, rgba(18, 18, 18, 0.18) 100%);
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-9) var(--space-10);
}

.poker-hero__text {
  max-width: var(--poker-measure-hero);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: flex-start;
}

.poker-hero__eyebrow {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brass-500);
  margin: 0;
}

.poker-hero__title {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ivory-100);
  margin: 0;
}

.poker-hero__lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-ivory-300);
  margin: 0;
}

.poker-hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.poker-hero__features li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-hero__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

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

/* Professional poker tables */
.poker-tables__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--poker-gap-card);
}

.poker-feature-card {
  background-color: var(--color-deep-green-900);
  border: var(--poker-border-card);
  border-top: 1px solid var(--color-dark-wood-900);
  border-radius: var(--poker-radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  min-width: 0;
  transition: border-color var(--poker-transition);
}

.poker-feature-card:hover {
  border-color: var(--poker-border-brass-hover);
}

.poker-feature-card h3 {
  margin: 0;
  color: var(--color-ivory-100);
}

.poker-feature-card p {
  margin: 0;
  color: var(--color-ivory-300);
  max-width: var(--poker-measure-card);
}

.poker-feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-list);
}

.poker-feature-card li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

/* Serious poker atmosphere */
.poker-atmosphere {
  background-color: var(--color-charcoal-950);
}

.poker-atmosphere__container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: center;
}

.poker-atmosphere__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: flex-start;
}

.poker-atmosphere__text h2 {
  margin: 0;
}

.poker-atmosphere__text p {
  margin: 0;
  color: var(--color-ivory-300);
  max-width: var(--poker-measure-asymmetric);
}

.poker-atmosphere__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-list);
}

.poker-atmosphere__list li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-atmosphere__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

.poker-atmosphere__figure {
  margin: 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.poker-atmosphere__figure img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: var(--poker-border-card);
}

/* Poker nights and tournaments */
.poker-nights {
  background-color: var(--color-deep-green-900);
  border-top: var(--poker-border-brass-soft);
  border-bottom: var(--poker-border-brass-soft);
}

.poker-nights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--poker-gap-card);
}

.poker-night-card {
  background-color: rgba(18, 18, 18, 0.22);
  border: var(--poker-border-card);
  border-radius: var(--poker-radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  min-width: 0;
  transition: border-color var(--poker-transition);
}

.poker-night-card:hover {
  border-color: var(--poker-border-brass-hover);
}

.poker-night-card h3 {
  margin: 0;
  color: var(--color-ivory-100);
}

.poker-night-card p {
  margin: 0;
  color: var(--color-ivory-300);
  max-width: var(--poker-measure-card);
}

.poker-night-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-list);
}

.poker-night-card li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-night-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

/* Private poker events */
.poker-private {
  background-color: var(--color-deep-green-900);
  border-top: var(--poker-border-brass-soft);
}

.poker-private__container {
  max-width: var(--poker-measure-centered);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: center;
  text-align: center;
}

.poker-private__container h2 {
  margin: 0;
}

.poker-private__container p {
  margin: 0;
  color: var(--color-ivory-300);
}

.poker-private__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-5);
}

.poker-private__list li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-private__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

.poker-private__container .btn {
  margin-block-start: var(--space-2);
}

/* Card lounge connection */
.poker-lounge {
  background-color: var(--color-charcoal-950);
}

.poker-lounge__container {
  max-width: var(--poker-measure-reading);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: flex-start;
}

.poker-lounge__container h2 {
  margin: 0;
}

.poker-lounge__container p {
  margin: 0;
  color: var(--color-ivory-300);
}

.poker-lounge__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-list);
}

.poker-lounge__list li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-lounge__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

/* Restaurant option */
.poker-restaurant {
  background-color: var(--color-burgundy-800);
  border-top: var(--poker-border-brass-soft);
}

.poker-restaurant__container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: center;
}

.poker-restaurant__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: flex-start;
}

.poker-restaurant__text h2 {
  margin: 0;
}

.poker-restaurant__text p {
  margin: 0;
  color: var(--color-ivory-100);
  max-width: var(--poker-measure-asymmetric);
}

.poker-restaurant__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-list);
}

.poker-restaurant__list li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-100);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-restaurant__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-300);
  border-radius: 50%;
}

.poker-restaurant__figure {
  margin: 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.poker-restaurant__figure img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: var(--poker-border-card);
}

/* Location and access */
.poker-location {
  background-color: var(--color-charcoal-950);
}

.poker-location__container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: stretch;
}

.poker-location__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: flex-start;
}

.poker-location__text h2 {
  margin: 0;
}

.poker-location__text p {
  margin: 0;
  color: var(--color-ivory-300);
  max-width: var(--poker-measure-asymmetric);
}

.poker-location__address {
  font-style: normal;
  color: var(--color-ivory-100);
  background-color: var(--color-charcoal-900);
  border: var(--poker-border-card);
  border-radius: var(--poker-radius-card);
  padding: var(--space-5);
  line-height: 1.7;
}

.poker-location__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-list);
}

.poker-location__list li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-ivory-300);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body-sm);
}

.poker-location__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background-color: var(--color-brass-500);
  border-radius: 50%;
}

.poker-location__map-wrap {
  min-width: 0;
  aspect-ratio: 4 / 3;
  background-color: var(--color-charcoal-900);
  border: var(--poker-border-brass-soft);
  border-radius: var(--poker-radius-card);
  overflow: hidden;
}

.poker-location__map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background-color: var(--color-charcoal-900);
  color: var(--color-ivory-300);
  cursor: pointer;
  transition: background-color var(--poker-transition), color var(--poker-transition);
}

.poker-location__map-placeholder:hover {
  background-color: var(--color-charcoal-800);
  color: var(--color-brass-300);
}

.poker-location__map-placeholder:focus-visible {
  outline: 2px solid var(--color-brass-500);
  outline-offset: 2px;
}

.poker-location__map-placeholder-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-brass-500);
}

.poker-location__map-placeholder-text {
  font-size: var(--text-body-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.poker-location__map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Call to action */
.poker-cta {
  background-color: var(--color-deep-green-900);
  border-top: var(--poker-border-brass-soft);
}

.poker-cta__container {
  max-width: var(--poker-measure-centered);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: center;
  text-align: center;
}

.poker-cta__container h2 {
  margin: 0;
}

.poker-cta__container p {
  margin: 0;
  color: var(--color-ivory-300);
}

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

.poker-cta__email {
  font-size: var(--text-body-sm);
  color: var(--color-ivory-300);
}

.poker-cta__email a {
  color: var(--color-brass-300);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--poker-transition);
}

.poker-cta__email a:hover {
  color: var(--color-ivory-100);
}

/* SEO content */
.poker-seo {
  background-color: var(--color-charcoal-950);
}

.poker-seo__container {
  max-width: var(--poker-measure-reading);
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
  align-items: flex-start;
}

.poker-seo__container h2 {
  margin: 0;
}

.poker-seo__content {
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-text);
}

.poker-seo__content p {
  margin: 0;
  color: var(--color-ivory-300);
}

.poker-seo__content h3 {
  margin: 0;
  color: var(--color-ivory-100);
}

/* Scroll reveal */
.poker-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--poker-reveal-transition), transform var(--poker-reveal-transition);
}

.poker-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .poker-tables__grid .poker-feature-card:last-child {
    grid-column: 1 / -1;
  }

  .poker-atmosphere__container,
  .poker-restaurant__container,
  .poker-location__container {
    grid-template-columns: 1fr;
  }

  .poker-atmosphere__figure img,
  .poker-restaurant__figure img {
    max-height: 480px;
  }

  .poker-location__map-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
  .poker-hero {
    min-height: 100svh;
  }

  .poker-hero__content {
    padding-block: var(--space-7) var(--space-8);
  }

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

  .poker-hero__title {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

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

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

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

  .poker-tables__grid,
  .poker-nights__grid {
    grid-template-columns: 1fr;
  }

  .poker-tables__grid .poker-feature-card:last-child {
    grid-column: auto;
  }

  .poker-feature-card,
  .poker-night-card {
    padding: var(--space-5);
  }

  .poker-atmosphere__container,
  .poker-restaurant__container,
  .poker-location__container {
    gap: var(--space-6);
  }

  .poker-atmosphere__figure img,
  .poker-restaurant__figure img {
    max-height: 60vw;
  }

  .poker-private__container,
  .poker-cta__container {
    align-items: stretch;
    text-align: left;
  }

  .poker-private__list {
    justify-content: flex-start;
  }

  .poker-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .poker-location__map-wrap {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
