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

.offline-poker-page {
  --op-section-padding: var(--space-8);
  --op-section-padding-mobile: var(--space-6);
}

.op-section {
  padding-block: var(--op-section-padding);
}

.op-eyebrow {
  display: inline-block;
  font-size: var(--text-small);
  letter-spacing: var(--tracking-labels);
  text-transform: uppercase;
  color: var(--color-burnished-copper);
  margin-block-end: var(--space-2);
}

.op-fact-note {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-candlelight-cream-muted);
  margin-block-start: var(--space-3);
}

.op-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-start: var(--space-4);
}

.op-check-list li {
  position: relative;
  padding-inline-start: var(--space-5);
  color: var(--color-candlelight-cream);
}

.op-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.6em;
  height: 0.6em;
  border: 1px solid var(--color-burnished-copper);
  transform: rotate(45deg);
  opacity: 0.8;
}

.op-check-list--center {
  align-items: center;
  text-align: center;
}

.op-check-list--center li {
  padding-inline-start: 0;
}

.op-check-list--center li::before {
  display: none;
}

/* Hero */
.op-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: var(--space-8);
}

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

.op-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.op-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 20, 18, 0.55) 0%, rgba(14, 20, 18, 0.35) 45%, rgba(14, 20, 18, 0.75) 100%);
  pointer-events: none;
}

.op-hero__content {
  position: relative;
  z-index: 1;
  width: min(60%, 44rem);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.op-hero__content h1 {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  margin-block-end: 0;
}

.op-hero__lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-candlelight-cream-muted);
  margin-block-end: 0;
}

.op-hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-block-start: var(--space-2);
}

.op-hero__facts li {
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  color: var(--color-candlelight-cream);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-copper-border);
  border-radius: var(--radius-small);
  background-color: rgba(14, 20, 18, 0.45);
}

.op-hero__note {
  font-size: var(--text-small);
  color: var(--color-candlelight-cream-muted);
  margin-block-end: 0;
}

.op-hero__content .btn {
  margin-block-start: var(--space-2);
}

/* Intro */
.op-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-6);
  align-items: center;
}

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

.op-intro__copy h2 {
  margin-block-end: var(--space-4);
}

.op-intro__copy p {
  max-width: 80%;
}

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

.op-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Holdem */
.op-holdem__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.op-holdem__copy {
  width: min(70%, 46rem);
  margin-inline: auto;
  text-align: center;
}

.op-holdem__copy h2 {
  margin-block-end: var(--space-4);
}

.op-holdem__copy p {
  text-align: left;
}

.op-holdem__media {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.op-holdem__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lounge */
.op-lounge__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-6);
  align-items: center;
}

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

.op-lounge__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.op-lounge__copy h2 {
  margin-block-end: var(--space-4);
}

.op-lounge__copy p {
  max-width: 80%;
}

/* Card room */
.op-cardroom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.op-cardroom__copy {
  width: min(70%, 46rem);
  margin-inline: auto;
  text-align: center;
}

.op-cardroom__copy h2 {
  margin-block-end: var(--space-4);
}

.op-cardroom__copy p {
  text-align: left;
}

.op-cardroom__media {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.op-cardroom__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tables */
.op-tables__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}

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

.op-tables__copy h2 {
  margin-block-end: var(--space-4);
}

.op-tables__copy p {
  max-width: 80%;
}

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

.op-tables__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Themed */
.op-themed__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.op-themed__copy {
  width: min(70%, 46rem);
  margin-inline: auto;
  text-align: center;
}

.op-themed__copy h2 {
  margin-block-end: var(--space-4);
}

.op-themed__copy p {
  text-align: left;
}

.op-themed__media {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.op-themed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Corporate */
.op-corporate__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-6);
  align-items: center;
}

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

.op-corporate__copy h2 {
  margin-block-end: var(--space-4);
}

.op-corporate__copy p {
  max-width: 80%;
}

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

.op-corporate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Process */
.op-process__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.op-process__copy {
  width: min(70%, 46rem);
  margin-inline: auto;
  text-align: center;
}

.op-process__copy h2 {
  margin-block-end: var(--space-4);
}

.op-process__steps {
  width: min(70%, 46rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.op-process__step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background-color: var(--color-pine-black-soft);
  border: 1px solid var(--color-copper-border);
  border-radius: var(--radius-medium);
  padding: var(--space-4);
}

.op-process__number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-burnished-copper);
  border-radius: 50%;
  color: var(--color-burnished-copper);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.op-process__step h3 {
  margin-block-end: var(--space-2);
}

.op-process__step p {
  margin-block-end: 0;
}

.op-process__note {
  text-align: center;
}

/* FAQ */
.op-faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.op-faq__copy {
  width: min(80%, 48rem);
  margin-inline: auto;
}

.op-faq__copy h2 {
  margin-block-end: var(--space-3);
}

.op-faq__copy p {
  margin-block-end: 0;
}

.op-faq__list {
  width: min(80%, 48rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.op-faq__item {
  background-color: var(--color-pine-black-soft);
  border: 1px solid var(--color-copper-border);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.op-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-candlelight-cream);
  transition: color var(--transition-smooth), background-color var(--transition-smooth);
}

.op-faq__question:hover {
  color: var(--color-burnished-copper);
  background-color: rgba(184, 115, 51, 0.05);
}

.op-faq__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  position: relative;
}

.op-faq__icon::before,
.op-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--color-burnished-copper);
  transition: transform var(--transition-smooth);
}

.op-faq__icon::before {
  width: 1rem;
  height: 1px;
  transform: translate(-50%, -50%);
}

.op-faq__icon::after {
  width: 1px;
  height: 1rem;
  transform: translate(-50%, -50%);
}

.op-faq__item.is-open .op-faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.op-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-inline: var(--space-4);
}

.op-faq__item.is-open .op-faq__answer {
  max-height: 20rem;
  padding-block-end: var(--space-4);
}

.op-faq__answer p {
  margin-block-end: 0;
  color: var(--color-candlelight-cream-muted);
}

.op-faq__note {
  text-align: center;
}

/* Contact */
.op-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-6);
  align-items: start;
}

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

.op-contact__info h2 {
  margin-block-end: var(--space-4);
}

.op-contact__info p {
  max-width: 80%;
}

.op-contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-start: var(--space-4);
}

.op-contact__details li {
  color: var(--color-candlelight-cream);
}

.op-contact__details a {
  color: var(--color-burnished-copper);
}

.op-contact__details a:hover {
  color: #c9823f;
}

.op-contact__note {
  font-size: var(--text-small);
  color: var(--color-candlelight-cream-muted);
  margin-block-start: var(--space-3);
}

.op-contact__form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background-color: var(--color-pine-black-soft);
  border: 1px solid var(--color-copper-border);
  border-radius: var(--radius-medium);
  padding: var(--space-5);
}

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

.op-contact__submit {
  align-self: flex-start;
  margin-block-start: var(--space-2);
}

/* Tablet */
@media (max-width: 64rem) {
  .op-hero__content {
    width: min(75%, 40rem);
  }

  .op-intro__grid,
  .op-lounge__grid,
  .op-tables__grid,
  .op-corporate__grid {
    gap: var(--space-5);
  }

  .op-intro__copy p,
  .op-lounge__copy p,
  .op-tables__copy p,
  .op-corporate__copy p {
    max-width: 100%;
  }

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

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

/* Mobile */
@media (max-width: 47.999rem) {
  .op-section {
    padding-block: var(--op-section-padding-mobile);
  }

  .op-hero {
    min-height: 50vh;
    padding-block: var(--space-6);
  }

  .op-hero__content {
    width: 90%;
    gap: var(--space-3);
  }

  .op-hero__content h1 {
    font-size: clamp(2.5rem, 8vw, 3rem);
  }

  .op-hero__lead {
    font-size: 1.125rem;
  }

  .op-hero__facts {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .op-hero__facts li {
    width: 100%;
    text-align: center;
  }

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

  .op-intro__grid,
  .op-lounge__grid,
  .op-tables__grid,
  .op-corporate__grid,
  .op-contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .op-intro__media,
  .op-lounge__media,
  .op-tables__media,
  .op-corporate__media {
    order: -1;
  }

  .op-intro__copy p,
  .op-lounge__copy p,
  .op-tables__copy p,
  .op-corporate__copy p,
  .op-contact__info p {
    max-width: 100%;
  }

  .op-holdem__copy,
  .op-cardroom__copy,
  .op-themed__copy,
  .op-process__copy,
  .op-process__steps,
  .op-faq__copy,
  .op-faq__list {
    width: 100%;
  }

  .op-holdem__copy p,
  .op-cardroom__copy p,
  .op-themed__copy p,
  .op-process__copy p {
    text-align: left;
  }

  .op-check-list--center {
    align-items: flex-start;
    text-align: left;
  }

  .op-process__step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .op-faq__question {
    font-size: 1.25rem;
    padding: var(--space-3) var(--space-4);
  }

  .op-contact__form {
    padding: var(--space-4);
  }

  .op-contact__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-faq__answer {
    transition: none;
  }
}
