/* ==========================================
   Font Loading Optimization
   ========================================== */
@font-face {
    font-family: 'Inter-fallback';
    src: local('Arial');
    size-adjust: 106.5%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Reserve space for Lucide icon swaps */
i[data-lucide] {
    width: 24px;
    height: 24px;
    display: inline-block;
    flex-shrink: 0;
}

svg.lucide {
    width: 24px;
    height: 24px;
    display: inline-block;
    flex-shrink: 0;
}

/* ==========================================
   Maple Casino - Brand Colors & Variables
   ========================================== */
:root {
    /* Maple Casino Brand Colors */
    --maple-red: #E31E24;
    --maple-dark-red: #C41E24;
    --maple-navy: #1a2332;
    --maple-dark-navy: #0f1621;
    --maple-charcoal: #2d3748;
    --maple-gold: #FFB800;
    --maple-light-gold: #FFC933;
    --maple-grey:#26333b;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f7fafc;
    --gray: #e2e8f0;
    --text-gray: #718096;
    --dark-gray: #4a5568;
    
    /* Typography */
    --font-family: 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    color-scheme: light;
    background-color: var(--maple-dark-navy);
    height: 100%;
}

/* Force light mode - override any dark mode preferences */
@media (prefers-color-scheme: dark) {
    html {
        color-scheme: light;
    }
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--maple-dark-navy);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInAnswer {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Base
   ========================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
}
