/* Unfit Sports - Sports Satire Styles */

:root {
    --primary: #ff6b35;
    --secondary: #f7931e;
    --accent: #ffcc00;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
}

/* Ticker */
.ticker {
    background: linear-gradient(90deg, #ff006e, #8338ec, #3a86ff);
    background-size: 200% 100%;
    animation: tickerGradient 5s linear infinite;
    padding: 0.5rem;
    overflow: hidden;
    white-space: nowrap;
}

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

.ticker span {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: tickerScroll 20s linear infinite;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Navigation */
.sports-nav {
    background: var(--dark);
    padding: 1rem 5%;
    border-bottom: 3px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--card-bg);
}

/* Main Content */
.sports-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* Sport Hero */
.sport-hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: 20px;
}

.football-hero {
    background: linear-gradient(135deg, #1a5f2a 0%, #0d3320 100%);
}

.cricket-hero {
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
}

.tennis-hero {
    background: linear-gradient(135deg, #d4af37 0%, #8b6914 100%);
}

.olympics-hero {
    background: linear-gradient(135deg, #0085c7 0%, #df0024 50%, #f4c300 100%);
    background-size: 200% 200%;
    animation: olympicGradient 3s ease infinite;
}

@keyframes olympicGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sport-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sport-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Story */
.hero-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
    position: relative;
    min-height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    font-size: 5rem;
    position: relative;
}

.football-explosion {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.placeholder-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 1rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
}

.breaking-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff006e;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.byline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary);
}

/* Section Titles */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
}

/* Stories Grid */
.top-stories {
    margin-bottom: 4rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.story-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.story-card.featured {
    grid-column: span 2;
}

.story-image {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #434343, #000000);
    position: relative;
    overflow: hidden;
}

.story-image img,
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-svg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-svg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 1.5rem;
}

.category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.story-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.story-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timestamp {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Opinion Section */
.opinion-section {
    margin-bottom: 4rem;
}

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.opinion-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.author-info strong {
    display: block;
    color: var(--text);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.opinion-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--primary);
}

/* Live Scores */
.live-scores {
    margin-bottom: 4rem;
}

.scores-ticker {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
}

.score-item {
    background: rgba(0,0,0,0.3);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    min-width: 300px;
    border-left: 4px solid var(--primary);
}

.teams {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.time {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Poll Section */
.poll-section {
    margin-bottom: 4rem;
}

.poll-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.poll-box h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.poll-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.poll-options label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.vote-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.vote-btn:hover {
    background: var(--secondary);
}

/* League Table */
.league-table {
    margin-bottom: 4rem;
}

.standings {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.standings th,
.standings td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.standings th {
    background: rgba(255, 107, 53, 0.2);
    font-weight: 600;
}

.standings tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.standings .champions {
    background: rgba(255, 215, 0, 0.1);
}

.standings .relegation {
    background: rgba(255, 0, 0, 0.1);
}

/* Cricket Explainer */
.cricket-explainer {
    margin-bottom: 4rem;
}

.explainer-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.explainer-box h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.explainer-box ul {
    list-style: none;
    margin: 1rem 0;
}

.explainer-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.explainer-box li::before {
    content: '☕';
    position: absolute;
    left: 0;
}

.explainer-conclusion {
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
}

/* Sports Explained Grid */
.explainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.explainer-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.explainer-card:hover {
    transform: translateY(-5px);
}

.sport-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.explainer-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.explainer-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.sports-footer {
    background: var(--dark);
    padding: 3rem 5%;
    border-top: 3px solid var(--primary);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-story {
        grid-template-columns: 1fr;
    }
    
    .story-card.featured {
        grid-column: span 1;
    }
    
    .sports-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .sport-hero h1 {
        font-size: 1.8rem;
    }
    
    .opinion-grid {
        grid-template-columns: 1fr;
    }
}
