/* ===== ROW ===== */

:root {
    --cw-primary: #564287;
    /* Cryptowinx Purple */
    --cw-light: linear-gradient(135deg, #050816 0%, #191970 40%, #5b21b6 100%);
    --cw-border: #e4dcf6;
    --cw-pill: #fff3c4;

    --cw-primary-dark: #4a338d;
    --cw-outline-hover: #fff7cc;
}

.casino-row {
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr 240px;
    align-items: stretch;
    /* background: #f5f7ff; */
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    background: var(--cw-light);
    border-color: var(--cw-border);
}

/* ===== BADGE ===== */
.rank-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    /* background:#e5e7eb; */
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    display: flex;
    gap: 6px;
    align-items: center;
    background: #ede9fe;
    color: #2e1065;
}

.rank-1 .rank-badge::after {
    content: "🥇";
}

.rank-2 .rank-badge::after {
    content: "🥈";
}

.rank-3 .rank-badge::after {
    content: "🥉";
}

/* ===== LEFT ===== */
.casino-left {
    background: #f3f0fb;
    border-radius: 14px;
    padding: 7px;
    width: 170px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.casino-logo {
    max-height: 36px;
    /* width: 42px; */
    /* height: 42px; */
    object-fit: cover;
    /* border-radius: 50%; */

}

.casino-name {
    font-size: 20px;
    font-weight: 800;
}

/* ===== CENTER ===== */


.casino-main-bonus {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
    text-align: center;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 14px; */
    font-size: 14px;
    background: #f3f0fb;
    padding: 10px;
    font-size: 12px;
    border-radius: 10px;
}

.pros li {
    color: #16a34a;
}

.cons li {
    color: #dc2626;
}

/* ===== RIGHT ===== */
.casino-right {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-direction: column;
}

.casino-right a {
    font-size: 1rem !important;
    color: #fff !important;
    font-family: "Sora", sans-serif !important;
}

a.btn-outline {
    font-size: 1rem !important;
    color: #000 !important;
    font-family: "Sora", sans-serif !important;
}

@media (max-width: 768px) {

    .casino-right a {
        width: 100%;
        font-size: 14px !important;
        padding: 14px 0;
        border-radius: 12px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Sora", sans-serif !important;
    }

    /* OUTLINE BUTTON */
    .casino-right .btn-outline {
        background: #ffffff;
        color: #000 !important;
        border: 2px solid #7666d5;
        font-family: "Sora", sans-serif !important;
    }

    /* PRIMARY BUTTON */
    .casino-right .btn-primary {
        background: var(--cw-primary);
        color: #fff !important;
        font-family: "Sora", sans-serif !important;
    }
}

.btn-outline {
    border: 2px solid #7666d5;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-outline:hover {
    background: #ede8ff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.btn-primary {
    /* background:#564287; */
    /* color:#fff; */
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 800;
    text-decoration: none;
    background: var(--cw-primary);
    color: #fff;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

/* .btn-primary:hover {
    background: var(--cw-primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(91, 63, 166, .35);
} */

/* ===== MOBILE ===== */
@media(max-width:768px) {
    .casino-row {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .casino-left {
        justify-content: center;
        margin-bottom: 10px;
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;

    }

    .casino-right {
        justify-content: space-between;
        margin-top: 16px;
    }
}

/* ============================
   DESKTOP GRID FIX
============================ */
@media (max-width: 1024px) {
    .casino-name {
        font-size: 16px;
        color: #000;
    }
}

@media (min-width: 769px) {

    .casino-row {
        grid-template-columns: 220px 1fr 200px;
        /* FIX right space */
        padding: 20px;
    }

    .casino-right {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 12px;
        justify-content: flex-start;


    }

    /* LEFT */
    .casino-left {
        gap: 22px;
    }

    .casino-logo {
        max-height: 32px;
        /* width: 36px;
        height: 48px; */
        object-fit: cover;
        /* border-radius: 50%; */

    }

    .casino-name {
        font-size: 18px;
        color: #000;
    }

    /* RIGHT CTA FIX */


    .btn-outline,
    .btn-primary {
        min-width: 170px;
        /* SAME WIDTH */
        padding: 14px 0;
        font-size: 14px;
        border-radius: 14px;
        text-align: center;
    }

    .btn-outline {
        background: #fff;
        border: 2px solid #7666d5;
        color: #000;
        font-weight: 700;

    }

    .btn-primary {
        background: #564287;
        color: #fff;
        font-weight: 800;
    }
}

/* ===== MOBILE CTA ===== */
@media (max-width: 768px) {

    .casino-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 COLUMN */
        gap: 14px;
        margin-top: 18px;
        width: 100%;
    }

    .btn-outline,
    .btn-primary {
        width: 100%;
        padding: 14px 0;
        font-size: 14px;
        border-radius: 14px;
        text-align: center;
    }

    .btn-outline {
        background: #fff;
        border: 2px solid #7666d5;
        font-weight: 700;
        border-color: #7666d5;
        color: #000;
    }

    .btn-primary {
        background: #564287;
        color: #fff;
        font-weight: 800;
    }
}


/* ============================
   PRO & CONTRO ALIGNMENT
============================ */
.casino-proscons {
    margin-top: 14px;
    width: 100%;
}

.casino-proscons summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    /* remove arrow */
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.casino-proscons summary::-webkit-details-marker {
    display: none;
    /* remove ▼ */
}

/* ============================
   PROS / CONS CLEAN LIST
============================ */
.pros-cons-grid ul {
    padding: 0;
    margin: 0;
}

.pros-cons-grid li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    text-align: left;
}

/* Icons spacing */
.pros li::before,
.cons li::before {
    display: none;
}

/* ============================
   CENTER ALIGNMENT FIX
============================ */
.casino-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.casino-pill {
    display: inline-block;
    background: #2ecc71;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 10px;
    border: 1px solid #005926;
}

/* =========================================
   SIDEBAR CASINO LIST
========================================= */
.casino-sidebar-logo {
    width: 50%;
    object-fit: cover;
    margin-bottom: 4px;
    background: #f3f0fb;
    border-radius: 14px;
    padding: 10px;
}

.casino-sidebar {
    background: linear-gradient(135deg, #050816 0%, #191970 40%, #5b21b6 100%);
    color: #000;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, .08); */
}

.casino-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.casino-sidebar-item:last-child {
    border-bottom: none;
}

.casino-sidebar-name {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    /* green like ref */
}

.casino-sidebar-bonus {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 4px 0;
}

.casino-sidebar-pill {
    display: inline-block;
    font-size: 13px;
    padding: 4px 10px;
    background: #fff3c4;
    border-radius: 999px;
}

.casino-sidebar-btn {
    background: linear-gradient(135deg, #7c3aed, #564287);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    font-size: 14px;
}

.casino-sidebar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, .4);
}

/* Mobile */
@media (max-width: 768px) {
    .casino-sidebar-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .casino-sidebar-btn {
        align-self: flex-end;
    }

    .casino-sidebar {
        display: none;
    }
}


.casino-sidebar-btn {
    /* background:#564287; */
    /* color:#fff; */
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 800;
    text-decoration: none;
    background: var(--cw-primary);
    color: #fff;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.casino-sidebar-btn:hover {
    /* background: var(--cw-primary-dark); */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(91, 63, 166, .35);
    color: #fff;
}


.casino-sidebar-btn {
    min-width: 100px;
    /* SAME WIDTH */
    padding: 10px;
    font-size: 14px;
    border-radius: 14px;
    text-align: center;
}

.casino-sidebar-btn {
    background: #f3f0fb;
    color: #000;
    font-weight: 800;
}

@media (max-width: 768px) {

    .btn-outline,
    .casino-sidebar-btn {
        width: 100%;
        padding: 14px 0;
        font-size: 14px;
        border-radius: 14px;
        text-align: center;
    }

    .casino-sidebar-btn {
        background: #564287;
        color: #fff;
        font-weight: 800;
    }
}


.casino-sidebar-right {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-direction: column;
}

@media(max-width:768px) {

    .casino-sidebar-right {
        justify-content: space-between;
        margin-top: 16px;
    }
}

@media (min-width: 769px) {



    .casino-sidebar-right {
        display: flex;
        flex-direction: column;
        /* STACK */
        align-items: flex-end;
        justify-content: center;
        gap: 12px;
    }


    /* RIGHT CTA FIX */
    .casino-sidebar-right {
        justify-content: flex-end;
        gap: 12px;
    }
}

@media (max-width: 768px) {

    .casino-sidebar-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 COLUMN */
        gap: 14px;
        margin-top: 18px;
        width: 100%;
    }
}

/* responsive */
/* =========================================
   SIDEBAR CASINO – LAYOUT ONLY (NO COLORS)
   Ref image match
========================================= */

/* Container */
.casino-sidebar {
    padding: 6px;
    margin-bottom: 16px;
}

/* Each row */
.casino-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
}

/* LEFT CONTENT */
.casino-sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

/* Name on top */
.casino-sidebar-name {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

/* Bonus text */
.casino-sidebar-bonus {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

/* Pill below bonus */
.casino-sidebar-pill {
    align-self: flex-start;
    margin-top: 2px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #2ecc71;
}

/* RIGHT CTA */
.casino-sidebar-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button sizing like ref */
.casino-sidebar-btn {
    padding: 10px 18px;
    font-size: 14px;
    min-width: 90px;
    border-radius: 12px;
    white-space: nowrap;
}

/* =========================
   MOBILE – STACK LIKE REF
========================= */
@media (max-width: 768px) {

    .casino-sidebar-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .casino-sidebar-right {
        width: 100%;
        justify-content: flex-end;
    }

    .casino-sidebar-btn {
        align-self: flex-end;
    }
}

/* effect */
/* =========================================
   DIAGONAL SHINE – TOP LEFT → BOTTOM RIGHT
========================================= */

.casino-sidebar-btn {
    position: relative;
    overflow: hidden;
}

.casino-sidebar-btn {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #9489ff, #564bc6);
    color: #fff;
    cursor: pointer;
}

/* Mirror layer */
.casino-sidebar-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transform: skewX(-20deg);
    animation: shine 2.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    60% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

/* SHINE LAYER */
.casino-sidebar-btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

/* AUTO LOOP (LIKE VIDEO) */
.casino-sidebar-btn {
    animation: cw-glow 2.8s ease-in-out infinite;
}

@keyframes cw-glow {
    0% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    50% {
        box-shadow: 0 10px 22px rgba(91, 63, 166, .35);
    }

    100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* SHINE MOVE TL → BR */
.casino-sidebar-btn:hover::before {
    animation: cw-diagonal-shine 1.6s ease forwards;
}

@keyframes cw-diagonal-shine {
    from {
        top: -120%;
        left: -120%;
    }

    to {
        top: 120%;
        left: 120%;
    }
}

/* CLICK PRESS FEEL */
.casino-sidebar-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 6px 14px rgba(91, 63, 166, .35);
}

/* MOBILE – DISABLE AUTO LOOP */
@media (hover: none) {
    .casino-sidebar-btn {
        animation: cw-glow 4.5s ease-in-out infinite;
    }
}

/* ===============================
   SINGLE PARTNER BOX
================================ */

/* ===============================
   INVESTING STYLE PARTNER CARD
================================ */

/* ===============================
   SINGLE PARTNER CARD – REF STYLE
================================ */
.partner-box {
    display: flex;
    justify-content: space-around;
}

.partner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 24px;
    margin: 16px 0;
    background: linear-gradient(135deg, #050816 0%, #191970 40%, #5b21b6 100%);
    color: #000;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    width: 50%;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .partner-card {
        width: 48%;
        padding: 20px;
        margin: 12px 1%;
    }
}

/* Mobile Landscape - 768px */
@media (max-width: 768px) {
    .partner-card {
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
        padding: 18px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {
    .partner-card {
        padding: 16px;
        margin: 10px 0;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    }
}

/* Extra Small Mobile - 360px */
@media (max-width: 360px) {
    .partner-card {
        padding: 14px;
        margin: 8px 0;
        border-radius: 12px;
    }
}

/* Gradient background (soft, not harsh) */
.partner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            #0f1229 0%,
            #171b3a 55%,
            #3d2b86 100%);
    z-index: 0;
}

/* Ensure content above bg */
.partner-card>* {
    position: relative;
    z-index: 1;
}

/* TOP */
.partner-top {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.partner-item {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

/* Logo box */
.partner-logo-wrap {
    background: #f3f0fb;
    border-radius: 14px;
    padding: 10px;
    width: 170px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .partner-logo-wrap {
        width: 150px;
        height: 58px;
        padding: 8px;
        border-radius: 12px;
    }
}

/* Mobile Landscape - 768px */
@media (max-width: 768px) {
    .partner-logo-wrap {
        width: 140px;
        height: 54px;
        padding: 6px;
        border-radius: 10px;
    }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {
    .partner-logo-wrap {
        width: 120px;
        height: 48px;
        padding: 5px;
        border-radius: 8px;
    }

    .partner-logo-wrap img {
        max-height: 42px;
    }
}

/* Extra Small Mobile - 360px */
@media (max-width: 360px) {
    .partner-logo-wrap {
        width: 110px;
        height: 44px;
        padding: 4px;
        border-radius: 6px;
    }

    .partner-logo-wrap img {
        max-height: 38px;
    }
}

/* Text column */
.partner-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Brand name */
.partner-brand {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

/* Badge */
.partner-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 12px;
    background: #2ecc71;
    color: #0b0b0b;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

/* Rating */
.partner-rating {
    font-size: 14px;
    color: #f7c948;
    margin-bottom: 4px;
    padding-left: 5px;
    padding-top: 5px;
}

/* Review link */
.partner-review {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    opacity: .9;
}

.partner-review-wrap {
    display: inline-block;
    padding-left: 5px;
}

/* Hover exactly like ref */
.partner-review:hover {
    color: #ffffff;
}

/* STATS */
.partner-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px 0;
}

.partner-stats strong {
    font-size: 14px !important;
    color: #fff;
    font-family: "Sora", sans-serif !important;
}

.partner-stats span {
    font-size: 13px;
    color: #fff;
}

/* CTA – SAME AS REF */
.partner-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-cta {
    position: relative;
    overflow: hidden;
    padding: 14px 32px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #7c6bd6, #5a4fcf);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.partner-cta::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.partner-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transform: skewX(-20deg);
    animation: shine 2.5s infinite;
}


@keyframes shine {
    0% {
        left: -100%;
    }

    60% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

/* MOBILE */
@media (max-width: 768px) {


    .partner-brand {
        font-size: 22px;
    }
}

.partner-rating strong {
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
}