/* Poker Room page styles */
.poker-room-page {
  --poker-section-gap: clamp(2rem, 5vw, 4rem);
  --poker-card-gap: clamp(1.5rem, 3vw, 2rem);
  --poker-copy-max: 600px;
  --poker-copy-max-narrow: 550px;
  --poker-copy-max-medium: 500px;
  --poker-copy-max-small: 400px;
  --poker-radius: 4px;
  --poker-transition: 0.2s ease;
  --poker-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --poker-border: rgba(26, 60, 46, 0.2);
}

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

.poker-section__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  margin-block-end: var(--space-4);
  color: var(--color-deep-green);
}

.poker-section__title--light {
  color: var(--color-ivory-text);
}

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

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

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

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(26, 60, 46, 0.92) 0%, rgba(26, 60, 46, 0.55) 55%, rgba(26, 60, 46, 0.15) 100%);
}

.poker-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-7);
}

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

.poker-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: var(--leading-display);
  color: var(--color-ivory-text);
  margin-block-end: 0;
  max-width: 100%;
}

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

.poker-hero__cta {
  flex-shrink: 0;
}

/* Atmosphere */
.poker-section--atmosphere {
  background-color: var(--color-ivory);
}

.poker-atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--poker-card-gap);
  min-width: 0;
}

.poker-atmosphere-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-atmosphere-card h3 {
  margin-block-end: 0;
  color: var(--color-deep-green);
}

.poker-atmosphere-card p {
  max-width: var(--poker-copy-max-medium);
  margin-block-end: 0;
}

.poker-atmosphere-card .poker-list {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Tables */
.poker-section--tables {
  background-color: var(--color-deep-green);
}

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

.poker-tables-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-tables-copy h3 {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.poker-tables-copy p {
  color: var(--color-ivory-text);
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

.poker-tables-copy .poker-list {
  margin-block-start: 0;
  margin-block-end: 0;
}

.poker-tables-media {
  min-width: 0;
  margin-block-end: 0;
}

.poker-tables-media img {
  width: 100%;
  height: auto;
  border-radius: var(--poker-radius);
  box-shadow: var(--poker-shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Dealers */
.poker-section--dealers {
  background-color: var(--color-light-wood);
}

.poker-dealers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--poker-card-gap);
  min-width: 0;
}

.poker-dealers-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-dealers-card h3 {
  margin-block-end: 0;
  color: var(--color-deep-green);
}

.poker-dealers-card p {
  max-width: var(--poker-copy-max-narrow);
  margin-block-end: 0;
}

.poker-dealers-card .poker-list {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Fair play */
.poker-section--fair-play {
  background-color: var(--color-ivory);
}

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

.poker-fair-play-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--color-ivory);
  border: 1px solid var(--poker-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--poker-shadow);
}

.poker-fair-play-card h3 {
  margin-block-end: 0;
  color: var(--color-deep-green);
}

.poker-fair-play-card p {
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

.poker-fair-play-card .poker-list {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Evenings */
.poker-section--evenings {
  background-color: var(--color-deep-green);
}

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

.poker-evenings-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.poker-evenings-copy h3 {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.poker-evenings-copy p {
  color: var(--color-ivory-text);
  max-width: var(--poker-copy-max-narrow);
  margin-block-end: 0;
}

.poker-evenings-copy .poker-evenings__cta {
  margin-block-start: var(--space-2);
  flex-shrink: 0;
}

.poker-evenings-media {
  min-width: 0;
  margin-block-end: 0;
}

.poker-evenings-media img {
  width: 100%;
  height: auto;
  border-radius: var(--poker-radius);
  box-shadow: var(--poker-shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Booking */
.poker-section--booking {
  background-color: var(--color-ivory);
}

.poker-booking-card {
  max-width: 600px;
  margin-inline: auto;
  padding: var(--space-5);
  background-color: var(--color-light-wood);
  border: 1px solid rgba(26, 60, 46, 0.15);
  border-radius: var(--radius-medium);
  box-shadow: var(--poker-shadow);
}

.poker-booking-card .poker-section__title {
  text-align: center;
  margin-block-end: var(--space-3);
}

.poker-booking__intro {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  margin-block-end: var(--space-5);
}

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

.poker-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.poker-form-field label {
  margin-block-end: 0;
}

.poker-form-field input,
.poker-form-field select,
.poker-form-field textarea {
  width: 100%;
  min-width: 0;
}

.poker-form-field--consent {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-2);
}

.poker-form-field--consent input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-block-start: 0.25rem;
}

.poker-form-field--consent label {
  display: inline;
  margin-block-end: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.poker-form-error {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-brick-red);
}

.poker-booking__submit {
  align-self: flex-start;
  margin-block-start: var(--space-2);
}

.poker-form-status {
  min-height: 1.5em;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-deep-green);
  margin-block-end: 0;
}

.poker-form-status[data-status="error"] {
  color: var(--color-brick-red);
}

/* Practical */
.poker-section--practical {
  background-color: var(--color-light-wood);
}

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

.poker-practical-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-practical-card h3 {
  margin-block-end: 0;
  color: var(--color-deep-green);
}

.poker-practical-card p {
  max-width: var(--poker-copy-max);
  margin-block-end: 0;
}

.poker-practical-card address {
  margin-block-end: 0;
  font-style: normal;
  color: var(--color-deep-green);
}

/* Lists */
.poker-list {
  list-style: disc;
  padding-inline-start: var(--space-4);
  margin-block-end: var(--space-3);
  color: var(--color-dark-green-text);
}

.poker-list--light {
  color: var(--color-ivory-text);
}

.poker-list li {
  margin-block-end: var(--space-2);
}

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

/* Tablet and intermediate breakpoints */
@media (max-width: 1024px) {
  .poker-tables-grid,
  .poker-evenings-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .poker-tables-media,
  .poker-evenings-media {
    order: -1;
  }

  .poker-tables-media img,
  .poker-evenings-media img {
    aspect-ratio: 16 / 9;
  }

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

  .poker-atmosphere-card p,
  .poker-dealers-card p {
    max-width: var(--poker-copy-max);
  }

  .poker-fair-play-grid,
  .poker-practical-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .poker-fair-play-card p,
  .poker-practical-card p {
    max-width: 100%;
  }
}

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

  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__container {
    padding-block: var(--space-6);
  }

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

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

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

  .poker-booking-card {
    padding: var(--space-4);
  }

  .poker-booking__submit {
    width: 100%;
  }

  .poker-form-field--consent {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .poker-section {
    padding-block: var(--space-5);
  }

  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__container {
    padding-block: var(--space-5);
  }

  .poker-hero__title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .poker-hero__lead {
    font-size: var(--text-body);
  }

  .poker-booking-card {
    padding: var(--space-3);
  }

  .poker-booking__intro {
    margin-block-end: var(--space-4);
  }

  .poker-tables-media img,
  .poker-evenings-media img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-room-page *,
  .poker-room-page *::before,
  .poker-room-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
