/* Poker Room page styles */

.poker-hero {
  background-color: var(--color-ink);
  color: var(--color-surface);
  padding-block: var(--space-8) var(--space-7);
  position: relative;
  overflow: hidden;
}

.poker-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-6);
  align-items: center;
  min-height: 70vh;
}

.poker-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 600px;
  min-width: 0;
}

.poker-hero__eyebrow {
  color: var(--color-coral);
  margin-block-end: 0;
}

.poker-hero__title {
  color: var(--color-surface);
  font-size: clamp(2rem, 4vw, var(--text-display));
  line-height: var(--leading-display);
  margin-block-end: 0;
}

.poker-hero__lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-block-end: 0;
}

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

.poker-hero__media {
  position: relative;
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2);
  overflow: hidden;
  background-color: var(--color-ink);
}

.poker-hero__image {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.15);
}

.poker-hero__blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 150ms ease-in-out;
}

.poker-hero__blueprint.is-drawn {
  opacity: 0.25;
}

.poker-space__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}

.poker-space__media {
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2);
  overflow: hidden;
  background-color: var(--color-surface);
}

.poker-space__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 150ms ease-in-out;
}

.poker-space__media:hover .poker-space__image {
  transform: scale(1.02);
}

.poker-space__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.poker-space__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
}

.poker-space__text h3 {
  margin-block-end: var(--space-2);
}

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

.poker-equipment__header,
.poker-formats__header,
.poker-rules__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-end: var(--space-6);
  max-width: 700px;
}

.poker-equipment__header h2,
.poker-formats__header h2,
.poker-rules__header h2 {
  margin-block-end: 0;
}

.poker-equipment__intro,
.poker-formats__intro,
.poker-rules__intro {
  margin-block-end: 0;
}

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

.poker-equipment__card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: var(--shadow-subtle);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  transition: border-color var(--transition-fast);
}

.poker-equipment__card:hover {
  border-color: var(--color-coral);
}

.poker-equipment__icon {
  color: var(--color-ink);
  margin-block-end: var(--space-2);
}

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

.poker-equipment__card p {
  margin-block-end: 0;
  max-width: 300px;
}

.poker-formats {
  background-color: var(--color-green);
  color: var(--color-surface);
}

.poker-formats .label-uppercase {
  color: var(--color-coral);
}

.poker-formats__header h2 {
  color: var(--color-surface);
}

.poker-formats__intro {
  color: rgba(255, 255, 255, 0.85);
}

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

.poker-formats__item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  transition: background-color var(--transition-fast);
}

.poker-formats__item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.poker-formats__item h3 {
  color: var(--color-surface);
  margin-block-end: 0;
}

.poker-formats__item p {
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 0;
  max-width: 350px;
}

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

.poker-formats__list li {
  color: var(--color-surface);
  position: relative;
  padding-inline-start: var(--space-5);
}

.poker-formats__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-coral);
  border-radius: 50%;
}

.poker-evenings__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-7);
  align-items: start;
}

.poker-evenings__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.poker-evenings__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
}

.poker-evenings__text h3 {
  margin-block-end: var(--space-2);
}

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

.poker-evenings__media {
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2);
  overflow: hidden;
  background-color: var(--color-surface);
}

.poker-evenings__image {
  width: 100%;
  height: auto;
  display: block;
  transition: border-color var(--transition-fast);
}

.poker-evenings__media:hover {
  border-color: var(--color-coral);
}

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

.poker-rules__card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: var(--shadow-subtle);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  transition: border-color var(--transition-fast);
}

.poker-rules__card:hover {
  border-color: var(--color-coral);
}

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

.poker-rules__card p {
  margin-block-end: 0;
  max-width: 300px;
}

.poker-reservation {
  background-color: var(--color-surface);
}

.poker-reservation__inner {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

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

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

.poker-reservation__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2);
  padding: var(--space-5);
  background-color: var(--color-sand);
}

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

.poker-reservation__field--full {
  grid-column: 1 / -1;
}

.poker-reservation__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.poker-reservation__message {
  grid-column: 1 / -1;
  margin-block-end: 0;
  color: var(--color-green);
  font-weight: 500;
}

.poker-reservation__message.is-error {
  color: var(--color-coral);
}

.poker-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}

.poker-contact__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 400px;
}

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

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

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

.poker-contact__hours,
.poker-contact__note {
  margin-block-end: 0;
}

.poker-contact__map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2);
  aspect-ratio: 4 / 3;
  background-color: var(--color-sand);
}

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

.poker-cta {
  background-color: var(--color-ink);
  color: var(--color-surface);
  padding-block: var(--space-8);
}

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

.poker-cta__inner h2 {
  color: var(--color-surface);
  margin-block-end: 0;
}

.poker-cta__text {
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 0;
}

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

@media (max-width: 1024px) {
  .poker-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-5);
    min-height: auto;
  }

  .poker-space__grid,
  .poker-evenings__grid,
  .poker-contact__grid {
    gap: var(--space-5);
  }

  .poker-equipment__grid,
  .poker-formats__grid,
  .poker-rules__grid {
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  .poker-hero {
    padding-block: var(--space-6);
  }

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

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

  .poker-hero__media {
    order: -1;
  }

  .poker-space__grid,
  .poker-evenings__grid,
  .poker-contact__grid {
    grid-template-columns: 1fr;
  }

  .poker-space__content,
  .poker-evenings__content,
  .poker-contact__info {
    max-width: 100%;
  }

  .poker-space__text,
  .poker-evenings__text {
    max-width: 100%;
  }

  .poker-equipment__grid,
  .poker-formats__grid,
  .poker-rules__grid {
    grid-template-columns: 1fr;
  }

  .poker-equipment__card p,
  .poker-formats__item p,
  .poker-rules__card p {
    max-width: 100%;
  }

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

  .poker-reservation__field--full,
  .poker-reservation__actions,
  .poker-reservation__message {
    grid-column: auto;
  }

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

@media (max-width: 480px) {
  .poker-hero__title {
    font-size: 1.75rem;
  }

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

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

  .poker-equipment__card,
  .poker-formats__item,
  .poker-rules__card,
  .poker-reservation__form {
    padding: var(--space-4);
  }

  .poker-reservation__inner {
    gap: var(--space-4);
  }
}
