/* Poker Lounge page styles */

.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-walnut);
  overflow: hidden;
}

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

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

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.poker-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.poker-hero__content {
  max-width: 600px;
  width: 65%;
  text-align: left;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.poker-hero__content h1 {
  color: var(--color-white);
  font-size: clamp(28px, 4.5vw, var(--text-h1));
  line-height: var(--leading-h1);
  margin: 0;
}

.poker-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

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

.poker-hero__points li {
  position: relative;
  padding-left: var(--space-lg);
  color: rgba(255, 255, 255, 0.85);
}

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

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

/* Atmosphere section */
.poker-atmosphere__grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: var(--space-xl);
  align-items: center;
}

.poker-atmosphere__text {
  min-width: 0;
  text-align: left;
}

.poker-atmosphere__text h2 {
  margin-top: var(--space-sm);
}

.poker-atmosphere__text p + p {
  margin-top: var(--space-md);
}

.poker-atmosphere__text .content-list {
  margin-top: var(--space-lg);
}

.poker-atmosphere__media {
  min-width: 0;
  aspect-ratio: 4 / 3;
}

.poker-atmosphere__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Games section */
.poker-games {
  background-color: var(--color-cream);
}

.poker-games__intro {
  max-width: 800px;
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.poker-games__intro h2 {
  margin-top: var(--space-sm);
}

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

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

.poker-games__icon {
  font-size: 36px;
  color: var(--color-emerald);
  line-height: 1;
}

.poker-games__card h3 {
  margin: 0;
}

.poker-games__card p {
  margin: 0;
}

.poker-games__card .content-list {
  margin: 0;
}

/* Tables section */
.poker-tables__grid {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: var(--space-xl);
  align-items: center;
}

.poker-tables__media {
  min-width: 0;
  aspect-ratio: 1 / 1;
}

.poker-tables__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poker-tables__text {
  min-width: 0;
  text-align: left;
}

.poker-tables__text h2 {
  margin-top: var(--space-sm);
}

.poker-tables__text .content-list {
  margin-top: var(--space-lg);
}

.poker-tables__text .text-small {
  margin-top: var(--space-lg);
  color: rgba(255, 255, 255, 0.7);
}

/* Rules section */
.poker-rules {
  background-color: var(--color-cream);
}

.poker-rules__intro {
  max-width: 800px;
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.poker-rules__intro h2 {
  margin-top: var(--space-sm);
}

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

.poker-rules__item {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  background-color: var(--surface-card);
  border: var(--border-thin) solid var(--border-color-walnut);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.poker-rules__icon {
  font-size: 40px;
  line-height: 1;
  color: var(--color-emerald);
}

.poker-rules__item h3 {
  margin: 0;
}

.poker-rules__item p {
  margin: 0;
  color: var(--color-walnut-light);
}

/* Poker nights section */
.poker-nights__container {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-nights__content {
  text-align: left;
}

.poker-nights__content h2 {
  margin-top: var(--space-sm);
}

.poker-nights__content p + p {
  margin-top: var(--space-md);
}

.poker-nights__schedule {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.poker-nights__table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.poker-nights__table th,
.poker-nights__table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.poker-nights__table th {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.poker-nights__table tr:last-child td {
  border-bottom: none;
}

.poker-nights__schedule .text-small {
  color: rgba(255, 255, 255, 0.7);
}

/* Top 10 section */
.poker-top10__intro {
  max-width: 800px;
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.poker-top10__intro h2 {
  margin-top: var(--space-sm);
}

.poker-top10__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg) var(--space-xl);
}

.poker-top10__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  min-width: 0;
  text-align: left;
}

.poker-top10__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-burgundy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  font-size: var(--text-small);
  border-radius: var(--radius-sm);
}

.poker-top10__text {
  min-width: 0;
  color: var(--color-walnut);
}

/* Booking section */
.poker-booking__container {
  max-width: 600px;
  margin-inline: auto;
}

.poker-booking__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
  text-align: left;
}

.poker-booking__content h2 {
  margin: 0;
}

.poker-booking__content p {
  margin: 0;
}

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

.poker-booking__contacts li {
  padding-left: 0;
}

.poker-booking__contacts li::before {
  display: none;
}

.poker-booking__contacts a {
  color: #C7DFD3;
}

.poker-booking__contacts a:hover {
  color: #E2F0E9;
}

/* FAQ section */
.poker-faq {
  background-color: var(--color-cream);
}

.poker-faq__container {
  max-width: 800px;
  margin-inline: auto;
}

.poker-faq__intro {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.poker-faq__intro h2 {
  margin-top: var(--space-sm);
}

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

.poker-faq__item {
  border: var(--border-thin) solid var(--border-color-walnut);
  border-radius: var(--radius-md);
  background-color: var(--surface-card);
  overflow: hidden;
}

.poker-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-heading-alt);
  color: var(--color-walnut);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.poker-faq__question:hover {
  color: var(--color-emerald);
}

.poker-faq__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-fast);
}

.poker-faq__icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.poker-faq__icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.poker-faq__item.is-active .poker-faq__icon::after {
  transform: scaleY(0);
}

.poker-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.poker-faq__answer p {
  margin: 0;
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-walnut-light);
}

/* CTA section */
.poker-cta__container {
  max-width: 600px;
  margin-inline: auto;
}

.poker-cta__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}

.poker-cta__content h2 {
  margin: 0;
}

.poker-cta__content p {
  margin: 0;
  max-width: 520px;
}

.poker-cta__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.poker-cta__contacts li {
  padding-left: 0;
}

.poker-cta__contacts li::before {
  display: none;
}

.poker-cta__contacts a {
  color: #A8C9B8;
}

.poker-cta__contacts a:hover {
  color: #C7DFD3;
}

/* Tablet */
@media (max-width: 900px) {
  .poker-hero__content {
    width: 80%;
  }

  .poker-atmosphere__grid,
  .poker-tables__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-atmosphere__media {
    order: 2;
  }

  .poker-atmosphere__text {
    order: 1;
  }

  .poker-tables__media {
    order: 1;
  }

  .poker-tables__text {
    order: 2;
  }

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

  .poker-games__card:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .poker-hero {
    min-height: 60vh;
  }

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

  .poker-hero__points {
    align-items: flex-start;
    text-align: left;
  }

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

  .poker-games__grid,
  .poker-rules__grid,
  .poker-top10__list {
    grid-template-columns: 1fr;
  }

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

  .poker-nights__table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .poker-booking__content,
  .poker-cta__content {
    align-items: stretch;
    text-align: left;
  }

  .poker-booking .btn,
  .poker-cta .btn {
    width: 100%;
  }

  .poker-cta__contacts {
    align-items: flex-start;
  }

  .poker-faq__question {
    font-size: 18px;
    padding: var(--space-md);
  }

  .poker-faq__answer p {
    padding: 0 var(--space-md) var(--space-md);
  }
}

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