/* SEO Content Styles - Leon Casino */

.seo-content-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background: #1a1d21;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.seo-content {
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
}

.seo-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #FF4400;
    margin-bottom: 24px;
    line-height: 1.3;
    text-align: center;
}

.seo-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #FF5522;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2a3034;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFA366;
    margin-top: 32px;
    margin-bottom: 16px;
}

.seo-content p {
    margin-bottom: 18px;
    font-size: 16px;
    color: #d0d0d0;
}

.seo-content strong {
    color: #FF6633;
    font-weight: 600;
}

.seo-content ul,
.seo-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.seo-content li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #d0d0d0;
    line-height: 1.7;
}

.seo-content li strong {
    color: #FF6633;
}

/* Highlight Box Styles */
.highlight-box {
    background: linear-gradient(135deg, #2a2e33 0%, #1f2226 100%);
    border-left: 4px solid #FF4400;
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(255, 68, 0, 0.1);
}

.highlight-box h3 {
    color: #FF6633;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 20px;
}

.highlight-box p {
    margin-bottom: 12px;
    color: #e0e0e0;
}

.highlight-box ul {
    margin-top: 16px;
}

/* Table Wrapper - Critical for Mobile Responsiveness */
.table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Table Base Styles */
.seo-table {
    width: 100%;
    border-collapse: collapse;
    background: #22262a;
    font-size: 15px;
    min-width: 650px; /* Prevents table from becoming too narrow */
}

.seo-table thead {
    background: linear-gradient(135deg, #FF4400 0%, #FF6633 100%);
}

.seo-table thead th {
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 16px 14px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.seo-table tbody tr {
    border-bottom: 1px solid #2a3034;
    transition: background-color 0.2s ease;
}

.seo-table tbody tr:hover {
    background: #2a2e33;
}

.seo-table tbody tr:last-child {
    border-bottom: none;
}

.seo-table tbody td {
    padding: 14px 14px;
    color: #d0d0d0;
    vertical-align: top;
}

.seo-table tbody td strong {
    color: #FF6633;
    font-weight: 600;
}

/* Hide data-label on desktop */
.seo-table tbody td::before {
    content: attr(data-label);
    display: none;
}

/* Responsive Table Styles for Mobile */
@media screen and (max-width: 768px) {
    .table-wrapper {
        margin: 24px -20px; /* Full width on mobile */
        border-radius: 0;
    }
    
    .seo-table {
        min-width: 100%;
        font-size: 14px;
    }
    
    /* Hide table header on mobile */
    .seo-table thead {
        display: none;
    }
    
    /* Make each row a card */
    .seo-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #2a3034;
        border-radius: 8px;
        padding: 12px;
        background: #22262a;
    }
    
    .seo-table tbody tr:hover {
        background: #2a2e33;
    }
    
    /* Make each cell a row */
    .seo-table tbody td {
        display: block;
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid #2a3034;
        position: relative;
        padding-left: 45%;
    }
    
    .seo-table tbody td:last-child {
        border-bottom: none;
    }
    
    /* Show data-label as inline heading */
    .seo-table tbody td::before {
        content: attr(data-label);
        display: inline-block;
        font-weight: 600;
        color: #FFA366;
        position: absolute;
        left: 0;
        width: 42%;
        padding-right: 10px;
        text-align: left;
        font-size: 13px;
    }
}

/* Extra small devices (phones in portrait) */
@media screen and (max-width: 480px) {
    .seo-content-section {
        margin: 30px auto;
        padding: 24px 16px;
        border-radius: 0;
    }
    
    .seo-content h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .seo-content h2 {
        font-size: 20px;
        margin-top: 36px;
    }
    
    .seo-content h3 {
        font-size: 18px;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 15px;
    }
    
    .highlight-box {
        padding: 16px;
        margin: 24px -4px;
    }
    
    .seo-table {
        font-size: 13px;
    }
    
    .seo-table tbody td {
        padding: 8px 0;
        padding-left: 42%;
    }
    
    .seo-table tbody td::before {
        font-size: 12px;
        width: 40%;
    }
}

/* Tablet landscape and small desktop */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .seo-content-section {
        max-width: 95%;
        padding: 32px 24px;
    }
    
    .table-wrapper {
        overflow-x: auto;
    }
    
    .seo-table {
        min-width: 100%;
    }
}

/* Print styles */
@media print {
    .seo-content-section {
        box-shadow: none;
        background: white;
    }
    
    .seo-content,
    .seo-content p,
    .seo-content li {
        color: #000;
    }
    
    .seo-table tbody tr:nth-child(even) {
        background: #f5f5f5;
    }
}
