:root {
    --kero-green: #88D64C;
    --kero-green-dark: #5da12a;
    --kero-red: #e74c3c;
    /* Bardziej żywy gradient tła */
    --bg-gradient: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    --text-color: #2d3436;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #fac7ff;
    font-family: 'Varela Round', sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    position: fixed; 
}

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 3rem 2.5rem;
    border-radius: 35px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 90%;
    width: 450px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Styl dla nowego GIFa - jest szerszy */
.keroppi-gif {
    width: 220px;
    height: auto;
    margin-top: -130px; /* Musi bardziej wystawać */
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.2));
    transform: translateZ(40px); /* Efekt 3D */
}

.title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #2d3436;
    margin-bottom: 1rem;
    line-height: 1.1;
    transform: translateZ(30px);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #636e72;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    transform: translateZ(30px);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    min-height: 65px;
    transform: translateZ(40px);
}

.hidden {
    display: none !important;
}

#success-msg h1 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 800;
    color: var(--kero-green-dark);
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1;
}

#success-msg p {
    font-size: 1.3rem;
    font-weight: 600;
}

.love-note {
    margin-top: 30px;
    font-size: 1rem;
    color: #636e72;
    background: rgba(255,255,255,0.95);
    padding: 12px 25px;
    border-radius: 12px;
    display: inline-block;
    border: 3px solid var(--kero-green);
    font-weight: 700;
    transform: translateZ(30px);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .container {
        padding: 2.5rem 1.5rem;
        width: 92%;
        margin-top: 40px;
    }
    .title { font-size: 2rem; }
    .keroppi-gif { width: 180px; margin-top: -110px; }
    /* Na telefonach wyłączamy efekt tilt */
    .container[data-tilt] {
        transform: none !important;
        will-change: auto !important;
    }
}
button {
    padding: 15px 35px;
    font-size: 1.2rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    /* Płynna ucieczka */
    transition: left 0.2s ease-out, top 0.2s ease-out, background 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
#yesBtn {
    background: var(--kero-green);
    color: white;
}

#yesBtn:hover {
    background: var(--kero-green-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

#noBtn {
    background: #dfe6e9;
    color: var(--text-color);
    /* Ważne: przycisk musi być 'fixed' od razu po pierwszym ruchu, 
       ale tutaj zostawiamy relative, JS to zmieni */
}
