/* Custom font */
@font-face {
    font-family: 'Upheaval';
    src: url('assets/Font/upheaval/upheavtt.ttf') format('truetype');
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('assets /cursor/cursor.png'), auto;
}

body {
    font-family: 'Upheaval', 'Press Start 2P', cursive;
    background: #000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    cursor: url('assets /cursor/cursor.png'), auto;
}

/* Cyberpunk grid background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 0%, rgba(32, 128, 32, 0.2) 2%, transparent 3%),
        linear-gradient(90deg, transparent 0%, rgba(32, 128, 32, 0.2) 2%, transparent 3%);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

/* Neon glow effect */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, 
            rgba(255, 0, 255, 0.1) 0%,
            rgba(0, 255, 255, 0.1) 25%,
            transparent 50%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Main container */
.loading-container {
    text-align: center;
    z-index: 3;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Vending machine wrapper */
.vending-machine-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vending machine image */
.vending-machine {
    display: block;
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: brightness(1) drop-shadow(0 0 0 transparent);
    outline: none !important;
    border: none !important;
}

.vending-machine:hover {
    filter: brightness(1.1) drop-shadow(0 0 30px #00ffff) drop-shadow(0 0 60px rgba(0, 255, 255, 0.5));
    transform: scale(1.02);
}

.vending-machine:active {
    transform: scale(0.98);
}

.vending-machine:focus {
    outline: none !important;
    border: none !important;
}

/* Button styles removed - vending machine is now clickable */

/* Loading text removed */

@keyframes pulse-blue {
    0% { 
        box-shadow: 
            6px 6px 0px #000,
            inset 2px 2px 0px rgba(255, 255, 255, 0.9),
            0 0 20px #00c3ff,
            0 0 40px rgba(0, 195, 255, 0.8),
            0 0 60px rgba(0, 91, 234, 0.5);
    }
    100% { 
        box-shadow: 
            6px 6px 0px #000,
            inset 2px 2px 0px rgba(255, 255, 255, 0.9),
            0 0 30px #00c3ff,
            0 0 60px rgba(0, 195, 255, 0.8),
            0 0 90px rgba(0, 91, 234, 0.6);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .vending-machine {
        max-width: 100%;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .vending-machine {
        max-width: 100%;
        max-height: 85vh;
    }
}

@media (max-height: 600px) {
    .vending-machine {
        max-height: 90vh;
    }
    
    .loading-container {
        max-height: 100vh;
    }
}

/* Button click effect */
/* Click effect animations removed - handled by JavaScript now */ 
