/* Noite de Poker page styles */

.poker-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--color-deep-slate);
  overflow: hidden;
}

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

.poker-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(44, 62, 74, 0.7);
}

.poker-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

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

.poker-hero__badge {
  align-self: flex-start;
}

.poker-hero h1 {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
}

.poker-hero__subtitle {
  color: var(--color-text-on-dark);
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  margin-block-end: 0;
}

.poker-hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
  width: 100%;
}

.poker-hero__note {
  color: var(--color-text-on-dark);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  margin-block-end: 0;
  opacity: 0.85;
}

.poker-intro__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

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

.poker-intro__lead {
  max-width: 700px;
  margin-block-end: 0;
}

.poker-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

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

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

.poker-intro__card .content-list {
  margin-block-start: 0;
}

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

.poker-details__heading .divider-saffron {
  margin-inline: auto;
}

.poker-details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.poker-details__card {
  min-width: 0;
  text-align: center;
}

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

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

.poker-details__card .content-list {
  text-align: left;
  margin-block-start: 0;
}

.poker-steps__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

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

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

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

.poker-steps__list li {
  counter-increment: poker-step;
  position: relative;
  padding-inline-start: var(--space-xl);
  min-height: 32px;
  display: flex;
  align-items: center;
}

.poker-steps__list li::before {
  content: counter(poker-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-atlantic-blue);
  color: var(--color-text-on-dark);
  font-size: var(--text-small-size);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poker-steps__notice {
  margin-block-end: 0;
}

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

.poker-gallery__heading .divider-saffron {
  margin-inline: auto;
}

.poker-gallery__intro {
  max-width: 800px;
  margin-inline: auto;
  margin-block-start: var(--space-xs);
  margin-block-end: 0;
}

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

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

.poker-gallery__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-light);
  aspect-ratio: 4 / 3;
  background-color: var(--color-warm-ivory);
}

.poker-gallery__item:nth-child(2) .poker-gallery__image {
  aspect-ratio: 1 / 1;
}

.poker-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}

.poker-gallery__item:hover .poker-gallery__image img {
  transform: scale(1.03);
}

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

.poker-faq__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

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

.poker-faq__item {
  background-color: var(--color-warm-ivory);
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  font-size: var(--text-body-size);
  font-weight: 600;
  color: var(--color-warm-walnut);
  text-align: left;
  min-height: 44px;
  transition: background-color var(--transition-fast);
}

.poker-faq__question:hover {
  background-color: rgba(26, 75, 107, 0.04);
}

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

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

.poker-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.poker-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.poker-faq__item.is-open .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

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

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

.poker-legal__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

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

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

.poker-legal__notice {
  margin-block-end: 0;
}

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

.poker-cta__inner h2 {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
}

.poker-cta__inner p {
  color: var(--color-text-on-dark);
  margin-block-end: 0;
}

.poker-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  align-items: center;
}

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

@media (min-width: 640px) {
  .poker-hero {
    min-height: 560px;
  }

  .poker-hero__actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

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

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

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

  .poker-cta__actions {
    flex-direction: row;
    justify-content: center;
  }

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

@media (min-width: 1024px) {
  .poker-hero {
    min-height: 620px;
  }

  .poker-hero__content {
    max-width: 600px;
  }

  .poker-intro__inner,
  .poker-steps__inner,
  .poker-faq__inner,
  .poker-legal__inner {
    max-width: 800px;
  }
}

@media (max-width: 639px) {
  .poker-hero {
    min-height: 480px;
  }

  .poker-hero__content {
    text-align: center;
    align-items: center;
  }

  .poker-hero__badge {
    align-self: center;
  }

  .poker-hero__actions {
    align-items: center;
  }

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

  .poker-hero__note {
    text-align: center;
  }

  .poker-details__heading,
  .poker-gallery__heading {
    text-align: left;
  }

  .poker-details__heading .divider-saffron,
  .poker-gallery__heading .divider-saffron {
    margin-inline: 0;
  }

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

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