   PROMO RAIL — right-side sister-game carousel for blog pages
   Same design system as /free-plinko-game/, JS in blog-paper.js
   builds the markup and rotates groups every 12s. Mobile hides.
   ============================================================ */
.bp-promo-rail { display: none; }

/* Article layout stays exactly as designed (centered, original max-width).
   The rail is a fixed overlay floating in the right margin of the viewport.
   Renders at >=1175px so it never crowds the centered article column. */
@media (min-width: 1175px) {
  .bp-promo-rail {
    display: block;
    /* Fixed at the same visual spot the breadcrumb row sits at on
       initial load (top:180 from viewport), so the rail stays visible
       while the article scrolls underneath. */
    position: fixed;
    top: 180px;
    right: 24px;
    width: 240px;
    height: 520px;
    padding-top: 8px;
    overflow: hidden;
    z-index: 50;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .bp-promo-group {
    background: transparent !important;
  }

  .bp-promo-group {
    position: absolute;
    left: 0; right: 0;
    top: 8px; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .55s ease;
    will-change: transform, opacity;
  }
  .bp-promo-group.is-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .bp-promo-group.is-leaving {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .bp-promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    /* Lighter shadow than the dark-page version so the dark card sits
       cleanly on the white paper background without a heavy grey halo. */
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
    cursor: pointer;
  }
  .bp-promo-card:hover { transform: translateY(-4px); }

  .bp-promo-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: #000000;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .bp-promo-wordmark {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff !important;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .bp-promo-wordmark::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a00 0%, #ffd700 50%, #8b5cf6 100%);
    box-shadow: 0 0 8px rgba(255,170,0,.7);
  }
  .bp-promo-wordmark em {
    font-style: normal;
    color: #ffd700;
  }
  .bp-promo-ad-tag {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    padding: 1px 6px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 3px;
    line-height: 1.4;
  }

  /* Hero removed from the layout; the footer (Title + Play Free) is
     vertically centered as ONE block inside the card. Card height is
     preserved by reserving 140px min-height on the footer. */
  .bp-promo-hero {
    display: none !important;
  }
  .bp-promo-footer {
    padding: 14px 12px 14px;
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .bp-promo-footer .bp-promo-gamename {
    margin: 0 !important;
  }
  .bp-promo-gamename {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 8px;
    line-height: 1.1;
    color: #fff;
  }
  /* Play label rendered as plain text under the game name; no pill,
     no border, no background. Hover slightly brightens it. */
  .bp-promo-play {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    padding: 0;
    border: 0;
    background: none;
    transition: color .25s ease, letter-spacing .25s ease;
  }
  .bp-promo-card:hover .bp-promo-play {
    color: rgba(255,255,255,.95);
    letter-spacing: 2px;
  }

  .bp-promo-bigmark {
    position: relative; z-index: 1;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: 2px;
    line-height: 1;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--accent, #ffd700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px var(--accent-glow, rgba(255,215,0,.45)));
  }
  .bp-promo-bigmark.small { font-size: 22px; letter-spacing: 2px; }

  /* Variant palettes */
  .bp-promo-card.crashorcash { background: linear-gradient(160deg, #1a0b2e 0%, #221032 40%, #1a1505 100%); border-color: rgba(255,215,0,.28); --accent: #ffd700; --accent-glow: rgba(255,215,0,.5); }
  .bp-promo-card.crashorcash::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(255,215,0,.20), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(255,138,0,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.crashorcash > * { position: relative; z-index: 1; }
  .bp-promo-card.crashorcash:hover { border-color: rgba(255,215,0,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(255,215,0,.28); }
  .bp-promo-card.crashorcash .bp-promo-gamename { background: linear-gradient(180deg, #fff 0%, #ffd700 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(255,215,0,.4)); }

  /* Brand-only card layout: no hero image, the game name is the
     centerpiece. Pure brand-recall slot at the top of the rail. */
  .bp-promo-card.is-brand .bp-promo-brandbody {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px 22px;
    text-align: center;
  }
  .bp-promo-card.is-brand .bp-promo-gamename {
    font-size: 22px;
    letter-spacing: 1.5px;
    margin: 0;
  }

  .bp-promo-card.coc { background: linear-gradient(160deg, #1a0b2e 0%, #2d0a1a 40%, #4a1505 100%); border-color: rgba(255,107,53,.25); }
  .bp-promo-card.coc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(255,165,0,.18), transparent 50%), radial-gradient(ellipse at 20% 80%, rgba(220,38,38,.15), transparent 55%); pointer-events: none; z-index: 0; }
  .bp-promo-card.coc > * { position: relative; z-index: 1; }
  .bp-promo-card.coc:hover { border-color: rgba(255,138,0,.5); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(255,138,0,.22); }
  .bp-promo-card.coc .bp-promo-gamename { background: linear-gradient(180deg, #ffe066 0%, #ff8a00 50%, #ff3d3d 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(255,138,0,.4)); }
  .bp-promo-rocket-svg { width: 100%; height: 100%; position: absolute; inset: 0; }

  .bp-promo-card.mines { background: linear-gradient(160deg, #0f0b2e 0%, #1a0d3d 40%, #2d1554 100%); border-color: rgba(139,92,246,.25); }
  .bp-promo-card.mines::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(139,92,246,.18), transparent 50%), radial-gradient(ellipse at 20% 80%, rgba(59,130,246,.15), transparent 55%); pointer-events: none; z-index: 0; }
  .bp-promo-card.mines > * { position: relative; z-index: 1; }
  .bp-promo-card.mines:hover { border-color: rgba(139,92,246,.5); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(139,92,246,.25); }
  .bp-promo-card.mines .bp-promo-gamename { background: linear-gradient(180deg, #e0d4ff 0%, #a78bfa 50%, #6366f1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(139,92,246,.45)); }
  .bp-promo-mines-grid { display: grid; grid-template-columns: repeat(5, 12px); grid-template-rows: repeat(5, 12px); gap: 2px; }
  .bp-promo-mine-tile { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #2d1a4d 0%, #1a0d3d 100%); border: 1px solid rgba(139,92,246,.25); display: flex; align-items: center; justify-content: center; font-size: 7px; line-height: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
  .bp-promo-mine-tile.gem { background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%); border-color: rgba(64,187,230,.6); box-shadow: 0 0 8px rgba(64,187,230,.55), inset 0 1px 0 rgba(255,255,255,.2); }
  .bp-promo-mine-tile.bomb { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); border-color: rgba(239,68,68,.6); box-shadow: 0 0 8px rgba(239,68,68,.55), inset 0 1px 0 rgba(255,255,255,.2); }

  .bp-promo-card.blackjack { background: linear-gradient(160deg, #052e1a 0%, #0b3d22 40%, #15291a 100%); border-color: rgba(34,197,94,.28); --accent: #4ade80; --accent-glow: rgba(34,197,94,.5); }
  .bp-promo-card.blackjack::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(34,197,94,.18), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(16,185,129,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.blackjack > * { position: relative; z-index: 1; }
  .bp-promo-card.blackjack:hover { border-color: rgba(34,197,94,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(34,197,94,.28); }
  .bp-promo-card.blackjack .bp-promo-gamename { background: linear-gradient(180deg, #d1fae5 0%, #4ade80 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(34,197,94,.4)); }

  .bp-promo-card.texasholdem { background: linear-gradient(160deg, #2e0b0b 0%, #3d1015 40%, #1a0510 100%); border-color: rgba(239,68,68,.28); --accent: #f87171; --accent-glow: rgba(239,68,68,.5); }
  .bp-promo-card.texasholdem::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(239,68,68,.20), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(220,38,38,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.texasholdem > * { position: relative; z-index: 1; }
  .bp-promo-card.texasholdem:hover { border-color: rgba(239,68,68,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(239,68,68,.3); }
  .bp-promo-card.texasholdem .bp-promo-gamename { background: linear-gradient(180deg, #fecaca 0%, #ef4444 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(239,68,68,.45)); }

  .bp-promo-card.videopoker { background: linear-gradient(160deg, #0a1b3d 0%, #0d2554 40%, #051828 100%); border-color: rgba(59,130,246,.28); --accent: #60a5fa; --accent-glow: rgba(59,130,246,.5); }
  .bp-promo-card.videopoker::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(59,130,246,.20), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(6,182,212,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.videopoker > * { position: relative; z-index: 1; }
  .bp-promo-card.videopoker:hover { border-color: rgba(59,130,246,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(59,130,246,.3); }
  .bp-promo-card.videopoker .bp-promo-gamename { background: linear-gradient(180deg, #bfdbfe 0%, #60a5fa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(59,130,246,.45)); }

  .bp-promo-card.t2048 { background: linear-gradient(160deg, #2e1c0a 0%, #3d260f 40%, #1a1005 100%); border-color: rgba(245,158,11,.3); --accent: #fbbf24; --accent-glow: rgba(245,158,11,.5); }
  .bp-promo-card.t2048::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(245,158,11,.20), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(217,119,6,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.t2048 > * { position: relative; z-index: 1; }
  .bp-promo-card.t2048:hover { border-color: rgba(245,158,11,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(245,158,11,.3); }
  .bp-promo-card.t2048 .bp-promo-gamename { background: linear-gradient(180deg, #fef3c7 0%, #fbbf24 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(245,158,11,.4)); }

  .bp-promo-card.solitaire { background: linear-gradient(160deg, #052e2e 0%, #0a3d3d 40%, #0a1f29 100%); border-color: rgba(6,182,212,.3); --accent: #22d3ee; --accent-glow: rgba(6,182,212,.5); }
  .bp-promo-card.solitaire::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(6,182,212,.20), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(8,145,178,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.solitaire > * { position: relative; z-index: 1; }
  .bp-promo-card.solitaire:hover { border-color: rgba(6,182,212,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(6,182,212,.3); }
  .bp-promo-card.solitaire .bp-promo-gamename { background: linear-gradient(180deg, #cffafe 0%, #22d3ee 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(6,182,212,.4)); }

  .bp-promo-card.checkers { background: linear-gradient(160deg, #1a0b2e 0%, #25153d 40%, #15102e 100%); border-color: rgba(167,139,250,.3); --accent: #c4b5fd; --accent-glow: rgba(167,139,250,.5); }
  .bp-promo-card.checkers::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(167,139,250,.20), transparent 55%), radial-gradient(ellipse at 30% 80%, rgba(124,58,237,.12), transparent 60%); pointer-events: none; z-index: 0; }
  .bp-promo-card.checkers > * { position: relative; z-index: 1; }
  .bp-promo-card.checkers:hover { border-color: rgba(167,139,250,.6); box-shadow: 0 10px 36px rgba(0,0,0,.65), 0 0 32px rgba(167,139,250,.3); }
  .bp-promo-card.checkers .bp-promo-gamename { background: linear-gradient(180deg, #ede9fe 0%, #c4b5fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 12px rgba(167,139,250,.4)); }
}
