body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Animated background for footer */
.animated-bg {
    background: linear-gradient(45deg, #4c1d95, #6d28d9, #8b5cf6, #c026d3);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

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

/* Glow effects */
.text-glow {
    text-shadow: 0 0 10px rgba(192, 38, 211, 0.7), 0 0 20px rgba(192, 38, 211, 0.5);
}

.box-glow {
    box-shadow: 0 0 15px rgba(192, 38, 211, 0.5), 0 0 30px rgba(192, 38, 211, 0.3);
}

.neon-border {
    box-shadow: 0 0 5px rgba(192, 38, 211, 0.7), inset 0 0 5px rgba(192, 38, 211, 0.7);
}

/* Animated pulse */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 100;
    padding: 2rem;
}

.mobile-menu.active {
    display: block;
}

/* Scrollbar styling for the bonus slider */
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(192, 38, 211, 0.5) rgba(31, 41, 55, 0.5);
}

.scroll-container::-webkit-scrollbar {
    height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(192, 38, 211, 0.5);
    border-radius: 10px;
}

/* Scroll snap for mobile */
.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

/* Indicator dots */
.indicator-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ec4899;
}

/* Card hover effect */
.bonus-card {
    transition: all 0.3s ease;
    will-change: transform;
}

.bonus-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Neon text gradient */
.neon-text {
    background: linear-gradient(to right, #a855f7, #ec4899, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Neon button gradient */
.neon-button {
    background: linear-gradient(to right, #7e22ce, #be185d);
    transition: all 0.3s ease;
}

.neon-button:hover {
    background: linear-gradient(to right, #6b21a8, #9d174d);
    box-shadow: 0 0 15px rgba(192, 38, 211, 0.7);
}

/* Radial gradient background */
.radial-bg {
    background-image: radial-gradient(circle at center, rgba(120, 40, 200, 0.15) 0, rgba(0, 0, 0, 0) 70%);
}

/* Floating elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Rotating elements */
.rotating {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Flipping card effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Particle effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation-name: particleAnimation;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes particleAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Floating casino chips */
.casino-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

/* Jackpot counter */
.jackpot-counter {
    font-variant-numeric: tabular-nums;
    font-weight: bold;
    letter-spacing: -0.5px;
}

/* Dice animation */
.dice {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 5px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: black;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: diceRoll 3s ease-in-out infinite;
}

@keyframes diceRoll {
    0%, 100% {
        transform: rotateZ(0deg);
    }
    25% {
        transform: rotateZ(90deg);
    }
    50% {
        transform: rotateZ(180deg);
    }
    75% {
        transform: rotateZ(270deg);
    }
}

/* Playing card animation */
.playing-card {
    width: 40px;
    height: 60px;
    background-color: white;
    border-radius: 5px;
    position: absolute;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: cardFloat 5s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Slot machine animation */
.slot-reel {
    overflow: hidden;
    height: 60px;
    position: relative;
    background-color: #333;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.slot-symbols {
    animation: slotSpin 2s linear infinite;
}

@keyframes slotSpin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-300px);
    }
}

/* Floating action button */
.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-action-button:hover {
    transform: scale(1.1);
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Number counter animation */
.number-counter {
    counter-reset: count 0;
    animation: count 2s forwards ease-out;
}

@keyframes count {
    to {
        counter-increment: count attr(data-count);
    }
}

.number-counter::after {
    content: counter(count);
}

/* Confetti animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f472b6;
    animation: confetti 5s ease-in-out infinite;
}

@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 0.15em solid #ec4899;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #ec4899 }
}

@media (max-width: 640px) {
    .scroll-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar on mobile for cleaner look */
    }
    
    .scroll-container {
        scrollbar-width: none; /* Firefox */
    }
}