/* Global Reset */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    padding: 40px 15px;
}

.main-wrapper {
    max-width: 1050px;
    margin: 0 auto;
}

/* Main Card Container */
.casino-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.casino-card:hover { 
    transform: translateY(-3px); 
}

/* Highlight first card */
.casino-card.featured {
    border: 2px solid #38a169;
}

/* Left Column: Rank & Logo */
.card-side {
    width: 200px;
    padding: 25px;
    background: #f8fafc;
    border-right: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rank-badge {
    background: #2d3748;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Updated Logo Area for Consistency */
.logo-area {
    width: 150px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.logo-area img { 
    max-width: 100%; 
    max-height: 100%; 
    height: auto; 
    object-fit: contain; /* Ensures logo fits without stretching */
}

.stars { 
    color: #ed8936; 
    font-size: 1rem; 
    margin-top: 5px; 
}

.trust-rating span { 
    font-size: 10px; 
    font-weight: 700; 
    color: #a0aec0; 
    text-transform: uppercase; 
}

/* Middle Column: Bonus & Tech Info */
.card-main {
    flex: 1;
    padding: 25px;
}

.bonus-container {
    background: #f1f5f9;
    padding: 18px;
    border-radius: 10px;
    border-left: 4px solid #38a169;
    margin-bottom: 18px;
}

.bonus-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #38a169;
    margin-bottom: 4px;
}

.bonus-container h2 { 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: #2d3748; 
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.value { 
    font-size: 0.9rem; 
    font-weight: 600; 
}

.payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.pay-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    color: #4a5568;
}

/* Right Column: CTA Buttons */
.card-actions {
    width: 220px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #edf2f7;
}

.btn-play-now {
    background: #38a169;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 0 #276749;
    margin-bottom: 12px;
}

.btn-play-now:hover { 
    background: #2f855a; 
    transform: translateY(-1px); 
}

.btn-play-now:active { 
    transform: translateY(1px); 
    box-shadow: 0 0 0; 
}

.btn-review {
    text-align: center;
    font-size: 13px;
    color: #718096;
    font-weight: 600;
    text-decoration: none;
}

.terms { 
    font-size: 9px; 
    color: #a0aec0; 
    text-align: center; 
    margin-top: 10px; 
}

/* Responsive View for Mobile/Tablets */
@media (max-width: 850px) {
    .casino-card { 
        flex-direction: column; 
    }
    .card-side, .card-main, .card-actions { 
        width: 100%; 
        border: none; 
    }
    .tech-grid { 
        grid-template-columns: 1fr; 
    }
    .card-actions { 
        background: #f8fafc; 
        border-top: 1px solid #edf2f7; 
    }
}