body {
    background-color: black;
    color: white;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
    transition: background-color 1s ease;
}

#enter {
    font-size: 1rem;
    user-select: none;
}

#stack {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transition: top 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
    pointer-events: none;
}

#stack.show {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto;
}

.glass-surface {
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.14) 100%),
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0.5px rgba(255, 255, 255, 0.35),
        inset 0 -1px 0.5px rgba(255, 255, 255, 0.25),
        inset 1px 0 0.5px rgba(255, 255, 255, 0.15),
        inset -1px 0 0.5px rgba(255, 255, 255, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.04),
        0 30px 80px rgba(0, 0, 0, 0.45);
}

#glass {
    position: relative;
    width: 560px;
    height: 300px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.14) 100%),
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0.5px rgba(255, 255, 255, 0.35),
        inset 0 -1px 0.5px rgba(255, 255, 255, 0.25),
        inset 1px 0 0.5px rgba(255, 255, 255, 0.15),
        inset -1px 0 0.5px rgba(255, 255, 255, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.04),
        0 30px 80px rgba(0, 0, 0, 0.45);
}

#pfp {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

#name {
    position: absolute;
    top: 114px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.35rem;
    user-select: none;
    white-space: nowrap;
    color: #f7de61;
    text-shadow:
        0 0 4px #f7de61,
        0 0 10px #f7de61,
        0 0 20px rgba(247, 222, 97, 0.8),
        0 0 35px rgba(247, 222, 97, 0.6);
}

#typer {
    position: absolute;
    left: 50%;
    top: 188px;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    user-select: none;
}

#caret {
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

#socials {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
}

.social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.social:hover {
    background: rgba(255, 255, 255, 0.22);
}

.social svg {
    width: 18px;
    height: 18px;
}

#player {
    width: 560px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0.5px rgba(255, 255, 255, 0.35),
        inset 0 -1px 0.5px rgba(255, 255, 255, 0.25),
        inset 1px 0 0.5px rgba(255, 255, 255, 0.15),
        inset -1px 0 0.5px rgba(255, 255, 255, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 14px;
    box-sizing: border-box;
}

#cover {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

#coverImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#title {
    flex: 1;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

.ctrl {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ctrl:hover {
    background: rgba(255, 255, 255, 0.22);
}

.ctrl:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.ctrl svg {
    width: 16px;
    height: 16px;
}

#status {
    width: 560px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.14) 100%),
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0.5px rgba(255, 255, 255, 0.35),
        inset 0 -1px 0.5px rgba(255, 255, 255, 0.25),
        inset 1px 0 0.5px rgba(255, 255, 255, 0.15),
        inset -1px 0 0.5px rgba(255, 255, 255, 0.15),
        0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 14px 16px;
    box-sizing: border-box;
    color: white;
}

.status-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.85;
}

.status-head .dots {
    opacity: 0.6;
    letter-spacing: 2px;
}

.status-body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.status-cover {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.status-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.88rem;
    min-width: 0;
}

.status-title {
    font-style: italic;
    font-weight: 500;
}

.status-desc {
    opacity: 0.9;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.status-line svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.85;
}

.status-line .dim {
    opacity: 0.6;
}
