/* Mobile Scrimmages V2 - Complete Mobile Redesign */
/* Only affects mobile view, desktop remains unchanged */

@media (max-width: 768px) {
    /* Page Container */
    .coming-soon-section {
        padding: 20px 0 80px;
        background: #f8f9fa;
        min-height: 100vh;
    }

    /* Mobile Title Section */
    .scrimmages-page-title {
        font-size: 28px;
        font-weight: 700;
        color: #324e8a;
        margin: 60px 20px 10px;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        line-height: 1.2;
    }

    /* Add a subtitle */
    .scrimmages-page-title::after {
        content: "Join our competitive, respectful games";
        display: block;
        font-size: 14px;
        font-weight: 400;
        color: #666;
        margin-top: 8px;
    }

    /* Mobile Grid - Single Column */
    .scrimmages-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
        margin: 0;
    }

    /* Mobile Card Design */
    .scrimmage-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        margin-bottom: 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .scrimmage-card:active {
        transform: scale(0.98);
    }

    /* Mobile Image Section */
    .scrimmage-image {
        height: 120px;
        background: linear-gradient(135deg, #324e8a 0%, #5A4FCF 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .scrimmage-image-icon {
        width: 60px;
        height: 60px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }

    .coming-soon-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: #FF6B6B;
        color: white;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
    }

    /* Mobile Info Section */
    .scrimmage-info {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: auto;
    }

    .scrimmage-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 0;
        line-height: 1.2;
        min-height: auto;
    }

    /* Location Section - Compact */
    .location-section {
        background: #f0f4f8;
        padding: 12px 16px;
        border-radius: 12px;
        margin: 0;
        min-height: auto;
    }

    .location-label {
        color: #666;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    .location-name {
        font-size: 15px;
        color: #324e8a;
        font-weight: 600;
        line-height: 1.3;
    }

    /* Details Grid - 2x2 on Mobile */
    .scrimmage-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 0;
    }

    .detail-item {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        border: 1px solid #e9ecef;
    }

    .detail-icon {
        font-size: 20px;
        margin-bottom: 0;
    }

    .detail-item p {
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        color: #333;
        line-height: 1.2;
    }

    /* Action Button */
    .scrimmage-action {
        margin-top: 4px;
    }

    .scrimmage-action .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        text-align: center;
        background: #324e8a;
        color: white;
        border: 2px solid #324e8a;
        transition: all 0.2s ease;
    }

    .scrimmage-action .btn:active {
        background: #253a6a;
        transform: scale(0.98);
    }

    .scrimmage-action .btn-secondary {
        background: transparent;
        color: #324e8a;
    }

    .scrimmage-action .btn-secondary:active {
        background: #324e8a;
        color: white;
    }

    /* WhatsApp Link Styling */
    .scrimmage-action a[href*="wa.me"] {
        background: #25D366;
        border-color: #25D366;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .scrimmage-action a[href*="wa.me"]::before {
        content: "💬";
        font-size: 18px;
    }

    /* Contact Section Adjustments */
    #contact-section {
        margin-top: 40px;
        padding: 40px 0 80px;
    }

    /* Form improvements for mobile */
    .contact-form {
        padding: 20px 15px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
        border-radius: 10px;
    }

    /* Ensure proper spacing with bottom navigation */
    main {
        padding-bottom: 20px;
    }
}

/* Ensure desktop is not affected */
@media (min-width: 769px) {
    .mobile-scrimmages-v2 {
        display: none !important;
    }
}
