/* 
   ==========================================================================
   V2-REDESIGN.CSS - Dedicated Redesign Styles
   Focus: Premium Aesthetics, Compact Cards, Responsive Grid
   ========================================================================== */

/* Reset conflictual container grid if needed */
.v2-container-reset {
    display: block !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Trust Indicators Section --- */
.v2-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 40px;
}

.v2-trust-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 380px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .v2-trust-card:hover {
        transform: translateY(-3px);
    }
}

.v2-trust-icon-box {
    background: #1a1e2e;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.v2-trust-text-box h6 {
    margin: 0;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v2-trust-text-box p {
    margin: 2px 0 0;
    font-size: 12px;
    opacity: 0.7;
}

/* --- Casino Grid System --- */
.v2-casino-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Casino Card Design --- */
.v2-casino-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eee;
    min-height: 240px;
    /* Ultra-compact now icons are gone */
}

@media (hover: hover) {
    .v2-casino-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
}

.v2-rank-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1e2e;
    padding: 3px 10px;
    font-weight: 800;
    font-size: 13px;
    border-radius: 8px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.v2-card-header {
    height: 80px;
    /* Slightly taller for larger logos */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.v2-card-header img {
    max-width: 90% !important;
    max-height: 85% !important;
    object-fit: contain;
}

.v2-card-body {
    padding: 8px 12px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v2-card-body .main-desc {
    display: none;
    /* Moved to footer */
}

/* Info Sub-Groups */
.v2-info-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v2-info-label {
    font-size: 8px;
    color: #ccc;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.v2-icon-row {
    display: flex;
    justify-content: center;
    gap: 4px;
}

/* --- Card Footer & Bonus Placement --- */
.v2-card-footer {
    padding: 12px 12px 15px;
    background: #fdfdfd;
    border-top: 1px solid #f8f8f8;
    text-align: center;
}

.v2-card-footer .main-desc {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
}

.v2-card-footer .ext-desc {
    font-size: 13px;
    /* Larger */
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 12px;
}

.v2-footer-bonus {
    display: block;
    font-size: 26px;
    /* High Impact */
    font-weight: 900;
    color: #28a745;
    margin-bottom: 2px;
    line-height: 1.1;
}

.v2-btn-play {
    background: #2f4c8b; /* Dark Blue normal */
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 900;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    display: block;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(47, 76, 139, 0.3); /* Shadow matching dark blue */
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .v2-btn-play:hover {
        background: #395CA9; /* Light Blue on hover */
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(57, 92, 169, 0.4);
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
    .v2-casino-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 800px) {
    .v2-casino-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .v2-trust-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 30px;
    }

    .v2-trust-card {
        width: 100%;
        max-width: 400px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .v2-casino-card {
        min-height: 260px;
    }

    .v2-footer-bonus {
        font-size: 18px;
    }
}

/* --- Global Review Bar --- */
.v2-review-bar {
    background: #f8f8f8;
    color: #333;
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ebebeb;
}

.v2-review-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-review-stars {
    color: #00b67a;
    /* Trustpilot Green */
    font-size: 18px;
    letter-spacing: 2px;
}

.v2-review-stats {
    font-weight: 400;
}

.v2-review-stats strong {
    font-weight: 800;
}

.v2-review-count {
    text-decoration: underline;
    opacity: 0.8;
}

.v2-leave-review {
    cursor: pointer;
    background: #00b67a;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 10px;
    transition: all 0.2s ease;
}

.v2-leave-review:hover {
    background: #009665;
}

.v2-rating-box {
    display: none;
    margin-left: 15px;
    padding: 5px 12px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: 8px;
}

.v2-star-btn {
    color: #ccc;
    cursor: pointer;
    font-size: 22px;
    transition: color 0.2s, transform 0.2s;
}

.v2-star-btn.active,
.v2-star-btn.hover {
    color: #ffc107;
}

.v2-star-btn:hover {
    transform: scale(1.2);
}

.v2-confirm-box {
    display: none;
    font-size: 12px;
    gap: 8px;
}

.v2-confirm-btn {
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 800;
}

.v2-confirm-yes {
    background: #28a745;
    color: white;
    border: none;
}

.v2-confirm-no {
    background: #dc3545;
    color: white;
    border: none;
}

@media (max-width: 600px) {
    .v2-review-bar {
        font-size: 12px;
        padding: 8px 10px;
        flex-direction: column;
    }

    .v2-review-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .v2-rating-box {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* --- Thank You Popup --- */
.v2-thank-you-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    text-align: center;
    max-width: 320px;
    width: 90%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v2-thank-you-modal.active {
    display: block !important;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.v2-thank-you-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.v2-thank-you-backdrop.active {
    display: block !important;
}

.v2-success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.v2-ty-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1e2e;
}

.v2-ty-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.v2-close-ty-btn {
    background: #395CA9;
    /* Reverted to muted blue */
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s;
}

.v2-close-ty-btn:hover {
    filter: brightness(1.2);
}