/* Page-owned styles for the Dedicated Poker Room page */
/* Scoped to #poker-room-main to avoid shared component conflicts */

#poker-room-main {
  --poker-section-gap: var(--space-9);
  --poker-section-gap-mobile: var(--space-8);
  --poker-copy-max: 680px;
  --poker-copy-narrow: 600px;
  --poker-copy-cta: 720px;
  --poker-grid-gap: var(--space-6);
  --poker-grid-gap-mobile: var(--space-5);
}

/* Hero section */
.poker-hero {
  position: relative;
  background-color: var(--bg-base);
  background-image: radial-gradient(ellipse at 30% 20%, rgba(46, 107, 79, 0.18), transparent 65%);
  padding-block: var(--space-8) var(--space-9);
  overflow: hidden;
}

.poker-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.7;
}

.poker-hero__inner {
  position: relative;
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.poker-hero__text {
  min-width: 0;
}

.poker-hero__heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-block-end: var(--space-4);
  max-width: 100%;
}

.poker-hero__subheading {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--text-secondary);
  max-width: 600px;
  margin-block-end: 0;
}

.poker-hero__media {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

.poker-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 18, 16, 0.55) 0%, rgba(15, 18, 16, 0.15) 60%, rgba(15, 18, 16, 0.45) 100%);
  pointer-events: none;
}

.poker-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Room Overview section */
.poker-room-overview {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-base);
}

.poker-room-overview__inner {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

.poker-room-overview__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-6);
}

.poker-room-overview__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--poker-grid-gap);
}

.poker-room-overview__item {
  min-width: 0;
}

.poker-room-overview__item-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-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-3);
}

.poker-room-overview__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--text-secondary);
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

/* Equipment section */
.poker-equipment {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-elevated);
  border-block: 1px solid var(--border-subtle);
}

.poker-equipment__inner {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.poker-equipment__text {
  min-width: 0;
}

.poker-equipment__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-6);
}

.poker-equipment__item {
  min-width: 0;
  margin-block-end: var(--space-5);
}

.poker-equipment__item:last-child {
  margin-block-end: 0;
}

.poker-equipment__item-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-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-3);
}

.poker-equipment__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--text-secondary);
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

.poker-equipment__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

.poker-equipment__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Games section */
.poker-games {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-base);
}

.poker-games__inner {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

.poker-games__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-6);
}

.poker-games__narrative {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--poker-grid-gap);
  margin-block-end: var(--space-7);
}

.poker-games__item {
  min-width: 0;
}

.poker-games__item-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-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-3);
}

.poker-games__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--text-secondary);
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

.poker-games__table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-sunken);
}

.poker-games__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  margin-block-end: 0;
}

.poker-games__table th,
.poker-games__table td {
  padding: var(--space-3) var(--space-4);
  text-align: start;
  border-block-end: 1px solid var(--border-subtle);
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  color: var(--text-primary);
}

.poker-games__table thead th {
  font-family: var(--font-heading);
  font-size: var(--text-overline-size);
  line-height: var(--text-overline-line-height);
  font-weight: var(--text-overline-weight);
  letter-spacing: var(--text-overline-letter-spacing);
  text-transform: var(--text-overline-transform);
  color: var(--text-secondary);
  background-color: var(--bg-sunken);
  border-block-end: 1px solid var(--border-strong);
}

.poker-games__table tbody tr:nth-child(even) {
  background-color: var(--bg-base);
}

.poker-games__table tbody th {
  font-family: var(--font-body);
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  font-weight: 600;
  color: var(--text-primary);
  background-color: transparent;
  border-block-end: 1px solid var(--border-subtle);
}

/* Serious Players section */
.poker-serious {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-elevated);
  border-block: 1px solid var(--border-subtle);
}

.poker-serious__inner {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.poker-serious__text {
  min-width: 0;
}

.poker-serious__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-6);
}

.poker-serious__item {
  min-width: 0;
  margin-block-end: var(--space-5);
}

.poker-serious__item:last-child {
  margin-block-end: 0;
}

.poker-serious__item-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-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-3);
}

.poker-serious__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--text-secondary);
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

.poker-serious__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

.poker-serious__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* Amenities section */
.poker-amenities {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-base);
}

.poker-amenities__inner {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

.poker-amenities__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-6);
}

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

.poker-amenities__item {
  min-width: 0;
}

.poker-amenities__item-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-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-3);
}

.poker-amenities__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--text-secondary);
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

/* Reserve CTA section */
.poker-reserve {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-sunken);
  border-block: 1px solid var(--border-subtle);
}

.poker-reserve__inner {
  max-width: var(--poker-copy-cta);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-reserve__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: 0;
}

.poker-reserve__text {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--text-secondary);
  max-width: 600px;
  margin-block-end: 0;
}

.poker-reserve__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  width: 100%;
}

.poker-reserve__button {
  flex: 0 0 auto;
  min-width: 0;
}

/* Location & Hours section */
.poker-location {
  padding-block: var(--poker-section-gap);
  background-color: var(--bg-base);
}

.poker-location__inner {
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

.poker-location__heading {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  letter-spacing: var(--text-h2-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-6);
}

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

.poker-location__address,
.poker-location__hours {
  min-width: 0;
}

.poker-location__block-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-letter-spacing);
  color: var(--text-primary);
  margin-block-end: var(--space-3);
}

.poker-location__route-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.poker-location__route-link:hover {
  color: var(--text-secondary);
}

.poker-location__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--text-secondary);
  max-width: var(--poker-copy-max);
  margin-block-end: var(--space-4);
}

.poker-location__hours-list {
  list-style: none;
  margin-block-end: 0;
  padding-inline-start: 0;
}

.poker-location__hours-list li {
  font-size: var(--text-body-small-size);
  line-height: var(--text-body-small-line-height);
  color: var(--text-secondary);
  margin-block-end: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.poker-location__hours-list li:last-child {
  margin-block-end: 0;
}

.poker-location__day {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 140px;
}

/* Responsive breakpoints */

/* Tablet: 768px and up */
@media (min-width: 768px) {
  #poker-room-main {
    --poker-section-gap: var(--space-9);
  }

  .poker-hero__inner {
    padding-inline: var(--container-padding-desktop);
  }

  .poker-room-overview__inner,
  .poker-equipment__inner,
  .poker-games__inner,
  .poker-serious__inner,
  .poker-amenities__inner,
  .poker-reserve__inner,
  .poker-location__inner {
    padding-inline: var(--container-padding-desktop);
  }

  .poker-room-overview__content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }

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

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

  .poker-location__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .poker-hero__inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--space-7);
  }

  .poker-equipment__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: var(--space-7);
  }

  .poker-serious__inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--space-7);
  }

  .poker-reserve__actions {
    width: auto;
  }
}

/* Mobile-specific adjustments below 768px */
@media (max-width: 767px) {
  .poker-hero {
    padding-block: var(--space-7) var(--space-8);
  }

  .poker-hero__heading {
    font-size: 2rem;
  }

  .poker-hero__subheading {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line-height);
  }

  .poker-room-overview__text,
  .poker-equipment__text,
  .poker-games__text,
  .poker-serious__text,
  .poker-amenities__text,
  .poker-location__text {
    font-size: var(--text-body-small-size);
    line-height: var(--text-body-small-line-height);
  }

  .poker-reserve__text {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line-height);
  }

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

  .poker-reserve__button {
    width: 100%;
    justify-content: center;
  }

  .poker-location__hours-list li {
    flex-direction: column;
    gap: var(--space-1);
  }

  .poker-location__day {
    min-width: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .poker-hero,
  .poker-hero__media::after {
    animation: none;
    transition: none;
  }
}
