/* --- COOKIE WAVE (GDPR) --- */
#cookie-wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35vh; 
    background: linear-gradient(to bottom, #00a8e8, #0077be);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s, border-radius 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 60% 30%;
    border-top-right-radius: 60% 30%;
}

#cookie-wave.show {
    transform: translateY(0);
}

#cookie-wave.hidden-sand {
    transform: translateY(calc(100% - 30px));
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: #e6d5b8; /* Wet sand color */
    border-top: 2px solid #c9b695;
    cursor: pointer;
}

.cookie-content {
    text-align: center;
    color: white;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Inter', sans-serif;
    padding: 20px;
    max-width: 600px;
    transition: opacity 0.3s;
}

#cookie-wave.hidden-sand .cookie-content {
    opacity: 0;
    pointer-events: none;
}

.cookie-content h2 {
    margin: 0 0 10px 0;
    font-size: 26px;
    text-shadow: 2px 2px 0 #005f99;
}

.cookie-content p {
    font-size: 16px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 0 #005f99;
}

.cookie-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cookie-btn {
    padding: 12px 35px;
    font-size: 18px;
    font-weight: 900;
    border: 3px solid #333;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 5px 0 #333;
    transition: transform 0.1s, box-shadow 0.1s;
    font-family: inherit;
    text-transform: uppercase;
}

.cookie-btn:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #333;
}

.btn-accept {
    background: #ffde00;
    color: #333;
}

.btn-reject {
    background: #ff6b6b;
    color: #333;
}

/* Arrow on wet sand */
#cookie-reopen {
    display: none;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: #8c7a5f;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#cookie-wave.hidden-sand #cookie-reopen {
    display: block;
}
