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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

main {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.credit-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 32px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

.credit-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.credit-box:active {
    transform: scale(0.98);
}

.credit-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-icon {
    color: #5865F2;
    flex-shrink: 0;
}

.credit-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

.credit-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    font-variant-numeric: tabular-nums;
}

.bottom-row {
    position: absolute;
    bottom: 48px;
    left: 48px;
}

.center-block {
    max-width: 420px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    line-height: 1;
}

.slatt {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 24px;
    text-transform: lowercase;
}

.player {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.play-btn:hover {
    transform: scale(1.06);
}

.play-btn:active {
    transform: scale(0.96);
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 4px;
    transition: width 0.1s linear;
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 520px) {
    .bottom-row {
        left: 28px;
        bottom: 28px;
        right: 28px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .center-block {
        max-width: 100%;
        width: 100%;
    }
}
