/* main-menu.css - Add this to your CSS files */

.main-menu-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #121218, #1e1e2d);
    color: #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
}

.main-menu-container.hidden {
    display: none;
}

.menu-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.menu-header h1 {
    font-size: 48px;
    margin: 0;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.menu-header p {
    font-size: 18px;
    margin: 10px 0 0 0;
    color: #aaa;
}

.menu-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-section {
    background-color: rgba(30, 30, 45, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.menu-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 175, 80, 0.3);
}

.menu-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-section h2 i {
    color: #4CAF50;
}

/* Player setup */
.user-info-section .input-with-icon {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-info-section .input-with-icon:focus-within {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.user-info-section .input-with-icon i {
    padding: 0 15px;
    color: #aaa;
    font-size: 16px;
}

.user-info-section .input-with-icon input {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    outline: none;
}

/* Create room section */
.create-room-section .btn-block {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.create-room-section .btn-block i {
    font-size: 18px;
}

/* Room list section */
.room-list-tabs {
    display: flex;
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.room-list-tabs .tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: bold;
}

.room-list-tabs .tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}

.room-list-tabs .tab-btn.active {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.tab-content {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.room-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.room-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.room-info {
    display: flex;
    flex-direction: column;
}

.room-name {
    font-weight: bold;
    font-size: 16px;
}

.room-details {
    font-size: 12px;
    color: #aaa;
    margin-top: 3px;
}

.room-action button {
    padding: 8px 15px;
    font-size: 12px;
}

.room-list-empty {
    text-align: center;
    padding: 30px;
    color: #777;
    font-style: italic;
}

/* Footer */
.menu-footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 12px;
}

/* Discord section */
.discord-section {
    background-color: rgba(88, 101, 242, 0.15) !important;
    border: 1px solid rgba(88, 101, 242, 0.3) !important;
}

.discord-section .btn-discord {
    background-color: #5865F2;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.discord-section .btn-discord:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.4);
}

.discord-section .discord-info {
    color: #bbb;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-header h1 {
        font-size: 36px;
    }
    
    .menu-content {
        gap: 20px;
    }
    
    .menu-section {
        padding: 15px;
    }
    
    .menu-section h2 {
        font-size: 18px;
    }
}