/* SEO Content Styles with Responsive Tables */
.textSeo p {
    line-height: 1.6;
    color: #fff;
    margin-bottom: 15px;
}

.textSeo ul, .textSeo ol {
    margin: 20px 0;
    padding-left: 25px;
    color: #fff;
}

.textSeo li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.textSeo strong {
    color: #ffd700;
    font-weight: 600;
}

/* Table Styles */
.textSeo table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(30, 34, 93, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.textSeo thead {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.3));
}

.textSeo th {
    background: rgba(138, 43, 226, 0.2);
    color: #ffd700;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.textSeo td {
    padding: 12px 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.textSeo tbody tr {
    transition: background 0.2s ease;
}

.textSeo tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.textSeo tbody tr:hover {
    background: rgba(138, 43, 226, 0.1);
}

.textSeo tr:last-child td {
    border-bottom: none;
}

/* Responsive Tables for Mobile */
@media (max-width: 767px) {
    .textSeo table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px -12px;
        width: calc(100% + 24px);
        border-radius: 0;
    }
    
    .textSeo th,
    .textSeo td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .textSeo th {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    
    .textSeo ul, .textSeo ol {
        padding-left: 20px;
        margin: 15px 0;
    }
    
    .textSeo li {
        margin-bottom: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .textSeo table {
        font-size: 12px;
    }
    
    .textSeo th,
    .textSeo td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* ========== ANIMATED SEO TABLES ========== */
.textSeo table.animated-table {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 34, 93, 0.45), rgba(75, 0, 130, 0.35));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(138, 43, 226, 0.1);
    overflow: hidden;
    animation: tableSlideIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes tableSlideIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.textSeo table.animated-table thead {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45), rgba(75, 0, 130, 0.55));
    position: relative;
}

.textSeo table.animated-table thead::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.18) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: -100% 0;
    animation: headerShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerShimmer {
    0% { background-position: -100% 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 200% 0; }
}

.textSeo table.animated-table th {
    background: transparent;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
    padding: 16px 18px;
    font-size: 14px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
}

.textSeo table.animated-table tbody tr {
    opacity: 0;
    animation: rowFadeIn 0.55s ease-out forwards;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.textSeo table.animated-table tbody tr:nth-child(1) { animation-delay: 0.25s; }
.textSeo table.animated-table tbody tr:nth-child(2) { animation-delay: 0.40s; }
.textSeo table.animated-table tbody tr:nth-child(3) { animation-delay: 0.55s; }
.textSeo table.animated-table tbody tr:nth-child(4) { animation-delay: 0.70s; }
.textSeo table.animated-table tbody tr:nth-child(5) { animation-delay: 0.85s; }

@keyframes rowFadeIn {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.textSeo table.animated-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.22), rgba(138, 43, 226, 0.08));
    transform: translateX(4px);
    box-shadow: inset 4px 0 0 #ffd700;
}

.textSeo table.animated-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.textSeo table.animated-table td strong {
    color: #ffd700;
    font-weight: 600;
}

/* Subtle pulse on the gold border */
.textSeo table.animated-table::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.0);
    animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.1), 0 0 18px rgba(138, 43, 226, 0.0); }
    50%      { box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.35), 0 0 22px rgba(138, 43, 226, 0.25); }
}

@media (max-width: 767px) {
    .textSeo table.animated-table {
        display: block;
        overflow-x: auto;
        border-radius: 8px;
    }
    .textSeo table.animated-table th,
    .textSeo table.animated-table td {
        padding: 11px 13px;
        font-size: 13px;
    }
}
