@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #001529;
    --secondary: #FF8C00;
    --accent: #FFD700;
    --bg-dark: #020817;
    --bg-card: #0f172a;
    --text-white: #ffffff;
    --text-dim: #94a3b8;
    --gradient-hero: linear-gradient(135deg, rgba(2, 8, 23, 0.9) 0%, rgba(0, 21, 41, 0.7) 100%);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 8, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, var(--text-white), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 800;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content h1 span {
    display: block;
    color: var(--secondary);
    font-size: 6rem;
}

.hero-content p {
    color: var(--text-dim);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 215, 0, 0.05);
}

/* Sections General */
section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title .subtitle {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Shop Section */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: var(--shadow-premium);
}

.product-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.product-tag {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.product-price {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Team Section */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.player-card {
    text-align: center;
}

.player-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    filter: grayscale(0.5);
    transition: var(--transition);
}

.player-card:hover .player-img {
    filter: grayscale(0);
    transform: scale(1.02);
}

/* Schedule Section */
.schedule-list {
    display: grid;
    gap: 15px;
}
.match-card {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}
.match-card:hover {
    border-color: var(--secondary);
    transform: translateX(10px);
}
.match-info { display: flex; align-items: center; gap: 30px; }
.match-date { border-right: 2px solid var(--secondary); padding-right: 20px; text-align: center; }
.match-date span { display: block; font-size: 1.5rem; font-weight: 800; }
.match-teams { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; }
.match-status { background: #111; padding: 5px 15px; border-radius: 5px; font-size: 0.8rem; font-weight: 700; color: var(--accent); }

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.news-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.news-card:hover .news-img { transform: scale(1.1); }
.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}
.news-content h3 { font-size: 1.5rem; margin-bottom: 10px; }
.news-tag { background: var(--secondary); color: white; padding: 2px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; margin-bottom: 10px; display: inline-block; }

/* Partners Section */
.partners-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition);
}
.partners-slider:hover { filter: grayscale(0); opacity: 1; }
.partner-logo { max-height: 50px; }


/* Footer */
footer {
    background: #000;
    padding: 80px 2rem 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--secondary);
}

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

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

.footer-links ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* --- RESPONSIVIDADE TOTAL DEFINTIVA --- */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-container { padding: 1rem; }
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #020817;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    nav ul.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .news-grid, .store-grid, .shop-grid, .team-container, .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


@media (max-width: 768px) {
    section { padding: 60px 1rem !important; }
    
    .news-grid, .store-grid, .shop-grid, .team-container, .gallery-grid, .schedule-list {
        grid-template-columns: 1fr !important;
    }

    .match-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .match-info {
        flex-direction: column;
        gap: 10px;
    }

    .match-date {
        border-right: none;
        border-bottom: 2px solid var(--secondary);
        padding-right: 0;
        padding-bottom: 10px;
    }

    .section-title h2 { font-size: 2rem !important; }
    
    /* Tabelas Responsivas */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { 
        font-size: 1.8rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    .hero-content h1 span { 
        font-size: 2.2rem !important; 
        line-height: 1 !important;
    }
    .hero-content p { 
        font-size: 0.9rem !important; 
        line-height: 1.5 !important;
    }
    
    .nav-container { 
        padding: 0.8rem 1rem !important;
        justify-content: space-between !important;
    }
    .logo-text { font-size: 1.1rem !important; }
    .logo-area img { height: 35px !important; }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .btn { width: 100%; text-align: center; padding: 12px !important; }

    /* Força o conteúdo a não vazar */
    .hero-content {
        padding: 1.5rem !important;
        text-align: center;
    }
}


/* Fix para elementos transbordando */
img { max-width: 100%; height: auto; }
.container { width: 100%; overflow-x: hidden; }
body { width: 100vw; overflow-x: hidden; }

