/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #180C25; 
}
::-webkit-scrollbar-thumb {
    background: #4A1F5C; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D900FF; 
}

/* 3D Crystal/Raspberry Effect Simulation with CSS */
.crystal-gem {
    background: radial-gradient(circle at 30% 30%, #ff80ff, #D900FF, #4a0055);
    box-shadow: 0 0 20px rgba(217, 0, 255, 0.6);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.game-card:hover img {
    transform: scale(1.05);
}

.loader {
    border-top-color: #76C906;
    -webkit-animation: spinner 1.5s linear infinite;
    animation: spinner 1.5s linear infinite;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Horizontal scroll for tables on mobile */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.table-scroll table {
    min-width: 480px;
}
