/* ================================================================
   Casino Chatbot Landing — Custom CSS
   Animated background, glassmorphism, hero effects, trust bar
   ================================================================ */

/* ── Animated Background Orbs ───────────────────────────────── */

body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: cl-float-1 22s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: cl-float-2 18s ease-in-out infinite;
}

@keyframes cl-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -50px) scale(1.06); }
    50% { transform: translate(-30px, 30px) scale(0.94); }
    75% { transform: translate(20px, 40px) scale(1.04); }
}

@keyframes cl-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-35px, -25px) scale(1.05); }
    66% { transform: translate(25px, 35px) scale(0.96); }
}

/* ── Global ─────────────────────────────────────────────────── */

body {
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
    position: relative;
    z-index: 1;
}

/* ── Top Bar ────────────────────────────────────────────────── */

.cl-topbar {
    padding: 14px 32px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 8, 13, 0.65) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 16px !important;
}

.cl-topbar__left {
    gap: 12px !important;
}

.cl-topbar__badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(108, 99, 255, 0.1);
    color: #6C63FF !important;
    border: 1px solid rgba(108, 99, 255, 0.2);
    white-space: nowrap;
    margin: 0 !important;
}

.cl-topbar__nav {
    gap: 4px !important;
}

.cl-topbar__link {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7084 !important;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    margin: 0 !important;
    white-space: nowrap;
}

.cl-topbar__link:hover {
    color: #e4e6ed !important;
    background: rgba(255, 255, 255, 0.04);
}

/* ── Hero Section ───────────────────────────────────────────── */

.cl-hero {
    padding-top: 64px !important;
    padding-bottom: 16px !important;
    text-align: center;
}

.cl-hero__pill {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 24px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    background: rgba(108, 99, 255, 0.08);
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #6C63FF !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px !important;
    animation: cl-fade-in 0.8s ease both;
}

.cl-hero__pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6C63FF;
    flex-shrink: 0;
    animation: cl-dot-pulse 2s ease-in-out infinite;
}

.cl-hero__title {
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.12 !important;
    margin-bottom: 16px !important;
    animation: cl-fade-in 0.8s ease 0.1s both;
}

.cl-hero__title span {
    background: linear-gradient(135deg, #6C63FF 0%, #3B82F6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cl-hero__subtitle {
    font-size: clamp(14px, 2vw, 16px) !important;
    color: #6b7084 !important;
    line-height: 1.65 !important;
    margin-bottom: 8px !important;
    animation: cl-fade-in 0.8s ease 0.2s both;
}

/* ── Chatbot Section ────────────────────────────────────────── */

.cl-chatbot-section {
    padding-top: 16px !important;
    padding-bottom: 48px !important;
    animation: cl-fade-in 0.8s ease 0.3s both;
}

/* ── Trust Bar ──────────────────────────────────────────────── */

.cl-trust {
    padding-bottom: 48px !important;
    animation: cl-fade-in 0.8s ease 0.5s both;
}

.cl-trust__row {
    gap: 28px !important;
}

.cl-trust__item {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7084 !important;
    margin: 0 !important;
    white-space: nowrap;
}

/* ── Footer ─────────────────────────────────────────────────── */

.cl-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

.cl-footer__text {
    color: #6b7084 !important;
    margin-bottom: 0 !important;
}

.cl-footer__disclaimer {
    color: rgba(107, 112, 132, 0.55) !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    line-height: 1.7 !important;
}

/* ── Animations ─────────────────────────────────────────────── */

@keyframes cl-fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cl-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .cl-topbar {
        padding: 12px 20px !important;
    }

    .cl-topbar__badge {
        display: none;
    }

    .cl-topbar__nav {
        display: none !important;
    }

    .cl-hero {
        padding-top: 48px !important;
    }

    .cl-trust__row {
        gap: 16px !important;
    }
}



@media (max-width: 480px) {
    .cl-hero {
        padding-top: 36px !important;
    }

    .cl-hero__pill {
        font-size: 10px !important;
    }

    .cl-chatbot-section {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .cl-trust__row {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* ================================================================
   Casino Card — Minimal Premium Polish
   (Native StepFox Looks handles responsive layout)
   ================================================================ */

/* Card Wrapper — clean white with subtle shadow */
.wp-block-post.casino_reviews > .wp-block-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-post.casino_reviews > .wp-block-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* Logo container — premium dark card */
.wp-block-post.casino_reviews .wp-block-column:nth-child(1) .has-border-color {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    background: #0f172a !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
}
.wp-block-post.casino_reviews .wp-block-column:nth-child(1) .has-border-color img {
    border-radius: 8px !important;
    object-fit: contain;
}

/* Gap between cards */
.wp-block-post.casino_reviews {
    margin-bottom: 20px !important;
}

/* Compact vertical spacing inside card columns */
.wp-block-post.casino_reviews .wp-block-column p,
.wp-block-post.casino_reviews .wp-block-column h2,
.wp-block-post.casino_reviews .wp-block-column h3,
.wp-block-post.casino_reviews .wp-block-column ul,
.wp-block-post.casino_reviews .wp-block-column li {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}
/* Kill WP block-gap (24px default) inside card groups */
.wp-block-post.casino_reviews .wp-block-group {
    --wp--style--block-gap: 4px !important;
    gap: 4px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.wp-block-post.casino_reviews .wp-block-columns {
    --wp--style--block-gap: 0px !important;
}
/* Collapse empty tracking link paragraphs */
.wp-block-post.casino_reviews p:has(> a.utm-out:only-child) {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}
/* Collapse empty paragraphs */
.wp-block-post.casino_reviews p:empty {
    display: none !important;
}

/* Rank Badge — floating cyan circle */
.has-primary-background-color:has(.counter) {
    background: transparent !important;
    padding: 0 !important;
    position: static !important;
}
.counter.metafield_block {
    position: absolute !important;
    top: -12px !important;
    left: -12px !important;
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, #22d3ee, #0ea5e9) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.4) !important;
    border: 3px solid #fff !important;
    z-index: 10 !important;
}

/* Stars — gold, limit to 5 */
.sfl-stat-stars .sfl-star:nth-child(n+6) {
    display: none !important;
}
.sfl-stat-stars .sfl-star--full {
    color: #f59e0b !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}
.sfl-stat-stars .sfl-star--empty {
    color: #cbd5e1 !important;
}

/* Force dark text on white card backgrounds */
.has-white-background-color,
.has-white-background-color p,
.has-white-background-color h2,
.has-white-background-color h3,
.has-white-background-color li,
.has-white-background-color span {
    color: #1a1a2e !important;
}
.has-white-background-color a {
    color: #1a1a2e !important;
}
.has-white-background-color a:hover {
    color: #0ea5e9 !important;
}

/* CTA Button — premium green */
p[style*="background-color:#2d9936"] {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    border-radius: 100px !important;
    box-shadow: 0 4px 0 #15803d, 0 6px 12px rgba(22, 163, 74, 0.3) !important;
    color: #fff !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
p[style*="background-color:#2d9936"]:hover {
    transform: translateY(2px) !important;
    box-shadow: 0 2px 0 #15803d, 0 3px 6px rgba(22, 163, 74, 0.3) !important;
}

/* CTA Shine animation */
p[style*="background-color:#2d9936"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: cl-btn-shine 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cl-btn-shine {
    0% { left: -100%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

/* #1 Pick Ribbon */
.wp-block-post.casino_reviews:first-child > .wp-block-group {
    border: 2px solid #0ea5e9 !important;
}
.wp-block-post.casino_reviews:first-child > .wp-block-group::before {
    content: '🏆 OUR #1 PICK';
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 100px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.05em;
    z-index: 20;
    pointer-events: none;
}

/* Desktop: Ensure cards use full width of their container */
.wp-block-post.casino_reviews > .wp-block-group,
.wp-block-post.casino_reviews .wp-block-columns {
    max-width: none !important;
    width: 100% !important;
}

/* Mobile: Compact button */
@media (max-width: 768px) {
    p[style*="background-color:#2d9936"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .counter.metafield_block {
        top: -8px !important;
        left: -8px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
    }
    .wp-block-post.casino_reviews:first-child > .wp-block-group::before {
        right: 12px;
        top: -12px;
        font-size: 10px;
        padding: 4px 10px;
    }
    /* Taller logo on mobile */
    .wp-block-post.casino_reviews .wp-block-column:nth-child(1) .has-border-color {
        height: 130px !important;
    }
}
