:root {
    --bg-color: #0f0c29;
    --bg-gradient: linear-gradient(to right, #24243e, #302b63, #0f0c29);
    --text-color: #ffffff;
    --accent-color: #ffd700;
    /* Gold */
    --secondary-accent: #ff69b4;
    /* Hot Pink */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Particle animation */
.particle {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.5;
    animation: float 10s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    max-width: 90%;
    width: 800px;
}

.photo-container {
    margin-bottom: 2rem;
    perspective: 1000px;
}

.birthday-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: float-photo 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.birthday-photo:hover {
    transform: scale(1.1) rotate(5deg);
    cursor: pointer;
}

@keyframes float-photo {

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

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

header {
    margin-bottom: 3rem;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 105, 180, 0.6);
    }
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.separator {
    font-size: 3rem;
    color: var(--glass-border);
    margin-top: -1rem;
}

.message-area {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

.birthday-message-container {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: fadeIn 2s ease-in-out;
}

.birthday-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #fff;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .countdown-container {
        gap: 0.5rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .separator {
        display: none;
    }

    .time-unit {
        min-width: 70px;
    }
}