/* Page-owned styles for poker-lounge */

#poker-lounge-page {
  --pl-hero-overlay: linear-gradient(to bottom, rgba(38, 60, 53, 0.6), rgba(38, 60, 53, 0.2));
  --pl-gap-lg: 48px;
  --pl-gap-md: 32px;
  --pl-radius: 12px;
}

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

.poker-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poker-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: pokerHeroZoom 1.5s ease forwards;
}

@keyframes pokerHeroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--pl-hero-overlay);
  z-index: 1;
}

.poker-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 50%;
  padding: 64px 24px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.poker-hero__eyebrow::after {
  margin-inline: auto;
}

.poker-hero__eyebrow {
  color: var(--color-gold);
  margin-bottom: 0;
}

.poker-hero__title {
  color: var(--color-white);
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  max-width: 20ch;
  margin-bottom: 0;
}

.poker-hero__subtext {
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 0;
}

/* Philosophy */
.poker-philosophy__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--pl-gap-lg);
  align-items: center;
}

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

.poker-philosophy__text h2 {
  margin-bottom: 0;
}

.poker-philosophy__statement {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-pine);
  max-width: 50ch;
  margin-bottom: 0;
}

.poker-philosophy__exclusive {
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: var(--space-3);
  max-width: 65ch;
  margin-bottom: 0;
}

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

.poker-philosophy__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--pl-radius);
  transition: transform var(--transition-base);
}

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

/* Space */
.poker-space__container {
  display: flex;
  flex-direction: column;
  gap: var(--pl-gap-lg);
  max-width: 800px;
  margin-inline: auto;
}

.poker-space__image-wrap {
  width: 100%;
  min-width: 0;
}

.poker-space__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
}

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

.poker-space__text h2 {
  margin-bottom: 0;
}

.poker-space__details {
  list-style: disc;
  padding-left: var(--space-5);
  max-width: 60ch;
  margin-bottom: 0;
}

.poker-space__details li {
  margin-bottom: var(--space-2);
}

/* Social */
.poker-social__grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: var(--pl-gap-lg);
  align-items: center;
}

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

.poker-social__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--pl-radius);
  transition: transform var(--transition-base);
}

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

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

.poker-social__text h2 {
  margin-bottom: 0;
}

.poker-social__quote {
  max-width: 50ch;
  margin-bottom: 0;
}

.poker-social__art {
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: var(--space-3);
  max-width: 65ch;
  margin-bottom: 0;
}

/* Design */
.poker-design__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--pl-gap-lg);
  align-items: start;
}

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

.poker-design__text h2 {
  margin-bottom: 0;
}

.poker-design__materials {
  list-style: disc;
  padding-left: var(--space-5);
  max-width: 60ch;
  margin-bottom: 0;
}

.poker-design__materials li {
  margin-bottom: var(--space-2);
}

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

.poker-design__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--pl-radius);
  transition: transform var(--transition-base);
}

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

/* Practical */
.poker-practical__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--pl-gap-lg);
  max-width: 800px;
  margin-inline: auto;
  align-items: start;
}

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

.poker-practical__text h2 {
  margin-bottom: 0;
}

.poker-practical__access {
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: var(--space-3);
  max-width: 65ch;
  margin-bottom: 0;
}

.poker-practical__dress {
  max-width: 65ch;
  margin-bottom: 0;
}

.poker-practical__hours {
  min-width: 0;
  background-color: var(--color-white);
  border: var(--border-light);
  border-radius: var(--radius-medium);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-practical__hours h3 {
  margin-bottom: 0;
}

.poker-practical__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.poker-practical__table th,
.poker-practical__table td {
  text-align: left;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-sand);
}

.poker-practical__table th {
  font-weight: 600;
  color: var(--color-pine);
  padding-right: var(--space-3);
}

.poker-practical__note {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-ink);
  margin-bottom: 0;
}

/* Reserve */
.poker-reserve {
  background-color: var(--color-pine);
  color: var(--color-white);
  padding-block: var(--space-8);
}

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

.poker-reserve__eyebrow {
  color: var(--color-gold);
  margin-bottom: 0;
}

.poker-reserve__title {
  color: var(--color-white);
  max-width: 40ch;
  margin-bottom: 0;
}

.poker-reserve__subtext {
  color: var(--color-white);
  max-width: 70ch;
  margin-bottom: 0;
}

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

.poker-reserve__actions .btn {
  min-width: 200px;
}

/* Scroll animation utility */
.poker-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.poker-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .poker-hero__content {
    max-width: 65%;
    padding: 48px 24px;
  }

  .poker-philosophy__grid,
  .poker-design__grid {
    grid-template-columns: 55% 45%;
    gap: var(--space-6);
  }

  .poker-practical__grid {
    grid-template-columns: 55% 45%;
    gap: var(--space-6);
  }
}

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

  .poker-hero__content {
    max-width: 100%;
    padding: 24px;
    align-items: center;
  }

  .poker-hero__title {
    font-size: clamp(2.25rem, 8vw, 3rem);
    max-width: 100%;
  }

  .poker-hero__subtext {
    font-size: 1rem;
    max-width: 100%;
  }

  .poker-philosophy__grid,
  .poker-social__grid,
  .poker-design__grid,
  .poker-practical__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .poker-philosophy__media {
    order: -1;
  }

  .poker-social__media {
    order: -1;
  }

  .poker-design__media {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .poker-design__image {
    flex: 1 1 calc(50% - var(--space-2));
    min-width: 0;
  }

  .poker-space__image {
    border-radius: 0;
    margin-inline: calc(-1 * var(--container-gutter));
    width: calc(100% + 2 * var(--container-gutter));
  }

  .poker-space__text {
    padding-inline: 0;
  }

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

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

@media (max-width: 480px) {
  .poker-design__media {
    flex-direction: column;
  }

  .poker-design__image {
    flex: 1 1 100%;
  }
}

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

  .poker-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
