/* Casino Cards */

:root {
    --primary: var(--p-primary);
    --secondary: var(--p-accent);
    --accent: #fbbf24;
    --card-bg: var(--p-surface);
    --text-main: var(--p-text-main);
    --text-muted: var(--p-text-muted);
    --border-light: var(--p-border);
    --shadow-premium: var(--p-shadow-lg);
}

.top-casinos-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.casino-card-row {
    display: flex;
    align-items: stretch;
    background: var(--card-bg);
    border-radius: 28px;
    border: 1px solid var(--p-border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    min-height: 180px;
    margin-bottom: 2rem;
}

.casino-card-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 204, 0.15);
}

/* Rank - Sleek Vertical Bar Style */
.casino-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #94a3b8;
    font-weight: 800;
    font-size: 1.5rem;
    border-right: 1px solid #f1f5f9;
    font-family: 'Outfit', sans-serif;
}

.casino-card-row:nth-child(1) .casino-rank {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #fbbf24;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-card-row:nth-child(2) .casino-rank {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
}

.casino-card-row:nth-child(3) .casino-rank {
    background: linear-gradient(180deg, #fdf4ff 0%, #fae8ff 100%);
    color: #d946ef;
}


/* Logo Section */
.casino-logo-col {
    padding: 1.5rem;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.casino-logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.casino-logo-circle img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.casino-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    text-align: center;
}

.casino-rating {
    margin-top: 0.25rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Features - Clean Minimalist */
.casino-features-col {
    flex: 1;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    border-left: 1px solid #f8fafc;
    background-color: #fbfcfe;
}

.casino-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    width: 100%;
}

.casino-features-list li {
    position: relative;
    padding-left: 1.5rem;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
}

.casino-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Bonus & CTA - Highlighted */
.casino-bonus-col {
    width: 280px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    border-left: 1px solid #f1f5f9;
    background-color: #ffffff;
    flex-shrink: 0;
}

.bonus-box {
    text-align: center;
    margin-bottom: 0.25rem;
}

.bonus-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.bonus-value {
    display: block;
    font-weight: 800;
    font-size: 1.25rem;
    color: #0f172a;
    line-height: 1.1;
}

.btn-play {
    background: var(--p-grad-action);
    color: #fff !important;
    font-weight: 800;
    text-align: center;
    padding: 1rem;
    border-radius: 14px;
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    filter: brightness(1.05);
    color: #fff;
    text-decoration: none;
}

.btn-play small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}

.link-review {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.link-review:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .casino-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .casino-card-row {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: visible;
        /* Allow rank badge to pop out */
    }

    .casino-rank {
        width: 40px;
        height: 40px;
        position: absolute;
        top: -12px;
        left: 20px;
        border-radius: 12px;
        box-shadow: var(--p-shadow-md);
        font-size: 1.1rem;
        z-index: 10;
        background: var(--p-primary);
        color: #fff;
    }

    .casino-logo-col {
        width: 100%;
        padding: 2rem 1.5rem 0.5rem;
    }

    .casino-features-col {
        width: 100%;
        padding: 1.5rem;
        border-left: none;
        border-bottom: 1px solid #f1f5f9;
        background-color: #ffffff;
    }

    .casino-features-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .casino-features-list li {
        font-size: 0.9rem;
    }

    .casino-bonus-col {
        width: 100%;
        padding: 1.5rem;
        border-top: 1px solid var(--p-border);
    }

    .bonus-value {
        font-size: 1.4rem;
    }

    .btn-play {
        padding: 1.1rem;
    }
}