/* Offline Poker page styles — scoped to .offline-poker-page */

.offline-poker-page {
  --op-section-gap: var(--space-xl);
  --op-card-gap: var(--space-md);
  --op-text-measure-narrow: 65ch;
  --op-text-measure-comfortable: 75ch;
  --op-text-measure-wide: 85ch;
  --op-text-measure-card: 40ch;
  --op-text-measure-cta: 55ch;
  --op-hero-overlay: linear-gradient(180deg, rgba(42, 27, 36, 0.82) 0%, rgba(42, 27, 36, 0.55) 45%, rgba(27, 58, 59, 0.65) 100%);
}

/* Hero */
.op-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/offline-poker-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-block: var(--space-xxl);
}

.op-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--op-hero-overlay);
  z-index: 1;
}

.op-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding, var(--space-md));
}

.op-hero__content {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

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

.op-hero__title {
  font-size: var(--text-display);
  color: var(--color-champagne-warm);
  max-width: 18ch;
  margin-block-end: 0;
}

.op-hero__subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  color: var(--color-champagne-soft);
  max-width: 22ch;
  margin-block-end: 0;
}

.op-hero__cta {
  margin-block-start: var(--space-sm);
}

/* Real Deal */
.op-real-deal {
  background-color: var(--color-plum-deep);
}

.op-real-deal__container {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--container-padding, var(--space-md));
}

.op-real-deal__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.op-real-deal__text h2 {
  margin-block-end: 0;
}

.op-real-deal__text p {
  max-width: var(--op-text-measure-comfortable);
  margin-block-end: 0;
}

.op-real-deal__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.op-real-deal__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: var(--op-text-measure-wide);
}

.op-real-deal__icon {
  color: var(--color-rose-dusty);
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Atmosphere */
.op-atmosphere {
  background-color: var(--color-plum-deep);
}

.op-atmosphere__container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--op-section-gap);
  align-items: center;
}

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

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

.op-atmosphere__text p {
  max-width: var(--op-text-measure-narrow);
  margin-block-end: 0;
}

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

.op-atmosphere__highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: var(--op-text-measure-card);
}

.op-atmosphere__icon {
  color: var(--color-rose-dusty);
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.op-atmosphere__media {
  min-width: 0;
  width: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.op-atmosphere__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

@media (hover: hover) and (pointer: fine) {
  .op-atmosphere__media:hover {
    transform: scale(1.02);
  }
}

/* Tools of the Trade */
.op-tools {
  background-color: var(--color-plum-velvet);
}

.op-tools__container {
  display: flex;
  flex-direction: column;
  gap: var(--op-section-gap);
}

.op-tools__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

.op-tools__heading h2 {
  margin-block-end: 0;
}

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

.op-tool-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  text-align: center;
  align-items: center;
}

.op-tool-card__icon {
  font-size: 2rem;
  color: var(--color-rose-dusty);
  line-height: 1;
}

.op-tool-card h3 {
  margin-block-end: 0;
}

.op-tool-card p {
  max-width: var(--op-text-measure-card);
  margin-block-end: 0;
}

.op-tools__note {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 0;
}

/* Face-to-Face */
.op-face-to-face {
  background-color: var(--color-plum-deep);
}

.op-face-to-face__container {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: var(--op-section-gap);
  align-items: center;
}

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

.op-face-to-face__text h2 {
  margin-block-end: 0;
}

.op-face-to-face__text p {
  max-width: var(--op-text-measure-narrow);
  margin-block-end: 0;
}

.op-face-to-face__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.op-face-to-face__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: var(--op-text-measure-wide);
}

.op-face-to-face__icon {
  color: var(--color-rose-dusty);
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.op-face-to-face__media {
  min-width: 0;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.op-face-to-face__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Velvet & Vault Difference */
.op-difference {
  background-color: var(--color-plum-velvet);
}

.op-difference__container {
  display: flex;
  flex-direction: column;
  gap: var(--op-section-gap);
}

.op-difference__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

.op-difference__heading h2 {
  margin-block-end: 0;
}

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

.op-difference-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  text-align: center;
  align-items: center;
}

.op-difference-card__icon {
  font-size: 2rem;
  color: var(--color-rose-dusty);
  line-height: 1;
}

.op-difference-card h3 {
  margin-block-end: 0;
}

.op-difference-card p {
  max-width: var(--op-text-measure-card);
  margin-block-end: 0;
}

.op-difference__note {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 0;
}

/* From Novice to Regular */
.op-novice {
  background-color: var(--color-plum-deep);
}

.op-novice__container {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: var(--op-section-gap);
  align-items: center;
}

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

.op-novice__text h2 {
  margin-block-end: 0;
}

.op-novice__text p {
  max-width: var(--op-text-measure-narrow);
  margin-block-end: 0;
}

.op-novice__media {
  min-width: 0;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.op-novice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Beyond the Table */
.op-beyond {
  background-color: var(--color-teal-midnight);
}

.op-beyond__container {
  display: flex;
  flex-direction: column;
  gap: var(--op-section-gap);
}

.op-beyond__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: center;
}

.op-beyond__heading h2 {
  margin-block-end: 0;
}

.op-beyond__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--op-section-gap);
}

.op-beyond__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  padding: var(--space-md);
  background-color: rgba(42, 27, 36, 0.35);
  border: var(--border-thin);
  border-radius: var(--radius-card);
}

.op-beyond__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.op-beyond__block h3 {
  margin-block-end: 0;
}

.op-beyond__block p {
  max-width: var(--op-text-measure-cta);
  margin-block-end: 0;
}

.op-beyond__link {
  align-self: flex-start;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-small);
  color: var(--color-rose-dusty);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.op-beyond__link:hover {
  color: var(--color-champagne-warm);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Reserve CTA */
.op-reserve-cta {
  background-color: var(--color-plum-deep);
  position: relative;
  overflow: hidden;
}

.op-reserve-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(183, 110, 121, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.op-reserve-cta__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.op-reserve-cta__content {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.op-reserve-cta__content h2 {
  margin-block-end: 0;
}

.op-reserve-cta__content p {
  max-width: var(--op-text-measure-cta);
  margin-block-end: 0;
}

.op-reserve-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.op-reserve-cta__email {
  font-size: var(--text-small);
  color: rgba(247, 231, 206, 0.75);
}

.op-reserve-cta__email a {
  color: var(--color-rose-dusty);
}

.op-reserve-cta__email a:hover {
  color: var(--color-champagne-warm);
}

/* Reservation Form */
.op-reservation-form {
  background-color: var(--color-plum-velvet);
}

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

.op-reservation-form__card {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.op-reservation-form__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.op-reservation-form__heading h2 {
  margin-block-end: 0;
}

.op-reservation-form__heading p {
  margin-block-end: 0;
  color: rgba(247, 231, 206, 0.75);
}

.op-reservation-form__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.op-reservation-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.op-reservation-form__row .form-field {
  margin-block-end: 0;
  min-width: 0;
}

.op-reservation-form__submit {
  align-self: flex-start;
}

.op-reservation-form__hint {
  margin-block-start: 0;
}

/* Curtain reveal animation */
.op-real-deal,
.op-atmosphere,
.op-tools,
.op-face-to-face,
.op-difference,
.op-novice,
.op-beyond,
.op-reserve-cta,
.op-reservation-form {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.op-real-deal.is-visible,
.op-atmosphere.is-visible,
.op-tools.is-visible,
.op-face-to-face.is-visible,
.op-difference.is-visible,
.op-novice.is-visible,
.op-beyond.is-visible,
.op-reserve-cta.is-visible,
.op-reservation-form.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .op-real-deal,
  .op-atmosphere,
  .op-tools,
  .op-face-to-face,
  .op-difference,
  .op-novice,
  .op-beyond,
  .op-reserve-cta,
  .op-reservation-form {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .op-hero__content {
    max-width: 65%;
  }

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

  .op-face-to-face__container,
  .op-novice__container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .op-tools__grid,
  .op-difference__grid {
    gap: var(--space-sm);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .op-hero {
    min-height: 80vh;
    padding-block: var(--space-xl);
  }

  .op-hero__content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .op-hero__title {
    max-width: 100%;
    font-size: var(--text-h1);
  }

  .op-hero__subtitle {
    max-width: 100%;
    font-size: var(--text-h3);
  }

  .op-hero__cta {
    width: 100%;
    justify-content: center;
  }

  .op-atmosphere__container,
  .op-face-to-face__container,
  .op-novice__container {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .op-atmosphere__text,
  .op-face-to-face__text,
  .op-novice__text {
    order: 1;
  }

  .op-atmosphere__media,
  .op-face-to-face__media,
  .op-novice__media {
    order: 2;
  }

  .op-tools__grid,
  .op-difference__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .op-beyond__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .op-reservation-form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .op-reservation-form__submit {
    width: 100%;
    justify-content: center;
  }

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

  .op-reserve-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .op-hero {
    min-height: 70vh;
    padding-block: var(--space-lg);
  }

  .op-hero__title {
    font-size: var(--text-h2);
  }

  .op-hero__subtitle {
    font-size: var(--text-body);
  }

  .op-real-deal__text p,
  .op-atmosphere__text p,
  .op-face-to-face__text p,
  .op-novice__text p,
  .op-tools__note,
  .op-difference__note {
    max-width: 100%;
  }

  .op-atmosphere__highlights li,
  .op-face-to-face__list li,
  .op-real-deal__list li {
    max-width: 100%;
  }

  .op-tool-card p,
  .op-difference-card p {
    max-width: 100%;
  }

  .op-beyond__block p {
    max-width: 100%;
  }

  .op-reserve-cta__content p {
    max-width: 100%;
  }
}
