/* Page-owned styles for Poker page */

.poker-hero {
  background-color: var(--color-smara-dark);
  padding-block: var(--space-3xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.poker-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 43, 38, 0.1) 0%, rgba(11, 43, 38, 0.6) 70%, var(--color-smara-dark) 100%);
  pointer-events: none;
}

.poker-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.poker-hero__content {
  min-width: 0;
  animation: pokerHeroFadeIn 800ms ease-out both;
}

.poker-hero__eyebrow {
  margin-block-end: var(--space-sm);
}

.poker-hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-display);
  margin-block-end: var(--space-md);
  max-width: 14ch;
}

.poker-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body);
  color: var(--color-cream-muted);
  margin-block-end: var(--space-md);
  max-width: 52ch;
}

.poker-hero__points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  gap: var(--space-xs);
  max-width: 52ch;
}

.poker-hero__points li {
  position: relative;
  padding-inline-start: var(--space-md);
  color: var(--color-cream);
}

.poker-hero__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
}

.poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

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

.poker-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: var(--border-gold);
}

@keyframes pokerHeroFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.poker-intro {
  background-color: var(--color-smara-dark);
}

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

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

.poker-intro__content .text-caption {
  margin-block-end: var(--space-sm);
}

.poker-intro__content h2 {
  margin-block-end: var(--space-md);
}

.poker-intro__content p {
  max-width: 58ch;
}

.poker-intro__content .content-list {
  max-width: 58ch;
}

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

.poker-intro__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: var(--border-gold);
}

.poker-formats {
  background-color: var(--color-smara-deep);
}

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

.poker-formats__header .text-caption {
  margin-block-end: var(--space-sm);
}

.poker-formats__header h2 {
  margin-block-end: var(--space-sm);
}

.poker-formats__intro {
  max-width: 60ch;
  color: var(--color-cream-muted);
}

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

.poker-format-card {
  background-color: var(--color-smara-dark);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.poker-format-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 161, 91, 0.6);
}

.poker-format-card__icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: var(--border-gold);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.poker-format-card p {
  margin: 0;
  color: var(--color-cream-muted);
}

.poker-format-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2xs);
}

.poker-format-card__list li {
  position: relative;
  padding-inline-start: var(--space-md);
  color: var(--color-cream);
}

.poker-format-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold-soft);
}

.poker-rules {
  background-color: var(--color-cream);
  color: var(--color-black);
}

.poker-rules__header {
  margin-block-end: var(--space-xl);
}

.poker-rules__header .text-caption {
  margin-block-end: var(--space-sm);
}

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

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

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

.poker-rules__block h3 {
  color: var(--color-black);
  margin-block-end: var(--space-sm);
}

.poker-rules__block p {
  color: var(--color-black);
  max-width: 58ch;
}

.poker-rules__block .content-list {
  color: var(--color-black);
  max-width: 58ch;
}

.poker-rules__block .content-list li {
  color: var(--color-black);
}

.poker-booking {
  background-color: var(--color-vine-dark);
}

.poker-booking__header {
  margin-block-end: var(--space-xl);
}

.poker-booking__header .text-caption {
  margin-block-end: var(--space-sm);
}

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

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

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

.poker-booking__block h3 {
  margin-block-end: var(--space-sm);
}

.poker-booking__block p {
  color: var(--color-cream-muted);
  max-width: 58ch;
}

.poker-booking__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2xs);
  max-width: 58ch;
}

.poker-booking__list li {
  color: var(--color-cream);
}

.poker-gallery {
  background-color: var(--color-smara-dark);
}

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

.poker-gallery__header .text-caption {
  margin-block-end: var(--space-sm);
}

.poker-gallery__header h2 {
  margin-block-end: var(--space-sm);
}

.poker-gallery__intro {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--color-cream-muted);
}

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

.poker-gallery__item {
  margin: 0;
  min-width: 0;
}

.poker-gallery__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: var(--border-gold);
  transition: border-color var(--transition-fast);
}

.poker-gallery__link:hover {
  border-color: rgba(198, 161, 91, 0.6);
}

.poker-gallery__link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}

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

.poker-gallery__item--wide .poker-gallery__link img {
  aspect-ratio: 3 / 2;
}

.poker-gallery__item figcaption {
  margin-block-start: var(--space-2xs);
  text-align: center;
}

.poker-faq {
  background-color: var(--color-smara-deep);
}

.poker-faq__inner {
  max-width: 820px;
}

.poker-faq__header {
  margin-block-end: var(--space-xl);
}

.poker-faq__header .text-caption {
  margin-block-end: var(--space-sm);
}

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

.poker-faq__list {
  display: grid;
  gap: var(--space-sm);
}

.poker-faq__item {
  background-color: var(--color-smara-dark);
  border: var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color var(--transition-fast);
}

.poker-faq__item[open] {
  border-color: rgba(198, 161, 91, 0.6);
}

.poker-faq__item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  font-weight: var(--weight-medium);
  color: var(--color-cream);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.poker-faq__item summary::-webkit-details-marker {
  display: none;
}

.poker-faq__item summary::after {
  content: '+';
  font-size: var(--text-h3);
  font-weight: var(--weight-light);
  color: var(--color-gold);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.poker-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.poker-faq__answer {
  margin-block-start: var(--space-sm);
}

.poker-faq__answer p {
  margin: 0;
  color: var(--color-cream-muted);
  max-width: 62ch;
}

.poker-cta {
  background-color: var(--color-vine-dark);
  text-align: center;
}

.poker-cta__inner {
  max-width: 720px;
  margin-inline: auto;
}

.poker-cta__inner .text-caption {
  margin-block-end: var(--space-sm);
}

.poker-cta__inner h2 {
  margin-block-end: var(--space-sm);
}

.poker-cta__text {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--color-cream-muted);
  margin-block-end: var(--space-md);
}

.poker-cta__contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
}

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

@media (min-width: 600px) {
  .poker-formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .poker-gallery__item--wide {
    grid-column: span 2 / span 2;
  }

  .poker-gallery__item--wide .poker-gallery__link img {
    aspect-ratio: 3 / 2;
  }
}

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

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

  .poker-hero__content {
    order: 1;
  }

  .poker-hero__media {
    order: 2;
  }

  .poker-intro__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-2xl);
  }

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

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

@media (min-width: 1024px) {
  .poker-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .poker-hero__title {
    font-size: var(--text-display);
  }

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

  .poker-gallery__grid {
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: var(--space-lg);
  }

  .poker-gallery__item--wide {
    grid-column: span 1 / span 1;
  }

  .poker-gallery__item--wide .poker-gallery__link img {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 599px) {
  .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

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

  .poker-cta__contacts {
    flex-direction: column;
    align-items: center;
  }
}

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