/* Page-owned styles for poker-offline */

.poker-offline-page {
  /* Page root scoping */
}

/* Hero section */
.poker-hero {
  position: relative;
  background-color: var(--color-warm-white);
  background-image: linear-gradient(135deg, rgba(244, 163, 0, 0.08) 25%, transparent 25%, transparent 50%, rgba(155, 142, 196, 0.08) 50%, rgba(155, 142, 196, 0.08) 75%, transparent 75%, transparent);
  background-size: 24px 24px;
  padding-block: var(--space-9);
  overflow: hidden;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 163, 0, 0.15), rgba(155, 142, 196, 0.15));
  pointer-events: none;
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  max-width: 600px;
  margin-inline: auto;
}

.poker-hero__badge {
  background-color: var(--color-lavender);
  color: var(--color-white);
}

.poker-hero h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-block-end: 0;
  color: var(--color-ink);
}

.poker-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  max-width: 65ch;
  margin-block-end: 0;
  color: var(--color-ink);
}

.poker-hero__facts {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left;
  width: 100%;
  max-width: 65ch;
}

.poker-hero__facts li {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-ink);
  padding-inline-start: var(--space-5);
  position: relative;
}

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

.poker-hero__cta {
  margin-block-start: var(--space-2);
}

/* Concept section */
.poker-concept {
  background-color: var(--color-warm-white);
}

.poker-concept__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-7);
  align-items: start;
}

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

.poker-concept__text h2 {
  margin-block-end: var(--space-4);
}

.poker-concept__text p {
  max-width: 70ch;
  margin-block-end: var(--space-4);
}

.poker-concept__text .content-list {
  margin-block-end: 0;
}

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

.poker-concept__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  border: 1px solid var(--color-lavender);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Poker Room section */
.poker-room {
  background-color: rgba(155, 142, 196, 0.08);
}

.poker-room__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-7);
  align-items: start;
}

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

.poker-room__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  border: 2px solid var(--color-saffron);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.poker-room__text h2 {
  margin-block-end: var(--space-4);
}

.poker-room__text p {
  max-width: 70ch;
  margin-block-end: var(--space-4);
}

.poker-room__text .content-list {
  margin-block-end: 0;
}

/* Formats section */
.poker-formats {
  background-color: var(--color-warm-white);
}

.poker-formats h2 {
  margin-block-end: var(--space-5);
}

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

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

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

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

.poker-format-card .content-list {
  margin-block-end: 0;
}

/* Timeline section */
.poker-timeline {
  background-color: var(--color-deep-olive);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.poker-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 12px);
  pointer-events: none;
}

.poker-timeline__container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
}

.poker-timeline h2 {
  color: var(--color-white);
  margin-block-end: var(--space-4);
}

.poker-timeline__intro {
  color: var(--color-white);
  max-width: 70ch;
  margin-block-end: var(--space-6);
}

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

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

.poker-timeline__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-saffron);
  color: var(--color-ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-body);
}

.poker-timeline__step-content {
  min-width: 0;
}

.poker-timeline__step-content h3 {
  color: var(--color-white);
  margin-block-end: var(--space-2);
}

.poker-timeline__step-content p {
  color: var(--color-white);
  margin-block-end: 0;
  max-width: 70ch;
}

/* Events section */
.poker-events {
  background-color: var(--color-warm-white);
}

.poker-events h2 {
  margin-block-end: var(--space-4);
}

.poker-events__intro {
  max-width: 70ch;
  margin-block-end: var(--space-6);
}

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

.poker-event-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
  transition: transform var(--transition-transform), box-shadow var(--transition-shadow);
}

.poker-event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.poker-event-card .badge {
  margin-block-end: var(--space-1);
}

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

.poker-event-card p {
  margin-block-end: 0;
  max-width: 50ch;
}

.poker-event-card .btn {
  margin-block-start: auto;
}

/* Etiquette section */
.poker-etiquette {
  background-color: rgba(107, 142, 35, 0.06);
}

.poker-etiquette__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: var(--space-7);
  align-items: start;
}

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

.poker-etiquette__text h2 {
  margin-block-end: var(--space-4);
}

.poker-etiquette__text p {
  max-width: 70ch;
  margin-block-end: var(--space-4);
}

.poker-etiquette__text .content-list {
  margin-block-end: 0;
}

.poker-etiquette__quote {
  margin-block-end: 0;
  padding: var(--space-5);
  background-color: var(--color-warm-white);
  border-radius: var(--radius-medium);
  border-inline-start: 4px solid var(--color-saffron);
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.poker-etiquette__quote p {
  font-style: italic;
  margin-block-end: var(--space-2);
  color: var(--color-ink);
}

.poker-etiquette__quote cite {
  font-style: normal;
  font-size: var(--text-caption);
  color: var(--color-ink);
  opacity: 0.75;
}

/* Benefits section */
.poker-benefits {
  background-color: rgba(244, 163, 0, 0.06);
}

.poker-benefits h2 {
  margin-block-end: var(--space-4);
}

.poker-benefits__intro {
  max-width: 70ch;
  margin-block-end: var(--space-6);
}

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

.poker-benefit-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

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

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

/* CTA section */
.poker-cta {
  background-color: var(--color-deep-olive);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.poker-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 12px);
  pointer-events: none;
}

.poker-cta__container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
}

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

.poker-cta__text {
  color: var(--color-white);
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-cta__facts {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left;
  width: 100%;
  max-width: 65ch;
}

.poker-cta__facts li {
  color: var(--color-white);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  padding-inline-start: var(--space-5);
  position: relative;
}

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

.poker-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-block-start: var(--space-2);
}

.poker-cta__phone {
  color: var(--color-white);
  margin-block-end: 0;
  font-size: var(--text-caption);
}

.poker-cta__phone a {
  color: var(--color-saffron);
}

.poker-cta__phone a:hover {
  color: var(--color-lavender);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .poker-concept__grid,
  .poker-room__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-concept__media img,
  .poker-room__media img {
    aspect-ratio: 16 / 9;
  }

  .poker-formats__grid {
    grid-template-columns: 1fr;
  }

  .poker-events__grid {
    grid-template-columns: 1fr;
  }

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

  .poker-benefits__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .poker-hero {
    padding-block: var(--space-8);
  }

  .poker-hero h1 {
    font-size: 2rem;
  }

  .poker-hero__lead {
    font-size: var(--text-body);
  }

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

  .poker-hero__cta {
    width: 100%;
  }

  .poker-concept__grid,
  .poker-room__grid {
    gap: var(--space-5);
  }

  .poker-concept__media img,
  .poker-room__media img {
    aspect-ratio: 4 / 3;
  }

  .poker-timeline__step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .poker-timeline__step-number {
    width: 32px;
    height: 32px;
    font-size: var(--text-caption);
  }

  .poker-cta__actions {
    flex-direction: column;
    width: 100%;
  }

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

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

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

  .poker-event-card:hover {
    transform: none;
  }
}
