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

html {
    scroll-behavior: smooth;
}

body {
    color: rgb(255, 255, 255);
    background: linear-gradient(to right, #002b5b 0%, #000000 50%, #5b0000 100%);
    font-family: 'Courier New', Courier, monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}

main {
    flex: 1;
}

/* MENU GRENAL */
.menu {
    position: sticky;
    top: 12px;
    z-index: 1000;
    max-width: calc(100% - 40px);
    margin: 20px auto;
    padding: 18px 28px;
    background: linear-gradient(90deg, #02101f, #050505, #1a0606);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        -8px 0 25px rgba(0, 104, 180, 0.18),
         8px 0 25px rgba(224, 30, 30, 0.18),
         0 8px 22px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.botao-menu {
    position: relative;
    display: inline-block;
    padding: 10px 16px;
    margin: 5px 8px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.98rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.botao-menu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(to right, #0068b4 0%, #ffffff 50%, #e01e1e 100%);
    transition: width 0.3s ease;
}

.botao-menu:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
}

.botao-menu:hover::after {
    width: 100%;
}

/* PARTIDAS */
#proximas-partidas {
    padding: 40px 20px 60px;
}

.titulo-partidas {
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
}

.container-partidas {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.card-partidas {
    text-align: center;
    background-color: white;
    font-size: 0.8em;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px;
    width: 260px;
    min-height: 320px;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-partidas:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.card-partidas h3 {
    margin-bottom: 10px;
    line-height: 1.4;
}

.times {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
}

.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.vs {
    font-size: 20px;
    font-weight: bold;
    color: black;
}

/* FOOTER */
.footer {
    margin-top: auto;
    text-align: center;
    padding: 25px 20px;
    background: #08080d;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.frase-footer {
    margin-bottom: 8px;
}

/* TEXTO RS */
.rs-cores {
    background: linear-gradient(to right, #006400, #8b0000, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: moverRS 4s linear infinite;
    font-weight: bold;
}

@keyframes moverRS {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .menu {
        padding: 14px 12px;
    }

    .botao-menu {
        display: inline-block;
        font-size: 0.9rem;
        margin: 4px 6px;
        padding: 8px 10px;
    }

    .titulo-partidas {
        font-size: 1.6rem;
    }

    .card-partidas {
        width: 90%;
        max-width: 320px;
    }

    .times {
        gap: 14px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }
}
