/* Professional Casino Cards - SEO Optimized */

.toplist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.toplist-header {
    text-align: center;
    margin-bottom: 50px;
}

.toplist-header h1 {
    font-size: 3rem;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 700;
}

.toplist-header .subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.toplist-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #374151;
}

.meta-item .icon {
    font-size: 1.1rem;
}

/* Casino Cards Grid */
.casino-toplist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Individual Casino Card */
.casino-card-pro {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    min-height: 420px;
}

.casino-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

/* Ranking Number - Top Left */
.ranking-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.ranking-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.ranking-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e5e7eb);
    color: #374151;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.ranking-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #92400e);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

/* Rating Badge - Top Right */
.rating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 12px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 0.8rem;
}

/* Casino Logo Section */
.casino-logo-section {
    padding: 60px 30px 20px;
    text-align: center;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.casino-logo-pro {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.casino-card-pro:hover .casino-logo-pro {
    transform: scale(1.05);
}

/* Casino Name Ribbon - Toned Down */
.casino-name-ribbon {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #f8fafc;
    color: #374151;
    padding: 6px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    z-index: 5;
}

.casino-name-ribbon h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Casino Details Section */
.casino-details-pro {
    padding: 30px 25px 25px;
    text-align: center;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.bonus-info {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #10b981;
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.bonus-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.bonus-text {
    font-weight: 600;
    color: #047857;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Logo Bonus Animation Overlay - Updated casino-logo-section */

.logo-bonus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    border-radius: 15px;
    margin: 10px;
}

.casino-card-pro:hover .logo-bonus-overlay {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.2s;
}

.logo-bonus-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    text-align: center;
}

.logo-bonus-subtext {
    font-size: 0.8rem;
    opacity: 0.9;
    text-align: center;
}

/* Action Buttons */
.casino-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.action-btn {
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.review-btn-pro {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: 2px solid transparent;
}

.review-btn-pro:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 114, 128, 0.3);
}

.play-btn-pro {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid #10b981;
    position: relative;
    overflow: hidden;
}

.play-btn-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.play-btn-pro:hover::before {
    left: 100%;
}

.play-btn-pro:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Trusted Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #6b7280;
}

.trust-icon {
    color: #10b981;
    font-size: 0.9rem;
}

/* Removed problematic special badges that overlapped with rating badges */

/* Mobile Responsive */
@media (max-width: 768px) {
    .casino-toplist {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .casino-card-pro {
        min-height: 380px;
    }

    .toplist-header h1 {
        font-size: 2.2rem;
    }

    .casino-logo-section {
        padding: 50px 20px 15px;
        min-height: 160px;
    }

    .casino-logo-pro {
        max-width: 180px;
        max-height: 90px;
    }

    .casino-details-pro {
        padding: 25px 20px 20px;
    }

    .casino-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .action-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .toplist-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .toplist-container {
        padding: 30px 15px;
    }

    .casino-card-pro {
        min-height: 360px;
    }

    .casino-logo-section {
        padding: 45px 15px 10px;
        min-height: 140px;
    }

    .casino-logo-pro {
        max-width: 160px;
        max-height: 80px;
    }

    .ranking-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .rating-badge {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Loading Animation */
.casino-card-skeleton {
    background: #f3f4f6;
    border-radius: 20px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.casino-card-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { left: -100%; }
    100% { left: 100%; }
}