/* Mobile-specific fixes */

@media (max-width: 767.98px) {
    /* General fixes */
    body {
        font-size: 14px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Header fixes */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Hero section fixes */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Card fixes */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Tournament card fixes */
    .tournament-card .card-img-top,
    .tournament-card .default-tournament-img {
        height: 150px;
    }
    
    /* Table fixes */
    .table-responsive {
        border-radius: var(--border-radius);
        overflow: hidden;
    }
    
    .leaderboard-table {
        font-size: 0.8rem;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.5rem;
    }
    
    /* Footer fixes */
    footer {
        text-align: center;
    }
    
    footer .col-md-6,
    footer .col-lg-4,
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    /* Form fixes */
    .form-control,
    .form-select,
    .btn {
        font-size: 0.9rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Spacing fixes */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 0.35em 0.65em;
    }
}
