/* ==================== NORMAL KARAOKE MODE - SMASH BROS AESTHETIC ==================== */

/* OVERLAYS */
.nk-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #2a0000 0%, #000000 100%);
    z-index: 1000;
    overflow-y: auto;
    font-family: inherit;
    color: #fff;
}

.nk-overlay--hidden {
    display: none !important;
}

/* LAYOUT: BROWSER */
.nk-browser-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

.nk-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #ff0000;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.nk-header h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    background: linear-gradient(135deg, #ff0000, #ffcc00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: 2px;
}

.nk-controls {
    display: flex;
    gap: 15px;
}

.nk-search {
    flex: 1;
    padding: 15px 20px;
    font-size: 1.2rem;
    border-radius: 8px;
    border: 3px solid #555;
    background: #000;
    color: #fff;
    outline: none;
    font-weight: 800;
    transition: all 0.2s;
}

.nk-search:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.nk-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nk-select {
    flex: 1;
    min-width: 150px;
    padding: 12px;
    background: #111;
    border: 2px solid #444;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.nk-select:hover {
    border-color: #ff0000;
    background: #222;
}

.nk-content {
    display: flex;
    flex: 1;
    gap: 20px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nk-content {
        flex-direction: column;
        overflow: visible;
    }
}

/* SONG LIST (ROSTER GRID STYLE) */
.nk-song-list-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid #333;
    border-radius: 12px;
    padding: 15px;
}

.nk-song-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 15px;
}

/* Scrollbar styling for song list */
.nk-song-list::-webkit-scrollbar {
    width: 8px;
}

.nk-song-list::-webkit-scrollbar-track {
    background: #111;
    border-radius: 4px;
}

.nk-song-list::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 4px;
}

.nk-song-card {
    flex: 1 1 calc(50% - 15px);
    background: #1a1a1a;
    border: 3px solid #444;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1000px) {
    .nk-song-card {
        flex: 1 1 100%;
    }
}

.nk-song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.nk-song-card:hover {
    transform: scale(1.03);
    border-color: #ff0044;
    background: #220000;
    box-shadow: 0 5px 15px rgba(255, 0, 68, 0.5);
}

.nk-song-card:hover::before {
    left: 200%;
}

.nks-info {
    flex: 1;
}

.nks-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nks-artist {
    font-size: 1rem;
    color: #ffcc00;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.nks-badges {
    display: flex;
    gap: 8px;
}

.nks-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: #333;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    border: 1px solid #555;
}

.nks-pts {
    background: #ffcc00;
    color: #000;
    border-color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.btn-quick-add {
    background: #ff0044;
    color: #fff;
    border: 2px solid #ff0044;
    font-weight: 900;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all 0.2s;
    margin-left: 15px;
}

.nk-song-card:hover .btn-quick-add {
    background: transparent;
    color: #ff0044;
    box-shadow: inset 0 0 10px rgba(255, 0, 68, 0.5);
}

.btn-quick-add:hover {
    background: #fff !important;
    color: #ff0044 !important;
    border-color: #fff !important;
}

.nk-empty-state {
    width: 100%;
    padding: 60px;
    text-align: center;
    color: #666;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px dashed #444;
    border-radius: 12px;
}

/* QUEUE PANEL (TEAM PICK PANEL STYLE) */
.nk-queue-panel {
    flex: 0 0 350px;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    border: 4px solid #00ccff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.15);
}

.nk-queue-header {
    background: #002233;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #00ccff;
}

.nk-queue-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #00ccff;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.6);
}

.nk-queue-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nk-queue-list::-webkit-scrollbar {
    width: 6px;
}

.nk-queue-list::-webkit-scrollbar-track {
    background: transparent;
}

.nk-queue-list::-webkit-scrollbar-thumb {
    background: #00ccff;
    border-radius: 3px;
}

.nk-empty-queue {
    text-align: center;
    color: #555;
    padding: 40px 20px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nk-queue-item {
    background: #111;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #333;
    transition: all 0.2s;
}

.nk-queue-item:hover {
    border-color: #00ccff;
    background: #001122;
}

.nk-queue-item.playing {
    border-color: #00E676;
    background: rgba(0, 230, 118, 0.1);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.nkq-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.nk-queue-item.playing .nkq-title {
    color: #00E676;
}

.nkq-artist {
    font-size: 0.85rem;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
}

.nkq-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    background: #222;
    border: 1px solid #444;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px 10px;
    transition: all 0.2s;
}

.btn-icon:hover:not(:disabled) {
    color: #fff;
    background: #00ccff;
    border-color: #00ccff;
}

.btn-icon:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.btn-rmv:hover {
    background: #ff0044;
    border-color: #ff0044;
}

.nk-queue-footer {
    padding: 20px;
    background: #001122;
    border-top: 3px solid #00ccff;
}

/* TOAST */
.nk-toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffcc00;
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    box-shadow: 0 5px 25px rgba(255, 204, 0, 0.5);
    border: 3px solid #fff;
}

.nk-toast.show {
    bottom: 40px;
}


/* LAYOUT: PLAYER */
.nk-player-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.nk-player-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #ff0044;
    box-shadow: 0 4px 20px rgba(255, 0, 68, 0.3);
}

.nk-player-now-playing h2 {
    margin: 0;
    font-size: 2.5rem;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nk-player-now-playing h3 {
    margin: 5px 0 0 0;
    font-size: 1.5rem;
    color: #ffcc00;
    font-weight: 800;
    text-transform: uppercase;
}

.nk-player-video {
    flex: 1;
    background: radial-gradient(circle at center, #1a0000 0%, #000 100%);
    position: relative;
    padding: 3vh 6vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#nkYoutubePlayer {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    max-height: 900px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid #333;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 0, 68, 0.2);
}

.nk-player-footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 4px solid #ff0044;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(255, 0, 68, 0.3);
}

.nk-player-controls {
    display: flex;
    gap: 20px;
}

.nk-player-controls .btn {
    font-size: 1.2rem;
    padding: 12px 25px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 8px;
}

.nk-player-up-next {
    text-align: right;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.nk-player-up-next small {
    display: block;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.85rem;
    color: #ff0044;
    margin-bottom: 5px;
}

.nk-player-up-next span {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}