/* Pókerterem page styles */

#pokerterem-main {
  overflow: hidden;
}

/* Hero */
.pokerterem-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: var(--space-4xl) var(--container-padding-mobile);
}

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

.pokerterem-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pokerterem-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(17, 26, 43, 0.65);
}

.pokerterem-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.pokerterem-hero__content .overline {
  color: var(--color-copper);
}

.pokerterem-hero__content h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 800px;
  text-wrap: balance;
}

.pokerterem-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-white);
  max-width: 60ch;
  margin: 0;
  text-wrap: pretty;
}

.pokerterem-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pokerterem-hero__actions .btn {
  min-width: 200px;
}

/* Intro */
.pokerterem-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

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

.pokerterem-intro__content h2 {
  margin-top: 0;
}

.pokerterem-intro__content p {
  max-width: 75ch;
}

.pokerterem-intro__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.pokerterem-intro__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-intro__feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--color-copper);
  border-radius: var(--radius-circle);
  position: relative;
  margin-top: 2px;
}

.pokerterem-intro__feature-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--color-copper);
  border-radius: var(--radius-circle);
}

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

.pokerterem-intro__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: var(--border-default);
}

/* Tables */
.pokerterem-tables__header {
  max-width: 75ch;
  margin-bottom: var(--space-2xl);
}

.pokerterem-tables__header h2 {
  margin-top: 0;
}

.pokerterem-tables__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.pokerterem-table-card {
  background-color: var(--color-chalk);
  border: var(--border-default);
  border-radius: var(--radius-default);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
}

.pokerterem-table-card__icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--color-petrol);
  border-radius: var(--radius-circle);
  position: relative;
  flex-shrink: 0;
}

.pokerterem-table-card__icon::before,
.pokerterem-table-card__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-petrol);
}

.pokerterem-table-card__icon::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
}

.pokerterem-table-card__icon::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 20px;
}

.pokerterem-table-card h3 {
  margin: 0;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: 600;
  color: var(--color-charcoal);
}

.pokerterem-table-card p {
  margin: 0;
  max-width: 50ch;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

/* Cards */
.pokerterem-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pokerterem-cards__media {
  min-width: 0;
}

.pokerterem-cards__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border: var(--border-default);
}

.pokerterem-cards__content {
  min-width: 0;
}

.pokerterem-cards__content h2 {
  margin-top: 0;
}

.pokerterem-cards__content p {
  max-width: 75ch;
}

.pokerterem-cards__list {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pokerterem-cards__list li {
  position: relative;
  padding-left: var(--space-xl);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-cards__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-copper);
  font-weight: 600;
}

/* Benefits */
.pokerterem-benefits__header {
  max-width: 75ch;
  margin-bottom: var(--space-2xl);
}

.pokerterem-benefits__header h2 {
  margin-top: 0;
}

.pokerterem-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.pokerterem-benefit {
  background-color: rgba(255, 255, 255, 0.04);
  border: var(--border-dark-divider);
  border-radius: var(--radius-default);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.pokerterem-benefit__icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-copper);
  border-radius: var(--radius-circle);
  position: relative;
  flex-shrink: 0;
}

.pokerterem-benefit__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-copper);
  border-radius: var(--radius-circle);
}

.pokerterem-benefit h3 {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: 600;
}

.pokerterem-benefit p {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

/* Events */
.pokerterem-events__header {
  max-width: 75ch;
  margin-bottom: var(--space-2xl);
}

.pokerterem-events__header h2 {
  margin-top: 0;
}

.pokerterem-events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.pokerterem-event-card {
  background-color: var(--color-concrete);
  border: var(--border-default);
  border-radius: var(--radius-default);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.pokerterem-event-card__icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-petrol);
  border-radius: var(--radius-circle);
  position: relative;
  flex-shrink: 0;
}

.pokerterem-event-card__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-petrol);
  border-radius: 2px;
}

.pokerterem-event-card h3 {
  margin: 0;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: 600;
  color: var(--color-charcoal);
}

.pokerterem-event-card p {
  margin: 0;
  max-width: 50ch;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-event-card__link {
  margin-top: auto;
  color: var(--color-petrol);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.pokerterem-event-card__link:hover {
  color: var(--color-copper);
  text-decoration: underline;
}

/* Atmosphere */
.pokerterem-atmosphere__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pokerterem-atmosphere__content {
  min-width: 0;
}

.pokerterem-atmosphere__content h2 {
  margin-top: 0;
}

.pokerterem-atmosphere__content p {
  max-width: 75ch;
}

.pokerterem-atmosphere__list {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pokerterem-atmosphere__list li {
  position: relative;
  padding-left: var(--space-xl);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-atmosphere__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-copper);
  font-weight: 600;
}

.pokerterem-atmosphere__media {
  min-width: 0;
}

.pokerterem-atmosphere__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: var(--border-default);
}

/* Location */
.pokerterem-location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pokerterem-location__content {
  min-width: 0;
}

.pokerterem-location__content h2 {
  margin-top: 0;
}

.pokerterem-location__content p {
  max-width: 75ch;
}

.pokerterem-location__address {
  margin-top: var(--space-lg);
  font-style: normal;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-location__details {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pokerterem-location__details li {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-location__map {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: var(--border-default);
  min-width: 0;
}

.pokerterem-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Hours */
.pokerterem-hours__header {
  max-width: 75ch;
  margin-bottom: var(--space-2xl);
}

.pokerterem-hours__header h2 {
  margin-top: 0;
}

.pokerterem-hours__table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-xl);
}

.pokerterem-hours__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  min-width: 480px;
}

.pokerterem-hours__table th,
.pokerterem-hours__table td {
  padding: var(--space-md) var(--space-lg);
  text-align: start;
  border: var(--border-default);
  vertical-align: top;
}

.pokerterem-hours__table th {
  background-color: var(--color-concrete);
  font-size: var(--text-small-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-charcoal);
}

.pokerterem-hours__table tbody tr:nth-child(even) {
  background-color: var(--color-concrete);
}

.pokerterem-hours__table tbody tr:nth-child(odd) {
  background-color: var(--color-chalk);
}

.pokerterem-hours__actions {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.pokerterem-hours__actions .btn {
  min-width: 200px;
}

/* FAQ */
.pokerterem-faq__header {
  margin-bottom: var(--space-2xl);
}

.pokerterem-faq__header h2 {
  margin-top: 0;
}

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

.pokerterem-faq-item {
  border: 1px solid var(--color-petrol);
  border-radius: var(--radius-default);
  background-color: var(--color-chalk);
  overflow: hidden;
}

.pokerterem-faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-body-size);
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: left;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.pokerterem-faq-item__trigger:hover {
  background-color: var(--color-concrete);
}

.pokerterem-faq-item__trigger:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.pokerterem-faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-left: var(--space-md);
}

.pokerterem-faq-item__icon::before,
.pokerterem-faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-petrol);
  transition: transform var(--transition-fast);
}

.pokerterem-faq-item__icon::before {
  width: 16px;
  height: 2px;
}

.pokerterem-faq-item__icon::after {
  width: 2px;
  height: 16px;
}

.pokerterem-faq-item__trigger[aria-expanded="true"] .pokerterem-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pokerterem-faq-item__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--color-concrete-dark);
}

.pokerterem-faq-item__answer p {
  margin: 0;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  max-width: 75ch;
}

/* Legal */
.pokerterem-legal__header {
  margin-bottom: var(--space-xl);
}

.pokerterem-legal__header h2 {
  margin-top: 0;
}

.pokerterem-legal__header p {
  max-width: 75ch;
}

.pokerterem-legal__notice {
  background-color: var(--color-warning);
  color: var(--color-charcoal);
  padding: var(--space-xl);
  border: 1px solid var(--color-warning);
  border-radius: var(--radius-default);
}

.pokerterem-legal__notice p {
  margin: 0;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.pokerterem-legal__notice a {
  color: var(--color-charcoal);
  font-weight: 600;
  text-decoration: underline;
}

.pokerterem-legal__notice a:hover {
  color: var(--color-petrol);
}

/* CTA */
.pokerterem-cta__content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.pokerterem-cta__content .overline {
  color: var(--color-copper);
}

.pokerterem-cta__content h2 {
  color: var(--color-white);
  margin: 0;
}

.pokerterem-cta__content p {
  color: var(--color-white);
  max-width: 60ch;
  margin: 0;
}

.pokerterem-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pokerterem-cta__actions .btn {
  min-width: 200px;
}

/* Tablet */
@media (min-width: 768px) {
  .pokerterem-hero {
    padding: var(--space-5xl) var(--container-padding-tablet);
  }

  .pokerterem-intro__grid {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-3xl);
  }

  .pokerterem-intro__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }

  .pokerterem-intro__feature {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .pokerterem-tables__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }

  .pokerterem-cards__grid {
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
  }

  .pokerterem-benefits__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }

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

  .pokerterem-atmosphere__grid {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-3xl);
  }

  .pokerterem-location__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .pokerterem-hero {
    padding: var(--space-5xl) var(--container-padding-desktop);
  }

  .pokerterem-intro__grid {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-4xl);
  }

  .pokerterem-cards__grid {
    grid-template-columns: 2fr 3fr;
    gap: var(--space-4xl);
  }

  .pokerterem-atmosphere__grid {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-4xl);
  }

  .pokerterem-location__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .pokerterem-hero__actions,
  .pokerterem-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .pokerterem-hero__actions .btn,
  .pokerterem-cta__actions .btn,
  .pokerterem-hours__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .pokerterem-hours__actions {
    flex-direction: column;
    width: 100%;
  }

  .pokerterem-faq-item__trigger {
    min-height: 56px;
  }
}
