/* Mobile Styles for BTTS Predictions */
@media (max-width: 768px) {
    .btts-fixtures-table, .btts-history-table, .btts-stats-summary-table {
        font-size: 12px;
    }

    .btts-fixtures-table th, 
    .btts-history-table th, 
    .btts-stats-summary-table th,
    .btts-fixtures-table td, 
    .btts-history-table td, 
    .btts-stats-summary-table td {
        padding: 6px 4px;
    }

    /* Hide less important columns on mobile */
    .btts-fixtures-table colgroup col:nth-child(3), /* Home BTTS % */
    .btts-fixtures-table colgroup col:nth-child(5), /* Away BTTS % */
    .btts-fixtures-table colgroup col:nth-child(8), /* Form (H/A) */
    .btts-history-table colgroup col:nth-child(3), /* Home BTTS % */
    .btts-history-table colgroup col:nth-child(5), /* Away BTTS % */
    .btts-history-table colgroup col:nth-child(8) { /* Confidence */
        display: none;
    }

    .btts-fixtures-table th:nth-child(3),
    .btts-fixtures-table td:nth-child(3),
    .btts-fixtures-table th:nth-child(5),
    .btts-fixtures-table td:nth-child(5),
    .btts-fixtures-table th:nth-child(8),
    .btts-fixtures-table td:nth-child(8),
    .btts-history-table th:nth-child(3),
    .btts-history-table td:nth-child(3),
    .btts-history-table th:nth-child(5),
    .btts-history-table td:nth-child(5),
    .btts-history-table th:nth-child(8),
    .btts-history-table td:nth-child(8) {
        display: none;
    }

    /* Adjust stats summary table for mobile */
    .btts-stats-summary-table colgroup col:nth-child(3), /* Matches */
    .btts-stats-summary-table colgroup col:nth-child(4), /* Won */
    .btts-stats-summary-table colgroup col:nth-child(5), /* Lost */
    .btts-stats-summary-table colgroup col:nth-child(7) { /* Avg Odds */
        display: none;
    }

    .btts-stats-summary-table th:nth-child(3),
    .btts-stats-summary-table td:nth-child(3),
    .btts-stats-summary-table th:nth-child(4),
    .btts-stats-summary-table td:nth-child(4),
    .btts-stats-summary-table th:nth-child(5),
    .btts-stats-summary-table td:nth-child(5),
    .btts-stats-summary-table th:nth-child(7),
    .btts-stats-summary-table td:nth-child(7) {
        display: none;
    }

    /* Stats grid for mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 10px;
    }

    .stat-value {
        font-size: 20px;
    }

    /* SEO features grid */
    .seo-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Country flags in intro */
    .seo-intro .country-flags-container {
        height: auto;
        flex-wrap: wrap;
        gap: 5px;
    }

    /* Buttons and badges */
    .btts-stats-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .prediction-badge-btts {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    /* Stats bars */
    .stats-bars-container {
        flex-direction: column;
        gap: 4px;
    }

    .stats-bar-wrapper {
        height: 16px;
    }

    .stats-bar-percentage {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .btts-fixtures-table, .btts-history-table {
        font-size: 10px;
    }

    /* Hide more columns on very small screens */
    .btts-fixtures-table colgroup col:nth-child(6), /* Yes Odds */
    .btts-fixtures-table colgroup col:nth-child(7), /* No Odds */
    .btts-fixtures-table colgroup col:nth-child(10), /* Confidence */
    .btts-history-table colgroup col:nth-child(6), /* Yes Odds */
    .btts-history-table colgroup col:nth-child(7), /* No Odds */
    .btts-history-table colgroup col:nth-child(9) { /* Prediction */
        display: none;
    }

    .btts-fixtures-table th:nth-child(6),
    .btts-fixtures-table td:nth-child(6),
    .btts-fixtures-table th:nth-child(7),
    .btts-fixtures-table td:nth-child(7),
    .btts-fixtures-table th:nth-child(10),
    .btts-fixtures-table td:nth-child(10),
    .btts-history-table th:nth-child(6),
    .btts-history-table td:nth-child(6),
    .btts-history-table th:nth-child(7),
    .btts-history-table td:nth-child(7),
    .btts-history-table th:nth-child(9),
    .btts-history-table td:nth-child(9) {
        display: none;
    }

    /* Adjust stats summary table for very small screens */
    .btts-stats-summary-table colgroup col:nth-child(6) { /* Win Rate */
        display: none;
    }

    .btts-stats-summary-table th:nth-child(6),
    .btts-stats-summary-table td:nth-child(6) {
        display: none;
    }

    /* Further reduce stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust main title */
    .seo-content-section h1 {
        font-size: 20px !important;
        margin-bottom: 20px;
    }

    /* Intro text */
    .seo-intro p {
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .btts-stats-btn, .prediction-badge-btts, .seo-intro .country-flags-container {
        display: none !important;
    }

    .btts-fixtures-table, .btts-history-table, .btts-stats-summary-table {
        background: white !important;
        color: black !important;
    }

    .btts-fixtures-table th, .btts-history-table th, .btts-stats-summary-table th {
        background: #f5f5f5 !important;
        color: black !important;
    }

    .btts-fixtures-table td, .btts-history-table td, .btts-stats-summary-table td {
        color: black !important;
    }
}