/* ==================== RIVALRY PAGE - ULTRA PREMIUM DESIGN ==================== */

/* Article Content Styling */
.rivalry-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Article Body */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid rgba(249, 115, 22, 0.3);
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content strong {
    color: #f97316;
    font-weight: 700;
}

.article-content em {
    color: #a855f7;
    font-style: italic;
}

/* Stats Callout Boxes */
.stats-callout {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-left: 4px solid #f97316;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
}

.stats-callout h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-callout ul {
    list-style: none;
    padding: 0;
}

.stats-callout li {
    padding: 0.5rem 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stats-callout li::before {
    content: "▸";
    color: #f97316;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.comparison-item {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.comparison-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.2);
}

.comparison-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.comparison-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.comparison-subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(249, 115, 22, 0.5) 0%,
            rgba(168, 85, 247, 0.5) 50%,
            rgba(249, 115, 22, 0.5) 100%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Quote Blocks */
.article-quote {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid #a855f7;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-style: italic;
    color: #e2e8f0;
    position: relative;
}

.article-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 5rem;
    color: #a855f7;
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Player Selector - Enhanced */
.player-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.player-select-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.player-select-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #f97316, #a855f7);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 1.5rem;
    z-index: -1;
}

.player-select-box:hover::before {
    opacity: 0.2;
}

.player-select-box:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.2);
}

.player-select-box label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.select-box {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f97316'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    padding-right: 3.5rem;
}

.select-box:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background-color: rgba(15, 23, 42, 1);
}

.select-box:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1), 0 0 20px rgba(249, 115, 22, 0.2);
    background-color: rgba(15, 23, 42, 1);
}

.select-box option {
    background: #1e293b;
    color: #ffffff;
    padding: 1rem;
}

/* Compare Button - Premium Style */
#compare-btn {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 1.5rem;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.4), 0 0 0 0 rgba(249, 115, 22, 0.5);
}

#compare-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#compare-btn:hover::before {
    width: 300px;
    height: 300px;
}

#compare-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(249, 115, 22, 0.6), 0 0 0 4px rgba(249, 115, 22, 0.2);
}

#compare-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Rivalry Stats Grid - Enhanced */
.rivalry-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(249, 115, 22, 0.2);
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* SEO Enhancements */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ea580c;
}

.breadcrumb-separator {
    color: #475569;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.related-articles h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-article-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.15);
}

.related-article-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.related-article-excerpt {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rivalry-article {
        padding: 2rem 1rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .comparison-value {
        font-size: 2rem;
    }

    .player-selector {
        grid-template-columns: 1fr;
    }

    .rivalry-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 2rem;
    }

    #compare-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

/* Dark Mode Optimization */
@media (prefers-color-scheme: dark) {
    .article-content {
        color: #cbd5e1;
    }
}

/* Print Styles */
@media print {

    .player-selector,
    #compare-btn,
    .related-articles {
        display: none;
    }

    .article-content {
        color: #000;
    }
}