/* Secret Santa - Shared Christmas Styles */

@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas&display=swap');

/* ===== GLOBAL STYLES ===== */

body {
    background: linear-gradient(135deg, #0f4c75 0%, #1e3a5f 50%, #0f4c75 100%);
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.christmas-font {
    font-family: 'Mountains of Christmas', cursive;
}

/* ===== SNOWFALL ANIMATION ===== */

.snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to { transform: translateY(100vh) rotate(360deg); }
}

/* ===== CONTENT LAYOUT ===== */

.content {
    position: relative;
    z-index: 2;
}

.christmas-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 3px solid #c41e3a;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== FORM ELEMENTS ===== */

.input-christmas {
    border: 2px solid #c41e3a;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    transition: border-color 0.3s ease;
}

.input-christmas:focus {
    border-color: #8b0000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

/* ===== BUTTONS ===== */

.btn-christmas {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 12px 24px;
    border: 2px solid #8b0000;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-christmas:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b0000 0%, #c41e3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(196, 30, 58, 0.3);
}

.btn-christmas:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== REVEAL ANIMATION ===== */

.reveal-animation {
    animation: revealGift 0.8s ease-out;
}

@keyframes revealGift {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
