@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    font-family: 'Press Start 2P', cursive;
}

body {
    background-color: #0a0e27;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 2px
        );
}

.scanlines {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15) 0px,
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
        );
    z-index: 10;
}

.pixel-text {
    text-shadow: 
        3px 3px 0px #ff006e,
        6px 6px 0px #00d9ff;
}

@keyframes flicker {
    0%, 100% {
        text-shadow: 
            3px 3px 0px #ff006e,
            6px 6px 0px #00d9ff;
    }
    50% {
        text-shadow: 
            3px 3px 0px #00d9ff,
            6px 6px 0px #ff006e;
    }
}

.pixel-border {
    border: 3px solid;
    border-image: linear-gradient(135deg, #00d9ff, #ff006e, #00ff88) 1;
    box-shadow: 
        inset 0 0 10px rgba(0, 217, 255, 0.3),
        0 0 20px rgba(255, 0, 110, 0.5),
        0 0 40px rgba(0, 255, 136, 0.3);
}

.neon-glow {
    animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 0, 110, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 0, 110, 0.8);
    }
}

.pixel-block {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b4e 100%);
    border: 2px solid #00d9ff;
}

.crt-effect {
    position: relative;
    display: inline-block;
}

.crt-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

button {
    transition: all 0.2s;
}

button:hover {
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

.pixel-divider {
    background: repeating-linear-gradient(
        90deg,
        #00d9ff 0px,
        #00d9ff 2px,
        transparent 2px,
        transparent 4px,
        #ff006e 4px,
        #ff006e 6px,
        transparent 6px,
        transparent 8px
    );
    height: 4px;
}

.pixel-rocket {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem; /* Adjust as needed */
    text-shadow: 
        1px 1px 0px #ff006e,
        2px 2px 0px #00d9ff;
    line-height: 1; /* Helps with vertical alignment of pixel art text */
    display: inline-block; /* Allows text-shadow to work better and control spacing */
}

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