/* ==========================================
   BASE STYLES + THEME VARIABLES
   Shared foundation for all Ledder pages
   ========================================== */

/* CSS Custom Properties (Theme Colors) */
:root {
    /* Primary Christmas Colors */
    --christmas-green: #1a472a;
    --christmas-green-light: #2d5a3f;
    --christmas-red: #c41e3a;
    --christmas-red-dark: #a51c30;
    
    /* Background Gradient */
    --bg-gradient: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
    
    /* Text Colors */
    --text-primary: #333;
    --text-light: #666;
    --text-white: #fff;
    
    /* UI Colors */
    --border-light: #e8e8e8;
    --shadow-dark: rgba(0, 0, 0, 0.3);
    
    /* Font Families */
    --font-display: 'Mountains of Christmas', cursive;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-handwritten: 'Patrick Hand', cursive;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Hide scrollbars on desktop */
@media (min-width: 768px) {
    * {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    *::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}

/* Common html/body setup */
html {
    height: 100%;
}

body {
    font-family: var(--font-body);
    min-height: 100%;
    min-height: -webkit-fill-available;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    position: relative;
}

/* Christmas background utility class */
.bg-christmas {
    background: var(--bg-gradient);
}

/* Common button base */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-red-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

