/* Tablet and Desktop Adjustments */
@media (min-width: 768px) {
    .app-container {
        max-width: 480px;
        margin: 0 auto;
        min-height: 100vh;
        background: var(--bg-dark);
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    body {
        background: #000;
         /* Center the mobile view on desktop */
        display: flex;
        justify-content: center;
    }
    
    .screen {
        width: 100vw;
        max-width: 480px; 
    }

    /* Adjust bottom nav for desktop */
    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0; 
    }

    .top-bar {
        max-width: 480px;
        margin: 0 auto;
        border-radius: 0 0 20px 20px;
    }

    .modal {
        display: flex; /* Override display: none when needed */
        justify-content: center;
        align-items: center;
    }
    
    .modal-content {
        max-width: 400px; /* Keep modal small */
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .mode-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .auth-container h1 {
        font-size: 1.5rem;
    }
    
    .tournament-info {
        grid-template-columns: 1fr;
    }
}
