/* Enhanced Blog Article Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #0cebeb 0%, #20e3b2 100%);
    --warning-gradient: linear-gradient(135deg, #ffc048 0%, #ff8c42 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.language-switcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.language-switcher select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    outline: none;
}

.language-switcher select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--accent-color);
    transform: translateX(2px);
}

.breadcrumb-list .separator {
    color: var(--text-secondary);
    font-size: 18px;
}

.breadcrumb-list .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Article Hero Section Enhanced */
.article-hero-enhanced {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.article-hero-enhanced::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.article-hero-content {
    position: relative;
    z-index: 2;
}

.article-meta-enhanced {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.meta-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.meta-badge i {
    font-size: 14px;
}

.article-title-enhanced {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article-subtitle-enhanced {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 30px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.3);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }

/* Table of Contents */
.table-of-contents {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    position: sticky;
    top: 20px;
}

.toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin: 10px 0;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.toc-list a::before {
    content: '▸';
    color: var(--primary-color);
}

/* Content Cards */
.content-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

/* Feature Comparison Cards */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.player-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.player-card.featured {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
}

.player-card.featured::after {
    content: '⭐ BEST CHOICE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--warning-gradient);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
}

.player-rank {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.player-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 15px 0;
}

.player-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star {
    color: #ffc107;
    font-size: 18px;
}

.player-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.player-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-features li::before {
    content: '✓';
    color: #20e3b2;
    font-weight: 700;
}

.player-price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
}

.player-card.featured .player-price {
    background: white;
    -webkit-text-fill-color: white;
}

.player-cta {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Enhanced Tables */
.comparison-table {
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.comparison-table thead {
    background: var(--primary-gradient);
    color: white;
}

.comparison-table th {
    padding: 20px;
    font-weight: 700;
    text-align: left;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.feature-yes {
    color: #20e3b2;
    font-weight: 700;
}

.feature-no {
    color: #ff6b6b;
    font-weight: 700;
}

/* Author Box */
.author-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    font-weight: 700;
}

.author-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.author-bio {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Related Articles */
.related-articles {
    margin: 60px 0;
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.related-image {
    width: 100%;
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.related-content {
    padding: 25px;
}

.related-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.related-link {
    text-decoration: none;
    color: var(--text-primary);
}

.related-link h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.related-link p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .language-switcher {
        top: 80px;
        right: 20px;
    }
    
    .article-title-enhanced {
        font-size: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .table-of-contents {
        position: static;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* RTL Support */
html[dir="rtl"] .language-switcher {
    left: 30px;
    right: auto;
}

html[dir="rtl"] .breadcrumb-list {
    direction: rtl;
}

html[dir="rtl"] .toc-list a::before {
    content: '◂';
}

html[dir="rtl"] .share-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .breadcrumb-list,
[dir="rtl"] .share-buttons {
    flex-direction: row-reverse;
}

/* Comparison Grid and Cards */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.player-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.player-card.featured {
    background: linear-gradient(135deg, #6c63ff, #5a52d5);
    border: 2px solid #ffd700;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.player-rank {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.player-name {
    color: #333;
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.player-card.featured .player-name {
    color: white;
}

.player-rating {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.player-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.player-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.player-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.player-card.featured .player-features li {
    color: rgba(255, 255, 255, 0.9);
}

.player-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #6c63ff;
    margin: 20px 0;
}

.player-card.featured .player-price {
    color: white;
}

.player-cta {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6c63ff, #5a52d5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-card.featured .player-cta {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.player-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, #6c63ff, #5a52d5);
    color: white;
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.comparison-table tbody tr:hover {
    background: #f9f9ff;
}

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

.feature-yes {
    color: #4caf50;
    font-weight: 600;
}

.feature-no {
    color: #f44336;
}

/* Article CTA */
.article-cta {
    margin: 60px 0;
}

.cta-card {
    background: linear-gradient(135deg, #6c63ff, #5a52d5);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Related Articles */
.related-articles {
    margin: 60px 0;
}

.related-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Content Card Enhancement */
.content-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.content-card h3 {
    color: #555;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.content-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6c63ff;
    font-weight: bold;
}
