/* ══════════════════════════════════════════════════════════════════════════
   /php-slot-machine — "Server Room"
   AIS Technolabs · AISHTMLNEWDESIGN-321 (content) + 116 (meta/schema)

   ISOLATED PAGE STYLESHEET. Every rule is scoped under #page-php-slot-machine
   so nothing here can reach the shared header/footer injected by
   site-layout.js (those are owned by /assets/css/layout.css).

   Visual direction: "server room" — deep charcoal-teal ink, warm off-white
   paper, a vivid teal as the single action colour, and PHP's own indigo kept
   strictly for non-interactive code chips and numerals. Deliberately distinct
   from its two siblings: /slot-machine-html-code is near-black + amber, and
   /slot-machine-software-for-sale is midnight navy + cream + crimson.

   Motion policy (rule 26): no @keyframes anywhere in this file. Every
   transition is a finite response to hover, focus, press or details-open.
   ══════════════════════════════════════════════════════════════════════════ */

#page-php-slot-machine {
  /* ── Ink / dark surfaces ── */
  --psm-ink:      #08171a;
  --psm-ink-2:    #0f2429;
  --psm-ink-3:    #17343a;
  --psm-line-d:   rgba(255, 255, 255, .12);
  --psm-on-ink:   #eef6f5;
  --psm-on-ink-2: #b6cbc9;

  /* ── Paper / light surfaces ── */
  --psm-paper:    #ffffff;
  --psm-paper-2:  #f4f7f6;
  --psm-paper-3:  #e6eeec;
  --psm-line-l:   #d8e3e0;

  /* ── Text on light (all ≥ 4.5:1 on paper and paper-2) ── */
  --psm-text:     #0f1e21;
  --psm-text-2:   #3a4b4e;

  /* ── Action ── */
  --psm-teal:     #0a7a6e;   /* white text on this ≈ 4.9:1 */
  --psm-teal-d:   #06584f;
  --psm-teal-l:   #4fd6c4;   /* on ink only */

  /* ── Accent: PHP indigo. Decorative only — never the sole carrier of
        meaning, never an interactive affordance. ── */
  --psm-php:      #5860a8;   /* on paper  */
  --psm-php-l:    #9aa2e8;   /* on ink    */

  --psm-r:   14px;
  --psm-r-s: 9px;

  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--psm-text);
  background: var(--psm-paper);
  -webkit-font-smoothing: antialiased;
}

/* ─── UA BODY MARGIN RESET — do not delete ─────────────────────────────────
   The browser default is `body { margin: 8px }`. The isolated model has no
   owner for it: layout.css is namespaced under #site-header / #site-footer and
   page CSS under #page-<slug>, so NEITHER can reach <body>. Without this every
   full-bleed band, plus the header and footer, is inset 8px and the page
   background shows as a thin strip down both edges.
   Unscoped on purpose — this sheet is per-page, never shared. */
html, body { margin: 0; padding: 0; }

/* ── Self-contained baseline ────────────────────────────────────────────────
   Declared by the page, in the page's own scope, so link + list behaviour
   never depends on whichever ambient stylesheet happens to be loaded.
   (See docs/conversion/validate-conversion.py — check_baseline.)          */
#page-php-slot-machine a { text-decoration: none; color: inherit; }
#page-php-slot-machine a:hover { text-decoration: none; }
#page-php-slot-machine ul,
#page-php-slot-machine ol { list-style: none; margin: 0; padding: 0; }
#page-php-slot-machine p { margin: 0 0 18px; }
#page-php-slot-machine p:last-child { margin-bottom: 0; }
#page-php-slot-machine img { max-width: 100%; height: auto; display: block; }
#page-php-slot-machine *,
#page-php-slot-machine *::before,
#page-php-slot-machine *::after { box-sizing: border-box; }

/* Deliberately NO element-level h1..h6 { text-align } — text-align is
   inherited, and such a default silently flattens headings that legitimately
   centre from a centred parent. Alignment is set per component below. */

/* ── Focus visibility (never removed for styling) ── */
#page-php-slot-machine :focus-visible {
  outline: 3px solid var(--psm-teal);
  outline-offset: 3px;
  border-radius: 4px;
}
#page-php-slot-machine .psm-sec--ink :focus-visible,
#page-php-slot-machine .psm-hero :focus-visible { outline-color: var(--psm-teal-l); }

/* ══════════════════ LAYOUT PRIMITIVES ══════════════════ */

#page-php-slot-machine .psm-wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
#page-php-slot-machine .psm-sec { padding-block: clamp(56px, 7vw, 104px); }
#page-php-slot-machine .psm-sec--paper { background: var(--psm-paper); }
#page-php-slot-machine .psm-sec--tint  { background: var(--psm-paper-2); }
#page-php-slot-machine .psm-sec--ink   { background: var(--psm-ink); color: var(--psm-on-ink); }
#page-php-slot-machine .psm-sec--ink p { color: var(--psm-on-ink-2); }

#page-php-slot-machine .psm-head { margin-bottom: clamp(32px, 4vw, 52px); }
#page-php-slot-machine .psm-head--center {
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
}
#page-php-slot-machine .psm-head h2 { margin: 10px 0 0; }
#page-php-slot-machine .psm-head .psm-lede { margin-top: 16px; }

/* ══════════════════ TYPE ══════════════════ */

#page-php-slot-machine h1,
#page-php-slot-machine h2,
#page-php-slot-machine h3,
#page-php-slot-machine h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: inherit;
}
#page-php-slot-machine h2 { font-size: clamp(30px, 3.6vw, 46px); }
#page-php-slot-machine h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
#page-php-slot-machine h4 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; }

#page-php-slot-machine .psm-lede {
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--psm-text-2);
}
#page-php-slot-machine .psm-sec--ink .psm-lede { color: var(--psm-on-ink-2); }

/* Eyebrow set in a mono face — the "server room" cue, used consistently. */
#page-php-slot-machine .psm-eyebrow {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--psm-teal-l);
}
#page-php-slot-machine .psm-eyebrow--dark { color: var(--psm-teal); }

#page-php-slot-machine .psm-small-title {
  margin-top: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--psm-teal);
}
#page-php-slot-machine .psm-sec--ink .psm-small-title { color: var(--psm-teal-l); }

/* Inline text link inside body copy — the only "second destination" pattern
   allowed by rule 25 (no primary + secondary button pairs). */
#page-php-slot-machine .psm-link {
  color: var(--psm-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
#page-php-slot-machine .psm-link:hover { color: var(--psm-teal-d); text-decoration: underline; }
#page-php-slot-machine .psm-sec--ink .psm-link,
#page-php-slot-machine .psm-hero .psm-link { color: var(--psm-teal-l); }

/* ══════════════════ BUTTONS ══════════════════ */

#page-php-slot-machine .psm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .12s ease;
}
#page-php-slot-machine .psm-btn--teal {
  background: var(--psm-teal); color: #fff; border-color: var(--psm-teal);
}
#page-php-slot-machine .psm-btn--teal:hover { background: var(--psm-teal-d); border-color: var(--psm-teal-d); }
#page-php-slot-machine .psm-btn--ink {
  background: var(--psm-ink); color: var(--psm-on-ink); border-color: var(--psm-ink);
}
#page-php-slot-machine .psm-btn--ink:hover { background: var(--psm-ink-3); border-color: var(--psm-ink-3); }
#page-php-slot-machine .psm-btn--ghost {
  background: transparent; color: var(--psm-on-ink); border-color: rgba(255, 255, 255, .45);
}
#page-php-slot-machine .psm-btn--ghost:hover {
  background: var(--psm-on-ink); color: var(--psm-ink); border-color: var(--psm-on-ink);
}
#page-php-slot-machine .psm-btn:active { transform: translateY(1px); }
#page-php-slot-machine .psm-cta-row { margin-top: 40px; text-align: center; }

/* ══════════════════ BREADCRUMB ══════════════════ */

#page-php-slot-machine .psm-crumb {
  background: var(--psm-paper-2);
  border-bottom: 1px solid var(--psm-line-l);
  padding-block: 14px;
  font-size: 16px;
}
#page-php-slot-machine .psm-crumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  color: var(--psm-text-2);
}
#page-php-slot-machine .psm-crumb a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--psm-text-2); font-weight: 600;
}
#page-php-slot-machine .psm-crumb a:hover { color: var(--psm-teal); }
#page-php-slot-machine .psm-crumb svg { width: 17px; height: 17px; }
#page-php-slot-machine .psm-crumb [aria-current] { color: var(--psm-text); font-weight: 700; }

/* ══════════════════ HERO — full-bleed, image-free, centred column ══════════
   Rule 24: background is a STATIC gradient (no url(), no animation), content
   sits in a centred readable column. No half-text / half-visual split.      */

#page-php-slot-machine .psm-hero {
  width: 100%;
  padding: clamp(88px, 10vw, 168px) 24px clamp(72px, 8vw, 128px);
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(88% 120% at 50% -18%, #15414a 0%, rgba(21, 65, 74, 0) 62%),
    linear-gradient(180deg, var(--psm-ink) 0%, var(--psm-ink-2) 100%);
  color: var(--psm-on-ink);
  border-bottom: 3px solid var(--psm-teal-l);
  text-align: center;
}
#page-php-slot-machine .psm-hero__inner { max-width: 940px; margin-inline: auto; width: 100%; }
#page-php-slot-machine .psm-hero h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.03;
}
#page-php-slot-machine .psm-hero h1 em { font-style: normal; color: var(--psm-teal-l); }
#page-php-slot-machine .psm-hero__lede {
  margin: 24px auto 0; max-width: 800px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--psm-on-ink-2);
}
#page-php-slot-machine .psm-hero__sub {
  margin: 18px auto 0; max-width: 780px;
  font-size: clamp(16px, 1.2vw, 17px);
  color: var(--psm-on-ink-2);
}
#page-php-slot-machine .psm-hero .psm-btn { margin-top: 36px; }

#page-php-slot-machine .psm-hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--psm-line-d);
}
#page-php-slot-machine .psm-hero__trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 600; color: var(--psm-on-ink);
}
#page-php-slot-machine .psm-hero__trust svg {
  width: 18px; height: 18px; flex: none; color: var(--psm-teal-l);
}

/* Proof strip — counts of content on this page, not invented claims. */
#page-php-slot-machine .psm-hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin: 40px 0 0; padding-top: 32px;
  border-top: 1px solid var(--psm-line-d);
  text-align: left;
}
#page-php-slot-machine .psm-hero__stats div { display: flex; flex-direction: column; gap: 6px; }
#page-php-slot-machine .psm-hero__stats dt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1;
  color: var(--psm-php-l);
}
#page-php-slot-machine .psm-hero__stats dd {
  margin: 0; font-size: 16px; line-height: 1.45; color: var(--psm-on-ink-2);
}

/* ══════════════════ 3-UP CARDS ══════════════════ */

#page-php-slot-machine .psm-cards {
  display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr);
}
#page-php-slot-machine .psm-card {
  padding: 32px 28px;
  background: var(--psm-paper);
  border: 1px solid var(--psm-line-l);
  border-top: 3px solid var(--psm-teal);
  border-radius: var(--psm-r);
}
#page-php-slot-machine .psm-card h3 { margin-bottom: 14px; }
#page-php-slot-machine .psm-card p { color: var(--psm-text-2); font-size: 17px; }

/* ══════════════════ BAND (dark CTA strip) ══════════════════ */

#page-php-slot-machine .psm-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 32px;
}
#page-php-slot-machine .psm-band h2 { font-size: clamp(26px, 3vw, 38px); }
#page-php-slot-machine .psm-band p { margin: 14px 0 0; max-width: 660px; }

/* ══════════════════ SCREENSHOT CAROUSEL (user-driven only) ══════════════════ */

#page-php-slot-machine .psm-car { position: relative; }
#page-php-slot-machine .psm-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
}
#page-php-slot-machine .psm-shot {
  flex: 0 0 clamp(240px, 30vw, 360px); margin: 0; scroll-snap-align: start;
  background: var(--psm-ink-2);
  border: 1px solid var(--psm-line-d);
  border-radius: var(--psm-r-s);
  overflow: hidden;
}
#page-php-slot-machine .psm-shot img { width: 100%; aspect-ratio: 542 / 372; object-fit: cover; }
#page-php-slot-machine .psm-shot figcaption {
  padding: 14px 16px; font-size: 16px; font-weight: 600; color: var(--psm-on-ink-2);
}
#page-php-slot-machine .psm-car__nav {
  display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px;
}
#page-php-slot-machine .psm-car__nav button {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--psm-line-d);
  background: transparent; color: var(--psm-on-ink); cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
#page-php-slot-machine .psm-car__nav button:hover {
  background: var(--psm-teal-l); border-color: var(--psm-teal-l); color: var(--psm-ink);
}
#page-php-slot-machine .psm-car__nav svg { width: 20px; height: 20px; }

/* ══════════════════ SLOT TYPE TILES ══════════════════ */

#page-php-slot-machine .psm-types {
  display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr);
}
#page-php-slot-machine .psm-type {
  margin: 0; border: 1px solid var(--psm-line-l); border-radius: var(--psm-r-s);
  overflow: hidden; background: var(--psm-paper);
  transition: border-color .18s ease;
}
#page-php-slot-machine .psm-type:hover { border-color: var(--psm-teal); }
#page-php-slot-machine .psm-type img { width: 100%; aspect-ratio: 214 / 120; object-fit: cover; }
#page-php-slot-machine .psm-type figcaption {
  padding: 15px 18px; font-size: 17px; font-weight: 700; color: var(--psm-text);
}

/* ══════════════════ ADMIN PANEL — hairline definition grid ══════════════════ */

#page-php-slot-machine .psm-admin {
  display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr);
  background: var(--psm-line-d);
  border: 1px solid var(--psm-line-d);
  border-radius: var(--psm-r); overflow: hidden;
}
#page-php-slot-machine .psm-admin > div { padding: 28px 26px; background: var(--psm-ink); }
#page-php-slot-machine .psm-admin h3 { font-size: 19px; margin-bottom: 10px; color: var(--psm-teal-l); }
#page-php-slot-machine .psm-admin p { font-size: 16px; }

/* ══════════════════ SPLIT (copy + supporting image) ══════════════════ */

#page-php-slot-machine .psm-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
#page-php-slot-machine .psm-split--narrow { grid-template-columns: 1.05fr .95fr; }
#page-php-slot-machine .psm-split h2 { margin: 10px 0 18px; }
#page-php-slot-machine .psm-split__media img { width: 100%; border-radius: var(--psm-r); }

#page-php-slot-machine .psm-linklist { display: grid; gap: 10px; margin-top: 8px; }
#page-php-slot-machine .psm-linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; border: 1px solid var(--psm-line-l);
  border-radius: var(--psm-r-s); background: var(--psm-paper);
  font-size: 17px; font-weight: 600; color: var(--psm-text);
  transition: border-color .18s ease, color .18s ease;
}
#page-php-slot-machine .psm-linklist a:hover { border-color: var(--psm-teal); color: var(--psm-teal); }
#page-php-slot-machine .psm-linklist svg { width: 18px; height: 18px; flex: none; }

/* ══════════════════ NUMBERED FEATURE LIST ══════════════════ */

#page-php-slot-machine .psm-numbered {
  display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr);
  counter-reset: psm-n;
}
#page-php-slot-machine .psm-numbered li {
  position: relative; counter-increment: psm-n;
  padding: 28px 26px 26px 70px;
  border: 1px solid var(--psm-line-l); border-radius: var(--psm-r);
  background: var(--psm-paper);
  transition: border-color .18s ease, box-shadow .18s ease;
}
#page-php-slot-machine .psm-numbered li:hover {
  border-color: var(--psm-teal); box-shadow: 0 10px 30px rgba(15, 30, 33, .08);
}
#page-php-slot-machine .psm-numbered li::before {
  content: counter(psm-n, decimal-leading-zero);
  position: absolute; left: 24px; top: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px; font-weight: 700; color: var(--psm-php);
}
#page-php-slot-machine .psm-numbered h3 { font-size: 19px; margin-bottom: 10px; }
#page-php-slot-machine .psm-numbered p { font-size: 16px; color: var(--psm-text-2); }

/* ══════════════════ TICKED LISTS ══════════════════ */

#page-php-slot-machine .psm-ticks { display: grid; gap: 14px; margin-top: 22px; }
#page-php-slot-machine .psm-ticks--2col { grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
#page-php-slot-machine .psm-ticks li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 17px; color: var(--psm-text-2);
}
#page-php-slot-machine .psm-ticks svg {
  width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--psm-teal);
}
#page-php-slot-machine .psm-sec--ink .psm-ticks li { color: var(--psm-on-ink-2); }
#page-php-slot-machine .psm-sec--ink .psm-ticks svg { color: var(--psm-teal-l); }

/* ══════════════════ PAIR CARDS ══════════════════ */

#page-php-slot-machine .psm-pair {
  display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin-top: 28px;
}
#page-php-slot-machine .psm-pair article {
  padding: 26px 24px; border-radius: var(--psm-r-s);
  background: var(--psm-paper); border-left: 4px solid var(--psm-php);
}
#page-php-slot-machine .psm-pair h3 { font-size: 20px; margin-bottom: 8px; }
#page-php-slot-machine .psm-pair p { color: var(--psm-text-2); font-size: 17px; }

/* ══════════════════ TESTIMONIALS (click-to-load video facades) ══════════════ */

#page-php-slot-machine .psm-quotes {
  display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr);
}
#page-php-slot-machine .psm-quote {
  display: flex; flex-direction: column;
  border: 1px solid var(--psm-line-d); border-radius: var(--psm-r);
  background: var(--psm-ink-2); overflow: hidden;
}
#page-php-slot-machine .psm-vid {
  position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; width: 100%;
  display: grid; place-items: center; cursor: pointer; color: var(--psm-ink);
  background: linear-gradient(135deg, var(--psm-ink-3) 0%, var(--psm-ink) 100%);
  border-bottom: 1px solid var(--psm-line-d);
}
#page-php-slot-machine .psm-vid span {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--psm-teal-l);
  transition: background-color .18s ease, transform .12s ease;
}
#page-php-slot-machine .psm-vid:hover span { background: #fff; }
#page-php-slot-machine .psm-vid:active span { transform: translateY(1px); }
#page-php-slot-machine .psm-vid svg { width: 26px; height: 26px; margin-left: 3px; }
#page-php-slot-machine .psm-quote iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
#page-php-slot-machine .psm-quote blockquote {
  margin: 0; padding: 26px 24px; font-size: 17px; color: var(--psm-on-ink-2);
}
#page-php-slot-machine .psm-quotes-more { margin-top: 32px; text-align: center; }

/* ══════════════════ RELATED LINK CLOUD ══════════════════ */

#page-php-slot-machine .psm-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
#page-php-slot-machine .psm-cloud a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border: 1px solid var(--psm-line-l); border-radius: 999px;
  background: var(--psm-paper); font-size: 16px; font-weight: 600; color: var(--psm-text);
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
#page-php-slot-machine .psm-cloud a:hover {
  border-color: var(--psm-teal); background: var(--psm-teal); color: #fff;
}

/* ══════════════════ FAQ (native details/summary) ══════════════════ */

#page-php-slot-machine .psm-faq { display: grid; gap: 14px; }
#page-php-slot-machine .psm-faq details {
  border: 1px solid var(--psm-line-l); border-radius: var(--psm-r-s);
  background: var(--psm-paper); overflow: hidden;
}
#page-php-slot-machine .psm-faq details[open] { border-color: var(--psm-teal); }
#page-php-slot-machine .psm-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none; min-height: 44px;
}
#page-php-slot-machine .psm-faq summary::-webkit-details-marker { display: none; }
#page-php-slot-machine .psm-faq summary h3 { font-size: 19px; font-weight: 700; }
#page-php-slot-machine .psm-faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  border-right: 2.5px solid var(--psm-teal); border-bottom: 2.5px solid var(--psm-teal);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
#page-php-slot-machine .psm-faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
#page-php-slot-machine .psm-faq details > p {
  padding: 0 24px 24px; font-size: 17px; color: var(--psm-text-2);
}

/* ══════════════════ AREA WE SERVE ══════════════════ */

#page-php-slot-machine .psm-offices {
  display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr);
}
#page-php-slot-machine .psm-office {
  padding: 28px 24px; border-radius: var(--psm-r-s);
  background: var(--psm-ink-2); border-top: 3px solid var(--psm-teal-l);
}
#page-php-slot-machine .psm-office h3 {
  font-size: 17px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--psm-teal-l); margin-bottom: 14px;
}
#page-php-slot-machine .psm-office a {
  display: inline-block; margin-bottom: 10px;
  font-size: 18px; font-weight: 700; color: var(--psm-on-ink);
}
#page-php-slot-machine .psm-office a:hover { color: var(--psm-teal-l); }
#page-php-slot-machine .psm-office address {
  font-style: normal; font-size: 16px; line-height: 1.6; color: var(--psm-on-ink-2);
}

/* ══════════════════ FINAL CTA ══════════════════ */

#page-php-slot-machine .psm-final { text-align: center; max-width: 840px; margin-inline: auto; }
#page-php-slot-machine .psm-final h2 { margin-bottom: 18px; }
#page-php-slot-machine .psm-final .psm-btn { margin-top: 30px; }

/* ══════════════════ CTA MODAL ══════════════════ */

#page-php-slot-machine .psm-modal {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto; background: rgba(8, 23, 26, .74);
}
#page-php-slot-machine .psm-modal.open { display: flex; }
#page-php-slot-machine .psm-modal__box {
  position: relative; width: 100%; max-width: 620px;
  background: #fff; border-radius: var(--psm-r); overflow: hidden;
}
#page-php-slot-machine .psm-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--psm-paper-3);
  color: var(--psm-text); cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
#page-php-slot-machine .psm-modal__close:hover { background: var(--psm-teal); color: #fff; }
/* Rule 20: min-height ≥ real form height + 100px buffer; the JS postMessage
   listener adjusts upward when the widget reports its own height. */
#page-php-slot-machine .psm-modal iframe {
  display: block; width: 100%; min-height: 820px; border: 0;
}

/* ══════════════════ RESPONSIVE ══════════════════ */

@media (max-width: 1024px) {
  #page-php-slot-machine .psm-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  #page-php-slot-machine .psm-cards,
  #page-php-slot-machine .psm-numbered,
  #page-php-slot-machine .psm-quotes { grid-template-columns: repeat(2, 1fr); }
  #page-php-slot-machine .psm-offices { grid-template-columns: repeat(2, 1fr); }
  #page-php-slot-machine .psm-split,
  #page-php-slot-machine .psm-split--narrow,
  #page-php-slot-machine .psm-band { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  #page-php-slot-machine .psm-wrap { padding-inline: 18px; }
  #page-php-slot-machine .psm-cards,
  #page-php-slot-machine .psm-types,
  #page-php-slot-machine .psm-admin,
  #page-php-slot-machine .psm-numbered,
  #page-php-slot-machine .psm-pair,
  #page-php-slot-machine .psm-quotes,
  #page-php-slot-machine .psm-offices,
  #page-php-slot-machine .psm-ticks--2col { grid-template-columns: 1fr; }
  /* The shared chrome's .sidebar-icon rail is position:fixed over the leftmost
     36px at z-index 50. Hero inline padding clears it, and the left-aligned
     blocks stay centred rather than sitting against the rail. */
  #page-php-slot-machine .psm-hero {
    min-height: 0; display: block; padding-inline: 40px;
    padding-top: clamp(48px, 12vw, 72px); padding-bottom: clamp(44px, 10vw, 64px);
  }
  #page-php-slot-machine .psm-hero__trust {
    flex-direction: column; align-items: center; gap: 12px;
    margin-top: 30px; padding-top: 24px;
  }
  #page-php-slot-machine .psm-hero__stats {
    grid-template-columns: repeat(2, 1fr); gap: 20px 16px;
    margin-top: 28px; padding-top: 24px; text-align: center;
  }
  #page-php-slot-machine .psm-hero__stats div { align-items: center; }
  #page-php-slot-machine .psm-hero__stats dt { font-size: clamp(26px, 8vw, 32px); }
  #page-php-slot-machine .psm-btn { width: 100%; }
  #page-php-slot-machine .psm-car__nav { justify-content: center; }
  #page-php-slot-machine .psm-shot { flex-basis: 78vw; }
  #page-php-slot-machine .psm-modal iframe { min-height: 900px; }
}

@media (max-width: 400px) {
  #page-php-slot-machine .psm-cloud a { width: 100%; }
}

/* ══════════════════ REDUCED MOTION ══════════════════
   No @keyframes exist in this file; this neutralises the remaining finite
   transitions for users who ask for it. */
@media (prefers-reduced-motion: reduce) {
  #page-php-slot-machine *,
  #page-php-slot-machine *::before,
  #page-php-slot-machine *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  #page-php-slot-machine .psm-modal,
  #page-php-slot-machine .psm-car__nav { display: none !important; }
}
