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

/* Festive Theme for the Wish Page */

:root {
    --festive-red: #D92626;
    --festive-green: #0A7342;
    --festive-gold: #FFD700;
    --text-color-light: #FDFBF7;
    --festive-font: 'Mountains of Christmas', cursive;
}

body {
    background: linear-gradient(135deg, var(--festive-red) 0%, var(--festive-green) 100%);
    font-family: var(--festive-font); /* Apply festive font to body */
}

.wish-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 40px auto;
    animation: fadeIn 1s ease-in-out;
    text-align: center;
    border: 2px solid var(--festive-gold);
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--festive-green);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif; /* Keep input font legible */
}

.btn {
    background-color: var(--festive-green);
    color: var(--text-color-light);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background-color: #085a33;
    transform: translateY(-2px);
}

/* Link and Share Styles */
#link-container {
    margin-top: 20px;
}

.generated-link-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#generated-link {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f0f0;
    font-family: 'Poppins', sans-serif; /* Keep input font legible */
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.share-btn.whatsapp { background-color: #25D366; }
.share-btn.twitter { background-color: #1DA1F2; }
.share-btn.facebook { background-color: #1877F2; }

/* Wish Card Styles */
.wish-content h1 {
    color: var(--festive-red);
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px var(--festive-gold);
    font-family: var(--festive-font);
}

.wish-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
    font-family: var(--festive-font);
}

.wish-content h2 {
    color: var(--festive-green);
    font-size: 2.2rem;
    font-family: var(--festive-font);
}

/* Snowfall Effect */
.snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snowflake {
    position: absolute;
    background: var(--festive-gold);
    border-radius: 50%;
    opacity: 0.9;
    animation: fall linear infinite;
}

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