/* ============================================================================
   Kleobetra - Ancient Egypt / Cleopatra theme
   Palette: pharaoh gold + lapis lazuli + Nile turquoise + pharaoh red + sand
   Fonts:   Almendra Display (decorative carved-stone display)
            + Cinzel (Roman/temple-inscription)
            + Allura (Cleopatra elegance script)
            + Cormorant Garamond (refined body serif)
            + Noto Sans Egyptian Hieroglyphs (for hieroglyph layer)
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --night: #0a0606;                  /* Egyptian night - red-tinged black */
    --tomb: #1a0e0a;                   /* tomb interior */
    --kohl: #14100c;                   /* eyeliner black */

    --sand: #d4a574;
    --sand-light: #e8c89a;
    --sand-deep: #c2895a;
    --sand-soft: rgba(212, 165, 116, 0.55);

    --stone: #8b6e3a;                  /* pyramid stone */
    --stone-deep: #6b4e2a;
    --stone-shadow: #3a2a14;

    --gold: #d4af37;
    --gold-bright: #f4cf64;
    --gold-pale: #ffe089;
    --gold-deep: #b88912;
    --gold-soft: rgba(212, 175, 55, 0.55);

    /* "lapis" tokens repurposed as dark brown trim (no blue in palette anymore) */
    --lapis: #4a2814;                  /* deep brown */
    --lapis-bright: #7a4828;            /* mid brown */
    --lapis-soft: rgba(74, 40, 20, 0.5);

    /* "nile" tokens become warm tobacco / amber */
    --nile: #6b4e2a;
    --nile-bright: #8b6e3a;
    --turquoise: #40e0d0;               /* keep Hathor turquoise for the win-CTA accent */
    --turquoise-soft: rgba(64, 224, 208, 0.55);

    --pharaoh-red: #c1121f;
    --pharaoh-red-deep: #8b1018;
    --pharaoh-red-soft: rgba(193, 18, 31, 0.55);

    --papyrus: #f5e6c8;
    --papyrus-soft: rgba(245, 230, 200, 0.85);

    --text: #f5e6c8;
    --text-soft: rgba(245, 230, 200, 0.78);
    --muted: #a89a7a;

    --display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --serif: 'Playfair Display', 'Georgia', serif;
    --script: 'Playfair Display', 'Georgia', serif;        /* italic styling applied per-element */
    --body: 'EB Garamond', 'Georgia', 'Times New Roman', serif;
    --hieroglyph: 'Noto Sans Egyptian Hieroglyphs', 'Noto Sans Symbols2', 'Noto Sans', serif;
}

body {
    margin: 0;
    font-family: var(--body);
    font-weight: 500;
    color: var(--text);
    background: var(--tomb);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================================
   BACKGROUND - desert night with the sun, pyramids, hieroglyphs and sand
   ============================================================================ */

/* 1. Desert sky in warm browns only - sepia dusk, sandstone, tomb floor */
.bg-sky {
    position: fixed;
    inset: 0;
    z-index: -7;
    background:
        linear-gradient(180deg,
            #1a0a04 0%,
            #2e1808 22%,
            #5a3818 50%,
            #8b6e3a 70%,
            #5a3a1a 85%,
            var(--tomb) 100%);
}

/* 2. Stars and a pulsing sun-disc of Ra */
.bg-stars {
    position: fixed;
    inset: 0;
    z-index: -6;
    pointer-events: none;
    background-image:
        /* Sun disc of Ra - top centre */
        radial-gradient(circle 110px at 50% 8%, rgba(255, 224, 137, 0.75), transparent 65%),
        radial-gradient(circle 240px at 50% 8%, rgba(212, 175, 55, 0.35), transparent 75%),
        radial-gradient(circle 360px at 50% 8%, rgba(193, 18, 31, 0.18), transparent 80%),
        /* Stars across the upper sky */
        radial-gradient(1.5px 1.5px at 12% 14%, rgba(255, 224, 137, 0.7), transparent 60%),
        radial-gradient(1px 1px at 26% 8%, rgba(245, 230, 200, 0.55), transparent 60%),
        radial-gradient(1.5px 1.5px at 42% 18%, rgba(212, 175, 55, 0.6), transparent 60%),
        radial-gradient(1px 1px at 62% 14%, rgba(245, 230, 200, 0.55), transparent 60%),
        radial-gradient(1.5px 1.5px at 76% 22%, rgba(255, 224, 137, 0.7), transparent 60%),
        radial-gradient(1px 1px at 88% 12%, rgba(212, 175, 55, 0.6), transparent 60%);
    animation: raPulse 4.5s ease-in-out infinite alternate;
}

@keyframes raPulse {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 1; filter: brightness(1.15); }
}

/* 3. Sand haze across the horizon */
.bg-clouds {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100vw 26vh at 50% 70%, rgba(212, 165, 116, 0.22), transparent 70%),
        radial-gradient(ellipse 80vw 18vh at 50% 80%, rgba(193, 18, 31, 0.10), transparent 70%);
    animation: hazeShift 9s ease-in-out infinite alternate;
}

@keyframes hazeShift {
    0%, 100% { transform: translateX(-1%); }
    50%      { transform: translateX(1%); }
}

/* 4. Pyramid silhouettes on the horizon */
.bg-pyramids {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32vh;
    z-index: -4;
    pointer-events: none;
}

.pyramid {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, var(--stone) 0%, var(--stone-deep) 60%, var(--stone-shadow) 100%);
    /* Triangle clip */
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    /* Subtle gold capstone glow */
    box-shadow:
        0 -8px 24px rgba(212, 175, 55, 0.18),
        0 -2px 8px rgba(212, 175, 55, 0.4);
    filter: drop-shadow(0 -4px 12px rgba(0, 0, 0, 0.5));
}

/* Big main pyramid behind hero */
.pyramid-1 {
    width: 36vw;
    height: 28vh;
    bottom: 4vh;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.85;
    z-index: 2;
}

/* Mid-size pyramid behind-left */
.pyramid-2 {
    width: 24vw;
    height: 18vh;
    bottom: 0;
    left: 16%;
    opacity: 0.7;
    z-index: 1;
}

/* Mid-size pyramid behind-right */
.pyramid-3 {
    width: 22vw;
    height: 17vh;
    bottom: 2vh;
    right: 20%;
    opacity: 0.65;
    z-index: 1;
}

/* Small distant pyramid */
.pyramid-4 {
    width: 14vw;
    height: 10vh;
    bottom: 0;
    left: 5%;
    opacity: 0.45;
    z-index: 0;
    filter: blur(1px);
}

@media (max-width: 720px) {
    .pyramid-1 { width: 60vw; height: 22vh; }
    .pyramid-2 { width: 35vw; }
    .pyramid-3 { width: 32vw; }
    .pyramid-4 { display: none; }
}

/* 5. Floating Egyptian hieroglyphs */
.bg-glyphs {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
}

.glyph {
    position: absolute;
    font-family: var(--hieroglyph);
    color: var(--gold);
    line-height: 1;
    user-select: none;
    will-change: transform, opacity;
    animation-name: glyphDrift;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    text-shadow:
        0 0 12px var(--gold-soft),
        0 0 22px rgba(212, 175, 55, 0.3);
}

/* Alternate every 3rd glyph to lapis blue for variety */
.bg-glyphs .glyph:nth-child(3n+1) {
    color: var(--lapis-bright);
    text-shadow: 0 0 12px var(--lapis-soft), 0 0 22px rgba(40, 84, 168, 0.3);
}
.bg-glyphs .glyph:nth-child(5n) {
    color: var(--turquoise);
    text-shadow: 0 0 12px var(--turquoise-soft), 0 0 22px rgba(64, 224, 208, 0.3);
}

@keyframes glyphDrift {
    0%   { transform: translate(0, 0) rotate(0deg);     opacity: 0; }
    10%  { opacity: 0.55; }
    50%  { transform: translate(20px, -28px) rotate(8deg); }
    90%  { opacity: 0.5; }
    100% { transform: translate(-15px, 32px) rotate(-6deg); opacity: 0; }
}

/* 6. Drifting sand dust */
.bg-sand {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.sand {
    position: absolute;
    bottom: -3vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 224, 137, 0.95) 0%, rgba(212, 175, 55, 0.4) 50%, transparent 80%);
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
    will-change: transform, opacity;
    animation-name: sandRise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes sandRise {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    8%   { opacity: 1; }
    50%  { transform: translate3d(calc(var(--sway, 0px) * 0.5), -55vh, 0); opacity: 1; }
    92%  { opacity: 0.7; }
    100% { transform: translate3d(var(--sway, 0px), -110vh, 0); opacity: 0; }
}

/* ============================================================================
   SITE HEADER + NAV - golden mausoleum
   ============================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background:
        linear-gradient(180deg, rgba(10, 6, 6, 0.97), rgba(26, 14, 10, 0.92));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gold);
    box-shadow:
        0 1px 0 var(--lapis),
        0 4px 22px rgba(0, 0, 0, 0.7);
}

.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-family: var(--display);
    color: var(--gold-bright);
    font-size: 1.95rem;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow:
        0 0 1px #000,
        2px 2px 0 var(--pharaoh-red-deep),
        3px 3px 0 #000,
        0 0 18px var(--gold-soft);
    transition: filter 0.2s, transform 0.2s;
}
.site-logo:hover { filter: brightness(1.18); transform: translateY(-1px); }

/* Eye of Horus logo mark on a gold disc */
.logo-mark {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold) 50%, var(--pharaoh-red-deep));
    color: var(--kohl);
    align-items: center;
    justify-content: center;
    font-family: var(--hieroglyph);
    font-size: 1.5rem;
    box-shadow:
        0 0 14px var(--gold-soft),
        0 0 28px var(--pharaoh-red-soft),
        inset 0 -2px 4px rgba(0, 0, 0, 0.45),
        inset 0 2px 2px rgba(255, 255, 255, 0.45);
    border: 2px solid var(--kohl);
}
.logo-mark::before { content: '𓂀'; }   /* Eye of Horus */
.logo-mark > * { display: none; }

.site-nav { margin-left: auto; }
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.site-nav a {
    display: inline-block;
    padding: 9px 22px;
    color: var(--papyrus);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 0.84rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: color 0.18s, border-color 0.18s, text-shadow 0.18s;
}
.site-nav a:hover {
    color: var(--gold-bright);
    border-bottom-color: var(--gold);
    text-shadow: 0 0 10px var(--gold-soft);
}
.site-nav a.active {
    color: var(--kohl);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    border-bottom-color: var(--kohl);
    box-shadow: 0 0 16px var(--gold-soft);
    padding: 9px 22px;
}

@media (max-width: 600px) {
    .site-header-inner { gap: 10px; padding: 10px 14px; }
    .site-logo { font-size: 1.4rem; letter-spacing: 3px; }
    .logo-mark { width: 34px; height: 34px; font-size: 1.2rem; }
    .site-nav { width: 100%; }
    .site-nav ul { justify-content: center; }
    .site-nav a { padding: 7px 14px; font-size: 0.74rem; letter-spacing: 2px; }
}

/* ============================================================================
   PAGE HERO - temple cartouche
   ============================================================================ */

.hero {
    text-align: center;
    padding: 76px 20px 30px;
    position: relative;
}

.hero-eyebrow {
    color: var(--turquoise);
    font-family: var(--serif);
    font-size: 0.92rem;
    letter-spacing: 6px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 0 12px var(--turquoise-soft);
}

/* Egyptian-flavoured ornament under the eyebrow: ankh - eye - ankh */
.hero-eyebrow::after {
    content: '☥  𓂀  ☥';
    display: block;
    margin-top: 10px;
    color: var(--gold-bright);
    font-size: 1.3rem;
    letter-spacing: 22px;
    text-shadow: 0 0 12px var(--gold-soft);
    font-family: var(--hieroglyph);
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    margin: 0 0 14px;
    color: var(--gold-bright);
    letter-spacing: 3px;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    /* Engraved-on-stone shadow */
    text-shadow:
        0 0 1px #000,
        3px 3px 0 var(--pharaoh-red-deep),
        5px 5px 0 var(--kohl),
        0 0 30px rgba(212, 175, 55, 0.4);
    animation: pharaohGlow 3.5s ease-in-out infinite alternate;
}

@keyframes pharaohGlow {
    from {
        text-shadow:
            0 0 1px #000, 3px 3px 0 var(--pharaoh-red-deep), 5px 5px 0 var(--kohl),
            0 0 22px rgba(212, 175, 55, 0.35);
    }
    to {
        text-shadow:
            0 0 2px #fff, 3px 3px 0 var(--pharaoh-red-deep), 5px 5px 0 var(--kohl),
            0 0 50px var(--gold-bright), 0 0 80px var(--gold-soft);
    }
}

.subtitle {
    color: var(--gold-pale);
    font-size: 2.4rem;
    font-family: var(--script);
    font-weight: 400;
    max-width: 760px;
    margin: 0 auto;
    letter-spacing: 0.5px;
    line-height: 1.15;
    text-shadow: 0 0 14px var(--gold-soft), 0 1px 2px #000;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px 50px;
    position: relative;
    z-index: 1;
}

.accent {
    color: var(--turquoise);
    font-family: var(--script);
    font-style: normal;
    text-shadow: 0 0 14px var(--turquoise-soft);
    font-weight: 400;
}

/* ============================================================================
   HERO RECOMMENDED ROW - golden cartouche
   ============================================================================ */

.hero-row { margin-bottom: 30px; }

.casino-hero {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 32px 38px;
    /* Cartouche-shaped: rounded ends like an Egyptian royal name plate */
    border-radius: 90px / 50%;
    background:
        linear-gradient(135deg, rgba(26, 14, 10, 0.96), rgba(10, 6, 6, 0.98));
    border: 3px solid var(--gold);
    /* Lapis lazuli outer accent + gold inner glow */
    outline: 2px solid var(--lapis-bright);
    outline-offset: 7px;
    box-shadow:
        0 0 0 1px var(--kohl) inset,
        0 0 35px var(--gold-soft),
        0 0 70px var(--pharaoh-red-soft),
        0 14px 38px rgba(0, 0, 0, 0.85);
    animation: cartoucheGlow 3s ease-in-out infinite alternate;
}

@keyframes cartoucheGlow {
    from { box-shadow: 0 0 0 1px var(--kohl) inset, 0 0 28px var(--gold-soft), 0 14px 38px rgba(0,0,0,0.85); }
    to   { box-shadow: 0 0 0 1px var(--kohl) inset, 0 0 50px var(--gold-bright), 0 0 80px var(--turquoise-soft), 0 14px 38px rgba(0,0,0,0.85); }
}

.badge-recommended {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--pharaoh-red), var(--pharaoh-red-deep));
    color: var(--gold-bright);
    font-family: var(--display);
    font-weight: 400;
    padding: 8px 28px;
    font-size: 0.85rem;
    letter-spacing: 5px;
    border-radius: 22px;
    white-space: nowrap;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.7),
        0 0 18px var(--pharaoh-red-soft),
        0 0 30px var(--gold-soft);
}

.hero-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold) 50%, var(--pharaoh-red-deep));
    color: var(--kohl);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-family: var(--display);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow:
        0 0 14px var(--gold-soft),
        inset 0 -2px 4px rgba(0, 0, 0, 0.45),
        inset 0 2px 2px rgba(255, 255, 255, 0.5);
    z-index: 2;
    border: 2px solid var(--kohl);
}

.hero-logo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid var(--gold);
    box-shadow:
        0 0 0 1px var(--lapis) inset,
        0 0 22px var(--gold-soft);
    display: block;
    /* Gentle sepia for that vintage temple-relief feel */
    filter: sepia(0.18) saturate(0.92);
}

.hero-content { min-width: 0; }

.hero-name {
    margin: 4px 0 6px;
    font-family: var(--display);
    color: var(--papyrus);
    font-size: clamp(1.95rem, 3.3vw, 2.7rem);
    letter-spacing: 2.5px;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow:
        2px 2px 0 var(--pharaoh-red-deep),
        4px 4px 0 var(--kohl);
}

.hero-tagline {
    color: var(--gold-pale);
    font-family: var(--script);
    font-weight: 400;
    font-size: 2.1rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 0 0 10px var(--gold-soft), 0 1px 2px #000;
}

.hero-bonus {
    background: rgba(40, 84, 168, 0.15);
    border-left: 4px solid var(--gold);
    padding: 14px 18px;
    margin-top: 12px;
    border-radius: 0 8px 8px 0;
}

.bonus-label {
    display: block;
    color: var(--turquoise);
    font-family: var(--serif);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.bonus-text {
    display: block;
    color: var(--papyrus);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.45;
    font-family: var(--body);
}

.hero-bonus .bonus-text { font-size: 1.25rem; }

.hero-cta { text-align: center; }

.hero-cta-sub {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--serif);
}

@media (max-width: 800px) {
    .casino-hero {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        border-radius: 30px;
    }
    .hero-logo img { width: 160px; height: 160px; }
}

/* ============================================================================
   ALTERNATIVES - just 1 card (limit=2 in $API: hero + 1 alt)
   ============================================================================ */

.alternatives {
    display: grid;
    gap: 22px;
    margin-bottom: 50px;
}

/* Override the default 5-col layout: when there's just 1 alternative,
   center it as a single, prominent card */
.alternatives.five-col {
    grid-template-columns: minmax(260px, 480px);
    justify-content: center;
}

@media (max-width: 520px)  {
    .alternatives.five-col { grid-template-columns: 1fr; }
}

.casino-card {
    position: relative;
    padding: 26px 22px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(26, 14, 10, 0.94), rgba(10, 6, 6, 0.97));
    border: 2px solid var(--gold);
    border-radius: 14px;
    outline: 1px solid var(--lapis);
    outline-offset: 4px;
    box-shadow:
        0 0 0 1px var(--kohl) inset,
        0 8px 26px rgba(0, 0, 0, 0.7),
        0 0 22px var(--gold-soft);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    overflow: hidden;
}

.casino-card::before {
    /* Tricolour stripe: lapis - gold - pharaoh-red (Egyptian flag of the gods) */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lapis) 0%, var(--lapis) 33%, var(--gold-bright) 33%, var(--gold-bright) 67%, var(--pharaoh-red) 67%, var(--pharaoh-red) 100%);
}

.casino-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 1px var(--kohl) inset, 0 14px 36px var(--gold-soft);
}

.rank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold) 50%, var(--pharaoh-red-deep));
    color: var(--kohl);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-family: var(--display);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 12px var(--gold-soft), inset 0 -2px 3px rgba(0, 0, 0, 0.4);
    z-index: 2;
    border: 2px solid var(--kohl);
}

.logo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 14px auto 14px;
    display: block;
    border-radius: 8px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 14px var(--gold-soft);
    filter: sepia(0.18) saturate(0.92);
    position: relative;
    z-index: 1;
}

.casino-name {
    font-family: var(--display);
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: var(--gold-bright);
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 1.5px 1.5px 0 var(--pharaoh-red-deep), 2px 2px 0 var(--kohl);
    position: relative;
    z-index: 1;
}

/* Stars - pharaoh gold */
.rating { margin-bottom: 14px; font-size: 1.2rem; position: relative; z-index: 1; }
.star.full {
    color: var(--gold-bright);
    text-shadow: 0 0 8px var(--gold), 0 0 14px var(--gold-soft);
}
.star.half { color: var(--gold-bright); opacity: 0.55; }
.star.empty { color: rgba(168, 154, 122, 0.3); }

.rating-num {
    color: var(--papyrus);
    font-size: 0.95rem;
    margin-left: 6px;
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 1px;
}

.bonus {
    background: rgba(40, 84, 168, 0.1);
    border-left: 3px solid var(--pharaoh-red);
    padding: 10px 14px;
    margin-bottom: 16px;
    text-align: left;
    min-height: 70px;
    border-radius: 0 6px 6px 0;
    font-family: var(--body);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    display: inline-block;
    padding: 13px 22px;
    font-family: var(--display);
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid var(--kohl);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
    background: transparent;
    color: var(--papyrus);
    position: relative;
    z-index: 1;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.18); }
.btn:active { transform: translateY(0); }

.btn-claim {
    width: 100%;
    padding: 14px 18px;
    color: var(--kohl);
    font-weight: 400;
    box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 14px rgba(0, 0, 0, 0.6);
}

.btn-hero {
    padding: 18px 36px;
    font-size: 1.05rem;
    color: var(--kohl);
    white-space: nowrap;
    box-shadow:
        0 0 0 1px var(--gold) inset,
        0 4px 14px rgba(0, 0, 0, 0.7),
        0 0 24px var(--gold-soft);
    font-weight: 400;
    border: 1px solid var(--kohl);
    letter-spacing: 4px;
}

.flashing { animation: btnPharaohFlash 1.4s ease-in-out infinite; }
@keyframes btnPharaohFlash {
    0%, 100% {
        box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 14px rgba(0,0,0,0.6), 0 0 14px var(--gold-soft);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 0 0 0 1px var(--gold-bright) inset, 0 4px 18px rgba(0,0,0,0.6), 0 0 32px var(--gold-bright), 0 0 50px var(--pharaoh-red-soft);
        filter: brightness(1.2);
    }
}

/* ============================================================================
   SECTION TITLES
   ============================================================================ */

.section-title {
    text-align: center;
    color: var(--gold-bright);
    font-family: var(--display);
    font-size: clamp(2.1rem, 3.5vw, 2.9rem);
    margin: 16px 0 6px;
    letter-spacing: 3px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow:
        2px 2px 0 var(--pharaoh-red-deep),
        4px 4px 0 var(--kohl),
        0 0 24px var(--gold-soft);
}

.section-title::after {
    content: '☥  𓂀  ☥';
    display: block;
    margin-top: 12px;
    color: var(--turquoise);
    font-size: 1.2rem;
    letter-spacing: 22px;
    text-shadow: 0 0 12px var(--turquoise-soft);
    font-family: var(--hieroglyph);
}

.section-sub {
    text-align: center;
    color: var(--gold-pale);
    margin: 14px 0 26px;
    font-size: 1.85rem;
    font-family: var(--script);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--gold-soft);
}

/* ============================================================================
   GAMES SECTION + BOOK OF RA SLOT - golden temple cabinet
   ============================================================================ */

.games-section {
    background:
        linear-gradient(135deg, rgba(26, 14, 10, 0.78), rgba(10, 6, 6, 0.94));
    border: 2px solid var(--gold);
    outline: 2px solid var(--lapis-bright);
    outline-offset: 7px;
    border-radius: 16px;
    padding: 36px 28px;
    margin-bottom: 50px;
    box-shadow:
        0 0 0 1px var(--kohl) inset,
        0 0 30px var(--gold-soft),
        0 0 60px var(--pharaoh-red-soft);
    position: relative;
    overflow: hidden;
}

.bookofra-wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.bookofra-machine {
    position: relative;
    display: inline-block;
    padding: 24px 30px;
    background: linear-gradient(180deg, var(--lapis) 0%, var(--kohl) 100%);
    border: 4px solid var(--gold-bright);
    border-radius: 8px;
    box-shadow:
        0 0 0 2px var(--kohl) inset,
        inset 0 0 30px rgba(0, 0, 0, 0.85),
        0 0 35px var(--gold-soft),
        0 0 60px var(--pharaoh-red-soft);
    margin-bottom: 14px;
}

.reels-container {
    display: flex;
    gap: 6px;
    background: var(--kohl);
    padding: 8px;
    border-radius: 4px;
    border: 2px solid var(--gold);
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.95);
}

.reel {
    width: 84px;
    height: 252px;
    background: linear-gradient(180deg, #2a1a08 0%, #100804 50%, #2a1a08 100%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 14px rgba(212, 175, 55, 0.18);
}

.reel.spinning .cell {
    animation: reelBlur 0.06s linear infinite;
}

@keyframes reelBlur {
    from { transform: translateY(-4px); filter: blur(0.6px); }
    to   { transform: translateY(4px);  filter: blur(0.6px); }
}

.cell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-family: var(--display);
    font-weight: 400;
    color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(26, 14, 10, 0.7) 0%, rgba(10, 6, 6, 0.9) 100%);
    border-bottom: 1px solid var(--gold-soft);
    transition: background 0.4s, color 0.4s, transform 0.4s;
    user-select: none;
    text-shadow: 0 0 8px var(--gold-soft), 1px 1px 0 #000;
}

.cell:last-child { border-bottom: none; }

.cell.payline {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.18) 0%, rgba(193, 18, 31, 0.18) 100%);
    box-shadow: inset 0 0 0 1px var(--gold-bright);
}

.cell.win {
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--pharaoh-red) 100%);
    color: var(--papyrus);
    transform: scale(1.05);
    box-shadow:
        0 0 22px var(--gold),
        0 0 40px var(--pharaoh-red-soft),
        inset 0 0 12px rgba(255, 255, 255, 0.55);
    animation: winPulse 0.7s ease-in-out infinite alternate;
    text-shadow: 0 1px 0 #000, 0 0 8px var(--gold-bright);
}

@keyframes winPulse {
    from { box-shadow: 0 0 14px var(--gold), inset 0 0 8px rgba(255,255,255,0.55); }
    to   { box-shadow: 0 0 36px var(--gold-bright), 0 0 50px var(--pharaoh-red-soft), inset 0 0 14px rgba(255,255,255,0.85); }
}

.payline-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-bright);
    font-size: 1.6rem;
    text-shadow: 0 0 10px var(--gold), 0 0 22px var(--pharaoh-red-soft);
    animation: paylinePulse 1.4s ease-in-out infinite;
}
.payline-left { left: 6px; }
.payline-right { right: 6px; }

@keyframes paylinePulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.bookofra-result {
    font-family: var(--script);
    font-size: 2.2rem;
    color: var(--gold-bright);
    margin-bottom: 18px;
    min-height: 28px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px var(--gold-soft), 0 1px 2px rgba(0, 0, 0, 0.6);
    line-height: 1.05;
}

.bookofra-action-row {
    margin: 18px 0 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.btn-bet {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold) 50%, var(--gold-deep));
    color: var(--kohl);
    padding: 16px 50px;
    font-size: 1.05rem;
    border: 2px solid var(--kohl);
    border-radius: 4px;
    box-shadow:
        0 4px 0 var(--kohl),
        0 0 24px var(--gold-soft),
        0 0 40px var(--pharaoh-red-soft);
    min-width: 220px;
    letter-spacing: 5px;
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-bet:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-bet:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--kohl), 0 0 14px var(--gold-soft);
}
.btn-bet:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.balance {
    color: var(--papyrus);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.balance span {
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 0 12px var(--gold-soft);
    margin-left: 6px;
    font-family: var(--display);
}

/* Bet section */
.bet-section { margin: 14px auto; max-width: 540px; position: relative; z-index: 1; }
.bet-section-label {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 0.78rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 8px var(--gold-soft);
}

.bet-amounts {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.slot-amount-btn {
    background: rgba(193, 18, 31, 0.1);
    color: var(--papyrus);
    border: 1px solid var(--gold);
    padding: 9px 18px;
    font-family: var(--serif);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.18s;
    text-transform: uppercase;
}
.slot-amount-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}
.slot-amount-btn.active {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: var(--kohl);
    border-color: var(--kohl);
    box-shadow: 0 3px 0 var(--kohl), 0 0 16px var(--gold-soft);
}

/* Paytable */
.paytable {
    margin-top: 22px;
    padding: 18px;
    background: rgba(10, 6, 6, 0.65);
    border: 1px solid var(--gold);
    border-radius: 6px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.paytable-title {
    color: var(--gold-bright);
    font-family: var(--display);
    font-weight: 400;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 3px;
    font-size: 1.05rem;
    text-transform: uppercase;
    text-shadow: 0 0 12px var(--gold-soft);
}

.paytable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 0.95rem;
    color: var(--papyrus);
    font-family: var(--body);
    font-weight: 500;
}

.paytable-grid span {
    background: rgba(212, 175, 55, 0.06);
    padding: 6px 10px;
    border-radius: 3px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.paytable-grid b { color: var(--gold-bright); font-size: 1.1rem; margin-right: 4px; text-shadow: 0 0 6px var(--gold-soft); }

.paytable-note {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.1rem;
    margin-top: 12px;
    font-family: var(--script);
    line-height: 1.05;
}

@media (max-width: 600px) {
    .reel { width: 60px; height: 180px; }
    .cell { font-size: 1.6rem; }
    .bookofra-machine { padding: 16px 22px; }
    .paytable-grid { grid-template-columns: repeat(2, 1fr); font-size: 0.92rem; }
}

/* ============================================================================
   WIN CTA - turquoise of Hathor
   ============================================================================ */

.win-cta {
    margin-top: 28px;
    text-align: center;
    padding: 24px 20px;
    border: 2px dashed var(--turquoise);
    outline: 1px solid var(--gold);
    outline-offset: 5px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(20, 60, 56, 0.55), rgba(10, 6, 6, 0.94));
    box-shadow: 0 0 30px var(--turquoise-soft);
    position: relative;
    z-index: 1;
}

.win-cta.hidden { display: none; }

.cta-pop { animation: ctaPop 0.5s cubic-bezier(0.25, 1.4, 0.5, 1); }
@keyframes ctaPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.win-cta-text {
    color: var(--turquoise);
    font-family: var(--script);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px var(--turquoise-soft), 0 1px 2px #000;
    line-height: 1.05;
}

.win-cta-sub {
    margin-top: 12px;
    color: rgba(184, 240, 230, 0.95);
    font-family: var(--serif);
    font-size: 0.82rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-win-real {
    display: inline-block;
    background: linear-gradient(90deg, #1f5c5a, var(--turquoise), #6dd5cf, var(--turquoise), #1f5c5a);
    background-size: 300% 100%;
    color: var(--kohl);
    padding: 20px 42px;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 5px;
    border: 1px solid var(--kohl);
    box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 0 var(--kohl);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
}

.flashing-green {
    animation: greenFlash 1s ease-in-out infinite, greenSlide 4s linear infinite;
}

@keyframes greenFlash {
    0%, 100% {
        box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 0 var(--kohl), 0 0 22px var(--turquoise-soft);
        transform: scale(1);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 0 0 0 1px var(--gold-bright) inset, 0 4px 0 var(--kohl), 0 0 50px var(--turquoise), 0 0 80px var(--gold-soft);
        transform: scale(1.04);
        filter: brightness(1.2);
    }
}
@keyframes greenSlide {
    from { background-position: 0% 50%; }
    to   { background-position: 300% 50%; }
}

@media (max-width: 600px) {
    .btn-win-real { padding: 16px 26px; font-size: 0.95rem; letter-spacing: 3px; }
}

/* ============================================================================
   GAME RECOMMENDATION
   ============================================================================ */

.game-recommendation { margin-bottom: 40px; }

.rec-card {
    background:
        linear-gradient(135deg, rgba(26, 14, 10, 0.97), rgba(10, 6, 6, 0.98));
    border: 2px solid var(--gold);
    outline: 2px solid var(--lapis-bright);
    outline-offset: 6px;
    border-radius: 14px;
    padding: 30px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow:
        0 0 0 1px var(--kohl) inset,
        0 0 30px var(--gold-soft),
        0 0 50px var(--pharaoh-red-soft);
}

.rec-logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--gold);
    box-shadow: 0 0 22px var(--gold-soft);
    filter: sepia(0.18) saturate(0.92);
}

.rec-info { flex: 1 1 220px; min-width: 200px; }

.rec-info h3 {
    margin: 0 0 8px;
    font-family: var(--display);
    color: var(--papyrus);
    font-size: 2rem;
    letter-spacing: 2.5px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--pharaoh-red-deep), 4px 4px 0 var(--kohl);
}

.rec-bonus {
    color: var(--papyrus);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--script);
    font-size: 1.55rem;
    line-height: 1.05;
}

.btn-play {
    background: linear-gradient(180deg, var(--pharaoh-red), var(--pharaoh-red-deep));
    color: var(--gold-bright);
    font-size: 1.05rem;
    padding: 16px 32px;
    border: 1px solid var(--kohl);
    box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 22px var(--pharaoh-red-soft);
    font-weight: 400;
    letter-spacing: 4px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.site-footer {
    background: linear-gradient(180deg, rgba(20, 12, 8, 0.92), rgba(0, 0, 0, 0.99));
    border-top: 1px solid var(--gold);
    padding: 36px 20px;
    margin-top: 30px;
    box-shadow: inset 0 1px 0 var(--lapis);
}
.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}
.footer-brand {
    font-family: var(--display);
    color: var(--gold-bright);
    font-size: 1.85rem;
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 2px 2px 0 var(--pharaoh-red-deep), 4px 4px 0 var(--kohl), 0 0 18px var(--gold-soft);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
}
.footer-nav a {
    color: var(--papyrus);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.15s;
}
.footer-nav a:hover { color: var(--gold-bright); }
.footer-disclaimer {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    font-family: var(--serif);
}

/* ============================================================================
   ARTICLE BODY - papyrus scroll
   ============================================================================ */

.article-body {
    background:
        linear-gradient(135deg, rgba(26, 14, 10, 0.55), rgba(10, 6, 6, 0.78));
    border: 1px solid var(--gold);
    outline: 1px solid var(--lapis);
    outline-offset: 5px;
    border-radius: 8px;
    padding: 44px 50px;
    margin: 14px auto 30px;
    max-width: 880px;
    color: var(--papyrus);
    font-family: var(--body);
    font-size: 1.12rem;
    line-height: 1.85;
    box-shadow:
        0 0 0 1px var(--kohl) inset,
        0 6px 28px rgba(0, 0, 0, 0.55);
}

.article-body h2 {
    font-family: var(--display);
    color: var(--gold-bright);
    margin: 36px 0 14px;
    letter-spacing: 2.5px;
    font-size: 1.85rem;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--pharaoh-red-deep), 4px 4px 0 var(--kohl);
}
.article-body h2:first-child { margin-top: 0; }

.article-body p { margin: 0 0 18px; }
.article-body strong { color: var(--gold-bright); font-weight: 700; }
.article-body em { color: var(--turquoise); font-style: italic; font-family: var(--script); font-weight: 400; font-size: 1.25em; }
.article-body a {
    color: var(--gold-bright);
    text-decoration: underline;
    text-decoration-color: var(--gold-soft);
    text-underline-offset: 3px;
}

.article-body .lead {
    font-size: 2rem;
    color: var(--gold-pale);
    font-family: var(--script);
    font-weight: 400;
    margin-bottom: 30px;
    padding-left: 22px;
    border-left: 3px solid var(--pharaoh-red);
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--gold-soft);
}

/* Drop-cap on first paragraph after the lead */
.article-body .lead + p::first-letter {
    font-family: var(--display);
    font-size: 4.5rem;
    line-height: 0.95;
    font-weight: 400;
    color: var(--gold-bright);
    float: left;
    padding: 6px 14px 0 0;
    text-shadow: 2px 2px 0 var(--pharaoh-red-deep), 4px 4px 0 var(--kohl), 0 0 14px var(--gold-soft);
}

.article-body .verdict {
    margin-top: 26px;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(193, 18, 31, 0.08));
    border-left: 3px solid var(--gold-bright);
    border-radius: 0 6px 6px 0;
    font-size: 1.08rem;
    font-family: var(--body);
}

.step-list, .check-list {
    margin: 14px 0 22px;
    padding-left: 28px;
}
.step-list li, .check-list li { margin-bottom: 10px; font-family: var(--body); }
.step-list li::marker {
    color: var(--gold-bright);
    font-family: var(--display);
    font-weight: 400;
}
.check-list { list-style: none; padding-left: 0; }
.check-list li::before {
    content: '☥';
    display: inline-block;
    color: var(--gold-bright);
    margin-right: 12px;
    font-family: var(--hieroglyph);
    font-size: 1.1rem;
    text-shadow: 0 0 6px var(--gold-soft);
}

/* Review meta */
.article-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    background: rgba(10, 6, 6, 0.7);
    border: 1px solid var(--gold);
    outline: 1px solid var(--lapis);
    outline-offset: 4px;
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 30px;
}
.article-rating {
    text-align: center;
    padding-right: 24px;
    border-right: 1px solid var(--gold-soft);
}
.big-rating {
    display: block;
    font-family: var(--display);
    font-size: 4rem;
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 2px 2px 0 var(--pharaoh-red-deep), 4px 4px 0 var(--kohl);
    font-weight: 400;
}
.big-rating-out {
    display: block;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.78rem;
    letter-spacing: 3px;
    margin-top: 6px;
    font-weight: 500;
    text-transform: uppercase;
}
.rating-stars { display: block; margin-top: 8px; font-size: 1.2rem; }

.article-facts {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 22px;
}
.article-facts > div { display: flex; flex-direction: column; gap: 2px; }
.article-facts dt {
    color: var(--turquoise);
    font-family: var(--serif);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}
.article-facts dd {
    margin: 0;
    color: var(--papyrus);
    font-weight: 600;
    font-family: var(--body);
    font-style: italic;
    font-size: 1.08rem;
}

@media (max-width: 640px) {
    .article-body { padding: 30px 24px; }
    .article-meta { grid-template-columns: 1fr; gap: 16px; }
    .article-rating {
        border-right: none;
        border-bottom: 1px solid var(--gold-soft);
        padding: 0 0 16px;
    }
    .article-body .lead + p::first-letter { font-size: 3.4rem; }
}

/* Bonus highlight */
.bonus-spotlight {
    margin: 18px auto 28px;
    padding: 32px 26px;
    background: linear-gradient(135deg, rgba(193, 18, 31, 0.18), rgba(212, 175, 55, 0.08));
    border: 2px solid var(--gold-bright);
    outline: 1px solid var(--lapis);
    outline-offset: 6px;
    border-radius: 10px;
    text-align: center;
    box-shadow:
        0 0 0 1px var(--kohl) inset,
        0 0 30px var(--gold-soft);
    animation: bonusGlow 3s ease-in-out infinite alternate;
}
@keyframes bonusGlow {
    from { box-shadow: 0 0 0 1px var(--kohl) inset, 0 0 18px var(--gold-soft); }
    to   { box-shadow: 0 0 0 1px var(--kohl) inset, 0 0 50px var(--gold-bright), 0 0 80px var(--pharaoh-red-soft); }
}
.bonus-headline {
    font-family: var(--display);
    color: var(--gold-bright);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--pharaoh-red-deep), 4px 4px 0 var(--kohl);
}
.bonus-sub {
    margin-top: 8px;
    color: var(--gold-pale);
    font-size: 2.2rem;
    font-family: var(--script);
    line-height: 1;
}
.bonus-tag {
    margin-top: 16px;
    display: inline-block;
    padding: 6px 18px;
    background: var(--lapis);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
    border-radius: 22px;
    font-family: var(--display);
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
}

/* ============================================================================
   TOP ALTERNATIVES (sub-pages)
   ============================================================================ */

.top-alternatives { margin: 30px auto 50px; }

/* On sub-pages the top-alternatives section uses three-col grid; with limit=2
   the API only returns 2 brands so renderTopAlternatives will only have 2 cards
   to draw. Centre them. */
.alternatives.three-col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
}

/* ============================================================================
   INLINE PLAY-NOW CTA
   ============================================================================ */

.play-now-cta {
    margin: 28px auto;
    max-width: 880px;
    padding: 26px 28px;
    text-align: center;
    border: 2px dashed var(--gold-bright);
    outline: 1px solid var(--lapis);
    outline-offset: 5px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(193, 18, 31, 0.14), rgba(212, 175, 55, 0.08)),
        rgba(10, 6, 6, 0.62);
    box-shadow: 0 0 24px var(--gold-soft);
    animation: ctaBannerGlow 2.6s ease-in-out infinite alternate;
}
@keyframes ctaBannerGlow {
    from { box-shadow: 0 0 18px var(--gold-soft); }
    to   { box-shadow: 0 0 44px var(--gold-bright), 0 0 60px var(--pharaoh-red-soft); }
}

.play-now-text {
    color: var(--gold-bright);
    font-family: var(--script);
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 0 0 12px var(--gold-soft), 0 1px 2px #000;
}

.btn-inline-play {
    display: inline-block;
    background: linear-gradient(90deg, var(--pharaoh-red), var(--gold-bright), var(--pharaoh-red), var(--gold-bright), var(--pharaoh-red));
    background-size: 300% 100%;
    color: var(--papyrus);
    padding: 18px 40px;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 5px;
    border: 1px solid var(--kohl);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 0 var(--kohl);
}

.flashing-orange {
    animation: orangeFlash 1s ease-in-out infinite, orangeSlide 4s linear infinite;
}

@keyframes orangeFlash {
    0%, 100% {
        box-shadow: 0 0 0 1px var(--gold) inset, 0 4px 0 var(--kohl), 0 0 22px var(--gold-soft);
        transform: scale(1);
        filter: brightness(1.08);
    }
    50% {
        box-shadow: 0 0 0 1px var(--gold-bright) inset, 0 4px 0 var(--kohl), 0 0 48px var(--gold-bright), 0 0 70px var(--pharaoh-red-soft);
        transform: scale(1.04);
        filter: brightness(1.22);
    }
}
@keyframes orangeSlide {
    from { background-position: 0% 50%; }
    to   { background-position: 300% 50%; }
}

@media (max-width: 600px) {
    .btn-inline-play { padding: 14px 22px; font-size: 0.92rem; letter-spacing: 3px; }
    .play-now-text { font-size: 1.9rem; }
}

/* ============================================================================
   LOADING / ERROR + UTILITY
   ============================================================================ */

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gold-pale);
    padding: 40px 20px;
    font-size: 1.9rem;
    letter-spacing: 0.5px;
    font-family: var(--script);
    font-weight: 400;
    text-shadow: 0 0 10px var(--gold-soft);
}

.load-error {
    text-align: center;
    color: var(--pharaoh-red);
    padding: 20px;
    font-weight: 700;
    font-family: var(--display);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer { display: none; }

.brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.18s, filter 0.18s;
    cursor: pointer;
}
.brand-link:hover {
    transform: scale(1.04);
    filter: brightness(1.22) drop-shadow(0 0 14px var(--gold-soft));
}
.casino-name a.brand-link:hover,
.hero-name a.brand-link:hover,
.rec-info h3 a.brand-link:hover {
    color: var(--gold-bright);
    text-shadow: 0 0 14px var(--gold-bright);
}
a.brand-link.logo,
a.brand-link.hero-logo { display: block; }

/* ============================================================================
   FONT-CLASSICALISATION OVERRIDES
   Playfair Display + EB Garamond replace the previous decorative + script fonts.
   Tagline-style elements get italic for emphasis. Oversized text dialled down
   to comfortable Playfair Display proportions.
   ============================================================================ */

.subtitle,
.hero-tagline,
.bookofra-result,
.section-sub,
.win-cta-text,
.play-now-text,
.bonus-sub,
.rec-bonus,
.paytable-note,
.loading-state,
.article-body .lead,
.article-facts dd {
    font-style: italic;
}

.subtitle             { font-size: 1.5rem;  letter-spacing: 0.005em; }
.hero-tagline         { font-size: 1.35rem; letter-spacing: 0.01em;  }
.bookofra-result      { font-size: 1.4rem;  letter-spacing: 0.02em;  }
.section-sub          { font-size: 1.3rem;  }
.win-cta-text         { font-size: 1.5rem;  letter-spacing: 0.5px;   }
.play-now-text        { font-size: 1.5rem;  letter-spacing: 0.005em; }
.bonus-sub            { font-size: 1.5rem;  letter-spacing: 0.005em; }
.article-body .lead   { font-size: 1.45rem; letter-spacing: 0.005em; line-height: 1.5; }
.loading-state        { font-size: 1.3rem;  }
.rec-info h3          { font-size: 1.7rem;  letter-spacing: 2px;     }
.rec-bonus            { font-size: 1.15rem; }
.bonus-headline       { font-size: 2.4rem; letter-spacing: 2.5px; }
.hero h1              { letter-spacing: 2px; }
.section-title        { letter-spacing: 2.5px; }
.casino-name          { letter-spacing: 1.5px; }
.hero-name            { letter-spacing: 2px; }
.footer-brand         { letter-spacing: 4px; }

@media (max-width: 600px) {
    .subtitle, .hero-tagline, .bookofra-result, .section-sub,
    .win-cta-text, .play-now-text, .bonus-sub, .article-body .lead {
        font-size: 1.2rem;
    }
    .bonus-headline { font-size: 1.9rem; }
}

