.casino-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.casino-row {
    display: grid;
    grid-template-columns: 40px 20% 20% 35% auto;
    gap: 10px;
    padding: 15px 25px 15px 15px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    align-items: center;
    transition: box-shadow 0.3s ease;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(90deg, transparent, transparent) border-box;
    border: 1px solid transparent;
}

.casino-row:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(90deg, #00a651, #ff9900, #00a651) border-box;
    background-size: 300% 100%;
    animation: gradient 2s linear infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 150% 0%;
    }
}

.casino-position {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    background: #f8f9fa;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    border: 1px solid #FCB900;
    box-shadow: 0 0 15px #ffee03ab;
    margin: 0 auto;
    z-index: 2;
}

.casino-logo-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.casino-logo-col img {
    max-width: 150px;
    height: auto;
    margin: 0 auto;
}

.casino-name-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.casino-name-link:hover {
    color: #00a651;
}

.casino-name {
    font-size: 16px;
    margin: 5px 0;
}

.casino-rating {
    color: #ffd700;
    font-size: 18px;
    margin: 10px 0;
}

.casino-btn {
    padding: 10px 15px;
    font-size: 14px;
    margin-bottom: 8px;
}

.primary-btn {
    background: #00a651;
    color: #fff;
}

.primary-btn:hover {
    background: #008c44;
    color: #fff;
}

.secondary-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
}

.secondary-btn:hover {
    background: #e9ecef;
    color: #333;
}

.casino-bonus-col {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.bonus-label, .spins-label {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.bonus-amount, .free-spins {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    padding: 2px 6px;
    background: #f8faf9;
    border-radius: 3px;
    display: inline-block;
}

.casino-info-col {
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    margin-right: 15px;
}

.info-item {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.check-icon {
    color: #00a651;
    font-size: 14px;
    margin-right: 5px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .casino-row {
        grid-template-columns: 1fr;
        padding: 20px 15px;
    }
    
    .casino-position {
        position: absolute;
        top: 10px;
        right: 10px;
        left: auto;
        margin: 0;
    }

    .info-item {
        justify-content: center;
    }
    
    .casino-btn {
        max-width: 300px;
        margin: 8px auto;
    }

    .casino-logo-col {
        margin: 20px auto 10px;
    }
    
    .casino-name {
        font-size: 18px;
    }

    .casino-info-col {
        margin-right: 0;
        padding: 10px;
    }
} 

.star-rating {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
}

.star {
    color: #ffd700;
}

.star.empty {
    color: #ccc;
}

.star.half {
    position: relative;
    display: inline-block;
}

.star.half:after {
    content: '☆';
    position: absolute;
    left: 0;
    color: #ccc;
    width: 50%;
    overflow: hidden;
}

.casino-ribbon {
    position: absolute;
    top: 0;
    left: -5px;
    padding: 5px 10px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border-radius: 0 3px 3px 0;
    z-index: 1;
}

.casino-ribbon:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    border-top: 5px solid rgba(0,0,0,0.3);
    border-left: 5px solid transparent;
}

.bonus-label, .spins-label, .info-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.check-icon {
    color: #00a651;
    font-size: 18px;
    margin-right: 5px;
}

.casino-cta-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.casino-btn.primary-btn {
    display: inline-block;
    width: auto;
    min-width: 150px;
    max-width: 200px;
    background: #00a651;
    color: #fff;
    text-align: center;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.casino-btn.primary-btn:hover {
    background: #008c44;
}

.casino-btn.primary-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

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

.min-deposit-info {
    text-align: center;
    font-size: 12px;
    color: #666;
}

.min-deposit-label {
    font-size: 11px;
    font-weight: bold;
    color: #666;
    margin-bottom: 2px;
}

.min-deposit {
    font-size: 12px;
    color: #333;
    padding: 2px 6px;
    background: #bcebfa;
    border-radius: 3px;
    display: inline-block;
}

@media (max-width: 768px) {
    .casino-cta-col {
        justify-content: center;
        padding-right: 0;
    }

    .casino-btn.primary-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Lataa lisää -napin tyylit */
.load-more-container {
    text-align: center;
    margin: 20px 0;
}

.load-more-button {
    background: #00a651;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background: #008c44;
}

.load-more-spinner {
    margin: 20px auto;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00a651;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

.launch-year-info {
    text-align: center;
    font-size: 12px;
    color: #666;
}

.launch-year-label {
    font-size: 11px;
    font-weight: bold;
    color: #666;
    margin-bottom: 2px;
}

.launch-year {
    font-size: 12px;
    color: #333;
    padding: 2px 6px;
    background: #e8f4f8;
    border-radius: 3px;
    display: inline-block;
}
.clearfix::after{content:"";display:table;clear:both}
