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

:root {
    --primary-blue: #0066CC;
    --primary-green: #00A86B;
    --primary-yellow: #FFD700;
    --dark-blue: #003D82;
    --light-blue: #3399FF;
    --dark-green: #006B47;
    --light-green: #33CC99;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

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

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

header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.hero-secondary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFA500 100%);
    color: var(--dark-gray);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
}

.content {
    padding: 3rem 0;
}

.content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.main-article {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-article h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 0.5rem;
}

.main-article h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-article p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
    text-align: justify;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-blue);
}

.widget h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.matches-list,
.leagues-list,
.teams-list {
    list-style: none;
}

.matches-list li,
.leagues-list li,
.teams-list li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: var(--light-gray);
    border-radius: 5px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.matches-list li:hover,
.leagues-list li:hover,
.teams-list li:hover {
    background: linear-gradient(to right, var(--light-green) 0%, var(--light-gray) 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

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

@media (max-width: 968px) {
    .content .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .main-article {
        order: 1;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .main-article {
        padding: 1.5rem;
    }

    .main-article h2 {
        font-size: 1.6rem;
    }

    .main-article h3 {
        font-size: 1.3rem;
    }

    .main-article p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-menu li a {
        display: block;
        text-align: center;
    }
}

.widget:nth-child(even) {
    border-top-color: var(--primary-green);
}

.widget:nth-child(3) {
    border-top-color: var(--primary-yellow);
}

a {
    transition: all 0.3s ease;
}

button,
.nav-menu li a,
.matches-list li,
.leagues-list li,
.teams-list li {
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

::selection {
    background-color: var(--primary-yellow);
    color: var(--dark-gray);
}