.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.waves-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    min-height: 100vh;
    height: 100%;
    z-index: 0;
    display: block;
    pointer-events: none;
    user-select: none;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #b2ebf2 0%, #e0f7fa 50%, #5ad1ff 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

/* Frutiger Aero: повітряні плями/відблиски */
body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 420px;
    height: 320px;
    left: -120px;
    top: -80px;
    background: radial-gradient(circle, #b2ebf2 0%, #4dd0e1 80%, transparent 100%);
}
body::after {
    width: 340px;
    height: 260px;
    right: -100px;
    bottom: -60px;
    background: radial-gradient(circle, #fffde4 0%, #b2ebf2 60%, transparent 100%);
}

.main-glass {
    background: rgba(255, 255, 255, 0.16);
    border-radius: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 0.5em 2.5em 0 rgba(64,224,208,0.13), 0 0.13em 1em 0 rgba(0,191,255,0.10);
    border: clamp(1.5px, 0.4vw, 2.5px) solid rgba(128,222,234,0.22);
    padding: clamp(1.5rem, 5vw, 2.75rem) clamp(1.2rem, 4vw, 2.5rem) clamp(1.2rem, 4vw, 2.25rem) clamp(1.2rem, 4vw, 2.5rem);
    width: 92vw;
    max-width: 420px;
    min-width: 260px;
    min-height: 60vh;
    margin: clamp(1.5rem, 6vw, 2.5rem) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(1.1em) saturate(180%) brightness(1.15);
    -webkit-backdrop-filter: blur(1.1em) saturate(180%) brightness(1.15);
    padding-bottom: clamp(2.5rem, 8vw, 4.5rem); /* reserve space for socials */
}

/* --- PRESAVE BUTTONS --- */
.presave-btn {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 3vw, 1.2rem);
    background: linear-gradient(90deg, rgba(224,247,250,0.07) 0%, rgba(128, 222, 234, 0.082) 100%);
    color: #0096a717;
    text-decoration: none;
    font-weight: 700;
    padding: clamp(0.6rem, 2vw, 1rem) clamp(1.2rem, 5vw, 2.5rem) clamp(0.6rem, 2vw, 1rem) clamp(0.7rem, 2vw, 1.2rem);
    border-radius: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: clamp(0.7rem, 2vw, 1.2rem);
    box-shadow: 0 0.25em 1.5em 0 rgba(0,191,255,0.04), 0 0.13em 0.5em 0 rgba(13,65,82,0.18);
    border: clamp(1.5px, 0.4vw, 2.5px) solid rgba(128,222,234,0.32);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    letter-spacing: 0.06em;
    position: relative;
    min-width: clamp(10rem, 60vw, 18rem);
    max-width: clamp(16rem, 90vw, 25rem);
    transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s;
    backdrop-filter: blur(0.75em) saturate(180%);
    -webkit-backdrop-filter: blur(0.75em) saturate(180%);
}
.presave-btn::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 30px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255,255,255,0.75) 0%, rgba(128,222,234,0.18) 100%);
    opacity: 0.7;
    box-shadow: 0 0 32px 0 rgba(128,222,234,0.12) inset;
}
.presave-btn:hover {
    box-shadow: 0 8px 40px 0 rgba(0,191,255,0.22), 0 4px 24px 0 rgba(128,222,234,0.18);
    border: 2.5px solid #4dd0e1;
    background: linear-gradient(90deg, rgba(224,247,250,1) 0%, rgba(128,222,234,0.85) 100%);
    color: #007c91;
}
.presave-btn span {
    flex: 1;
    text-align: left;
    color: #0097a7;
    font-size: 1.13rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    padding-left: 2px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

/* --- MARQUEE (НЕ ВИКОРИСТОВУЄТЬСЯ, залишено для простого тексту) --- */
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    min-width: max-content;
    transform: none;
    position: relative;
    z-index: 1;
}
/* Стиль для всіх пресейв-картинок */
/* --- PRESAVE IMAGE --- */
.presave-img {
    width: clamp(2.1rem, 8vw, 3rem);
    height: clamp(2.1rem, 8vw, 3rem);
    object-fit: cover;
    border-radius: clamp(0.7rem, 2vw, 1.2rem);
    margin-right: clamp(0.5rem, 2vw, 0.9rem);
    z-index: 2;
    position: relative;
}

/* --- PROFILE IMAGE --- */
.profile-img {
    width: clamp(5.5rem, 32vw, 9rem);
    height: clamp(5.5rem, 32vw, 9rem);
    object-fit: cover;
    border-radius: 50%;
    border: clamp(2.5px, 0.8vw, 5px) solid #b2ebf2;
    margin-bottom: clamp(1.2rem, 4vw, 2rem);
    background: linear-gradient(135deg, #e0f7fa 60%, #b2ebf2 100%);
    box-shadow: 0 0.25em 1.5em 0 rgba(128,222,234,0.18);
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* --- DESCRIPTION --- */
.desc {
    color: #0097a7;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-align: center;
    margin-bottom: clamp(1.2rem, 4vw, 2.25rem);
    text-shadow: 0 0.13em 0.5em rgba(128,222,234,0.12);
    margin-left: auto;
    margin-right: auto;
}
/* --- SOCIALS --- */
.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.7rem, 3vw, 1.2rem);
    margin-top: clamp(1.2rem, 4vw, 2.25rem);
    width: 100%;
    row-gap: clamp(0.5rem, 2vw, 1rem);
}
.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.1rem, 7vw, 2.7rem);
    height: clamp(2.1rem, 7vw, 2.7rem);
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff63 60%, #b2ebf22a 100%);
    color: #a70075da;
    font-size: clamp(1.1rem, 4vw, 1.7rem);
    text-decoration: none;
    box-shadow: 0 0.25em 0.7em 0 rgba(28, 48, 51, 0.315);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.socials a:hover {
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(0,191,255,0.18);
}
.socials a[title="Instagram"]:hover { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); }
.socials a[title="Spotify"]:hover { background: #1db954; }
.socials a[title="Apple Music"]:hover { background: #fa233b; }
.socials a[title="SoundCloud"]:hover { background: #ff5500; }
.socials a[title="Telegram"]:hover { background: #229ed9; }
.socials a[title="YouTube"]:hover { background: #ff0000; }
.socials a[title="Discord"]:hover { background: #5865f2; }
