/**
 * Multiplayer System Styles
 * Room-based collaborative challenges
 * Glassmorphism + Neon Cyberpunk Treatment
 */

/* ===== Keyframes ===== */
@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ===== Page Header ===== */
.mp-page-header {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.mp-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #a855f7, #0ea5e9);
    background-size: 200%;
    animation: borderFlow 3s linear infinite;
}

.mp-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%));
    pointer-events: none;
}

.mp-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.mp-header-icon {
    font-size: 3rem;
    color: #0ea5e9;
    filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.4));
}

.mp-header-text h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.mp-header-text h1 .title-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #0ea5e9, #a855f7);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 0.75rem;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
}

.mp-header-text p {
    color: var(--text-muted);
    max-width: 600px;
    position: relative;
    z-index: 1;
}

/* ===== Toolbar ===== */
.mp-toolbar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.mp-create-btn {
    background: var(--gradient);
    border: none;
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.08)), var(--glow);
}

.mp-join-quick {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 300px;
}

.mp-join-quick input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-right: none;
    color: var(--text);
    padding: 0.6rem 1rem;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-join-quick input:focus {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.08) inset;
}

.mp-join-quick button {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    color: var(--primary);
    padding: 0.6rem 1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-join-quick button:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.15);
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.08));
}

.mp-refresh-btn {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-refresh-btn:hover {
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.08);
}

/* ===== Room Cards ===== */
.mp-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.mp-room-card {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
    position: relative;
    overflow: hidden;
}

.mp-room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%));
    pointer-events: none;
}

.mp-room-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.08);
}

.mp-room-card.in_progress {
    border-color: rgba(245, 158, 11, 0.2);
}

.mp-room-card.in_progress:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.08);
}

.mp-room-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
}

.mp-room-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.mp-room-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.mp-room-players {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mp-room-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.mp-room-status.waiting {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.1);
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

.mp-room-status.in_progress {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.1);
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

.mp-room-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.mp-room-code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    position: relative;
    z-index: 1;
}

.mp-room-code strong {
    color: var(--primary);
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

/* ===== Empty State ===== */
.mp-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* ===== Room Interior ===== */
.mp-room-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.mp-room-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%));
    pointer-events: none;
}

.mp-back-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
    position: relative;
    z-index: 1;
}

.mp-back-btn:hover {
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.08);
}

.mp-room-header-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.mp-room-header-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.mp-room-code-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
}

.mp-room-code-badge strong {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.mp-room-type-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.1);
    text-shadow: 0 0 6px rgba(14, 165, 233, 0.3);
}

.mp-ready-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: #00ff88;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.mp-ready-btn:hover, .mp-ready-btn.active {
    background: #00ff88;
    color: var(--dark);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    text-shadow: none;
}

/* Room Body */
.mp-room-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1rem;
}

/* Players Panel */
.mp-players-panel {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.mp-players-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%));
    pointer-events: none;
}

.mp-players-panel h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.mp-players-panel h3 i {
    color: #0ea5e9;
    filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.4));
}

.mp-player {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    margin-bottom: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
    position: relative;
    z-index: 1;
}

.mp-player.ready {
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.08);
}

.mp-player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.15);
}

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

.mp-player-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-player-score {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.mp-ready-icon {
    color: #00ff88;
    font-size: 0.85rem;
    filter: drop-shadow(0 0 3px rgba(0, 255, 136, 0.4));
}

.mp-waiting-icon {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.mp-host-badge {
    font-size: 0.6rem;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.1);
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

/* Chat */
.mp-chat {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.6) 0%, rgba(18, 18, 26, 0.3) 100%);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.mp-chat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%));
    pointer-events: none;
}

.mp-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.mp-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.mp-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.mp-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.15);
    border-radius: 2px;
}

.mp-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 136, 0.25);
}

.mp-chat-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-size: 0.85rem;
}

.mp-chat-msg {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.mp-chat-user {
    font-weight: 600;
    color: #0ea5e9;
    margin-right: 0.4rem;
    text-shadow: 0 0 6px rgba(14, 165, 233, 0.3);
}

.mp-chat-text {
    color: var(--text);
}

.mp-chat-system {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mp-chat-system i { font-size: 0.7rem; }

.mp-chat-input {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    position: relative;
    z-index: 1;
}

.mp-chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    outline: none;
}

.mp-chat-input input::placeholder {
    color: var(--text-muted);
}

.mp-chat-input button {
    background: transparent;
    border: none;
    border-left: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    color: var(--primary);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-chat-input button:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.06) inset;
}

/* ===== Create Modal ===== */
.mp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.mp-modal.active { display: flex; align-items: center; justify-content: center; }

.mp-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px) saturate(0.5);
    -webkit-backdrop-filter: blur(12px) saturate(0.5);
}

.mp-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.8) 0%, rgba(18, 18, 26, 0.5) 100%);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    padding: 1.5rem;
    z-index: 1;
    overflow: hidden;
}

.mp-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #a855f7, #0ea5e9);
    background-size: 200%;
    animation: borderFlow 3s linear infinite;
}

.mp-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass, linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%));
    pointer-events: none;
}

.mp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mp-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mp-modal-header h3 i {
    color: var(--primary);
    filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.4));
}

.mp-modal-header button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-modal-header button:hover {
    color: #ef4444;
}

.mp-form-group {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.mp-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mp-form-group input,
.mp-form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    color: var(--text);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.mp-form-group input:focus,
.mp-form-group select:focus {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.08), 0 0 4px rgba(0, 255, 136, 0.04) inset;
}

.mp-form-row {
    display: flex;
    gap: 1rem;
}

.mp-form-row .mp-form-group { flex: 1; }

.mp-create-submit {
    width: 100%;
    background: var(--gradient);
    border: none;
    color: var(--dark);
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
    position: relative;
    z-index: 1;
}

.mp-create-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-green-sm, 0 0 15px rgba(0, 255, 136, 0.08)), var(--glow);
}

/* ===== Loading ===== */
.mp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem;
    color: var(--text-muted);
}

.mp-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border, rgba(255, 255, 255, 0.06));
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.4));
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .mp-header-content { flex-direction: column; text-align: center; }
    .mp-toolbar { flex-direction: column; }
    .mp-join-quick { max-width: 100%; }
    .mp-rooms-grid { grid-template-columns: 1fr; }
    .mp-room-body { grid-template-columns: 1fr; }
    .mp-room-header { flex-direction: column; align-items: stretch; }
    .mp-form-row { flex-direction: column; gap: 0; }
}

@supports not (backdrop-filter: blur(1px)) {
    .mp-page-header { background: rgba(18, 18, 26, 0.95); }
    .mp-room-card { background: rgba(18, 18, 26, 0.95); }
    .mp-room-header { background: rgba(18, 18, 26, 0.95); }
    .mp-players-panel { background: rgba(18, 18, 26, 0.95); }
    .mp-chat { background: rgba(18, 18, 26, 0.95); }
    .mp-modal-content { background: rgba(15, 15, 22, 0.98); }
}
