/* Base Styles */
:root {
    --primary-color: #1e88e5;
    --secondary-color: #ff5722;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f5;
    --gray-color: #e0e0e0;
    --text-color: #333;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
}

.view-all {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(5px);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1565c0;
    color: white;
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 0;
}

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

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Live Matches Section */
.matches-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--gray-color);
}

.matches-slider::-webkit-scrollbar {
    height: 8px;
}

.matches-slider::-webkit-scrollbar-track {
    background: var(--gray-color);
    border-radius: 10px;
}

.matches-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.match-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    min-width: 300px;
    transition: var(--transition);
}

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

.match-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: center;
}

.match-time.live {
    color: var(--danger-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 40%;
}

.team img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.team span {
    font-weight: 600;
    font-size: 14px;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
}

.match-score span {
    font-size: 24px;
    font-weight: 700;
}

.match-minute {
    font-size: 12px;
    color: var(--danger-color);
    margin-top: 5px;
}

/* League Table Section */
.table-responsive {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.standings-table th,
.standings-table td {
    padding: 12px 15px;
    text-align: center;
}

.standings-table th {
    background-color: var(--dark-color);
    color: white;
    font-weight: 600;
}

.standings-table tr {
    border-bottom: 1px solid var(--gray-color);
}

.standings-table tr:last-child {
    border-bottom: none;
}

.standings-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.team-name {
    display: flex;
    align-items: center;
    text-align: left;
}

.team-name img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.form {
    display: flex;
    gap: 3px;
}

.form span {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.win {
    background-color: var(--success-color);
}

.draw {
    background-color: var(--warning-color);
}

.loss {
    background-color: var(--danger-color);
}

.champions {
    background-color: rgba(76, 175, 80, 0.1);
}

/* Latest Transfers Section */
.transfers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.transfer-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    transition: var(--transition);
}

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

.transfer-player {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.transfer-player img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.player-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.position {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

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

.transfer-from,
.transfer-to {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.transfer-from img,
.transfer-to img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.transfer-arrow {
    color: var(--primary-color);
}

.transfer-fee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-color);
    padding-top: 15px;
}

.transfer-fee span {
    font-weight: 700;
    color: var(--dark-color);
}

.transfer-date {
    font-size: 12px;
    color: #777;
}

/* Suspended Players Section */
.suspended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.suspended-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.suspended-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.suspended-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.suspended-team {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.suspended-team img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-bottom: 0;
}

.suspension-details {
    display: flex;
    flex-direction: column;
}

.suspension-reason {
    font-size: 12px;
    color: var(--danger-color);
    font-weight: 600;
}

.suspension-duration {
    font-size: 12px;
    color: #777;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

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

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .section-header .view-all {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .transfers-grid,
    .suspended-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .match-card {
        min-width: 250px;
    }

    .team img {
        width: 40px;
        height: 40px;
    }

    .match-score span {
        font-size: 20px;
    }

    .standings-table th,
    .standings-table td {
        padding: 8px 10px;
        font-size: 12px;
    }

    .form span {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
}

/* Estilo para partidos suspendidos */
.suspended { 
    background: #8e44ad; /* Color morado para partidos suspendidos */
}