/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Squixels';
    src: url('../Fonts/Squixels.woff2') format('woff2'),
         url('../Fonts/Squixels.woff') format('woff'),
         url('../Fonts/Squixels.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==================== CSS RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    --block-green: #7fc242;
    --block-brown: #8b5a3c;
    --block-stone: #8d8d8d;
    --block-blue: #4a90e2;
    --block-red: #e74c3c;
    --block-yellow: #f4d03f;
    --block-purple: #9b59b6;
    --block-dark: #2c2c2c;
    --block-light: #f5f5f5;
    --laser-cyan: #00ffff;
    --laser-orange: #ff6b35;
    --font-game: 'Squixels', monospace;
    --font-body: 'Rubik', sans-serif;
}

/* ==================== BASE STYLES ==================== */
body {
    font-family: var(--font-body);
    color: var(--block-dark);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: -2;
}

.page-section {
    flex: 1;
    position: relative;
}

/* ==================== REUSABLE ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

/* ==================== BASE BUTTON SYSTEM ==================== */
.btn-3d {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-game);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 -4px 0 rgba(0,0,0,0.3),
        0 4px 0 rgba(0,0,0,0.4);
}

.btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.btn-3d:hover::before {
    left: 100%;
}

.btn-3d:hover {
    transform: translateY(-2px);
}

.btn-3d:active {
    transform: translateY(2px);
}
