/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Football-themed colors - Green grass field with warm accents */
    --primary-color: #1a5f3f;
    --secondary-color: #2d8659;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    /* Football field gradient */
    --field-gradient: linear-gradient(135deg, #1a5f3f 0%, #2d8659 50%, #1a5f3f 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background: var(--background-white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

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

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--background-light);
    padding: 0.25rem;
    border-radius: 20px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 600;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: var(--field-gradient);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://yt3.googleusercontent.com/hLGEiFUndeXzCU1gnqlb-YAtIbe-X-fcH9Bzi-8rvWwLK0xB8Yymumb3SkGqxBw5Ov3_eXFjKU4=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero-avatar {
    position: relative;
    width: 180px;
    height: 180px;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-badge svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link:hover {
    transform: translateY(-5px);
}

/* Section Styles */
.articles-section,
.videos-section,
.predictions-section {
    padding: 60px 0;
}

.articles-section {
    background: var(--background-white);
}

.videos-section {
    background: var(--background-light);
}

.predictions-section {
    background: var(--background-white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all:hover {
    color: var(--secondary-color);
}

/* Grid Layouts */
.articles-grid,
.videos-grid,
.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Article Card */
.article-card {
    background: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.article-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.article-card:hover .article-card-image img {
    transform: scale(1.1);
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-date {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.article-card-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Video Card */
.video-card {
    background: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.video-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.video-card:hover .video-card-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card-play svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
    margin-left: 3px;
}

.video-card-content {
    padding: 1.5rem;
}

.video-card-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.video-card-meta {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Prediction Card */
.prediction-card {
    background: var(--background-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.prediction-league {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.prediction-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.prediction-team {
    flex: 1;
    text-align: center;
}

.prediction-team-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.prediction-team-logo .team-emoji {
    font-size: 2rem;
}

.prediction-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prediction-team-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.prediction-vs {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-gray);
    padding: 0 1rem;
}

.prediction-score {
    text-align: center;
    padding: 1rem;
    background: var(--field-gradient);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.prediction-score-label {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.prediction-score-value {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
}

.prediction-date {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
    background: var(--field-gradient);
    padding: 4rem 0 3rem;
    text-align: center;
    color: var(--text-light);
}

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

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.youtube-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #FF0000;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.youtube-subscribe:hover {
    transform: translateY(-2px);
}

.youtube-subscribe svg {
    width: 24px;
    height: 24px;
}

/* Filters */
.articles-filter,
.predictions-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

/* About Page Styles */
.about-hero {
    padding: 4rem 0;
    background: var(--background-white);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-text h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.about-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-description p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.about-social {
    display: flex;
    gap: 1rem;
}

.about-social .social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid var(--border-color);
    background: var(--background-white);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-social .social-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.about-social .social-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.about-social .social-link.youtube,
.about-social .social-link.facebook {
    background: var(--background-white);
}

.expertise-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.expertise-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.expertise-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px var(--shadow);
    transition: transform 0.3s ease;
}

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

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.expertise-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Prediction Result Styles */
.prediction-result {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.prediction-correct {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
}

.prediction-partial {
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid #FF9800;
}

.prediction-result-label {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.prediction-result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.prediction-accuracy {
    margin-top: 0.5rem;
    font-weight: 600;
    color: #4CAF50;
}

.prediction-partial .prediction-accuracy {
    color: #FF9800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 10px var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .articles-grid,
    .videos-grid,
    .predictions-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
}

.loading::after {
    content: '...';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}
