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

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(255, 208, 76, 0.18), transparent 32%),
        linear-gradient(180deg, #111111 0%, #050505 100%);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 230px;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0.92) 38%,
        rgba(5, 5, 5, 1) 100%
    );
    pointer-events: none;
    z-index: 5;
}

.app {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 42px 0 280px;
}

.hero {
    text-align: center;
    padding: 44px 20px 34px;
}

.band-name {
    font-size: clamp(38px, 7vw, 82px);
    letter-spacing: 0.08em;
    font-weight: 900;
}

.band-name span {
    color: #ffd447;
    text-shadow: 0 0 28px rgba(255, 212, 71, 0.45);
}

.hub-title {
    margin-top: 8px;
    color: #d7d7d7;
    font-size: 18px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.tagline {
    margin-top: 18px;
    color: #9d9d9d;
    font-size: 15px;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 12px;
    flex-wrap: wrap;
}

.selected-count {
    color: #ffd447;
    font-size: 13px;
    font-weight: 800;
}

button,
select {
    font-family: inherit;
}

button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.primary-btn {
    background: #ffd447;
    color: #111111;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.selected-play-btn {
    background: #ffffff;
    color: #111111;
}

.small-control {
    padding: 12px 15px;
    min-width: 54px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin: 34px 0 16px;
}

.section-title {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
}

.section-note {
    margin-top: 6px;
    color: #8f8f8f;
    font-size: 13px;
}

.reset-order-btn {
    padding: 11px 17px;
    font-size: 13px;
    white-space: nowrap;
}

.song-list {
    display: grid;
    gap: 12px;
}

.song-card {
    display: grid;
    grid-template-columns: auto auto auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.11);
    cursor: pointer;
    transition: 0.2s ease;
}

.song-card:hover {
    background: rgba(255, 255, 255, 0.11);
}

.song-card.now-active {
    border-color: rgba(255, 212, 71, 0.75);
    background: rgba(255, 212, 71, 0.12);
}

.song-card.selected-song {
    border-color: rgba(255, 255, 255, 0.32);
}

.song-card.dragging {
    opacity: 0.55;
}

.song-card.drag-over {
    border-color: rgba(255, 212, 71, 0.95);
    background: rgba(255, 212, 71, 0.18);
}

.song-order-tools .order-btn,
.move-up-btn,
.move-down-btn {
    display: none !important;
}

.song-order-tools {
    display: contents;
}

.drag-handle {
    width: 34px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffd447;
    background: rgba(255, 212, 71, 0.1);
    border: 1px solid rgba(255, 212, 71, 0.18);
    font-size: 18px;
    font-weight: 900;
    cursor: grab;
    user-select: none;
}

.drag-handle:hover {
    background: rgba(255, 212, 71, 0.18);
}

.song-select-wrap {
    width: 34px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.song-select-checkbox {
    display: none;
}

.song-select-box {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}

.song-select-checkbox:checked + .song-select-box {
    border-color: #ffd447;
    background: #ffd447;
}

.song-select-checkbox:checked + .song-select-box::after {
    content: "✓";
    color: #111111;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.play-dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 212, 71, 0.18);
    color: #ffd447;
    font-size: 18px;
}

.song-play-btn {
    border: none;
    padding: 0;
}

.song-title {
    font-size: 18px;
    font-weight: 800;
}

.song-date {
    margin-top: 5px;
    color: #9d9d9d;
    font-size: 13px;
}

.song-side {
    display: grid;
    gap: 7px;
    justify-items: end;
}

.song-duration {
    color: #bdbdbd;
    font-size: 14px;
}

.download-link {
    color: #ffd447;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

.empty-state {
    padding: 34px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: #c7c7c7;
    text-align: center;
}

.bottom-player {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(1140px, 94vw);
    padding: 15px 18px;
    border-radius: 24px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 -36px 80px rgba(0, 0, 0, 0.95),
        0 18px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 212, 71, 0.06);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: center;
    z-index: 10;
}

.bottom-player::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: -14px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 212, 71, 0.5),
        transparent
    );
}

.player-info {
    min-width: 0;
}

.now-playing {
    color: #ffffff;
    font-weight: 800;
}

.player-subtitle {
    margin-top: 4px;
    color: #8f8f8f;
    font-size: 13px;
}

.player-progress-wrap {
    margin-top: 10px;
}

.progress-range {
    width: 100%;
    accent-color: #ffd447;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    color: #8f8f8f;
    font-size: 12px;
}

.loop-status {
    margin-top: 8px;
    color: #ffd447;
    font-size: 13px;
    font-weight: 700;
}

.player-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.player-controls .secondary-btn,
.player-controls .primary-btn {
    height: 42px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
}

.player-controls #mainPlayBtn {
    min-width: 56px;
}

.player-controls .small-control {
    min-width: 50px;
    padding: 0 13px;
}

.speed-select {
    height: 42px;
    width: 78px;
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
    font-weight: 700;
}

.speed-select option {
    color: #111111;
}

.volume-control {
    height: 42px;
    width: 104px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.volume-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.volume-range {
    width: 48px;
    accent-color: #ffd447;
}

.volume-value {
    display: none;
}

.loop-btn {
    min-width: 58px;
    padding: 0 13px;
}

.loop-active {
    background: #ffd447;
    color: #111111;
}

@media (max-width: 1050px) {
    .bottom-player {
        grid-template-columns: 1fr;
        max-height: 62vh;
        overflow-y: auto;
        bottom: 14px;
    }

    .player-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    body::after {
        height: 170px;
    }

    .app {
        width: min(100% - 28px, 1100px);
        padding: 22px 0 158px;
    }

    .hero {
        padding: 24px 8px 20px;
    }

    .band-name {
        font-size: 34px;
        line-height: 1.05;
    }

    .hub-title {
        font-size: 12px;
        letter-spacing: 0.18em;
    }

    .tagline {
        margin-top: 12px;
        font-size: 13px;
    }

    .actions {
        margin-top: 20px;
    }

    .selected-count {
        font-size: 13px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-note {
        font-size: 13px;
        line-height: 1.35;
    }

    .reset-order-btn {
        width: 100%;
        height: 46px;
    }

    .song-card {
        grid-template-columns: auto auto auto 1fr;
        gap: 10px;
        padding: 18px;
        border-radius: 24px;
    }

    .song-side {
        grid-column: 4;
        justify-items: start;
    }

    .drag-handle {
        width: 36px;
        height: 54px;
        border-radius: 16px;
        font-size: 20px;
    }

    .song-select-wrap {
        width: 34px;
        height: 54px;
    }

    .song-select-box {
        width: 25px;
        height: 25px;
    }

    .play-dot {
        width: 54px;
        height: 54px;
        font-size: 20px;
    }

    .song-title {
        font-size: 21px;
    }

    .song-date {
        font-size: 14px;
    }

    .download-link {
        font-size: 15px;
        margin-top: 4px;
    }

    .bottom-player {
        width: calc(100% - 22px);
        bottom: 10px;
        padding: 13px 14px 14px;
        border-radius: 22px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        max-height: none;
        overflow: visible;
    }

    .bottom-player::before {
        display: none;
    }

    .player-info {
        min-width: 0;
    }

    .now-playing {
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .player-subtitle {
        display: none;
    }

    .player-progress-wrap {
        margin-top: 8px;
    }

    .progress-range {
        height: 18px;
    }

    .time-row {
        margin-top: 0;
        font-size: 11px;
    }

    .loop-status {
        display: none;
    }

    .player-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        flex-wrap: nowrap;
    }

    .player-controls .secondary-btn,
    .player-controls .primary-btn {
        height: 46px;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
    }

    .player-controls #mainPlayBtn {
        width: 54px;
        min-width: 54px;
        font-size: 22px;
    }

    .player-controls #prevBtn,
    .player-controls #nextBtn {
        width: 44px;
        min-width: 44px;
        font-size: 17px;
    }

    #skipBackBtn,
    #skipForwardBtn,
    #speedSelect,
    .volume-control,
    #setABtn,
    #setBBtn,
    #toggleLoopBtn,
    #clearLoopBtn {
        display: none !important;
    }
}