/* ============================================================================
   Casinoriva - Italian Riviera theme
   Palette: deep sea navy + warm coral sunset + champagne gold + seafoam
   Fonts:   Fraunces (variable serif display) + Manrope (modern sans body)
   ============================================================================ */

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

:root {
    --sea-deep: #04162e;
    --sea-mid: #0a3a5c;
    --sea-blue: #1f6f9e;
    --azure: #4ea3c7;
    --foam: #88ddca;
    --foam-soft: rgba(136, 221, 202, 0.55);

    --coral: #ff7a59;
    --coral-bright: #ff9d6c;
    --coral-soft: rgba(255, 122, 89, 0.5);
    --terracotta: #cd5c47;
    --berry: #c1443c;

    --gold: #f4d35e;
    --gold-bright: #ffe58a;
    --gold-soft: rgba(244, 211, 94, 0.55);

    --cream: #f7efe2;
    --cream-soft: rgba(247, 239, 226, 0.85);
    --sand: #e3d3b3;
    --shell: #ffe9d9;

    --text: #f7efe2;
    --text-soft: rgba(247, 239, 226, 0.78);
    --muted: #9ab1c4;

    --display: 'Fraunces', 'Bodoni Moda', 'Playfair Display', Georgia, serif;
    --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    font-family: var(--body);
    font-weight: 400;
    color: var(--text);
    background: var(--sea-deep);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================================
   BACKGROUND - layered Riviera scenery
   ============================================================================ */

.bg-sky {
    position: fixed;
    inset: 0;
    z-index: -4;
    background:
        /* warm sunset sky at the top, fading into deep sea below */
        linear-gradient(180deg,
            #f4d35e 0%,
            #ff9d6c 6%,
            #ff7a59 11%,
            #c1443c 16%,
            #5d3464 22%,
            #1f3a64 35%,
            #0a3a5c 55%,
            #04162e 100%);
}

.bg-stars {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    /* sparkles on the water + a few stars in the sky */
    background-image:
        radial-gradient(1.5px 1.5px at 12% 38%, rgba(255, 229, 138, 0.85) 50%, transparent 60%),
        radial-gradient(1px 1px at 28% 32%, rgba(255, 255, 255, 0.7) 50%, transparent 60%),
        radial-gradient(2px 2px at 47% 24%, rgba(255, 255, 255, 0.85) 50%, transparent 60%),
        radial-gradient(1px 1px at 64% 36%, rgba(255, 229, 138, 0.7) 50%, transparent 60%),
        radial-gradient(1.5px 1.5px at 78% 28%, rgba(255, 255, 255, 0.8) 50%, transparent 60%),
        radial-gradient(2px 2px at 90% 40%, rgba(136, 221, 202, 0.7) 50%, transparent 60%),
        radial-gradient(1px 1px at 8% 78%, rgba(136, 221, 202, 0.65) 50%, transparent 60%),
        radial-gradient(1.5px 1.5px at 22% 86%, rgba(255, 229, 138, 0.65) 50%, transparent 60%),
        radial-gradient(1px 1px at 40% 92%, rgba(255, 255, 255, 0.55) 50%, transparent 60%),
        radial-gradient(2px 2px at 60% 80%, rgba(136, 221, 202, 0.7) 50%, transparent 60%),
        radial-gradient(1px 1px at 80% 88%, rgba(255, 229, 138, 0.6) 50%, transparent 60%),
        radial-gradient(1.5px 1.5px at 94% 76%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
    background-repeat: no-repeat;
    animation: shimmer 5s ease-in-out infinite alternate;
}

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

/* Soft sun + reflection wash overlay */
.bg-clouds {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        /* Sun glow */
        radial-gradient(circle 240px at 80% 14%, rgba(255, 229, 138, 0.55), transparent 65%),
        radial-gradient(circle 380px at 80% 14%, rgba(255, 122, 89, 0.18), transparent 70%),
        /* Sea reflection bands */
        radial-gradient(ellipse 90vw 12vh at 50% 60%, rgba(136, 221, 202, 0.06), transparent 70%),
        radial-gradient(ellipse 70vw 8vh at 50% 78%, rgba(244, 211, 94, 0.05), transparent 70%);
    animation: sunWobble 14s ease-in-out infinite alternate;
}

@keyframes sunWobble {
    0%   { transform: translateX(-1%) translateY(0); }
    100% { transform: translateX(1%)  translateY(-4px); }
}

/* ============================================================================
   SITE HEADER + NAV
   ============================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(4, 22, 46, 0.94), rgba(10, 58, 92, 0.85));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(244, 211, 94, 0.25);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.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: 12px;
    text-decoration: none;
    font-family: var(--display);
    font-variation-settings: 'opsz' 144;
    color: var(--gold-bright);
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 0 14px rgba(244, 211, 94, 0.45);
    transition: filter 0.2s, transform 0.2s;
}
.site-logo:hover { filter: brightness(1.15); transform: translateY(-1px); }

.logo-mark {
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--coral) 65%, var(--terracotta));
    color: #04162e;
    text-align: center;
    line-height: 38px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow:
        0 0 14px rgba(244, 211, 94, 0.5),
        inset 0 0 6px rgba(0, 0, 0, 0.35);
    font-family: var(--display);
}

.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 18px;
    color: var(--cream);
    text-decoration: none;
    font-family: var(--body);
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 22px;
    border: 1px solid transparent;
    transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.site-nav a:hover {
    color: var(--gold-bright);
    background: rgba(244, 211, 94, 0.08);
    border-color: rgba(244, 211, 94, 0.3);
}
.site-nav a.active {
    color: var(--sea-deep);
    background: linear-gradient(90deg, var(--gold-bright), var(--coral-bright));
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 122, 89, 0.45);
}

@media (max-width: 600px) {
    .site-header-inner { gap: 10px; padding: 10px 14px; }
    .site-logo { font-size: 1.15rem; }
    .logo-mark { width: 32px; height: 32px; line-height: 32px; font-size: 0.95rem; }
    .site-nav { width: 100%; }
    .site-nav ul { justify-content: center; }
    .site-nav a { padding: 7px 12px; font-size: 0.78rem; letter-spacing: 1.2px; }
}

/* ============================================================================
   PAGE HERO
   ============================================================================ */

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

.hero-eyebrow {
    color: var(--gold-bright);
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 5px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero h1 {
    font-family: var(--display);
    font-variation-settings: 'opsz' 144, 'SOFT' 70, 'WONK' 1;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    margin: 0 0 14px;
    color: var(--cream);
    letter-spacing: -0.01em;
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    text-shadow:
        0 0 24px rgba(255, 122, 89, 0.35),
        0 4px 0 rgba(0, 0, 0, 0.45);
}

.subtitle {
    color: var(--cream-soft);
    font-size: 1.1rem;
    font-style: italic;
    font-family: var(--display);
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto;
}

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

.accent {
    color: var(--coral-bright);
    font-style: italic;
    text-shadow: 0 0 14px var(--coral-soft);
}

/* ============================================================================
   HERO RECOMMENDED ROW
   ============================================================================ */

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

.casino-hero {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 30px 32px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(10, 58, 92, 0.95), rgba(4, 22, 46, 0.97));
    border: 2px solid var(--coral);
    box-shadow:
        0 0 0 5px rgba(255, 122, 89, 0.12),
        0 0 35px rgba(255, 122, 89, 0.4),
        0 0 70px rgba(244, 211, 94, 0.18),
        0 14px 38px rgba(0, 0, 0, 0.6);
    animation: heroRivieraGlow 3s ease-in-out infinite alternate;
}

@keyframes heroRivieraGlow {
    from {
        border-color: var(--coral);
        box-shadow: 0 0 0 5px rgba(255,122,89,0.12), 0 0 28px rgba(255,122,89,0.35), 0 14px 38px rgba(0,0,0,0.6);
    }
    to {
        border-color: var(--gold-bright);
        box-shadow: 0 0 0 5px rgba(244,211,94,0.18), 0 0 50px rgba(244,211,94,0.55), 0 0 80px rgba(255,122,89,0.3), 0 14px 38px rgba(0,0,0,0.6);
    }
}

.badge-recommended {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--coral), var(--gold-bright), var(--coral));
    background-size: 200% 100%;
    color: var(--sea-deep);
    font-family: var(--display);
    font-weight: 700;
    font-style: italic;
    padding: 7px 24px;
    font-size: 0.82rem;
    letter-spacing: 3px;
    border-radius: 24px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(255, 122, 89, 0.55);
    animation: badgeSlide 4s linear infinite;
    text-transform: uppercase;
}

@keyframes badgeSlide {
    from { background-position: 0% 50%; }
    to   { background-position: 200% 50%; }
}

.hero-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold-bright);
    color: var(--sea-deep);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-family: var(--display);
    font-weight: 700;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 14px var(--gold-soft);
    z-index: 2;
}

.hero-logo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid var(--coral);
    box-shadow: 0 0 22px rgba(255, 122, 89, 0.45);
    display: block;
}

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

.hero-name {
    margin: 6px 0 4px;
    font-family: var(--display);
    color: var(--cream);
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    letter-spacing: -0.01em;
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
}

.hero-tagline {
    color: var(--coral-bright);
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-bonus {
    background: rgba(244, 211, 94, 0.08);
    border-left: 3px solid var(--coral);
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 0 10px 10px 0;
}

.bonus-label {
    display: block;
    color: var(--gold-bright);
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.bonus-text {
    display: block;
    color: var(--cream);
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.4;
}

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

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

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

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

/* ============================================================================
   ALTERNATIVES GRID
   ============================================================================ */

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

.alternatives.five-col { grid-template-columns: repeat(5, 1fr); }
.alternatives.three-col { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1200px) { .alternatives.five-col { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  {
    .alternatives.five-col { grid-template-columns: repeat(2, 1fr); }
    .alternatives.three-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px)  {
    .alternatives.five-col,
    .alternatives.three-col { grid-template-columns: 1fr; }
}

.casino-card {
    position: relative;
    padding: 22px 18px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 58, 92, 0.92), rgba(4, 22, 46, 0.95));
    border: 1px solid rgba(244, 211, 94, 0.35);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    overflow: hidden;
}

.casino-card::before {
    /* sun-ray sheen */
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 229, 138, 0.07) 0%, transparent 35%);
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 0;
}
.casino-card:hover::before { opacity: 1; }

.casino-card:hover {
    transform: translateY(-5px);
    border-color: var(--coral);
    box-shadow: 0 14px 36px rgba(255, 122, 89, 0.35);
}

.rank {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold-bright);
    color: var(--sea-deep);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-family: var(--display);
    font-weight: 700;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 0 12px var(--gold-soft);
    z-index: 2;
}

.logo img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    margin: 12px auto 14px;
    display: block;
    border-radius: 14px;
    border: 2px solid rgba(255, 122, 89, 0.55);
    box-shadow: 0 0 16px rgba(255, 122, 89, 0.2);
    position: relative;
    z-index: 1;
}

.casino-name {
    font-family: var(--display);
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: var(--cream);
    letter-spacing: -0.01em;
    font-weight: 700;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Stars - gold */
.rating { margin-bottom: 12px; font-size: 1.1rem; position: relative; z-index: 1; }
.star.full {
    color: var(--gold-bright);
    text-shadow: 0 0 10px var(--gold-soft);
}
.star.half { color: var(--gold-bright); opacity: 0.55; }
.star.empty { color: rgba(154, 177, 196, 0.25); }

.rating-num {
    color: var(--cream);
    font-size: 0.85rem;
    margin-left: 6px;
    font-family: var(--body);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bonus {
    background: rgba(244, 211, 94, 0.07);
    border-left: 3px solid var(--coral);
    padding: 9px 12px;
    margin-bottom: 14px;
    text-align: left;
    min-height: 70px;
    border-radius: 0 8px 8px 0;
    position: relative;
    z-index: 1;
}

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

.btn {
    display: inline-block;
    padding: 13px 22px;
    font-family: var(--body);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 32px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
    background: transparent;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

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

.btn-claim {
    width: 100%;
    padding: 13px 18px;
    color: var(--sea-deep);
    font-weight: 800;
}

.btn-hero {
    padding: 18px 36px;
    font-size: 1rem;
    color: var(--sea-deep);
    white-space: nowrap;
    box-shadow: 0 8px 26px rgba(255, 122, 89, 0.55);
    font-weight: 800;
}

.flashing { animation: btnRivieraFlash 1.3s ease-in-out infinite; }
@keyframes btnRivieraFlash {
    0%, 100% {
        box-shadow: 0 0 16px var(--coral-soft), 0 0 28px rgba(244, 211, 94, 0.3);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 0 0 36px var(--coral-bright), 0 0 60px var(--gold-soft);
        filter: brightness(1.3);
    }
}

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

.section-title {
    text-align: center;
    color: var(--cream);
    font-family: var(--display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin: 16px 0 8px;
    letter-spacing: -0.01em;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 0 14px rgba(255, 122, 89, 0.25);
}

.section-sub {
    text-align: center;
    color: var(--text-soft);
    margin: 0 0 26px;
    font-size: 1.05rem;
    font-style: italic;
    font-family: var(--display);
    font-weight: 400;
}

/* ============================================================================
   GAMES SECTION + BOOK OF RA SLOT
   ============================================================================ */

.games-section {
    background:
        linear-gradient(135deg, rgba(10, 58, 92, 0.7), rgba(4, 22, 46, 0.85));
    border: 1px solid var(--coral);
    border-radius: 22px;
    padding: 36px 28px;
    margin-bottom: 50px;
    box-shadow:
        0 0 0 5px rgba(255, 122, 89, 0.08),
        0 0 30px rgba(244, 211, 94, 0.18);
}

.bookofra-wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.bookofra-machine {
    position: relative;
    display: inline-block;
    padding: 24px 30px;
    background: linear-gradient(180deg, var(--terracotta) 0%, #6e2a1c 100%);
    border: 4px solid var(--gold-bright);
    border-radius: 18px;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.55),
        0 0 35px rgba(244, 211, 94, 0.45);
    margin-bottom: 14px;
}

.reels-container {
    display: flex;
    gap: 6px;
    background: var(--sea-deep);
    padding: 8px;
    border-radius: 10px;
    border: 2px solid var(--gold);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}

.reel {
    width: 84px;
    height: 252px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 50%, var(--cream) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--terracotta);
}

.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: 700;
    color: var(--terracotta);
    background: linear-gradient(180deg, var(--cream) 0%, var(--shell) 100%);
    border-bottom: 1px solid rgba(205, 92, 71, 0.4);
    transition: background 0.4s, color 0.4s, transform 0.4s;
    user-select: none;
}

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

.cell.payline {
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
    box-shadow: inset 0 0 0 1px var(--gold-bright);
}

.cell.win {
    background: linear-gradient(180deg, var(--coral-bright) 0%, var(--coral) 100%);
    color: var(--sea-deep);
    transform: scale(1.05);
    box-shadow: 0 0 22px var(--coral-bright), inset 0 0 12px rgba(255, 255, 255, 0.6);
    animation: winPulse 0.7s ease-in-out infinite alternate;
}

@keyframes winPulse {
    from { box-shadow: 0 0 12px var(--coral-bright), inset 0 0 8px rgba(255,255,255,0.5); }
    to   { box-shadow: 0 0 30px var(--gold-bright), inset 0 0 16px rgba(255,255,255,0.95); }
}

.payline-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-bright);
    font-size: 1.6rem;
    text-shadow: 0 0 10px var(--gold-bright);
    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(--display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 18px;
    min-height: 28px;
    letter-spacing: 0.3px;
    text-shadow: 0 0 12px rgba(255, 122, 89, 0.45);
}

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

.btn-bet {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold) 50%, var(--coral));
    color: var(--sea-deep);
    padding: 16px 50px;
    font-size: 1.05rem;
    border: 2px solid var(--sea-deep);
    border-radius: 32px;
    box-shadow:
        0 4px 0 var(--sea-deep),
        0 0 22px rgba(255, 122, 89, 0.45);
    min-width: 220px;
    letter-spacing: 3px;
    font-family: var(--body);
    font-weight: 800;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-bet:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-bet:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--sea-deep), 0 0 14px rgba(255, 122, 89, 0.4);
}
.btn-bet:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.balance {
    color: var(--text);
    font-family: var(--display);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 1px;
}
.balance span {
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 0 10px var(--gold-soft);
    margin-left: 4px;
    font-style: normal;
    font-family: var(--body);
}

/* Bet section */
.bet-section { margin: 14px auto; max-width: 540px; }
.bet-section-label {
    color: var(--gold-bright);
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

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

.slot-amount-btn {
    background: rgba(244, 211, 94, 0.08);
    color: var(--text);
    border: 1.5px solid rgba(244, 211, 94, 0.5);
    padding: 9px 18px;
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 22px;
    transition: all 0.18s;
}
.slot-amount-btn:hover {
    background: rgba(244, 211, 94, 0.18);
    border-color: var(--gold-bright);
}
.slot-amount-btn.active {
    background: linear-gradient(90deg, var(--gold-bright), var(--coral-bright));
    color: var(--sea-deep);
    border-color: transparent;
    box-shadow: 0 0 14px rgba(255, 122, 89, 0.5);
}

/* Paytable */
.paytable {
    margin-top: 22px;
    padding: 18px;
    background: rgba(4, 22, 46, 0.55);
    border: 1px solid rgba(244, 211, 94, 0.35);
    border-radius: 14px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.paytable-title {
    color: var(--gold-bright);
    font-family: var(--display);
    font-style: italic;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

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

.paytable-grid span {
    background: rgba(244, 211, 94, 0.08);
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(244, 211, 94, 0.25);
}

.paytable-grid b { color: var(--coral-bright); font-size: 1.1rem; margin-right: 4px; }

.paytable-note {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 10px;
    font-family: var(--display);
}

@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.85rem; }
}

/* ============================================================================
   WIN CTA
   ============================================================================ */

.win-cta {
    margin-top: 28px;
    text-align: center;
    padding: 24px 20px;
    border: 2px dashed var(--foam);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 60, 50, 0.6), rgba(4, 22, 46, 0.94));
    box-shadow: 0 0 30px rgba(136, 221, 202, 0.4);
}

.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(--foam);
    font-family: var(--display);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(136, 221, 202, 0.7);
}

.win-cta-sub {
    margin-top: 12px;
    color: rgba(200, 245, 230, 0.95);
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-win-real {
    display: inline-block;
    background: linear-gradient(90deg, #2e8b57, var(--foam), #b6f5d8, var(--foam), #2e8b57);
    background-size: 300% 100%;
    color: var(--sea-deep);
    padding: 20px 42px;
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 3px;
    border: 2px solid var(--sea-deep);
    border-radius: 36px;
    text-decoration: none;
    text-transform: uppercase;
}

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

@keyframes greenFlash {
    0%, 100% {
        box-shadow: 0 0 22px rgba(136, 221, 202, 0.7), 0 0 45px rgba(46, 139, 87, 0.4);
        transform: scale(1);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 0 0 50px rgba(136, 221, 202, 1), 0 0 90px rgba(127, 223, 96, 0.85);
        transform: scale(1.05);
        filter: brightness(1.3);
    }
}
@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.9rem; letter-spacing: 2px; }
}

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

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

.rec-card {
    background:
        linear-gradient(135deg, rgba(10, 58, 92, 0.95), rgba(4, 22, 46, 0.97));
    border: 2px solid var(--gold-bright);
    border-radius: 22px;
    padding: 28px 26px;
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(244, 211, 94, 0.1), 0 0 30px rgba(244, 211, 94, 0.4);
}

.rec-logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid var(--coral);
    box-shadow: 0 0 22px rgba(255, 122, 89, 0.4);
}

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

.rec-info h3 {
    margin: 0 0 8px;
    font-family: var(--display);
    color: var(--cream);
    font-size: 1.8rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    font-style: italic;
}

.rec-bonus {
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 500;
    font-family: var(--body);
}

.btn-play {
    background: linear-gradient(90deg, var(--coral), var(--gold-bright));
    color: var(--sea-deep);
    font-size: 1.05rem;
    padding: 16px 32px;
    border: none;
    box-shadow: 0 8px 22px rgba(255, 122, 89, 0.45);
    font-weight: 800;
}

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

.site-footer {
    background: rgba(4, 22, 46, 0.85);
    border-top: 1px solid rgba(244, 211, 94, 0.3);
    padding: 32px 20px;
    margin-top: 30px;
}
.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.5rem;
    letter-spacing: 0;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 14px;
    text-shadow: 0 0 14px var(--gold-soft);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
}
.footer-nav a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--body);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.15s;
}
.footer-nav a:hover { color: var(--coral-bright); }
.footer-disclaimer {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

/* ============================================================================
   ARTICLE BODY (review / login / bonus)
   ============================================================================ */

.article-body {
    background: rgba(10, 58, 92, 0.5);
    border: 1px solid rgba(244, 211, 94, 0.25);
    border-radius: 18px;
    padding: 36px 40px;
    margin: 14px auto 30px;
    max-width: 880px;
    color: var(--text);
    font-family: var(--body);
    font-size: 1.05rem;
    line-height: 1.75;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.article-body h2 {
    font-family: var(--display);
    font-style: italic;
    color: var(--coral-bright);
    margin: 32px 0 14px;
    letter-spacing: -0.01em;
    font-size: 1.65rem;
    font-weight: 700;
    text-shadow: 0 0 14px rgba(255, 122, 89, 0.25);
}
.article-body h2:first-child { margin-top: 0; }

.article-body p { margin: 0 0 16px; }
.article-body strong { color: var(--gold-bright); }
.article-body em { color: var(--cream); font-weight: 600; font-style: italic; }
.article-body a {
    color: var(--coral-bright);
    text-decoration: underline;
    text-decoration-color: rgba(255, 122, 89, 0.4);
}

.article-body .lead {
    font-size: 1.2rem;
    color: var(--cream);
    font-style: italic;
    font-family: var(--display);
    font-weight: 400;
    margin-bottom: 26px;
    padding-left: 18px;
    border-left: 4px solid var(--coral);
    line-height: 1.5;
}

.article-body .verdict {
    margin-top: 24px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.14), rgba(244, 211, 94, 0.06));
    border-left: 4px solid var(--gold-bright);
    border-radius: 0 12px 12px 0;
    font-size: 1.08rem;
}

.step-list, .check-list {
    margin: 14px 0 20px;
    padding-left: 28px;
}
.step-list li, .check-list li { margin-bottom: 10px; }
.step-list li::marker {
    color: var(--coral-bright);
    font-family: var(--display);
    font-weight: 700;
    font-style: italic;
}
.check-list { list-style: none; padding-left: 0; }
.check-list li::before {
    content: '◆';
    display: inline-block;
    color: var(--coral-bright);
    margin-right: 10px;
    font-size: 0.85rem;
}

/* Review meta */
.article-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    align-items: center;
    background: rgba(4, 22, 46, 0.5);
    border: 1px solid rgba(255, 122, 89, 0.4);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 28px;
}
.article-rating {
    text-align: center;
    padding-right: 24px;
    border-right: 1px solid rgba(244, 211, 94, 0.25);
}
.big-rating {
    display: block;
    font-family: var(--display);
    font-style: italic;
    font-size: 3.4rem;
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 0 0 16px var(--gold-soft);
    font-weight: 700;
}
.big-rating-out {
    display: block;
    color: var(--muted);
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 600;
}
.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(--coral-bright);
    font-family: var(--body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}
.article-facts dd {
    margin: 0;
    color: var(--cream);
    font-weight: 700;
    font-family: var(--display);
}

@media (max-width: 640px) {
    .article-body { padding: 26px 22px; }
    .article-meta { grid-template-columns: 1fr; gap: 16px; }
    .article-rating {
        border-right: none;
        border-bottom: 1px solid rgba(244, 211, 94, 0.25);
        padding: 0 0 16px;
    }
}

/* Bonus highlight card */
.bonus-spotlight {
    margin: 18px auto 28px;
    padding: 30px 24px;
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.18), rgba(244, 211, 94, 0.08));
    border: 2px solid var(--gold-bright);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 0 30px rgba(244, 211, 94, 0.45);
    animation: bonusGlow 3s ease-in-out infinite alternate;
}
@keyframes bonusGlow {
    from { box-shadow: 0 0 18px rgba(244, 211, 94, 0.4); }
    to   { box-shadow: 0 0 44px rgba(255, 122, 89, 0.7); }
}
.bonus-headline {
    font-family: var(--display);
    color: var(--gold-bright);
    font-size: 2.6rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.01em;
    text-shadow: 0 0 18px var(--gold-soft);
}
.bonus-sub {
    margin-top: 6px;
    color: var(--cream);
    font-size: 1.2rem;
    font-style: italic;
    font-family: var(--display);
}
.bonus-tag {
    margin-top: 14px;
    display: inline-block;
    padding: 6px 18px;
    background: rgba(4, 22, 46, 0.5);
    color: var(--coral-bright);
    border: 1px solid var(--coral-bright);
    border-radius: 22px;
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
}

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

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

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

.play-now-cta {
    margin: 28px auto;
    max-width: 880px;
    padding: 24px 26px;
    text-align: center;
    border: 2px dashed var(--coral-bright);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 122, 89, 0.15), rgba(244, 211, 94, 0.08)),
        rgba(4, 22, 46, 0.55);
    box-shadow: 0 0 24px rgba(255, 122, 89, 0.35);
    animation: ctaBannerGlow 2.4s ease-in-out infinite alternate;
}
@keyframes ctaBannerGlow {
    from { box-shadow: 0 0 18px rgba(255, 122, 89, 0.3); }
    to   { box-shadow: 0 0 40px rgba(244, 211, 94, 0.7); }
}

.play-now-text {
    color: var(--gold-bright);
    font-family: var(--display);
    font-style: italic;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--gold-soft);
}

.btn-inline-play {
    display: inline-block;
    background: linear-gradient(90deg, var(--coral), var(--gold-bright), var(--coral-bright), var(--gold-bright), var(--coral));
    background-size: 300% 100%;
    color: var(--sea-deep);
    padding: 18px 38px;
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    border: 2px solid var(--sea-deep);
    border-radius: 32px;
    text-decoration: none;
    text-transform: uppercase;
}

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

@keyframes orangeFlash {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 122, 89, 0.65), 0 0 40px rgba(244, 211, 94, 0.4);
        transform: scale(1);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 0 0 48px rgba(244, 211, 94, 1), 0 0 85px rgba(255, 122, 89, 0.85);
        transform: scale(1.05);
        filter: brightness(1.3);
    }
}
@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: 1.6px; }
}

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

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-soft);
    padding: 40px 20px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    font-family: var(--display);
    font-style: italic;
}

.load-error {
    text-align: center;
    color: var(--coral-bright);
    padding: 20px;
    font-weight: 700;
    font-family: var(--body);
}

/* Suppress legacy footer */
.footer { display: none; }

/* Clickable logo + name */
.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.2) drop-shadow(0 0 14px var(--coral-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; }
