/* ==========================================================================
   ARKADE LOUNGE — Play / pricing page
   ========================================================================== */

.play-jump { margin-block-start: var(--sp-7); }

/* --------------------------------------------------------------------------
   SERVICE BLOCK
   Description on one side, price panel on the other. The panel is second in
   the source order so that on a phone — where the grid collapses to one
   column — the visitor reads what the thing is before what it costs.
   -------------------------------------------------------------------------- */

.service {
  display: grid;
  gap: var(--sp-7);
  align-items: start;
}

@media (min-width: 880px) {
  .service {
    grid-template-columns: 1.25fr 1fr;
    gap: var(--sp-9);
  }

  /* Alternating sides stop four stacked service blocks reading as one long
     identical list. The source order is untouched, so the reading order for
     a screen reader and for keyboard focus stays description-then-price on
     every block regardless of which side the panel appears on. */
  .service--flip .service__intro { order: 2; }
  .service--flip .service__pricing { order: 1; }
}

.service__name {
  font-size: var(--fs-h2);
  margin-block: var(--sp-3) var(--sp-4);
}

.service__points {
  list-style: none;
  padding: 0;
  margin-block-start: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.service__points li {
  position: relative;
  padding-inline-start: var(--sp-6);
  color: var(--text-2);
  font-size: var(--fs-sm);
}

/* A small angular marker rather than a bullet, echoing the cut corner used
   on buttons and cards. */
.service__points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.55em;
  inline-size: 0.5rem;
  block-size: 0.5rem;
  background: var(--purple-400);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* --------------------------------------------------------------------------
   PRICE PANEL
   -------------------------------------------------------------------------- */

.service__pricing {
  position: sticky;
  /* Sticks below the fixed header while its service section scrolls past, so
     the price stays visible while reading a long description. */
  inset-block-start: calc(var(--header-h) + var(--sp-4));
}

/* Sticky positioning is unhelpful on a phone, where the panel is already
   directly beneath the text it belongs to and pinning it would cover
   content. */
@media (max-width: 879px) {
  .service__pricing { position: static; }
}

.service__pricing-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-block-end: var(--sp-3);
}

/* The panel's own call to action needs air above it once the last price row
   has closed. */
.service__pricing .btn { margin-block-start: var(--sp-5); }

/* --------------------------------------------------------------------------
   TAKE OVER
   Given a purple edge so it reads as the premium option among the four.
   -------------------------------------------------------------------------- */

.takeover-block .service__pricing {
  border-color: var(--purple-500);
  background:
    linear-gradient(150deg, rgba(83, 38, 114, 0.35), transparent 60%),
    var(--bg-raised);
}
