/* Shared CSS for Player Comparison Tool */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Header */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }
}

/* How It Works Page Styles */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Legal Pages Card Layout */
.legal-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-section h2 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.legal-section p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-section ul {
    margin-left: 20px;
    color: #4a5568;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-section .info-card {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #667eea;
    text-align: center;
}

.content-section h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.info-card {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.info-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-card ul {
    margin-left: 20px;
    color: #4a5568;
}

.info-card li {
    margin-bottom: 5px;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.methodology-grid .player-card {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transition: transform 0.3s ease;
}

.methodology-grid .player-card:hover {
    transform: translateY(-5px);
}

.methodology-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.methodology-grid .player-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.methodology-grid .player-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    color: white;
}

.cta-card {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.cta-button {
    display: inline-block;
    background: white;
    color: #38a169;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #2f855a;
}

/* CTA Section - centered content */
.cta-section {
    text-align: center;
}

.cta-section .player-card {
    text-align: center;
}

/* Footer */
.footer {
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.footer-text {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive for How It Works */
@media (max-width: 768px) {
    .content-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .methodology-card {
        padding: 20px;
    }
    
    .cta-card {
        padding: 25px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.season-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}


/* Data Entry Fields - Main Compare Page Only */
.season-league-selection {
    margin: 40px 0 30px 0;
    padding: 0 20px;
}

.selection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.selection-input {
    text-align: center;
}

.selection-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    font-size: 1.1rem;
}

.selection-input select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.selection-input select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.player-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.player-input {
    text-align: center;
}

.player-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    font-size: 1.1rem;
}

.player-search-container {
    position: relative;
    width: 100%;
}

.player-search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.player-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.player-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e1e8ed;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.player-search-dropdown.show {
    display: block;
}

.player-option {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.player-option:hover,
.player-option.highlighted {
    background-color: #f8f9fa;
}

.player-option:last-child {
    border-bottom: none;
}

.player-search-dropdown .player-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.player-search-dropdown .player-team {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.loading-players {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}


.compare-btn {
    display: block;
    width: 200px;
    margin: 0 auto 40px auto;
    padding: 15px 30px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
}

.compare-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.6);
}

.compare-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Share CTA Container */
.share-cta-container {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(66, 153, 225, 0.3);
}

.share-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.share-btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.6);
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
}

.share-btn-cta:active {
    transform: translateY(-1px);
}

.share-btn-cta.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.6);
}

.share-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.share-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.share-subtitle {
    color: #4a5568;
    font-size: 0.9rem;
    margin-top: 12px;
    margin-bottom: 0;
    opacity: 0.8;
}

.share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    text-align: center;
    margin: 40px 0;
    display: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
}

/* AI Evaluation Section */
.ai-evaluation {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    color: white;
}

.ai-evaluation h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-evaluation .verdict {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.player-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-header {
    text-align: center;
    margin-bottom: 25px;
}

.player-card .player-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
}

.player-card .player-team {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
}

.player-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.detail-item {
    text-align: center;
    padding: 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.detail-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d3748;
}

.stats-section {
    margin-bottom: 25px;
}

.stats-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.results {
    display: none;
    margin-top: 40px;
    margin-bottom: 40px;
}

.analysis-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.analysis-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-align: center;
}

.analysis-section h3 {
    color: #667eea;
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 1.2rem;
}

.analysis-section p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Browse by League Section */
.browse-section {
    margin: 40px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.browse-section h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.browse-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1rem;
}

.league-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.league-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px 20px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.league-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.league-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.league-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.league-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.league-stats span {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.league-cta {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Featured Comparisons */
.featured-comparisons {
    margin: 40px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-comparisons h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.featured-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.featured-matchup {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.featured-season {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.featured-verdict {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.featured-verdict .winner {
    font-weight: bold;
    color: #ffd700;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 50px;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.6);
}

/* Responsive Design */
@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        overflow-x: hidden;
    }

    .player-card {
        padding: 12px;
        min-width: 0; /* Allow cards to shrink below their content size */
    }

    .share-cta-container {
        padding: 20px;
        margin: 30px 0;
    }

    .share-btn-cta {
        padding: 15px 30px;
        font-size: 1rem;
        gap: 10px;
    }

    .share-icon {
        font-size: 1.2rem;
    }

    .share-text {
        font-size: 1rem;
    }

    .share-subtitle {
        font-size: 0.85rem;
    }

    .player-card .player-name {
        font-size: 1.1rem;
        word-break: break-word;
    }

    .player-card .player-team {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .player-details {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .detail-item {
        padding: 6px;
    }

    .detail-label {
        font-size: 0.75rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .stat-item {
        padding: 6px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 10px;
    }

    .analysis-section {
        padding: 20px;
    }

    .analysis-section h2 {
        font-size: 1.4rem;
    }

    .analysis-section h3 {
        font-size: 1.1rem;
    }

    .selection-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .player-selection {
        grid-template-columns: 1fr;
        gap: 15px;
        align-items: center;
    }


    .featured-comparisons h2 {
        font-size: 1.4rem;
    }
    
    .browse-section h2 {
        font-size: 1.4rem;
    }
    
    .league-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .comparison-container {
        gap: 8px;
    }

    .player-card {
        padding: 8px;
    }

    .player-card .player-name {
        font-size: 1rem;
        word-break: break-word;
    }

    .player-card .player-team {
        font-size: 0.75rem;
        word-break: break-word;
    }
    
    .player-details {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .detail-item {
        padding: 5px;
    }

    .detail-label {
        font-size: 0.7rem;
    }

    .detail-value {
        font-size: 0.85rem;
    }

    .stat-item {
        padding: 5px;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .share-cta-container {
        padding: 15px;
        margin: 20px 0;
    }

    .share-btn-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .share-text {
        font-size: 0.9rem;
    }

    .stats-title {
        font-size: 1rem;
    }
}

/* ===============================================
   Landing Page Styles - Premier League Hub
   =============================================== */

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
    color: white;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
    font-weight: 500;
}

/* Hero Section for Landing Pages */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.hero-section h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section .stat-label,
.stat-card .stat-label {
    color: white;
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

/* Seasons Grid */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.season-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.season-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.season-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.season-header h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
}

.era-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.era-badge.modern {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.era-badge.golden {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
}

.era-badge.classic {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
}

.season-stats {
    margin-bottom: 15px;
}

.comparison-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.season-description {
    margin-bottom: 20px;
}

.season-description p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.season-comparisons {
    margin-bottom: 20px;
}

.comparison-link {
    display: block;
    padding: 12px 15px;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.comparison-link:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(5px);
}

.comparison-link .teams {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

.season-cta {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.season-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Featured Comparisons Grid - Season Pages */
.season-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.featured-comparison {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.featured-comparison:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.comparison-image {
    display: none;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-comparison:hover .comparison-image img {
    transform: scale(1.05);
}

.comparison-content {
    padding: 20px;
}

.comparison-content h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.comparison-season {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.comparison-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.comparison-teams {
    color: #999;
    font-size: 0.8rem;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    margin: 50px 0 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

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

/* Content Section Styling */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.content-section > p {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Landing Page Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .seasons-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .season-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .season-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
}

/* ===============================================
   Season Page Specific Components
   =============================================== */

/* Season Highlights Grid */
.season-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-card {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-3px);
}

.highlight-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.highlight-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Player Stats in Featured Comparison */
.player-stats {
    margin: 15px 0;
}

.stat-highlight {
    background: rgba(102, 126, 234, 0.05);
    border-left: 3px solid #667eea;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.stat-highlight strong {
    color: #333;
    font-weight: 600;
}

/* Context Grid */
.context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.context-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.context-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.context-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.context-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.context-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* CTA Buttons Group */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Season Page Responsive Design */
@media (max-width: 768px) {
    .season-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .context-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .highlight-card, .context-card {
        padding: 20px;
    }
}
