/* Custom Styles & Casino Animations for Musor Goon */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --bg-dark: #08090d;
    --card-bg: #11131c;
    --neon-green: #10b981;
    --neon-purple: #a855f7;
    --neon-gold: #f59e0b;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #f3f4f6;
    overflow-x: hidden;
}

.font-heading {
    font-family: 'Orbitron', sans-serif;
}

/* Neon glow classes */
.glow-text-green {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.6), 0 0 20px rgba(16, 185, 129, 0.3);
}

.glow-text-purple {
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6), 0 0 20px rgba(168, 85, 247, 0.3);
}

.glow-text-gold {
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.6), 0 0 25px rgba(245, 158, 11, 0.3);
}

.glow-border-green {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.glow-border-purple {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
}

/* 3D Coin Flip Components */
.coin-container {
    perspective: 1000px;
}

.coin-3d {
    width: 140px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 2, 0.3, 1);
}

.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.2);
    border: 4px solid #f59e0b;
}

.coin-front {
    background: radial-gradient(circle at 35% 35%, #10b981, #064e3b);
    border-color: #34d399;
}

.coin-back {
    background: radial-gradient(circle at 35% 35%, #9333ea, #4c1d95);
    border-color: #c084fc;
    transform: rotateY(180deg);
}

/* Slots Reel Styles */
.slot-viewport {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, #1a1e2e 0%, #0d0f17 100%);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.slot-viewport::before,
.slot-viewport::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 35px;
    z-index: 20;
    pointer-events: none;
}

.slot-viewport::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(13, 15, 23, 0.95), transparent);
}

.slot-viewport::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(13, 15, 23, 0.95), transparent);
}

.payline-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.6), transparent);
    transform: translateY(-50%);
    z-index: 15;
    pointer-events: none;
}

/* Crate horizontal track */
.crate-viewport {
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
}

.crate-needle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #eab308;
    transform: translateX(-50%);
    z-index: 30;
    pointer-events: none;
    box-shadow: 0 0 10px #eab308;
}

.crate-needle::before,
.crate-needle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.crate-needle::before {
    top: 0;
    border-top: 10px solid #eab308;
}

.crate-needle::after {
    bottom: 0;
    border-bottom: 10px solid #eab308;
}

/* Animations */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0f17;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Upgrader Styles */
.upgrader-glow-emerald {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.upgrader-glow-amber {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

