:root {
    --christmas-red: #D42426;
    --christmas-green: #165B33;
    --christmas-gold: #FFD700;
    --snow-white: #FFFFFF;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background-color: #0A2342;
    color: var(--snow-white);
}

.website-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
}

.website-link .btn-outline-light {
    padding: 8px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.website-link .btn-outline-light:hover {
    background-color: var(--christmas-red);
    border-color: var(--christmas-red);
}

#snowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.hero-section {
    position: relative;
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, background-image 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

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

h1 {
    color: var(--snow-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.4;
}

.music-player {
    margin-top: clamp(1rem, 4vh, 2rem);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--christmas-red);
    border-color: var(--christmas-red);
}

.decorations-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.decoration-card {
    height: 300px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.decoration-card:hover {
    transform: scale(1.05);
}

.decoration-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--snow-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.twinkle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}



/* Responsive Design */
/* Tablet and smaller devices */
@media (max-width: 768px) {
    .btn-outline-light {
        font-size: clamp(0.875rem, 2vw, 1rem);
        padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    }
    
    .scene-controls {
        font-size: clamp(0.875rem, 2vw, 1rem);
        padding: 0.4rem 0.8rem;
        gap: 0.75rem;
    }

    .scene-selector {
        margin-bottom: 2rem;
    }

.scene-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    flex-wrap: wrap;
}

.scene-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.snow-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--snow-white);
}

.snow-control .form-range {
    width: 100px;
}

.mood-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.scene-name {
    color: var(--snow-white);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    min-width: clamp(120px, 25vw, 150px);
    text-align: center;
}

.scene-btn {
    padding: clamp(0.3rem, 1vw, 0.5rem);
    border-radius: 50%;
    width: clamp(32px, 8vw, 40px);
    height: clamp(32px, 8vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Extra small devices */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 0.5rem;
    }

    h2 {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        margin-bottom: 1rem;
    }

    .scene-controls {
        padding: 0.3rem 0.6rem;
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .scene-options {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .snow-control .form-range {
        width: 80px;
    }
    
    .mood-toggle {
        width: 32px;
        height: 32px;
    }

    .music-player {
        margin-top: 1rem;
    }

    .btn-outline-light {
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
    }
}

.scene-btn:hover {
    background-color: var(--christmas-green);
    border-color: var(--christmas-green);
}
