/* ===== Poker page styles ===== */
.poker-page {
  /* Page root only; shared chrome is untouched */
}

/* --- Hero --- */
.poker-hero {
  background-color: var(--color-graphite);
  color: var(--color-cream);
  padding-block: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

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

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

.poker-hero__title {
  color: var(--color-cream);
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-block-end: 0;
  animation: pokerFadeInLeft 0.7s ease-out both;
}

.poker-hero__lead,
.poker-hero__subtitle {
  color: var(--color-cream);
  margin-block-end: 0;
  animation: pokerFadeInLeft 0.7s ease-out 0.15s both;
}

.poker-hero__subtitle {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  opacity: 0.92;
}

.poker-hero__cta {
  margin-block-start: var(--space-md);
  animation: pokerFadeInLeft 0.7s ease-out 0.3s both;
}

.poker-hero__media {
  min-width: 0;
  animation: pokerFadeInRight 0.7s ease-out 0.2s both;
}

.poker-hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  display: block;
}

/* --- Atmosphere --- */
.poker-atmosphere {
  background-color: var(--color-cream);
  color: var(--color-graphite);
  padding-block: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.poker-atmosphere__container {
  position: relative;
}

.poker-atmosphere__copy {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.poker-atmosphere__title {
  color: var(--color-graphite);
  margin-block-end: 0;
}

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

.poker-atmosphere__subtitle {
  color: var(--color-petrol);
  margin-block-end: 0;
}

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

.poker-atmosphere__table-number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brick-red);
  font-size: 1.25em;
}

.poker-atmosphere__dress-code {
  background-color: var(--color-white);
  border: var(--border-graphite);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.poker-atmosphere__background-number {
  position: absolute;
  top: 50%;
  right: var(--space-3xl);
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 16rem);
  line-height: 1;
  color: var(--color-graphite);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: pokerFadeIn 1s ease-out both;
}

/* --- Rules --- */
.poker-rules {
  background-color: var(--color-petrol);
  color: var(--color-cream);
  padding-block: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

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

.poker-rules__copy {
  min-width: 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.poker-rules__title {
  color: var(--color-cream);
  margin-block-end: 0;
}

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

.poker-rules__subtitle {
  color: var(--color-cream);
  margin-block-end: 0;
}

.poker-rules__block p {
  margin-block-end: 0;
  color: var(--color-cream);
  opacity: 0.95;
}

.poker-rules__card-illustration {
  position: relative;
  min-width: 0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poker-rules__card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 130px;
  background-color: var(--color-white);
  color: var(--color-graphite);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  transform-origin: center;
  animation: pokerCardFloat 3s ease-in-out infinite;
}

.poker-rules__card--one {
  transform: rotate(-12deg) translateX(-40px);
  animation-delay: 0s;
}

.poker-rules__card--two {
  transform: rotate(8deg) translateY(-20px);
  animation-delay: 0.6s;
}

.poker-rules__card--three {
  transform: rotate(20deg) translateX(40px);
  animation-delay: 1.2s;
}

.poker-rules__card.poker-rules__card--one,
.poker-rules__card.poker-rules__card--two,
.poker-rules__card.poker-rules__card--three {
  animation-name: pokerCardFloat;
}

/* --- Tables --- */
.poker-tables {
  background-color: var(--color-cream);
  color: var(--color-graphite);
  padding-block: var(--space-3xl);
}

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

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

.poker-tables__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  display: block;
  transition: transform 0.3s ease;
}

.poker-tables__image:hover {
  transform: scale(1.03);
}

.poker-tables__copy {
  min-width: 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.poker-tables__title {
  color: var(--color-graphite);
  margin-block-end: 0;
}

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

.poker-tables__subtitle {
  color: var(--color-petrol);
  margin-block-end: 0;
}

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

/* --- Menu --- */
.poker-menu {
  background-color: var(--color-cream);
  color: var(--color-graphite);
  padding-block: var(--space-3xl);
}

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

.poker-menu__title {
  color: var(--color-graphite);
  margin-block-end: 0;
  text-align: left;
}

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

.poker-menu__card {
  background-color: var(--color-white);
  border: var(--border-graphite);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poker-menu__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.poker-menu__card-title {
  color: var(--color-petrol);
  margin-block-end: 0;
}

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

/* --- Reservation --- */
.poker-reservation {
  background-color: var(--color-petrol);
  color: var(--color-cream);
  padding-block: var(--space-3xl);
}

.poker-reservation__container {
  display: flex;
  justify-content: center;
}

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

.poker-reservation__title {
  color: var(--color-cream);
  margin-block-end: 0;
}

.poker-reservation__copy p {
  margin-block-end: 0;
  color: var(--color-cream);
  opacity: 0.95;
}

.poker-reservation__link {
  color: var(--color-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.poker-reservation__link:hover {
  color: var(--color-brick-red);
}

.poker-reservation__cta {
  margin-block-start: var(--space-md);
}

/* --- Animations --- */
@keyframes pokerFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pokerFadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pokerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pokerCardFloat {
  0%,
  100% {
    transform: translateY(0) rotate(var(--card-rotation, 0deg));
  }
  50% {
    transform: translateY(-8px) rotate(var(--card-rotation, 0deg));
  }
}

.poker-rules__card--one {
  --card-rotation: -12deg;
}

.poker-rules__card--two {
  --card-rotation: 8deg;
}

.poker-rules__card--three {
  --card-rotation: 20deg;
}

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

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

  .poker-rules__card-illustration {
    height: 220px;
  }

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

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

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

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

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

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

  .poker-hero__cta {
    width: 100%;
  }

  .poker-hero__image {
    min-height: 300px;
    object-fit: cover;
  }

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

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

  .poker-atmosphere__background-number {
    right: var(--space-lg);
    font-size: clamp(4rem, 30vw, 8rem);
    opacity: 0.06;
  }

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

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

  .poker-rules__card-illustration {
    height: 180px;
  }

  .poker-rules__card {
    width: 70px;
    height: 100px;
    font-size: 1.5rem;
  }

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

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

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

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

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

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

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

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

  .poker-reservation__cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .poker-hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.2;
  }

  .poker-atmosphere__background-number {
    right: var(--space-md);
  }

  .poker-rules__card-illustration {
    height: 150px;
  }

  .poker-rules__card {
    width: 60px;
    height: 90px;
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__title,
  .poker-hero__lead,
  .poker-hero__subtitle,
  .poker-hero__cta,
  .poker-hero__media,
  .poker-atmosphere__background-number,
  .poker-rules__card {
    animation: none;
  }

  .poker-tables__image:hover {
    transform: none;
  }
}
