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

input,
select,
textarea {
    font-size: 16px !important;
}

body {
    background: linear-gradient(145deg, #0a0f1e 0%, #0c1222 100%);
    font-family: 'Segoe UI', system-ui, sans-serif;
    padding: 1rem;
    color: #edf2ff;
    min-height: 100vh;
    touch-action: pan-x pan-y;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.title-section {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.6rem;
    background: rgba(29, 185, 84, 0.1);
    border-radius: 1rem;
    border: 2px solid #1DB954;
}

.main-title {
    font-size: clamp(1.2rem, 5vw, 2rem);
    color: #1DB954;
    text-transform: uppercase;
    letter-spacing: 2px;
    word-break: break-word;
}

.main-title i {
    margin: 0 0.5rem;
}

.status-section {
    background: rgba(18, 25, 45, 0.8);
    border-radius: 0.8rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #1DB954;
}

.status-line {
    font-size: 0.75rem;
    padding: 0.15rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.status-label {
    font-weight: bold;
    color: #1DB954;
    min-width: 65px;
}

.status-value {
    color: #edf2ff;
    word-break: break-word;
}

.connect-section {
    background: rgba(18, 25, 45, 0.6);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.connect-section.hidden {
    display: none;
}

.connect-btn {
    background: #1DB954 !important;
    color: #0a0f1e !important;
    font-size: 1rem !important;
    padding: 0.8rem !important;
    width: 100% !important;
    min-width: auto !important;
    border-radius: 2rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    border: none !important;
}

.connect-btn i {
    margin-right: 0.5rem;
}

.connect-btn:hover {
    background: #1ed760 !important;
    transform: translateY(-1px);
}

.token-display {
    margin-top: 0.8rem;
    padding: 0.6rem;
    background: #0f1629;
    border-radius: 0.8rem;
    font-family: monospace;
    font-size: 0.7rem;
    word-break: break-all;
    color: #ffc107;
    border: 1px solid #2a3655;
}

.token-display.success {
    color: #1DB954;
    border-color: #1DB954;
}

.token-display.error {
    color: #ff6b6b;
    border-color: #dc3545;
}

.main-content {
    transition: opacity 0.3s ease;
}

.main-content.hidden {
    display: none;
}

.now-playing-bar {
    background: linear-gradient(135deg, #1DB954, #1ed760);
    border-radius: 2rem;
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(29, 185, 84, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(29, 185, 84, 0.8);
    }
}

.now-playing-info {
    flex: 1;
}

.now-playing-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0a0f1e;
    opacity: 0.8;
}

.now-playing-label i {
    margin-right: 0.3rem;
}

.now-playing-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0a0f1e;
    word-break: break-word;
    text-transform: uppercase;
}

.now-playing-artist {
    font-size: 0.8rem;
    color: #0a0f1e;
    opacity: 0.9;
    text-transform: uppercase;
}

.progress-container {
    margin-top: 0.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #0a0f1e;
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-time {
    font-size: 0.65rem;
    color: #0a0f1e;
    text-align: center;
    margin-top: 0.25rem;
    font-family: monospace;
    opacity: 0.8;
}

.now-playing-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.now-playing-btn {
    background: linear-gradient(145deg, #1DB954, #1aa34a);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #0f6e32;
    position: relative;
    top: 0;
    font-family: inherit;
}

.now-playing-btn i {
    margin-right: 0.5rem;
}

.now-playing-btn:hover {
    background: linear-gradient(145deg, #1ed760, #1DB954);
    transform: translateY(-1px);
    box-shadow: 0 5px 0 #0f6e32;
}

.now-playing-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #0f6e32;
}

.section {
    background: rgba(18, 25, 45, 0.6);
    border-radius: 1.2rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid #2a3655;
}

.section-title {
    font-size: 1rem;
    font-weight: bold;
    color: #1DB954;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.section-title i {
    font-size: 1rem;
}

.queue-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.queue-section .section-title {
    margin-bottom: 0;
}

.reset-queue-btn {
    font-size: 0.75rem;
    color: #ff6b6b;
    cursor: pointer;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    background: rgba(220, 53, 69, 0.2);
}

.reset-queue-btn i {
    margin-right: 0.3rem;
}

.reset-queue-btn:hover {
    background: rgba(220, 53, 69, 0.4);
    transform: scale(1.02);
}

.reset-queue-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.search-section.condensed {
    padding: 0.6rem 1rem;
}

.search-section.condensed .section-title {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.add-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.add-panel input {
    background: #0f1629;
    border: 1px solid #2a3655;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    color: white;
    flex: 1;
    min-width: 180px;
    outline: none;
    text-transform: uppercase;
    font-size: 14px !important;
}

.btn {
    background: #1DB954;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #0a0f1e;
    text-transform: uppercase;
    font-size: 11px;
    min-width: 100px;
    text-align: center;
}

.btn i {
    margin-right: 0.3rem;
}

.search-results {
    background: #0f1629;
    border-radius: 0.8rem;
    border: 1px solid #2a3655;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.search-result-item {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid #2a3655;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.result-title {
    font-weight: bold;
    word-break: break-word;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.result-artist {
    font-size: 0.7rem;
    color: #8c9fd1;
    text-transform: uppercase;
}

.result-select-btn {
    background: #ffc107;
    border: none;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    color: #0a0f1e;
}

.result-select-btn i {
    margin-right: 0.2rem;
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 350px;
    overflow-y: auto;
}

.track-card {
    background: rgba(18, 25, 45, 0.8);
    border-radius: 0.8rem;
    padding: 0.5rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    border: 1px solid #2a3655;
}

.track-card:hover {
    border-color: #1DB954;
}

.track-info {
    flex: 2;
}

.track-title {
    font-weight: bold;
    font-size: 0.85rem;
    word-break: break-word;
    text-transform: uppercase;
}

.track-artist {
    font-size: 0.65rem;
    color: #8c9fd1;
    text-transform: uppercase;
}

.track-meta {
    font-size: 0.55rem;
    color: #5a6b91;
    margin-top: 0.1rem;
    text-transform: uppercase;
}

.action-buttons {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.vote-btn {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.15rem;
    transition: 0.1s;
}

.vote-up {
    color: #8c9fd1;
}

.vote-up:hover:not(:disabled) {
    color: #1DB954;
    transform: scale(1.1);
}

.vote-down {
    color: #8c9fd1;
}

.vote-down:hover:not(:disabled) {
    color: #ff6b6b;
    transform: scale(1.1);
}

.vote-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.score {
    font-weight: bold;
    min-width: 1.4rem;
    text-align: center;
    font-size: 0.75rem;
}

.delete-x {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.1rem 0.3rem;
    border-radius: 0.3rem;
    transition: 0.2s;
}

.delete-x:hover {
    color: #cc0000;
    transform: scale(1.1);
    background: rgba(255, 0, 0, 0.2);
}

.info-icon {
    background: none;
    border: 1px solid #ffc107;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffc107;
    margin-left: 0.4rem;
    transition: 0.2s;
}

.info-icon:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #0a0f1e;
}

.host-btn {
    background: #1DB954 !important;
    color: #0a0f1e !important;
    border: none !important;
}

.host-btn i {
    margin-right: 0.3rem;
}

.host-btn:hover {
    background: #1ed760 !important;
    transform: translateY(-1px);
}

.host-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.name-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-modal-card {
    background: linear-gradient(145deg, #1a233b, #0f1629);
    border-radius: 2rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    border: 2px solid #1DB954;
    text-align: center;
}

.name-modal-card h2 {
    color: #1DB954;
    margin-bottom: 1rem;
}

.name-modal-card p {
    margin-bottom: 1.5rem;
    color: #a3b3d6;
}

.name-modal-card input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 2rem;
    border: 1px solid #2a3655;
    background: #0f1629;
    color: white;
    font-size: 16px !important;
    text-align: center;
    margin-bottom: 1rem;
}

.name-modal-card input:focus {
    outline: none;
    border-color: #1DB954;
}

.name-modal-card button {
    background: #1DB954;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.guests-section {
    background: rgba(18, 25, 45, 0.6);
    border-radius: 1.2rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid #2a3655;
}

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem;
    border-bottom: 1px solid #2a3655;
    flex-wrap: wrap;
    gap: 0.4rem;
    text-transform: uppercase;
}

.guest-item:last-child {
    border-bottom: none;
}

.guest-name {
    font-weight: bold;
    color: #1DB954;
    font-size: 0.8rem;
}

.guest-time {
    font-size: 0.6rem;
    color: #8c9fd1;
}

.guest-status {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 1rem;
}

.guest-status.active {
    background: rgba(29, 185, 84, 0.3);
    color: #1DB954;
}

.guest-status.inactive {
    background: rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.device-selector-section {
    background: rgba(18, 25, 45, 0.6);
    border-radius: 1.2rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid #2a3655;
}

.device-selector-section.hidden {
    display: none;
}

.device-summary {
    background: #0f1629;
    border-radius: 0.8rem;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #2a3655;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.device-summary i {
    margin-right: 0.3rem;
    color: #1DB954;
}

.device-summary:hover {
    border-color: #1DB954;
}

.device-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
}

.device-list.open {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem;
    border-bottom: 1px solid #2a3655;
    cursor: pointer;
}

.device-item:hover {
    background: rgba(29, 185, 84, 0.2);
}

.device-name {
    flex: 1;
    word-break: break-word;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.device-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.host-controls-link {
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.host-controls-link:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: #1DB954;
}

.host-controls-link .section-title {
    justify-content: center;
}

.reset-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.reset-modal.hidden {
    display: none;
}

.reset-modal-content {
    background: linear-gradient(145deg, #1a233b, #0f1629);
    border-radius: 1.5rem;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #2a3655;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.reset-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2a3655;
    background: rgba(29, 185, 84, 0.1);
    border-radius: 1.5rem 1.5rem 0 0;
}

.reset-modal-header h2 {
    color: #1DB954;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0;
}

.reset-modal-header h2 i {
    margin-right: 0.5rem;
}

.reset-modal-close {
    color: #8c9fd1;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.reset-modal-close:hover {
    color: #ff6b6b;
}

.reset-modal-body {
    padding: 1.5rem;
}

.reset-control-card {
    background: rgba(18, 25, 45, 0.6);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #2a3655;
}

.reset-control-card h3 {
    color: #1DB954;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reset-control-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.reset-btn {
    background: #1DB954;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #0a0f1e;
    text-transform: uppercase;
    font-size: 0.7rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.reset-btn i {
    font-size: 0.7rem;
}

.reset-btn:hover {
    transform: translateY(-1px);
    background: #1ed760;
}

.reset-btn:active {
    transform: translateY(0);
}

.reset-btn-danger {
    background: #dc3545;
    color: white;
}

.reset-btn-danger:hover {
    background: #c82333;
}

.reset-btn-warning {
    background: #ffc107;
    color: #0a0f1e;
}

.reset-btn-warning:hover {
    background: #e0a800;
}

.reset-btn-info {
    background: #17a2b8;
    color: white;
}

.reset-btn-info:hover {
    background: #138496;
}

.reset-btn-success {
    background: #1DB954;
    color: #0a0f1e;
}

.reset-btn-success:hover {
    background: #1ed760;
}

.reset-btn-secondary {
    background: #2a3655;
    color: #8c9fd1;
}

.reset-btn-secondary:hover {
    background: #3a4675;
    color: white;
}

.modal-token-display {
    background: #0f1629;
    border-radius: 0.8rem;
    padding: 0.5rem;
    font-family: monospace;
    font-size: 0.65rem;
    word-break: break-all;
    color: #ffc107;
    border: 1px solid #2a3655;
    margin-top: 0.5rem;
}

.modal-token-display.success {
    color: #1DB954;
    border-color: #1DB954;
}

.modal-token-display.error {
    color: #ff6b6b;
    border-color: #dc3545;
}

.close-page-link {
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.5rem;
    color: #8c9fd1;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.close-page-link:hover {
    color: #1DB954;
}

.reset-debug-log {
    margin-top: 0.5rem;
}

.reset-log-container {
    background: #0a0f1e;
    border-radius: 0.5rem;
    padding: 0.5rem;
    max-height: 120px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
}

.reset-log-entry {
    padding: 0.2rem;
    border-bottom: 1px solid #1a233b;
    color: #8c9fd1;
}

.reset-log-entry i {
    margin-right: 0.3rem;
}

.reset-log-entry.success {
    color: #1DB954;
}

.reset-log-entry.error {
    color: #ff6b6b;
}

.reset-log-entry.warning {
    color: #ffc107;
}

.reset-debug-buttons {
    display: flex;
    justify-content: flex-end;
}

.reset-btn-small {
    background: rgba(29, 185, 84, 0.2);
    border: none;
    color: #1DB954;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.6rem;
    cursor: pointer;
    text-transform: uppercase;
}

.reset-btn-small:hover {
    background: rgba(29, 185, 84, 0.4);
}

.reset-status {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 0.8rem;
    text-align: center;
    font-size: 0.7rem;
}

.reset-status.success {
    background: rgba(29, 185, 84, 0.2);
    color: #1DB954;
    border: 1px solid #1DB954;
}

.reset-status.error {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid #dc3545;
}

.reset-status.info {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
    border: 1px solid #17a2b8;
}

.reset-status.visible {
    display: block;
}

.reset-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #2a3655;
    text-align: center;
}

.footer {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #2a3655;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.whatsapp-btn i {
    margin-right: 0.3rem;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.status {
    text-align: center;
    margin-bottom: 0.8rem;
    padding: 0.3rem;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.status.connected {
    background: rgba(29, 185, 84, 0.2);
    color: #1DB954;
}

.empty-state {
    text-align: center;
    padding: 1rem;
    color: #6c7ea8;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.empty-state i {
    margin-right: 0.5rem;
}

.hidden {
    display: none;
}

.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 3s forwards;
    pointer-events: none;
}

.splash-card {
    background: linear-gradient(135deg, #1DB954, #1ed760);
    padding: 1.2rem 2rem;
    border-radius: 2rem;
    text-align: center;
    animation: bounceIn 0.5s ease-out;
}

.splash-card h2 {
    color: #0a0f1e;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    word-break: break-word;
    text-transform: uppercase;
}

.splash-card p {
    color: #0a0f1e;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
}

@keyframes fadeOut {
    0%, 70% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, #1a233b, #0f1629);
    border-radius: 2rem;
    padding: 1.5rem;
    max-width: 350px;
    margin: 1rem;
    border: 2px solid #ffc107;
    text-align: center;
}

.modal-content h3 {
    color: #ffc107;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.modal-content p {
    margin-bottom: 0.8rem;
    color: #a3b3d6;
    line-height: 1.4;
    font-size: 0.8rem;
}

.modal-close {
    background: #ffc107;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.8rem;
    color: #0a0f1e;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.takeover-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.takeover-modal-card {
    background: linear-gradient(145deg, #1a233b, #0f1629);
    border-radius: 2rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    border: 2px solid #ffc107;
    text-align: center;
}

.takeover-modal-card h2 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.current-host {
    background: rgba(255, 193, 7, 0.2);
    padding: 0.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.current-host span {
    color: #ffc107;
    font-weight: bold;
}

.takeover-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.takeover-btn {
    background: #ffc107;
    border: none;
    padding: 0.8rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.takeover-btn.guest {
    background: #1DB954;
}

@media (max-width: 768px) {
    body {
        padding: 0.6rem;
    }

    .status-line {
        font-size: 0.65rem;
    }

    .status-label {
        min-width: 55px;
    }

    .track-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.2rem;
    }

    .section-title {
        font-size: 0.85rem;
    }

    .footer {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: 90px;
        font-size: 10px;
        padding: 0.4rem 0.6rem;
    }

    .reset-queue-btn {
        font-size: 0.65rem;
    }

    .now-playing-controls {
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .now-playing-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.7rem;
    }

    .now-playing-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .reset-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .reset-control-buttons {
        flex-direction: column;
    }

    .reset-btn {
        justify-content: center;
    }
}