:root {
    --bg-dark: #0f172a;
    --accent-pink: #ff66b2;
    --accent-glow: #ff99cc;
    --text-white: #f8fafc;
    --input-bg: rgba(255, 255, 255, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    height: 100vh;
    background: radial-gradient(circle at top, #1e1b4b, #000000);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
}

#moon-flowers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    mix-blend-mode: screen;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9) translateY(20px);
}

.glass-panel {
    background: transparent;
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.big-panel {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    max-width: 600px;
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.2);
}

.glass-panel::before,
.glass-panel::after {
    display: none;
}

h1 {
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 2rem 0;
    background: linear-gradient(to right, #fff, #ffb7e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 183, 230, 0.5));
    line-height: 1.2;
}

p {
    color: var(--text-white);
    font-weight: 300;
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.date-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
    width: 100%;
}

.date-slot {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-family: 'Outfit', monospace;
    font-size: 1.5rem;
    text-align: center;
    padding: 14px 0;
    width: 60px;
    border-radius: 16px;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.year-slot {
    width: 90px;
}

.divider {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.date-slot:focus {
    border-color: var(--accent-pink);
    background: rgba(255, 102, 178, 0.1);
    box-shadow: 0 0 25px rgba(255, 102, 178, 0.5);
    transform: translateY(-4px);
}

.date-slot::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

button {
    width: 100%;
    max-width: 220px;
    padding: 18px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 102, 178, 0.1);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1.5px;
}

button:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: 0 0 50px rgba(255, 102, 178, 0.6);
    transform: scale(1.05);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#error-msg {
    margin-top: 1.5rem;
    color: #ff4d4d;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.mini-footer {
    position: fixed;
    bottom: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: lowercase;
    transition: 0.3s;
    font-weight: 500;
}

.mini-footer:hover {
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--accent-pink);
}

@media (max-width: 380px) {
    h1 {
        font-size: 1.6rem;
    }

    .date-slot {
        width: 50px;
        font-size: 1.3rem;
        padding: 12px 0;
    }

    .year-slot {
        width: 80px;
    }

    .divider {
        margin: 0 2px;
        font-size: 1.2rem;
    }
}
