/* Page-owned styles for Poker Room */

.poker-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-void);
}

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

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

.poker-hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 30%, var(--accent-aurora-a), transparent 55%),
    radial-gradient(ellipse at 80% 60%, var(--accent-aurora-b), transparent 55%),
    radial-gradient(ellipse at 50% 90%, var(--accent-aurora-c), transparent 60%);
  animation: poker-aurora-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

.poker-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.72) 0%, rgba(7, 10, 18, 0.55) 50%, rgba(7, 10, 18, 0.82) 100%);
  pointer-events: none;
}

.poker-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-3xl) var(--container-padding-mobile);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.poker-hero__eyebrow {
  color: var(--accent-electric);
}

.poker-hero__content h1 {
  max-width: 14ch;
  margin-block-end: 0;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

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

.poker-hero__note {
  margin-block-end: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

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

.poker-atmosphere__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-2xl);
  align-items: start;
}

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

.poker-atmosphere__copy h2 {
  max-width: 18ch;
}

.poker-atmosphere__copy p {
  max-width: 65ch;
}

.poker-atmosphere__card {
  padding: var(--space-xl);
  min-width: 0;
}

.poker-atmosphere__card h3 {
  margin-block-end: var(--space-lg);
}

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

.poker-atmosphere__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  min-width: 0;
}

.poker-atmosphere__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-block-start: 0.5em;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  box-shadow: 0 0 10px rgba(91, 108, 255, 0.5);
}

.poker-formats {
  padding-block: var(--space-3xl);
  background-color: var(--bg-deep);
}

.poker-formats__header {
  margin-block-end: var(--space-2xl);
  text-align: center;
}

.poker-formats__header h2 {
  margin-inline: auto;
  max-width: 22ch;
}

.poker-formats__intro {
  max-width: 65ch;
  margin-inline: auto;
}

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

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

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

.poker-format-card__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-indigo);
}

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

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

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

.poker-availability__header {
  margin-block-end: var(--space-2xl);
  text-align: center;
}

.poker-availability__header h2 {
  margin-inline: auto;
  max-width: 24ch;
}

.poker-availability__header p {
  max-width: 65ch;
  margin-inline: auto;
}

.poker-availability__panel {
  padding: var(--space-lg);
  overflow-x: auto;
  min-width: 0;
}

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

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

.poker-availability__row--head {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.poker-availability__day,
.poker-availability__time,
.poker-availability__room {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  min-width: 0;
}

.poker-availability__row .status-pill {
  justify-self: start;
}

.poker-availability__row .btn {
  justify-self: end;
  white-space: nowrap;
}

.poker-availability__row:hover {
  background-color: rgba(148, 163, 255, 0.04);
}

.poker-etiquette {
  padding-block: var(--space-3xl);
  background-color: var(--bg-deep);
}

.poker-etiquette h2 {
  max-width: 20ch;
}

.poker-etiquette__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etiquette;
}

.poker-etiquette__list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-inline-start: var(--space-2xl);
  position: relative;
  counter-increment: etiquette;
  min-width: 0;
}

.poker-etiquette__list li::before {
  content: counter(etiquette, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-indigo);
  line-height: 1;
}

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

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

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

.poker-reserve__panel {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.poker-reserve__aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--accent-aurora-a), transparent 60%),
    radial-gradient(ellipse at 70% 80%, var(--accent-aurora-b), transparent 60%);
  animation: poker-aurora-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

.poker-reserve__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 720px;
  margin-inline: auto;
}

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

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

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

.poker-reserve__note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.poker-reserve__note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

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

.poker-visit {
  padding-block: var(--space-3xl);
  background-color: var(--bg-deep);
}

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

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

.poker-visit__copy h2 {
  max-width: 20ch;
}

.poker-visit__copy p {
  max-width: 65ch;
}

.poker-visit__copy address {
  margin-block-end: 0;
}

.poker-visit__map {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-glow);
  min-width: 0;
}

.poker-visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(0.95) brightness(0.85);
}

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

.poker-faq h2 {
  max-width: 20ch;
}

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

.poker-faq__item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background-color: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
  min-width: 0;
}

@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .poker-faq__item {
    background-color: rgba(18, 24, 46, 0.92);
  }
}

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

.poker-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  min-height: 56px;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  border-radius: var(--radius-card);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.poker-faq__trigger:hover {
  background-color: rgba(148, 163, 255, 0.06);
}

.poker-faq__trigger:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.poker-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: var(--accent-indigo);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base);
}

.poker-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.poker-faq__trigger[aria-expanded="true"] .poker-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

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

.poker-faq__answer[hidden] {
  display: none;
}

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

@keyframes poker-aurora-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(0.98);
    opacity: 0.9;
  }
}

@media (max-width: 1024px) {
  .poker-atmosphere__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }

  .poker-atmosphere__copy p,
  .poker-atmosphere__copy h2 {
    max-width: 65ch;
  }

  .poker-formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-format-card:last-child {
    grid-column: span 2;
  }

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

  .poker-availability__row--head {
    display: none;
  }

  .poker-availability__row .status-pill {
    justify-self: start;
  }

  .poker-availability__row .btn {
    justify-self: start;
  }

  .poker-visit__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
}

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

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

  .poker-hero__content h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .poker-hero__lead {
    font-size: 1rem;
  }

  .poker-hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

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

  .poker-atmosphere,
  .poker-formats,
  .poker-availability,
  .poker-etiquette,
  .poker-reserve,
  .poker-visit,
  .poker-faq {
    padding-block: var(--space-2xl);
  }

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

  .poker-formats__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .poker-availability__panel {
    padding: var(--space-sm);
  }

  .poker-availability__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xs);
    padding: var(--space-md);
  }

  .poker-availability__row .status-pill,
  .poker-availability__row .btn {
    justify-self: start;
  }

  .poker-reserve__panel {
    padding: var(--space-2xl) var(--space-lg);
  }

  .poker-reserve__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

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

  .poker-visit__map {
    aspect-ratio: 4 / 3;
  }

  .poker-faq__trigger {
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
  }
}

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

  .poker-hero__content h1 {
    font-size: 2rem;
  }

  .poker-hero__lead {
    font-size: 0.9375rem;
  }

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

  .poker-etiquette__list li {
    padding-inline-start: var(--space-xl);
  }

  .poker-etiquette__list li::before {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__aurora,
  .poker-reserve__aurora {
    animation: none;
  }

  .poker-format-card {
    transition: none;
  }

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