/* Poker Tables page styles */

#poker-tables-page {
  --pt-section-pad: var(--space-3xl);
  --pt-gutter: 24px;
  --pt-card-pad: var(--space-lg);
}

.section-pad {
  padding-block: var(--pt-section-pad);
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-deep);
}

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

.poker-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.55) 0%, rgba(7, 10, 18, 0.75) 100%);
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

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

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

.poker-hero__panel h1 {
  margin-block-end: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.poker-hero__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-primary);
  max-width: 55ch;
  margin-inline: auto;
  margin-block-end: 0;
}

.poker-hero__support {
  max-width: 55ch;
  margin-inline: auto;
  margin-block-end: 0;
  color: var(--text-secondary);
}

.poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  width: 100%;
}

.poker-hero__actions .btn {
  min-width: 0;
}

/* Table Experience */
.poker-experience__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--pt-gutter);
  align-items: stretch;
}

.poker-experience__text {
  grid-column: 1 / 6;
  padding: var(--pt-card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-width: 0;
}

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

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

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

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

.poker-experience__media {
  grid-column: 7 / 13;
  min-width: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background-color: var(--bg-deep);
}

.poker-experience__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

/* Table Formats */
.poker-formats__intro {
  max-width: 720px;
  margin-block-end: var(--space-xl);
}

.poker-formats__intro h2 {
  margin-block-end: var(--space-sm);
}

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

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

.poker-format-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--pt-card-pad);
  min-width: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
}

.poker-format-card:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  background-color: rgba(24, 32, 62, 0.72);
}

.poker-format-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
}

.poker-format-card__header h3 {
  margin-block-end: 0;
  min-width: 0;
}

.poker-format-card__meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-block-end: 0;
  color: var(--text-primary);
}

.poker-format-card__meta .label {
  min-width: 5ch;
}

.poker-format-card__desc {
  max-width: 45ch;
  margin-block-end: 0;
}

/* Table Craft */
.poker-craft {
  background-color: var(--bg-deep);
}

.poker-craft .container-narrow {
  max-width: 720px;
}

.poker-craft h2 {
  margin-block-end: var(--space-xl);
}

.poker-craft__unit {
  margin-block-end: var(--space-xl);
}

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

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

.poker-craft__unit p {
  max-width: 65ch;
  margin-block-end: var(--space-sm);
}

.poker-craft__list {
  list-style: disc;
  padding-inline-start: var(--space-lg);
  color: var(--text-secondary);
  margin-block-end: 0;
}

.poker-craft__list li {
  margin-block-end: var(--space-xs);
}

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

/* Seating and Availability */
.poker-seating__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--pt-gutter);
  align-items: start;
}

.poker-seating__text {
  grid-column: 1 / 7;
  padding: var(--pt-card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-width: 0;
}

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

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

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

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

.poker-seating__list {
  list-style: disc;
  padding-inline-start: var(--space-lg);
  color: var(--text-secondary);
  margin-block-end: 0;
}

.poker-seating__list li {
  margin-block-end: var(--space-xs);
}

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

.poker-availability {
  grid-column: 8 / 13;
  padding: var(--pt-card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

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

.poker-availability__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-block-end: var(--space-xs);
}

.poker-availability__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-sm);
  align-items: center;
  padding-block: var(--space-xs);
  border-block-end: 1px solid var(--border-subtle);
  min-width: 0;
}

.poker-availability__row:last-child {
  border-block-end: none;
}

.poker-availability__value {
  color: var(--text-primary);
  font-size: 0.9375rem;
  text-align: right;
  min-width: 0;
}

/* Room Ambience */
.poker-room-ambience {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-deep);
}

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

.poker-room-ambience__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-room-ambience__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 18, 0.75) 0%, rgba(7, 10, 18, 0.35) 100%);
}

.poker-room-ambience .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.poker-room-ambience__card {
  grid-column: 1 / 6;
  max-width: 560px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-width: 0;
}

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

.poker-room-ambience__unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

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

.poker-room-ambience__unit p {
  max-width: 55ch;
  margin-block-end: 0;
}

.poker-room-ambience__list {
  list-style: disc;
  padding-inline-start: var(--space-lg);
  color: var(--text-secondary);
  margin-block-end: 0;
}

.poker-room-ambience__list li {
  margin-block-end: var(--space-xs);
}

.poker-room-ambience__list li:last-child {
  margin-block-end: 0;
}

/* Reservation */
.poker-reserve__card {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  min-width: 0;
}

.poker-reserve__form-wrap {
  min-width: 0;
}

.poker-reserve__form-wrap h2 {
  margin-block-end: var(--space-sm);
}

.poker-reserve__intro {
  margin-block-end: var(--space-lg);
  max-width: 60ch;
}

.poker-reserve__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  min-width: 0;
}

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

.poker-reserve__field label {
  display: block;
  margin-block-end: var(--space-xs);
}

.poker-reserve__form .btn-block {
  grid-column: 1 / -1;
}

.poker-reserve__success {
  grid-column: 1 / -1;
  color: var(--state-open);
  margin-block-end: 0;
  font-weight: 600;
}

.poker-reserve__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
  text-align: center;
  padding-inline: var(--space-md);
  min-width: 0;
}

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

.poker-reserve__contact p {
  margin-block-end: 0;
}

.poker-reserve__link {
  color: var(--accent-electric);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.poker-reserve__link:hover {
  color: var(--text-primary);
}

.poker-reserve__address {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Poker Nights */
.poker-nights__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--pt-gutter);
  align-items: start;
}

.poker-nights__text {
  grid-column: 1 / 8;
  min-width: 0;
}

.poker-nights__text h2 {
  margin-block-end: var(--space-lg);
}

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

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

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

.poker-nights__unit p {
  max-width: 60ch;
  margin-block-end: var(--space-sm);
}

.poker-nights__list {
  list-style: disc;
  padding-inline-start: var(--space-lg);
  color: var(--text-secondary);
  margin-block-end: 0;
}

.poker-nights__list li {
  margin-block-end: var(--space-xs);
}

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

.poker-nights__schedule {
  grid-column: 9 / 13;
  padding: var(--pt-card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

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

.poker-nights__schedule-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-xs);
  border-block-end: 1px solid var(--border-subtle);
  min-width: 0;
}

.poker-nights__schedule-row:last-of-type {
  border-block-end: none;
}

.poker-nights__schedule-value {
  color: var(--text-primary);
  text-align: right;
  min-width: 0;
}

.poker-nights__schedule .btn {
  margin-block-start: var(--space-sm);
}

/* Dining */
.poker-dining .container-narrow {
  max-width: 720px;
}

.poker-dining h2 {
  margin-block-end: var(--space-lg);
}

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

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

.poker-dining__link {
  color: var(--accent-electric);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.poker-dining__link:hover {
  color: var(--text-primary);
}

/* Visit CTA */
.poker-visit__panel {
  max-width: 600px;
  margin-inline: auto;
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

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

.poker-visit__lead {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-end: 0;
  color: var(--text-primary);
}

.poker-visit__support {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-end: 0;
}

.poker-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  width: 100%;
}

.poker-visit__actions .btn {
  min-width: 0;
}

/* Aurora background accents */
.poker-hero::before,
.poker-room-ambience::before,
.poker-visit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, var(--accent-aurora-a), transparent 40%),
    radial-gradient(circle at 80% 70%, var(--accent-aurora-b), transparent 45%),
    radial-gradient(circle at 50% 50%, var(--accent-aurora-c), transparent 50%);
  opacity: 0.7;
  animation: pt-aurora-drift 28s ease-in-out infinite alternate;
}

.poker-hero::before {
  z-index: 1;
  mix-blend-mode: screen;
}

.poker-room-ambience::before {
  z-index: 1;
  mix-blend-mode: screen;
}

.poker-visit {
  position: relative;
  overflow: hidden;
}

.poker-visit::before {
  z-index: 0;
}

.poker-visit .container {
  position: relative;
  z-index: 1;
}

@keyframes pt-aurora-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(0.98);
    opacity: 0.7;
  }
}

/* Status dot pulse for open */
.status-dot[data-status="open"] {
  animation: pt-pulse-open 2.4s ease-in-out infinite;
}

@keyframes pt-pulse-open {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }
}

/* Tablet breakpoint */
@media (max-width: 991px) {
  .poker-experience__grid,
  .poker-seating__grid,
  .poker-nights__grid {
    grid-template-columns: 1fr;
  }

  .poker-experience__text,
  .poker-experience__media,
  .poker-seating__text,
  .poker-availability,
  .poker-nights__text,
  .poker-nights__schedule {
    grid-column: 1 / -1;
  }

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

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

  .poker-room-ambience__card {
    max-width: 100%;
  }

  .poker-hero {
    min-height: auto;
  }

  .poker-hero__bg {
    position: relative;
    height: 40vh;
    min-height: 240px;
  }

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

  .poker-room-ambience {
    min-height: auto;
  }

  .poker-room-ambience__bg {
    position: relative;
    height: 40vh;
    min-height: 240px;
  }

  .poker-room-ambience .container {
    padding-block: var(--space-xl);
  }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
  :root {
    --pt-section-pad: var(--space-2xl);
  }

  .poker-hero__panel {
    padding: var(--space-lg);
    text-align: left;
    align-items: flex-start;
  }

  .poker-hero__lead,
  .poker-hero__support {
    margin-inline: 0;
  }

  .poker-hero__actions,
  .poker-visit__actions {
    flex-direction: column;
    width: 100%;
  }

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

  .poker-format-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .poker-format-card__header .status-pill {
    align-self: flex-end;
  }

  .poker-availability__row {
    grid-template-columns: 1fr;
    gap: var(--space-2xs);
  }

  .poker-availability__value {
    text-align: left;
  }

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

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

  .poker-nights__schedule-row {
    flex-direction: column;
    gap: var(--space-2xs);
  }

  .poker-nights__schedule-value {
    text-align: left;
  }

  .poker-visit__panel {
    padding: var(--space-lg);
    text-align: left;
    align-items: flex-start;
  }

  .poker-visit__lead,
  .poker-visit__support {
    margin-inline: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .poker-hero::before,
  .poker-room-ambience::before,
  .poker-visit::before {
    animation: none;
    opacity: 0.6;
  }

  .status-dot[data-status="open"] {
    animation: none;
  }

  .poker-format-card:hover {
    transform: none;
  }
}
