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

body {
    min-height: 100vh;
    background: linear-gradient(160deg, #f9c74f 0%, #f9a8c9 50%, #f472b6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    padding: 2rem 1rem;
}

.cloud {
    position: fixed;
    opacity: 0.45;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
    z-index: 0;
}

#header,
#links,
#footer {
    position: relative;
    z-index: 1;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.6rem, 1.7vh, 1.2rem);
    margin-bottom: clamp(1.2rem, 3.3vh, 2.2rem);
}

#title img {
    height: clamp(40px, 7vh, 75px);
    width: auto;
    max-width: 90vw;
}

#icon img {
    height: clamp(80px, 12.5vh, 135px);
    width: auto;
    border-radius: clamp(6px, 1vh, 12px);
    background: #fff;
}

#links {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1.3vh, 0.9rem);
    width: 100%;
    max-width: clamp(300px, 44vh, 480px);
}

#links a {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(0.6rem, 1.4vh, 1rem) 1.5rem;
    border-radius: 999px;
    isolation: isolate;
    color: #fff;
    font-size: clamp(1rem, 2.3vh, 1.6rem);
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(200, 80, 140, 0.5);
    box-shadow: 0 0 18px -6px rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

#links a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 14px -4px rgba(255, 255, 255, 0.75);
    pointer-events: none;
}

#links a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    filter: url(#glass-distortion);
    -webkit-filter: url(#glass-distortion);
    isolation: isolate;
    pointer-events: none;
}

#links a:hover {
    transform: scale(1.025);
    box-shadow: 0 0 26px -4px rgba(255, 255, 255, 0.5);
}

#links a:active {
    transform: scale(0.975);
}

.btn-icon {
    position: absolute;
    left: clamp(0.8rem, 1.5vh, 1.4rem);
    height: clamp(16px, 2.5vh, 27px);
    width: auto;
    z-index: 2;
    pointer-events: none;
}

#links a span {
    flex: 1;
    text-align: center;
    z-index: 2;
}

#footer {
    margin-top: clamp(1rem, 2.8vh, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.7rem, 1.2vh, 1rem);
}
