@charset "UTF-8";

/* ======================================
        VARIÁVEIS DE TEMA
====================================== */
:root {
    --amarelo: #ffcc00;
    --amarelo-claro: #ffe680;
    --preto: #000000;
    --fundo: #0b0b0b;
    --branco: #ffffff;
}

/* ======================================
   REFINO VISUAL – TIPOGRAFIA
====================================== */

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* Títulos mais fortes */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Parágrafos mais confortáveis */
p {
    font-size: 1rem;
    opacity: 0.95;
}

/* Menu mais profissional */
.menu-site a {
    font-weight: 500;
    letter-spacing: 0.4px;
}

/* Mobile – leitura melhor */
@media (max-width: 768px) {
    p {
        font-size: 0.95rem;
    }
}

/* ================================
   MENU – MICRO ANIMAÇÕES PREMIUM
================================ */

/* Links do menu */
.menu-site a {
    position: relative;
    padding: 8px 4px;
    transition: 
        color 0.25s ease,
        transform 0.25s ease;
}

/* Linha animada */
.menu-site a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--amarelo);
    transform: translateX(-50%);
    transition: width 0.25s ease;
    border-radius: 2px;
}

/* Hover desktop */
.menu-site a:hover {
    color: var(--amarelo);
    transform: translateY(-2px);
}

.menu-site a:hover::after {
    width: 100%;
}

/* Mobile – remove efeito de "pulo" */
@media (max-width: 1024px) {
    .menu-site a:hover {
        transform: none;
    }
}

/* ================================
   HEADER – REFINO PREMIUM
================================ */

.header-site {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.6)
    );
    backdrop-filter: blur(6px);
}

/* Conteúdo do header mais equilibrado */
.header-content {
    min-height: 80px;
}

/* Escudo mais integrado */
.globo-escudo img {
    width: 72px;
    height: 72px;
    border-width: 2px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.35);
}

/* Animação um pouco mais sutil */
@keyframes girar {
    from { transform: rotateY(0); }
    to   { transform: rotateY(360deg); }
}

/* Mobile – respiro melhor */
@media (max-width: 1024px) {
    .header-content {
        padding: 10px 16px;
    }

    .globo-escudo img {
        width: 64px;
        height: 64px;
    }
}

/* ======================================
   MENU – ITEM ATIVO (PÁGINA ATUAL)
====================================== */
.menu-site a.ativo {
    color: var(--amarelo);
    font-weight: bold;
}

.menu-site a.ativo::after {
    width: 100%;
}

/* ======================================
   MENU – MICROANIMAÇÃO PREMIUM
====================================== */

.menu-site a {
    transition:
        color 0.3s ease,
        transform 0.25s ease,
        text-shadow 0.25s ease;
}

/* efeito ao passar o mouse (PC) */
.menu-site a:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 12px rgba(255, 204, 0, 0.45);
}

/* item ativo fica levemente elevado */
.menu-site a.ativo {
    transform: translateY(-1px);
}

/* ======================================
   MENU MOBILE – ANIMAÇÃO SUAVE (PASSO 5)
====================================== */

@media (max-width: 1024px) {

    .menu-site {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(8px);

        padding: 0;
        text-align: center;
        border-top: 1px solid rgba(255,204,0,0.3);

        /* animação */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .menu-site.ativo {
        max-height: 400px; /* altura suficiente para os links */
    }

    .menu-site a {
        padding: 14px 0;
        font-size: 1.15rem;
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .menu-site.ativo a {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GRID PARA AS TABELAS */
.tabelas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC: 2 colunas */
    gap: 30px;
    justify-items: center; /* Mantém centralizado */
    margin-top: 20px;
}

/* CELULAR: 1 por linha */
@media (max-width: 768px) {
    .tabelas-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
        RESET
====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: var(--fundo);
    color: var(--branco);
    overflow-x: hidden;

    opacity: 0;
    animation: fadeInBody 1s ease forwards;
}

/* Fade-in suave */
@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ======================================
        BACKGROUND PARALLAX SUAVE
====================================== */
body::before {
    content: "";
    position: fixed;
    top: -20px;
    left: -20px;
    width: 120%;
    height: 120%;
    background: url("selecao.jpeg") center/cover no-repeat;
    opacity: 0.08;
    z-index: -1;

    transform: translateY(var(--scroll, 0));
    will-change: transform;
}


/* ======================================
        ESCUDO ANIMADO PREMIUM
====================================== */

.globo-escudo {
    position: relative;
    width: 80px;
}

.globo-escudo img {
    width: 100%;
    border-radius: 50%;
    border: 3px solid var(--amarelo);
    animation: 
        brilhoEscudo 3s ease-in-out infinite alternate,
        girar 4s linear infinite;
}

@keyframes girar {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes brilhoEscudo {
    from { filter: drop-shadow(0 0 5px var(--amarelo)); }
    to { filter: drop-shadow(0 0 15px var(--amarelo-claro)); }
}


/* ======================================
        HEADER
====================================== */
header {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(255, 204, 0, 0.3);
    padding: 15px 0;
    box-shadow: 0 0 18px rgba(255, 204, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* --- Estilos da Página de Vídeos com GRID RESPONSIVO --- */
/* ======================================
        VÍDEOS – CAIXAS DOURADAS
====================================== */

.container-videos h2 {
    text-align: center;
    margin: 30px 0;
    font-size: 28px;
    letter-spacing: 1px;
}

/* GRID PADRÃO (CELULAR = 1 COLUNA) */
.galeria-videos {
    display: grid;
    grid-template-columns: 1fr; /* 1 vídeo por linha */
    gap: 30px; /* espaço igual entre todos */
    padding: 20px 0;
}

/* TABLET (2 vídeos) */
@media (min-width: 768px) {
    .galeria-videos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP (4 vídeos) */
@media (min-width: 1200px) {
    .galeria-videos {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* CARD DOURADO */
.card-video {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 204, 0, 0.25);
    border-radius: 14px;
    padding: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
    backdrop-filter: blur(4px);
    text-align: center;
}

.card-video:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.35);
}

/* VÍDEO RESPONSIVO 16:9 */
.video-responsivo {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--amarelo);
}

.video-responsivo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* TÍTULO DO CARD */
.card-video h3 {
    font-size: 17px;
    font-weight: normal;
    margin-top: 10px;
    color: var(--branco);
}

/* AJUSTE NO CELULAR */
@media (max-width: 480px) {
    .card-video h3 {
        font-size: 15px;
    }
}

/* Container geral (limita a largura máxima no desktop e centraliza) */
.container-videos {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* ======================================
        GALERIA (Fotos e Jogos)
====================================== */

/* PADRÃO – CELULAR (1 foto) */
.galeria {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* DESKTOP – 4 fotos */
@media (min-width: 1024px) {
    .galeria {
        grid-template-columns: repeat(4, 1fr);
    }
}

.imagem-container {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 204, 0, 0.25);
    border-radius: 14px;
    padding: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
    backdrop-filter: blur(4px);
}

.imagem-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.35);
}

.imagem-container img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--amarelo);
}

/* ======================================
        MENU / NAVEGAÇÃO
====================================== */
nav a {
    color: var(--branco);
    margin-left: 25px;
    text-decoration: none;
    font-size: 1.15rem;
    padding-bottom: 5px;
    position: relative;
    transition: color .3s ease;
}

h1{
    text-align: center;
}

p{
    text-align: center;
    hyphens: auto;       /* Hifeniza automaticamente, se necessário */
    word-break: break-word; /* Quebra palavras longas se precisar */
}

/* Centraliza o card */
.artilheiros {
    display: flex;
    justify-content: center;
}

.jogadores {
    width: 100%;
    max-width: 320px;
    padding: 20px;

    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 204, 0, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(4px);

    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform .3s ease, box-shadow .3s ease;

    text-align: left;
    display: grid;
    gap: 6px;

    word-break: break-word; /* ← aqui */
}

/* Hover igual às galerias */
.jogadores:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.35);
}

/* Texto interno */
.jogadores em {
    font-style: normal;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Remove linha do último */
.jogadores em:last-child {
    border-bottom: none;
}

/* underline neon moderno */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--amarelo);
    box-shadow: 0 0 8px var(--amarelo);
    transition: width .3s ease;
}

nav a:hover {
    color: var(--amarelo);
}

nav a:hover::after {
    width: 100%;
}

/* ======================================
      CARTÕES DOS JOGADORES (ajustados para combinar com a galeria)
====================================== */

/* GRID RESPONSIVO */
.jogadores-grid {
    display: grid;
    gap: 25px;
    padding: 20px;
    grid-template-columns: 1fr;  /* padrão: 1 por linha no celular */
}

/* Tablet: 2 por linha */
@media (min-width: 600px) {
    .jogadores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PC: 4 por linha */
@media (min-width: 1024px) {
    .jogadores-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Container do card - mesmo estilo das fotos da galeria */
.card-container {
    perspective: 1000px;
    width: 100%;
    max-width: 260px; /* compatível com a galeria */
    margin: auto;

    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 204, 0, 0.25);
    border-radius: 14px;
    padding: 12px;
    backdrop-filter: blur(4px);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Celular - ocupa quase toda a tela */
@media (max-width: 768px) {
    .card-container {
        max-width: 90%;
        width: 100%;
    }
}

/* Hover igual às galerias */
.card-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.35);
}

/* Estrutura do card 3D */
.card {
    position: relative;
    width: 100%;
    height: 360px;   /* altura equilibrada com a galeria */
    transform-style: preserve-3d;
    transition: transform .6s ease-in-out;
}

/* PC – vira ao passar o mouse */
.card-container:hover .card {
    transform: rotateY(180deg);
}

/* Celular – vira ao tocar */
@media (hover: none) {
    .card-container:active .card {
        transform: rotateY(180deg);
    }
}

/* Frente e verso */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

/* Frente (foto — não corta jogador) */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* cobre a área inteira */
    object-position: top;   /* garante cabeça visível */
    border-radius: 12px;
    border: 1px solid var(--amarelo);
}

/* Verso */
.card-back {
    background: rgb(20, 20, 20);
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--amarelo);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Card virado via JS ou hover */
.card.virado {
    transform: rotateY(180deg);
}

/* ======================================
   MENU HAMBURGER – SOMENTE CELULAR
====================================== */

/* BOTÃO HAMBURGER – oculto no desktop */
.menu-toggle {
    display: none;
    font-size: 26px;       /* tamanho mais discreto */
    background: none;
    border: none;
    color: var(--amarelo);
    cursor: pointer;
    z-index: 200;
}

/* MENU NORMAL NO DESKTOP */
.menu-site {
    display: flex;
}

.menu-site a {
    font-size: 1rem;       /* tamanho padrão no desktop */
    margin-left: 18px;     /* espaçamento mais compacto */
}

/* MOBILE */
@media (max-width: 768px) {

    /* Exibe o botão hamburger */
    .menu-toggle {
        display: block;
    }

    /* Menu oculto por padrão, vertical e full-width */
    .menu-site {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(8px);
        padding: 12px 0;       /* compacto */
        display: none;
        text-align: center;
        border-top: 1px solid rgba(255, 204, 0, 0.3);
    }

    /* Menu ativo exibido */
    .menu-site.ativo {
        display: flex;
    }

    /* Links do menu mobile */
    .menu-site a {
        margin: 10px 0;
        font-size: 1.1rem;     /* tamanho adequado para toque */
    }
}

/* ======================================
        SEÇÕES INTERNAS
====================================== */
section, .container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* ===== ANIMAÇÃO APENAS PARA CELULAR ===== */
@media (max-width: 768px) {
    .reveal {
        transform: scale(0.3);
        opacity: 0;
        transition: all 0.6s ease-out;
    }

    .reveal.visible {
        transform: scale(1);
        opacity: 1;
    }
}

/* ======================================
        RODAPÉ
====================================== */
footer {
    margin-top: 60px;
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    border-top: 2px solid rgba(255, 204, 0, 0.35);
    color: var(--amarelo-claro);
    font-size: 1rem;
}

.data-nascimento {
    display: none;
}

/* Estilos para a Seção de Mídias Sociais */
.social-media {
    text-align: center; /* Centraliza o conteúdo dentro da seção */
    padding: 20px 0; /* Adiciona algum espaço acima e abaixo */
    margin-top: 30px; /* Espaço para separar da seção anterior */
    border-top: 1px solid #ccc; /* Linha sutil para separar do conteúdo */
}

.social-icons {
    display: flex; /* Permite alinhar os links lado a lado */
    justify-content: center; /* Centraliza os links na horizontal */
    gap: 30px; /* Espaço entre os links */
}

.icon-link {
    text-decoration: none; /* Remove o sublinhado padrão */
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.icon-link:hover {
    transform: translateY(-2px); /* Efeito sutil ao passar o mouse */
    opacity: 0.9;
}

.icon {
    font-size: 1.3rem; /* Tamanho do emoji/ícone */
    margin-right: 8px; /* Espaço entre o ícone e o texto */
}

/* Estilos Específicos por Rede */
.instagram {
    color: white; /* Cor do texto */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.tiktok {
    color: white;
    background-color: #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 2px 2px #25F4EE, -2px -2px #FF0050; /* Efeito de sombra do TikTok */
}

