/* Poker Night page styles */

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

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

.poker-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(43, 43, 43, 0.92) 0%,
    rgba(43, 43, 43, 0.72) 45%,
    rgba(43, 43, 43, 0.35) 100%
  );
}

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

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

.poker-hero__overline {
  color: var(--color-forest);
  background-color: rgba(46, 74, 58, 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  margin-block-end: 0;
}

.poker-hero__title {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  font-weight: var(--weight-display);
  color: var(--color-ivory);
  margin-block-end: 0;
  max-width: 100%;
}

.poker-hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.9);
  max-width: 60ch;
  margin-block-end: 0;
}

.poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block-start: var(--space-2);
}

/* What to Expect */
.poker-expect__header {
  margin-block-end: var(--space-6);
  max-width: 800px;
}

.poker-expect__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-block-end: 0;
}

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

.poker-expect-card {
  background-color: var(--color-charcoal-700);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.poker-expect-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-forest);
  flex-shrink: 0;
}

.poker-expect-card__icon svg {
  width: 100%;
  height: 100%;
}

.poker-expect-card h3 {
  margin-block-end: 0;
}

.poker-expect-card p {
  margin-block-end: 0;
  color: var(--color-text-muted);
  max-width: 55ch;
}

/* The Format */
.poker-format__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.poker-format__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.poker-format__text p {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-format__list {
  list-style: disc;
  padding-inline-start: var(--space-4);
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.poker-format__list li {
  color: var(--color-text-muted);
}

.poker-format__schedule {
  background-color: var(--color-charcoal-700);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-format__schedule h3 {
  margin-block-end: 0;
}

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

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

.poker-format__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* House Rules */
.poker-rules {
  background-color: rgba(107, 31, 42, 0.08);
  border-block: 1px solid rgba(107, 31, 42, 0.2);
}

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

.poker-rules__content {
  max-width: 800px;
  width: 100%;
  border-inline-start: 4px solid var(--color-burgundy);
  padding-inline-start: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.poker-rules__content > p {
  max-width: 70ch;
  margin-block-end: 0;
}

.poker-rules__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-rules__list li {
  padding-inline-start: var(--space-4);
  position: relative;
  color: var(--color-text-muted);
}

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

.poker-rules__responsible {
  background-color: var(--color-charcoal-700);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-rules__responsible h3 {
  margin-block-end: 0;
}

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

/* Atmosphere */
.poker-atmosphere__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

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

.poker-atmosphere__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.poker-atmosphere__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.poker-atmosphere__text p {
  max-width: 65ch;
  margin-block-end: 0;
}

/* Schedule */
.poker-schedule__container {
  max-width: 600px;
}

.poker-schedule__lead {
  color: var(--color-text-muted);
  margin-block-end: var(--space-4);
}

.poker-schedule__table-wrap {
  overflow-x: auto;
  margin-block-end: var(--space-4);
}

.poker-schedule__table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: var(--text-body);
}

.poker-schedule__table th,
.poker-schedule__table td {
  padding: var(--space-3);
  text-align: left;
  border-block-end: 1px solid var(--color-border);
}

.poker-schedule__table thead th {
  background-color: var(--color-forest);
  color: var(--color-ivory);
  font-weight: 600;
}

.poker-schedule__table tbody tr:nth-child(odd) {
  background-color: var(--color-charcoal-900);
}

.poker-schedule__table tbody tr:nth-child(even) {
  background-color: var(--color-charcoal-700);
}

.poker-schedule__note {
  color: var(--color-text-muted);
  margin-block-end: 0;
}

/* How to Join */
.poker-join__container {
  max-width: 700px;
}

.poker-join__lead {
  color: var(--color-text-muted);
  max-width: 65ch;
  margin-block-end: var(--space-5);
}

.poker-join__phone {
  color: var(--color-forest);
  font-weight: 600;
  white-space: nowrap;
}

.poker-join__steps {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-join__steps li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  min-width: 0;
}

.poker-join__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-forest);
  color: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.poker-join__steps h3 {
  margin-block-end: var(--space-2);
}

.poker-join__steps p {
  margin-block-end: 0;
  color: var(--color-text-muted);
  max-width: 60ch;
}

.poker-join__bring {
  background-color: var(--color-charcoal-700);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-join__bring h3 {
  margin-block-end: 0;
}

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

/* Private Events */
.poker-private__container {
  display: flex;
  justify-content: center;
}

.poker-private__card {
  max-width: 600px;
  width: 100%;
  background-color: var(--color-charcoal-700);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

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

.poker-private__card p {
  max-width: 60ch;
  margin-block-end: 0;
  color: var(--color-text-muted);
}

/* Book CTA */
.poker-book {
  background-color: var(--color-forest);
}

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

.poker-book__content {
  max-width: 500px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.poker-book__overline {
  color: var(--color-ivory);
  opacity: 0.8;
}

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

.poker-book__content p {
  margin-block-end: 0;
  color: rgba(245, 240, 230, 0.9);
}

.poker-book__phone {
  color: var(--color-ivory);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.poker-book__phone:hover {
  color: rgba(245, 240, 230, 0.8);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .poker-hero__title {
    font-size: var(--text-h1);
    line-height: var(--leading-h1);
  }

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

  .poker-format__container,
  .poker-atmosphere__container {
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  .poker-hero {
    min-height: 70vh;
  }

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

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

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

  .poker-format__container,
  .poker-atmosphere__container {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .poker-format__media {
    order: 2;
  }

  .poker-format__text {
    order: 1;
  }

  .poker-atmosphere__media {
    order: 1;
  }

  .poker-atmosphere__text {
    order: 2;
  }

  .poker-rules__content {
    padding-inline-start: var(--space-4);
  }

  .poker-private__card {
    padding: var(--space-5);
  }
}

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

  .poker-hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .poker-hero__subtitle {
    font-size: 1rem;
  }

  .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .poker-expect-card {
    padding: var(--space-4);
  }

  .poker-format__schedule {
    padding: var(--space-4);
  }

  .poker-rules__content {
    border-inline-start: none;
    padding-inline-start: 0;
    border-block-start: 4px solid var(--color-burgundy);
    padding-block-start: var(--space-4);
  }

  .poker-schedule__table {
    min-width: 420px;
  }

  .poker-join__steps li {
    flex-direction: column;
    gap: var(--space-2);
  }

  .poker-private__card {
    padding: var(--space-4);
  }

  .poker-book__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

@media (max-width: 390px) {
  .poker-hero__title {
    font-size: 1.75rem;
  }

  .poker-schedule__table {
    min-width: 380px;
  }
}
