/* Font Definitions with Performance Optimizations */

/* Preload critical fonts */
@font-face {
    font-family: 'Poppins-Light';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-display: swap;
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Medium';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-display: swap;
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cuprum-Bold';
    src: url('../fonts/Cuprum-Bold.ttf') format('truetype');
    font-display: swap;
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: '8bit';
    src: url('../fonts/8bitwonder.ttf') format('truetype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

/* Font fallbacks for better loading experience */
.font-fallback {
    font-family: 'Poppins-Light', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-medium-fallback {
    font-family: 'Poppins-Medium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-bold-fallback {
    font-family: 'Cuprum-Bold', Georgia, 'Times New Roman', serif;
}

.font-8bit-fallback {
    font-family: '8bit', 'Courier New', monospace;
} 