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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

a {
    text-decoration: none;
    color: #2a5298;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

section {
    padding: 60px 0;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2a5298;
    border: 2px solid #2a5298;
}

.btn-secondary:hover {
    background-color: #2a5298;
    color: #fff;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: transparent;
    color: #2a5298;
    border: 1px solid #2a5298;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #2a5298;
    color: #fff;
}

.btn-app {
    display: flex;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    margin-right: 10px;
}

.btn-app img {
    width: 24px;
    margin-right: 10px;
}

.btn-app:hover {
    background-color: #555;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a5298;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #555;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: #2a5298;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2a5298;
}

.cta-buttons {
    display: flex;
    align-items: center;
}

.cta-buttons a {
    margin-left: 10px;
}

/* Banner Principal */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

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

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
}

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

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

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Filtro de Tabs */
.filter-tabs {
    display: flex;
    margin-bottom: 30px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.filter-tab {
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-tab:last-child {
    margin-right: 0;
}

.filter-tab.active {
    background-color: #2a5298;
    color: #fff;
    border-color: #2a5298;
}

/* Partidas em Andamento */
.live-matches h2,
.upcoming-matches h2,
.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.match-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.league {
    font-weight: 500;
    color: #777;
    font-size: 0.9rem;
}

.match-time {
    font-weight: 600;
    font-size: 0.9rem;
}

.match-time.live {
    color: #ff6b6b;
}

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

.team {
    display: flex;
    align-items: center;
    max-width: 45%;
}

.team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.team:first-child {
    flex-direction: row;
}

.team:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.team-name {
    font-weight: 600;
    margin: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score {
    font-weight: 700;
    font-size: 1.4rem;
    color: #2a5298;
}

.versus {
    font-weight: 700;
    color: #777;
    margin: 0 10px;
}

.match-stats {
    margin-bottom: 20px;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stat:last-child {
    margin-bottom: 0;
}

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

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

.match-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* Próximas Partidas */
.matches-list {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.match-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.match-row:last-child {
    border-bottom: none;
}

.match-row:hover {
    background-color: #f9f9f9;
}

.match-time {
    width: 100px;
    text-align: center;
}

.date {
    font-size: 0.8rem;
    color: #777;
}

.time {
    font-weight: 700;
    color: #333;
}

.match-info {
    flex: 1;
    margin: 0 20px;
}

.teams {
    font-weight: 600;
}

.vs {
    color: #777;
    margin: 0 10px;
    font-size: 0.9rem;
}

.match-odds {
    display: flex;
    gap: 10px;
}

.odd-btn {
    width: 60px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    border-radius: 4px;
    font-weight: 700;
    color: #333;
}

.odd-btn:hover {
    background-color: #e0e5ee;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

/* Recursos Match Live */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
}

/* Download do App */
.app-download {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: #fff;
}

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

.app-content {
    flex: 1;
    padding-right: 40px;
}

.app-content h2 {
    color: #fff;
}

.app-buttons {
    display: flex;
    margin-top: 30px;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Banner de Promoção */
.promo-banner {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.promo-content h2 {
    color: #fff;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Rodapé */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    margin-right: 60px;
    min-width: 250px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #aaa;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 160px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-column ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

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

.footer-bottom p {
    color: #888;
    margin-bottom: 10px;
}

/* Responsividade */
@media screen and (max-width: 992px) {
    .hero .container,
    .app-download .container {
        flex-direction: column;
    }
    
    .hero-content,
    .app-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image,
    .app-image {
        margin-top: 30px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-links {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
        overflow-x: auto;
    }
    
    nav ul {
        width: max-content;
    }
    
    .cta-buttons {
        flex: 1;
        justify-content: flex-end;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .match-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .match-time {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }
    
    .match-info {
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }
    
    .match-odds {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-app {
        width: 80%;
        justify-content: center;
        margin-bottom: 15px;
        margin-right: 0;
    }
}
