/* POKERWAVEBONDI — Offline Poker page styles */

#offline-poker-page {
  overflow-x: hidden;
}

/* Shared flow-line treatment for page sections */
.op-flow-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--aluminium);
  border: none;
  margin-block-end: var(--space-lg);
  transition: background-color 0.2s ease;
}

.surface-dark .op-flow-line {
  background-color: rgba(247, 245, 241, 0.25);
}

.op-flow-line--cobalt {
  background-color: var(--cobalt);
}

.surface-dark .op-flow-line--cobalt {
  background-color: var(--cobalt);
}

.op-flow-line--vertical {
  width: 1px;
  min-height: 2.5rem;
  height: auto;
  align-self: stretch;
  margin-block-end: 0;
  margin-inline-end: var(--space-lg);
}

/* Hero */
.op-hero {
  position: relative;
  padding-block-start: var(--space-4xl);
  padding-block-end: var(--space-4xl);
}

.op-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: center;
}

.op-hero__content {
  min-width: 0;
}

.op-hero__overline {
  color: var(--aluminium);
  margin-block-end: var(--space-md);
}

.op-hero__title {
  color: var(--off-white);
  max-width: 10ch;
  margin-block-end: var(--space-lg);
}

.op-hero__deck {
  color: var(--off-white);
  max-width: 36rem;
  margin-block-end: var(--space-lg);
}

.op-hero__facts {
  color: var(--off-white);
  margin-block-end: var(--space-xl);
}

.op-hero__facts li {
  margin-block-end: var(--space-xs);
}

.op-hero__facts li::before {
  background-color: var(--cobalt);
}

.op-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-block-end: var(--space-lg);
}

.op-hero__actions .btn {
  flex-shrink: 0;
}

.op-hero__note {
  color: var(--aluminium);
  margin-block-end: 0;
}

.op-hero__flow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.op-hero__flow-line {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: 1px;
  background-color: rgba(247, 245, 241, 0.25);
  position: relative;
}

.op-hero__flow-line::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: -1px;
  width: 3rem;
  height: 3px;
  background-color: var(--cobalt);
}

/* Offline Poker Experience */
.op-experience {
  padding-block: var(--section-rhythm-mobile);
}

.op-experience__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.op-experience__intro {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.op-experience__title {
  margin-block-end: var(--space-md);
}

.op-experience__lead {
  margin-block-end: 0;
  max-width: 44rem;
  margin-inline: auto;
}

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

.op-feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.op-feature-card__title {
  margin-block-end: 0;
}

.op-feature-card__text {
  margin-block-end: 0;
  max-width: 20rem;
}

/* Why Choose Real Poker */
.op-why-real {
  padding-block: var(--section-rhythm-mobile);
}

.op-why-real__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.op-why-real__heading {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.op-why-real__title {
  color: var(--off-white);
  margin-block-end: var(--space-md);
}

.op-why-real__lead {
  color: var(--off-white);
  margin-block-end: 0;
  max-width: 44rem;
  margin-inline: auto;
}

.op-why-real__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.op-value-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
}

.op-value-card--wide {
  grid-column: 1 / -1;
}

.op-value-card__overline {
  color: var(--cobalt);
  margin-block-end: 0;
}

.op-value-card__title {
  margin-block-end: 0;
}

.op-value-card__text {
  margin-block-end: 0;
  max-width: 30rem;
}

/* Real Poker Tables */
.op-tables {
  padding-block: var(--section-rhythm-mobile);
}

.op-tables__container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-lg);
  align-items: start;
}

.op-tables__text {
  min-width: 0;
}

.op-tables__title {
  margin-block-end: var(--space-md);
}

.op-tables__lead {
  max-width: 34rem;
  margin-block-end: var(--space-lg);
}

.op-tables__features {
  margin-block-end: 0;
}

.op-tables__figure {
  margin-block-end: 0;
  min-width: 0;
}

.op-tables__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(0.88);
}

.op-tables__figure figcaption {
  margin-block-start: var(--space-xs);
}

/* Real Cards and Real Players */
.op-cards-players {
  padding-block: var(--section-rhythm-mobile);
}

.op-cards-players__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.op-cards-players__heading {
  max-width: 48rem;
}

.op-cards-players__title {
  color: var(--off-white);
  margin-block-end: 0;
}

.op-cards-players__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}

.op-cards-players__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.op-cards-players__subtitle {
  color: var(--off-white);
  margin-block-end: 0;
}

.op-cards-players__text {
  color: var(--off-white);
  margin-block-end: 0;
  max-width: 30rem;
}

.op-cards-players__column img {
  width: 100%;
  height: auto;
  margin-block-start: var(--space-sm);
  filter: brightness(0.88);
}

.op-cards-players__column:first-child img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.op-cards-players__column:last-child img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Physical Poker Room */
.op-room {
  padding-block: var(--section-rhythm-mobile);
}

.op-room__container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
}

.op-room__content {
  max-width: 50rem;
  text-align: center;
  min-width: 0;
}

.op-room__title {
  margin-block-end: var(--space-md);
}

.op-room__lead {
  margin-block-end: var(--space-lg);
  max-width: 44rem;
  margin-inline: auto;
}

.op-room__features {
  text-align: start;
  max-width: 30rem;
  margin-inline: auto;
  margin-block-end: 0;
}

/* Poker at POKERWAVEBONDI */
.op-offerings {
  padding-block: var(--section-rhythm-mobile);
}

.op-offerings__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.op-offerings__heading {
  max-width: 48rem;
}

.op-offerings__title {
  color: var(--off-white);
  margin-block-end: var(--space-md);
}

.op-offerings__lead {
  color: var(--off-white);
  margin-block-end: 0;
  max-width: 44rem;
}

.op-offerings__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.op-offering-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.op-offering-card__title {
  margin-block-end: 0;
}

.op-offering-card__text {
  margin-block-end: 0;
  max-width: 16rem;
}

/* Poker Events and Private Poker */
.op-events-private {
  padding-block: var(--section-rhythm-mobile);
}

.op-events-private__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.op-events-private__heading {
  max-width: 48rem;
}

.op-events-private__title {
  margin-block-end: 0;
}

.op-events-private__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}

.op-events-private__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.op-events-private__subtitle {
  margin-block-end: 0;
}

.op-events-private__text {
  margin-block-end: 0;
  max-width: 34rem;
}

/* 21+ Venue Policy */
.op-policy {
  padding-block: var(--section-rhythm-mobile);
}

.op-policy__container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
}

.op-policy__content {
  max-width: 44rem;
  min-width: 0;
}

.op-policy__title {
  color: var(--off-white);
  margin-block-end: var(--space-md);
}

.op-policy__lead {
  color: var(--off-white);
  margin-block-end: var(--space-lg);
  max-width: 40rem;
}

.op-policy__note {
  border: var(--border-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  background-color: rgba(247, 245, 241, 0.04);
}

.op-policy__note-text {
  color: var(--off-white);
  margin-block-end: 0;
  max-width: 36rem;
}

/* Reserve Your Poker Table */
.op-reserve {
  padding-block: var(--section-rhythm-mobile);
}

.op-reserve__container {
  display: flex;
  justify-content: center;
}

.op-reserve__content {
  max-width: 38rem;
  text-align: center;
  min-width: 0;
}

.op-reserve__title {
  margin-block-end: var(--space-md);
}

.op-reserve__lead {
  margin-block-end: var(--space-lg);
  max-width: 34rem;
  margin-inline: auto;
}

.op-reserve__details {
  text-align: start;
  max-width: 26rem;
  margin-inline: auto;
  margin-block-end: var(--space-xl);
}

.op-reserve__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-block-end: var(--space-lg);
}

.op-reserve__actions .btn {
  flex-shrink: 0;
}

.op-reserve__contact {
  margin-block-end: 0;
}

/* Tablet */
@media (min-width: 48rem) and (max-width: 63.9375rem) {
  .op-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .op-hero__flow {
    justify-content: flex-start;
  }

  .op-hero__flow-line {
    max-width: 100%;
  }

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

  .op-tables__container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .op-offering-card__text {
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 47.9375rem) {
  .op-flow-line--vertical {
    display: none;
  }

  .op-hero {
    padding-block-start: var(--space-3xl);
    padding-block-end: var(--space-3xl);
  }

  .op-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .op-hero__title {
    max-width: 100%;
  }

  .op-hero__deck {
    max-width: 100%;
  }

  .op-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .op-hero__flow {
    justify-content: flex-start;
  }

  .op-hero__flow-line {
    max-width: 100%;
  }

  .op-experience__grid {
    grid-template-columns: 1fr;
  }

  .op-feature-card__text {
    max-width: none;
  }

  .op-why-real__grid {
    grid-template-columns: 1fr;
  }

  .op-value-card--wide {
    grid-column: auto;
  }

  .op-value-card__text {
    max-width: none;
  }

  .op-tables__container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .op-tables__lead {
    max-width: 100%;
  }

  .op-cards-players__grid {
    grid-template-columns: 1fr;
  }

  .op-cards-players__text {
    max-width: none;
  }

  .op-room__container,
  .op-policy__container {
    flex-direction: column;
    align-items: stretch;
  }

  .op-room__content,
  .op-policy__content {
    max-width: 100%;
    text-align: start;
  }

  .op-room__lead,
  .op-room__features,
  .op-policy__lead {
    max-width: 100%;
    margin-inline: 0;
  }

  .op-offerings__grid {
    grid-template-columns: 1fr;
  }

  .op-offering-card__text {
    max-width: none;
  }

  .op-events-private__grid {
    grid-template-columns: 1fr;
  }

  .op-events-private__text {
    max-width: none;
  }

  .op-reserve__content {
    text-align: start;
  }

  .op-reserve__lead,
  .op-reserve__details {
    max-width: 100%;
    margin-inline: 0;
  }

  .op-reserve__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .op-reserve__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-flow-line,
  .op-hero__flow-line::after {
    transition: none;
  }
}
