:root {
    --brand-purple: #4e1e58;
    --brand-gold: #ffb137;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-gold));
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    overflow: hidden;
    /* For snow */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Audio Button */
.music-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    z-index: 10;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 3rem 2rem;
    text-align: center;
    transform: translateY(20px);
    animation: floatIn 1.5s ease-out forwards;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
.greeting {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: var(--brand-gold);
    /* Gold for the greeting */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.from-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.brand-name {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--brand-purple);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
}

.brand-name::before {
    content: '🎅';
    font-size: 3rem;
    position: absolute;
    top: -35px;
    left: -20px;
    transform: rotate(-15deg);
    z-index: 10;
    animation: hatBounce 2s infinite ease-in-out;
}

@keyframes hatBounce {

    0%,
    100% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-15deg) translateY(-5px);
    }
}

.wishes {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Decoration */
.gift-box {
    font-size: 4rem;
    animation: bounce 2s infinite ease-in-out;
    display: inline-block;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Snowflake styling */
.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(105vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .greeting {
        font-size: 3.5rem;
    }

    .brand-name {
        font-size: 2rem;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }
}