.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    position: relative;
}

.chat-container {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
}

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

.chart-container {
    position: relative;
    margin-top: 20px;
}

.chart-wrapper {
    height: 250px;
    overflow: hidden;
}

.chart-wrapper.collapsed {
    height: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px 20px;
    min-height: 100vh;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 20px 15px 80px 15px; /* Bottom padding for larger nav */
        margin: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .game-container {
        padding: 20px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .user-profile {
        position: static;
        margin: 20px auto;
    }
}

.game-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: gameIn 0.5s ease;
}