/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .bets-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .user-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    /* Navbar */
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-user {
        padding: 0.5rem 0.75rem;
    }

    .nav-user-info {
        display: none;
    }

    /* Dashboard */
    .user-info-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .user-avatar-large {
        font-size: 4rem;
    }

    .user-info-details h2 {
        font-size: 1.5rem;
    }

    .user-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Section Header */
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Bets Grid */
    .bets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Leaderboard */
    .leaderboard {
        padding: 1.5rem;
    }

    .leaderboard-item {
        padding: 1rem;
        gap: 1rem;
    }

    .rank {
        font-size: 2rem;
        min-width: 3rem;
    }

    .leaderboard-avatar {
        font-size: 2.5rem;
    }

    .leaderboard-name {
        font-size: 1.125rem;
    }

    .balance-amount {
        font-size: 1.5rem;
    }

    /* FAB */
    .fab {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.75rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    /* Auth */
    .avatar-selector {
        grid-template-columns: repeat(4, 1fr);
    }

    .color-selector {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    /* Auth */
    .auth-card {
        padding: 1.5rem;
    }

    .auth-card h1 {
        font-size: 2rem;
    }

    /* Navbar */
    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.938rem;
    }

    /* Outcomes */
    .outcome-odds {
        font-size: 1.5rem;
    }

    .outcome-name {
        font-size: 1rem;
    }

    /* Modal */
    .modal-content {
        margin: 1rem;
    }

    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    .potential-win-amount {
        font-size: 2rem;
    }

    .balance-value {
        font-size: 2rem;
    }
}