/* customizable snowflake styling */
.loader button {
    width: 250px;
    height: 80px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff85a2 0%, #ff69b4 100%);
    z-index: 1000;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    outline: none;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.loader button:hover {
    transform: translate(-50%, -55%) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.6);
    letter-spacing: 2px;
}

.golden-btn:focus,
.golden-btn:hover {
    background-size: 150% 150%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23),
        inset 0 -2px 5px 1px #b17d10,
        inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
    border: 1px solid rgba(165, 93, 7, .6);
    color: rgba(120, 50, 5, .8);
}

.golden-btn:active {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(110, 80, 20, .4),
        inset 0 -2px 5px 1px #b17d10,
        inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: url(img/back.png) center no-repeat #000;
}

.song {
    display: none;
}

body {
    background-color: #FFDAB9;
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.balloon-border {
    position: fixed;
    top: 100%;
    opacity: 0.5;
    z-index: 99999999;
}

.area {
    text-align: center;
    font-size: 80px;
    font-family: 'Playfair Display', serif;
    color: #d4a373;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    animation: drift 3s ease-in-out infinite;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#nae {
    text-transform: capitalize;
}

#confetti {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

@keyframes drift {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.type-wrap {
    font-size: 28px;
    font-family: 'Dancing Script', cursive;
    color: #bc6c25;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cake {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.cake img {
    max-width: 450px;
    width: auto;
    display: inline-block;
}

/* Mobile Responsiveness - One Screen Layout */
@media (max-width: 600px) {
    body {
        height: 100vh;
        overflow-y: auto; /* Fallback to scroll if absolutely necessary, but try to fit */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .main .container {
        padding-top: 10px !important;
    }

    .area {
        font-size: 35px;
        margin-top: 5px;
        letter-spacing: 1px;
    }

    .type-wrap {
        font-size: 15px;
        padding: 15px;
        max-width: 95%;
        margin: 5px auto;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .type-wrap h2 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .cake {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .cake img {
        max-width: 150px;
        max-height: 20vh;
        width: auto;
    }

    .loader button {
        width: 180px;
        height: 50px;
        font-size: 20px;
    }
    
    .balloon-border {
        display: none;
    }
}