:root {
    --xmas-red: #C30F16;
    --xmas-green: #155724;
    --xmas-gold: #FFD700;
    --snow-white: #FFFFFF;
    --warm-bg: #F8F9FA;
    --font-heading: 'Mountains of Christmas', cursive;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--xmas-red);
    color: #333;
    font-family: var(--font-body);
    font-weight: 400;
    background-image: url('https://www.transparenttextures.com/patterns/snow.png');
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Mountains+of+Christmas:wght@400;700&display=swap');

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    color: var(--xmas-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 3rem;
    color: var(--xmas-green);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0 50px;
}

.section-title::before,
.section-title::after {
    content: '🎄';
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
}

/* Components */
.xmas-card {
    background: var(--snow-white);
    padding: 2.5rem;
    border-radius: 15px;
    border: 3px solid var(--xmas-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    position: relative;
}

.xmas-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--xmas-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--xmas-red);
    font-size: 1.5rem;
    border: 3px solid white;
}

.btn-xmas {
    background: var(--xmas-green);
    color: var(--xmas-gold);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 12px 35px;
    border-radius: 50px;
    border: 2px solid var(--xmas-gold);
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(21, 87, 36, 0.3);
}

.btn-xmas:hover {
    background: var(--xmas-red);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(195, 15, 22, 0.4);
}

/* Hero */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #1a472a, #2d5a3f);
}

#snowCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.wreath-frame {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wreath-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 8px dashed var(--xmas-green);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hero-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--xmas-gold);
    z-index: 2;
}

/* Countdown */
.xmas-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.bauble {
    background: var(--xmas-red);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid var(--xmas-gold);
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.bauble::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 10px;
    height: 10px;
    background: var(--xmas-gold);
}

.bauble span {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.bauble small {
    font-size: 0.6rem;
    text-transform: uppercase;
}

/* Audio */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-music-xmas {
    width: 60px;
    height: 60px;
    background: var(--xmas-gold);
    border: 2px solid white;
    border-radius: 50%;
    color: var(--xmas-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.btn-music-xmas:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--xmas-green);
    color: white;
    padding: 3rem 0;
    border-top: 5px solid var(--xmas-gold);
}