:root {
    --color-bg: #1f1f1f;
    /* PRETO 2 (Fundo da Página) */
    --color-card: #1f1f1f;
    /* PRETO 2 (Cards) */
    --color-footer: #181818;
    /* PRETO 3 (Rodapé) */
    --color-text: #ffffff;
    /* BRANCO */
    --color-secondary: #fafafa;
    /* GELO */
    --color-accent: #ffffff;
    /* BRANCO para destaques */
    --color-mid-gray: #cccccc;
    /* CINZA MÉDIO */
    --color-silver: #ececec;
    /* CINZA CLARO / PRATA - Cinza 1 */

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-numbers: 'Hepta Slab', serif;

    /* Fluid Scaling Logic */
    /* Base unit that scales from 14px to 18px between 320px and 1920px viewport */
    --base-font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1.125rem);

    --transition: all 0.3s ease;
    --container-width: 90vw;
    /* Fluid container width */
    --max-content-width: 1400px;

    /* Altura padrão do header (atualizada pelo JS após o render) */
    --header-height: 245px;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children if needed */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth;
    scrollbar-gutter: stable; /* Reserva o espaço da scrollbar, evitando o salto visual */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: var(--container-width);
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 2vw;
}

/* Header */
/* Header Redesign */
.main-header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    /* Reduzido de 99999 para permitir sobreposição por Lightbox/Modais */
    padding: 0;
}

/* ============================================
   HOME PAGE - Header Transparente
   ============================================ */

.home-page .main-header {
    background: transparent;
}

.home-page .header-top {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    transition: background 0.4s ease;
}

.home-page #site-logo {
    filter: brightness(0) invert(1);
    /* Logo branco na home */
    transition: filter 0.4s ease;
}

.home-page .mobile-menu-btn {
    color: #fff;
    transition: color 0.4s ease;
}

.home-page .header-bottom {
    display: none;
    /* Esconde a timeline do header na home */
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 4vw;
    gap: 2rem;
    background-color: #ffffff;
    /* Fundo Branco */
}

#site-logo {
    height: clamp(52px, 5.5vw, 95px);
    /* Reduzido de 58px-106px */
    width: auto;
    filter: none;
    transition: var(--transition);
}

/* Category Chips */
.category-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4vw;
    width: clamp(250px, 20vw, 400px);
}

.chip {
    background-color: var(--color-secondary);
    /* Gelo */
    color: var(--color-bg);
    /* Cinza Escuro */
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.chip.active {
    background-color: var(--color-card);
    /* Cinza Claro */
    color: var(--color-text);
    /* Branco */
}

/* Search Bar */
.desktop-search-wrapper {
    flex: 1;
    display: flex;
    min-width: 0;
    max-width: 20vw;
}

.search-container {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    border-radius: 2rem;
    padding: 0.6rem 1.5vw;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.search-container:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-container:focus {
    outline: 2px solid var(--search-accent, #ececec);
    outline-offset: 2px;
}

.search-placeholder {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #999;
}

.search-shortcut {
    display: none;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.search-container:hover .search-shortcut {
    opacity: 0.6;
}

@media (min-width: 768px) {
    .search-shortcut {
        display: flex;
    }
}

.search-shortcut kbd {
    padding: 1px 4px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    color: #888;
}

.search-icon {
    width: 18px;
    height: 18px;
    color: var(--color-card);
    margin-right: 10px;
    flex-shrink: 0;
}

/* ============================================
   TRANSPARENT HEADER STYLES (Home Page Only)
   ============================================ */
.home-page .main-header:not(.header-scrolled) .chip {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    backdrop-filter: blur(4px);
}

.home-page .main-header:not(.header-scrolled) .chip:hover,
.home-page .main-header:not(.header-scrolled) .chip.active {
    background-color: #fff;
    color: var(--color-bg);
    border-color: #fff;
}

.home-page .main-header:not(.header-scrolled) .search-container {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.home-page .main-header:not(.header-scrolled) .search-placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.home-page .main-header:not(.header-scrolled) .search-shortcut kbd {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.home-page .main-header:not(.header-scrolled) .search-icon {
    color: #fff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: clamp(30px, 3.5vw, 48px);
    height: clamp(30px, 3.5vw, 48px);
    background-color: var(--color-card);
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: var(--color-bg);
    filter: brightness(1.2);
}

/* Timeline Nav */
.header-bottom {
    background-color: var(--color-secondary);
    /* Fundo Gelo */
}

.timeline-nav {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    /* 13 colunas idênticas no desktop */
    width: 100%;
    padding: 0;
}

/* Garante que o menu não seja cortado */
.header-bottom,
.main-header {
    overflow: visible !important;
}

.timeline-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.timeline-item {
    position: relative;
    /* Base para o dropdown */
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-item:last-child {
    border-right: none;
}

.timeline-link {
    padding: clamp(0.5rem, 0.8vw, 0.8rem) 10px;
    color: var(--color-bg);
    text-decoration: none;
    font-family: var(--font-numbers);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-bottom: 2px solid transparent;
}

/* Hover & Active States - Consolidado */
.timeline-item.active .timeline-link,
.timeline-item:hover .timeline-link {
    background-color: var(--color-bg) !important;
    /* Força o Cinza Escuro */
    color: #ffffff !important;
    /* Força o Texto Branco */
    border-radius: 8px 8px 0 0;
}

.timeline-item.active .timeline-link {
    border-bottom: 2px solid #444 !important; /* Cinza escuro discreto */
}

.timeline-item.active .decade-star {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8); /* Brilho na estrela */
}

.arrow-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

/* Girar a seta quando o menu abre */
.timeline-item:hover .arrow-icon,
.timeline-item.active .arrow-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.7);
    /* Gelo semi-transparente */
    backdrop-filter: blur(10px);
    /* Efeito de desfoque */
    -webkit-backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    padding: 12px;
    z-index: 1001;
    /* Acima do collection-nav-wrapper (990) e do header (1000) */
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
}

/* Mostrar apenas no hover */
.timeline-item:hover .dropdown-menu {
    display: flex;
}

.dropdown-link {
    background-color: #ffffff;
    color: #181818;
    margin-bottom: 5px;
    padding: clamp(0.4rem, 0.8vh, 0.7rem) 16px;
    /* Reduzido */
    border-radius: 4px;
    /* Mais sutil com tamanho menor */
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    /* Reduzido de 0.9rem */
    font-weight: 500;
    transition: var(--transition);
    box-shadow: none;
    /* Removida a sombra do botão */
    white-space: nowrap;
    /* Impede quebra de linha */
}

.dropdown-link:hover,
.dropdown-link.active {
    transform: translateY(-2px);
    background-color: var(--color-bg) !important;
    /* Cinza Escuro */
    color: #ffffff !important;
    /* Texto branco */
}

/* Removido o bloco redundante que estava aqui */

/* Breakpoint para evitar corte na timeline em laptops (1366px, 1440px) */
@media (max-width: 1500px) {
    .timeline-nav {
        grid-template-columns: repeat(7, 1fr);
        /* Divide em 2 linhas (7+6) */
    }

    .timeline-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .timeline-item:nth-child(n+8) {
        border-bottom: none;
    }
}

@media (max-width: 992px) {

    /* Em tablets, esconder elementos do header desktop - agora usando menu gaveta */
    /* Exclui .home-category-filters que deve permanecer visível na home */
    .category-filters:not(.home-category-filters),
    .search-container,
    .timeline-nav-header,
    .social-links {
        display: none !important;
    }

    .header-top {
        padding: 0.8rem 1.2rem;
        justify-content: space-between;
    }

    #site-logo {
        height: 40px;
    }

    .hero {
        min-height: 60vh;
        padding-top: 180px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-nav {
        grid-template-columns: repeat(3, 1fr);
        /* 3 colunas para celulares pequenos */
    }

    .timeline-item {
        width: 100%;
    }
}

/* Removido o bloco conflitante que estava aqui */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo:hover #site-logo {
    transform: scale(1.02);
}

.nav-links {
    display: none;
    /* Removido em favor da nova estrutura */
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Increased from 60vh for more impact */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
    padding-top: 120px;
}

/* Home Hero - Fullscreen */
.home-page .hero {
    min-height: 100vh;
    padding-top: 0;
}

/* Header com scroll na home - Compact Single Line */
.main-header.header-scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0 2vw; /* Removido padding vertical para precisão */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 52px; /* Altura fixa exigida */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Removemos o comportamento de bloco do header-top e header-bottom para unificar na linha */
.main-header.header-scrolled .header-top {
    display: contents; /* Promove Logo e Busca para o flex pai */
}

.main-header.header-scrolled #site-logo {
    height: 30px;
    filter: none;
    transition: height 0.4s ease;
    order: 1;
}

.main-header.header-scrolled .desktop-search-wrapper {
    order: 3;
    display: flex;
    align-items: center;
    flex: none !important; /* Override global flex: 1 */
    max-width: none !important; /* Override global max-width: 20vw */
}

.main-header.header-scrolled .search-container {
    flex: none !important; /* Impede que a lupa estique horizontalmente */
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--color-secondary);
}

.main-header.header-scrolled .search-placeholder,
.main-header.header-scrolled .search-shortcut {
    display: none;
}

.main-header.header-scrolled .search-icon {
    margin-right: 0;
    width: 16px;
    height: 16px;
}

/* Timeline Nav integrada na mesma linha */
.main-header.header-scrolled .header-bottom {
    display: flex !important;
    background: transparent;
    flex: 1;
    order: 2;
    justify-content: center;
    align-self: stretch; /* Faz o container ocupar toda a altura (52px) */
}

.main-header.header-scrolled .timeline-nav {
    display: flex;
    justify-content: center;
    gap: 4px; /* Reduzido levemente o gap pois aumentamos o padding interno */
    border: none;
    height: 100%;
}

.main-header.header-scrolled .timeline-item {
    border: none;
    height: 100%;
}

.main-header.header-scrolled .decade-star {
    display: inline-block; /* Estrelas de volta */
    font-size: 0.6rem;
    margin-right: 2px;
    opacity: 0.8;
}

.main-header.header-scrolled .arrow-icon {
    display: none; 
}

.main-header.header-scrolled .timeline-link {
    font-size: 0.65rem;
    padding: 0 15px; /* Respiro lateral solicitado */
    letter-spacing: -0.01em;
    color: var(--color-bg);
    height: 100%;
    border-radius: 0 !important; /* Para ocupar a altura total sem arredondamento que quebre o fluxo */
}

.main-header.header-scrolled .timeline-item:hover .timeline-link,
.main-header.header-scrolled .timeline-item.active .timeline-link {
    border-radius: 0 !important; /* Hover reto para alinhar com o header */
}

/* Ajuste do Dropdown no modo reduzido */
.main-header.header-scrolled .dropdown-menu {
    top: 100%;
    min-width: 100%; /* Mesma largura da década */
    padding: 6px; /* Mais compacto */
    border-radius: 0 0 4px 4px; /* Combinando com o estilo reto */
}

.main-header.header-scrolled .dropdown-link {
    font-size: 0.65rem; /* Mesmo tamanho do texto da década */
    padding: 6px 4px;
    text-align: center;
    margin-bottom: 3px;
}

.main-header.header-scrolled .mobile-menu-btn {
    color: #000;
    order: 4;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que o vídeo preencha o espaço sem distorcer */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.bg-text {
    font-family: var(--font-numbers);
    font-size: 25vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.015);
    /* Ainda mais sutil */
    text-transform: uppercase;
    letter-spacing: -0.05em;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.hero-container {
    width: var(--container-width);
    max-width: 1600px;
    margin: 0 auto 0 5vw;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-content {
    text-align: left;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-left: -2px; /* Ajuste óptico para alinhar o H */
}

.hero-content h1 {
    font-family: var(--font-body);
    /* Changed to Space Grotesk */
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    /* Extra bold for impact */
    margin-bottom: 2rem;
    line-height: 1;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    /* Slightly tighter for sans-serif */
    animation: fadeInUp 1s ease-out;
    margin-left: -0.045em; /* Ajuste óptico para o 'O' arredondado */
}

.subtitle {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    color: var(--color-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    max-width: 950px;
    text-wrap: pretty;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    margin-left: -1px; /* Ajuste óptico para o 'C' */
}

.btn-primary {
    display: inline-block;
    padding: 12px 36px;
    background-color: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text);
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--color-secondary);
    opacity: 0.6;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.hero-featured {
    display: flex;
    justify-content: center;
    align-items: center;
}

.jersey-card-preview {
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.jersey-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shimmer-swipe 3s infinite;
}

.jersey-info-floating {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
}

.jersey-info-floating .year {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.jersey-info-floating .model {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-secondary);
    opacity: 0.7;
}

#site-search::placeholder {
    color: var(--color-card);
    opacity: 0.7;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer-swipe {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .jersey-card-preview {
        max-width: 300px;
        margin-top: 2rem;
    }
}

/* Sections */
.content-section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

h2 {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.line-decorator {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto;
}

/* Seasons Explorer (Home) */
.seasons-explorer {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

/* Home Filters Section */
.home-filters-section {
    margin-bottom: 4rem;
    text-align: center;
}

.filter-section-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.home-category-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.home-category-filters .chip {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.home-category-filters .chip:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.home-category-filters .chip.active {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-bg);
}

@media (max-width: 768px) {
    .home-filters-section {
        margin-bottom: 3rem;
    }

    .home-category-filters {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        max-width: 100%;
    }

    .home-category-filters .chip {
        padding: 8px 8px;
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .home-category-filters {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .home-category-filters .chip {
        padding: 8px 4px;
        font-size: 0.62rem;
    }
}

.decade-group {
    margin-bottom: 6rem;
}

.decade-title {
    font-family: var(--font-numbers);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.decade-title span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.05);
    /* Igual ao título da década apagado */
    opacity: 1;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Fixed 5 columns for desktop */
    gap: 1.5rem;
}

.season-card {
    position: relative;
    aspect-ratio: 3/4;
    background-color: #1f1f1f; /* Preto 2 — conforme solicitado */
    border-radius: 12px;
    overflow: visible; /* Permite o pop-out do jogador */
    text-decoration: none;
    transition: transform 0.4s ease-in-out, box-shadow 0.6s ease-in-out;
}

.season-card-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1; /* Camada 5+6: Camisa + Fundo Card */
}

.season-card:hover {
    transform: scale(1.02);
    /* Subtle shadow reverted */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.15);
}

.season-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 90% auto;
    background-position: -95% 30%;
    background-repeat: no-repeat;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.2) grayscale(1) opacity(0.2);
    z-index: 1; /* Camada 5: Camisa (dentro do frame) */
}

.season-card:hover .season-card-bg {
    transform: scale(1.1) translateX(2%);
    /* Subtle move towards the center on hover */
    filter: brightness(0.6) grayscale(0) opacity(0.6);
}

.season-card-player {
    position: absolute;
    bottom: 0%;
    right: -10%;
    width: 105%;
    height: 110%;
    z-index: 2; /* Camada 4: Jogador */
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: filter, transform;
}

.season-card-player img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-position: bottom;
    /* Multi-layered drop-shadow for a softer silhouetted look */
    filter:
        drop-shadow(-5px 5px 10px rgba(0, 0, 0, 0.4)) drop-shadow(-15px 15px 30px rgba(0, 0, 0, 0.3));
}

.season-card:hover .season-card-player {
    transform: translateX(8%) scale(1.15);
    z-index: 2; /* Mantém abaixo do texto mesmo no hover */
}

.season-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Cobre o card inteiro para evitar cortes */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 3;
    background: radial-gradient(120% 60% at 20% 90%, 
        rgba(0, 0, 0, 0.45) 0%, 
        rgba(0, 0, 0, 0.38) 15%, 
        rgba(0, 0, 0, 0.25) 30%, 
        rgba(0, 0, 0, 0.12) 50%, 
        rgba(0, 0, 0, 0.03) 65%, 
        transparent 100%);
    border-radius: 12px;
    pointer-events: none;
    overflow: hidden; /* Garante que o ruído não escape */
}

.season-card-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1; /* Acima do gradiente, abaixo do texto */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05; /* Extremamente sutil */
    mix-blend-mode: multiply;
    pointer-events: none;
}

.season-card-year {
    font-family: var(--font-numbers);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    white-space: nowrap;
    position: relative;
    z-index: 2; /* Camada 1: Ano — o mais acima de tudo */
}

.season-card-label {
    font-family: var(--font-body);
    font-size: clamp(0.5rem, 1.2vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    color: var(--color-secondary);
    opacity: 0.7;
    white-space: nowrap;
    margin-bottom: -6px; /* Aproximando ainda mais */
    position: relative;
    z-index: 2; /* Camada 2: Label TEMPORADA */
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.season-card.coming-soon {
    opacity: 0.4;
    filter: grayscale(1);
    pointer-events: none;
}

.season-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 1200px) {
    .seasons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .seasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .seasons-grid {
        grid-template-columns: 1fr;
    }
}


/* Footer */
.main-footer {
    background-color: var(--color-footer);
    padding: 2rem 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    border-top: none !important;
}

.main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.main-footer p {
    margin: 0;
    opacity: 0.8;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--color-silver);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: #d4af37;
    opacity: 1;
}

.footer-social-links .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-muted);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-social-links .social-icon.profile-icon {
    margin-left: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links .social-icon:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-social-links .social-icon svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .main-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Season Page Styles */
.season-page .main-header {
    position: fixed; /* Fixed sempre cola no topo ao rolar */
    background: #ffffff;
}

/* Compensa o header fixo empurrando o conteúdo para baixo */
.season-page main {
    padding-top: var(--header-height, 245px);
    background-color: #ffffff; /* Evita que o fundo escuro do body vaze no espaço do padding */
}

.season-hero {
    height: 55vh; /* Mais compacto, texto bem centralizado */
    min-height: 420px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow-x: hidden; /* Apenas horizontal — não corta a imagem verticalmente */
    background-color: #ffffff; /* Igual ao header para evitar linha visual */
    padding-top: 0;
    margin-top: 0;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.season-hero .bg-text {
    font-size: 64vw;
    color: rgba(0, 0, 0, 0.03);
    /* Cinza muito claro sobre o fundo claro */
    line-height: 1;
    transform: translateY(2vh);
    animation: bg-drift 30s ease-in-out infinite;
}

@keyframes bg-drift {

    0%,
    100% {
        transform: translate(-3%, 2vh);
    }

    50% {
        transform: translate(3%, 6vh);
    }
}

.season-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Mais espaço pro texto */
    align-items: center; /* Centraliza texto verticalmente */
    gap: 2rem;
    height: 100%;
    width: 100%;
}

.season-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.season-player {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: visible; /* Permite que a imagem ultrapasse a coluna do grid */
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-img {
    height: 55vh; /* Altura exata do hero — sem ser cortada */
    width: auto;  /* Largura proporcional, sem restrição */
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.15));
    transform: translateY(0);
    z-index: 1002;
    transition: var(--transition);
}

@media (max-width: 968px) {
    .season-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .season-player {
        position: relative;
        top: 0;
        height: 40vh;
        justify-content: center;
        width: 100%;
    }

    .player-img {
        height: 100%;
        max-height: 100%;
        transform: translateY(20px);
    }

    .season-intro {
        margin: 1rem auto;
    }
}

.season-title {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    color: #666;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}

.season-title span {
    display: block;
    font-family: var(--font-numbers);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 800;
    color: var(--color-bg);
    opacity: 1;
    letter-spacing: -0.05em;
    margin-top: 0.5rem;
}

.season-intro {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    color: #444;
    margin-top: 1rem;
    max-width: 500px;
}

/* Collection Selector Navigation */
.collection-section {
    padding: 3rem 0 0 0;
    background-color: var(--color-bg);
}

.collection-nav-wrapper {
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    background-color: var(--color-bg);
    width: 100%;
    z-index: 99;
    /* Abaixo do header (1000) para que os dropdowns do header apareçam por cima */
}

.collection-nav-wrapper.is-locked {
    position: fixed;
    top: var(--header-height, 140px);
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.collection-nav-wrapper.is-locked .collection-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 4vw;
    margin: 0;
}

.collection-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.collection-nav::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex; /* Adicionado para alinhar o ícone */
    align-items: center;
    gap: 6px;
}

.nav-btn.active {
    color: var(--color-text);
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
}

/* Jersey Spotlight Area */
.jersey-spotlight {
    padding-bottom: 3rem;
}

.spotlight-main {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 1rem;
    align-items: center;
}

.jersey-preview-large {
    background-color: transparent;
    height: 550px;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    overflow: visible;
    gap: 0;
    margin-left: -10%;
    /* Empurra as imagens para fora da margem esquerda */
}

.spotlight-player {
    height: 110%;
    z-index: 2;
    filter: drop-shadow(10px 10px 30px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
    transform: translateY(5%);
    /* Desce o jogador ligeiramente */
}

.spotlight-player img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.main-jersey-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    margin-left: -280px;
    /* Movido significativamente para trás do jogador */
    align-self: flex-end;
    transform: translateY(5%);
    /* Subiu a imagem (era 15%) */
}

.placeholder-3d {
    color: #ccc;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 2px;
}

.spotlight-details {
    margin-left: -8rem;
    /* Puxa o bloco de texto ainda mais para a esquerda */
    z-index: 5;
    position: relative;
}

.uniform-name {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    line-height: 1.1;
}

.uniform-description {
    color: #cccccc;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Variations Technical Board */
.variations-board {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.variation-item {
    border-left: none;
    padding-left: 0;
}

.variation-item .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.variation-desc {
    font-weight: 500;
    color: #dddddd;
}

/* Info Blocks (Context, Icons, etc) */
.details-section {
    padding: 0;
    background-color: transparent;
    color: var(--color-bg);
}

.info-block {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.info-block.context {
    padding-top: 3rem;
    /* Espaço de respiro no topo */
}

.info-header {
    margin-bottom: 1rem;
}

/* Ocultar linha decorativa em todas as seções */
.info-block .line-decorator {
    display: none;
}

/* Dynamic Section Stripes */
.info-block {
    position: relative;
    /* Box shadow hack for full width background without breaking container */
    /* This requires overflow-x: hidden on body/html */
}

/* Ensure these colors match the official palette variables */
.info-block.bg-white {
    background-color: #ffffff;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(-1px -100vmax);
}

.info-block.bg-gelo {
    background-color: var(--color-secondary);
    box-shadow: 0 0 0 100vmax var(--color-secondary);
    clip-path: inset(-1px -100vmax);
}

/* Dark Info Block - Tom mais escuro (#181818) - Usado em Uniformes e Curiosidades */
.info-block.bg-dark {
    background-color: var(--color-bg);
    /* #181818 */
    box-shadow: 0 0 0 100vmax var(--color-bg);
    clip-path: inset(-1px -100vmax);
    color: #fff;
}

/* Dark Alt Info Block - Tom mais claro (#1c1c1c) - Usado em Contexto */
.info-block.bg-dark-alt {
    background-color: #1c1c1c;
    box-shadow: 0 0 0 100vmax #1c1c1c;
    clip-path: inset(-1px -100vmax);
    color: #fff;
}

.info-block.bg-dark-alt .info-header h3 {
    color: #fff;
}

.info-block.bg-dark-alt .line-decorator {
    display: none;
}

.info-block.bg-dark-alt .text p,
.info-block.bg-dark-alt .info-content .text {
    color: #ccc;
}

.info-block.bg-dark .info-header h3 {
    color: #fff;
}

.info-block.bg-dark .line-decorator {
    display: none;
    /* Oculta a linha decoradora nas seções escuras */
}

.info-block.bg-dark .text p,
.info-block.bg-dark .info-content .text {
    color: #ccc;
}

.info-header h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-bg);
    margin-bottom: 0.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 3fr 2.5fr;
    gap: 4rem;
    align-items: flex-start;
}

.image-placeholder {
    aspect-ratio: 16/9;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-weight: 700;
    border-radius: 8px;
}

.info-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-small);
}

.context .info-image,
#curiosidades .info-image {
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Garantir alinhamento no topo do grid */
.grid-2 .media {
    align-self: start;
}

.grid-2 .text {
    align-self: start;
}

/* Asset/Patch Grids */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (min-width: 1200px) {

    /* If more than 4 items, force 4 columns */
    .asset-grid:has(> :nth-child(5)) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.asset-card {
    background-color: transparent;
    border: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dropdown-link {
    padding: 10px 15px;
    color: var(--color-bg);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
}

.dropdown-link:hover {
    background-color: #f5f5f5;
    padding-left: 20px;
    /* Slide effect */
}

.dropdown-link.active {
    background-color: var(--color-bg);
    color: #fff;
    font-weight: 700;
}

.asset-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #222;
    display: block;
    margin-bottom: 4px;
    /* Slightly more space now that it's below */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.asset-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: #888;
    display: block;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.asset-preview {
    font-family: var(--font-body);
    font-weight: 500;
    color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: -1;
    /* Move image to top */
    margin-bottom: 1.5rem;
}

.asset-card .asset-icon {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Clarear textos em seções de fundo escuro */
.info-block.bg-dark .asset-label,
.info-block.bg-dark-alt .asset-label {
    color: #fff;
    /* Label branca no fundo escuro */
}

.info-block.bg-dark .asset-subtitle,
.info-block.bg-dark-alt .asset-subtitle {
    color: #aaa;
    /* Subtítulo cinza claro no fundo escuro */
}

/* Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    /* Clip overflowing images */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the square without distortion */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

/* Shimmer Animation for Placeholders */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-load 2s infinite;
}

@keyframes shimmer-load {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Credits/Sources */
/* Credits/Sources - Definido mais abaixo para sobrescrever */

/* Créditos e Fontes movidos para seção consolidada no final do arquivo */

/* Responsive Overrides */
@media (max-width: 968px) {

    .spotlight-main,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .uniform-name {
        font-size: 2rem;
    }

    .season-hero {
        padding-top: 380px;
        /* Adjusted for the stacked mobile header */
        height: auto;
        padding-bottom: 4rem;
        overflow: hidden;
        /* Prevent background text overflow */
    }

    .season-hero .bg-text {
        font-size: 80vw;
        /* Larger relative to screen but clipped */
        transform: translateY(0);
        opacity: 0.02;
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Slightly more transparent to show blur */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    font-family: var(--font-body);
    z-index: 9002;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Cursor Feedback for Zoomable Elements */
#spotlight-img,
#spotlight-player-img,
.mockup-view img,
.player-cutout img,
.gallery-item img,
.asset-icon,
.info-image {
    cursor: zoom-in;
}

/* Hover effect removed while maintaining clickability */



/* Botões de Seleção de Uniforme - Estados de Bloqueio */
.jersey-btn.locked {
    background-color: #f5f5f5;
    color: #888;
    border-color: #ddd;
    cursor: pointer;
}

.jersey-btn.locked:hover {
    background-color: #eee;
    color: #666;
    border-color: #ccc;
    transform: none;
}

.lock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* margin-left: 6px; -- Movido para gap do pai */
    vertical-align: middle;
    opacity: 0.8;
    transform: translateY(1px); /* Ajuste fino para descer o ícone */
}

.lock-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor; /* Cor cinza harmonizada com o texto */
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 9001;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow-svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

.lightbox-nav:hover .lightbox-arrow-svg {
    stroke-width: 3;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        padding: 0;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Lightbox Caption */
.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 300px;
    white-space: nowrap;
    border: none;
    z-index: 9002;
    transition: opacity 0.3s ease;
    text-align: center;
}

.caption-description {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
    white-space: normal;
    line-height: 1.2;
}

.caption-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.caption-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.caption-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.caption-separator {
    opacity: 0.4;
    font-size: 0.6rem;
}

.bottom-row .caption-item {
    font-size: 0.75rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .lightbox-caption {
        width: 90%;
        bottom: 1rem;
        white-space: normal;
        text-align: center;
    }

    .caption-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Season Navigation (Side Arrows) */
.season-navigation {
    position: fixed;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 900;
    /* High z-index but below modal */
    pointer-events: none;
    /* Allow clicks through empty space */
    display: flex;
    justify-content: space-between;
    padding: 0; /* Colado nas bordas da tela */
    box-sizing: border-box;
    left: 0;
    border-top: none !important;
}

.nav-arrow {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Padrão para a seta esquerda */
    gap: 1.2rem; /* Mais espaço entre seta e texto */
    text-decoration: none;
    color: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    height: 64px; /* Altura reduzida para um perfil mais elegante */
    min-width: 180px;
    border-radius: 12px;
    padding: 0 8px; /* Seta quase na borda do botão */
}

.nav-arrow:hover {
    color: #181818;
    background: rgba(255, 255, 255, 0.8);
    /* White with transparency */
    backdrop-filter: blur(2px);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
    /* Light shadow */
}

.arrow-svg {
    width: 30px;
    height: 60px; /* Volta a ser grande no estado normal */
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-arrow:hover .arrow-svg {
    width: 20px;
    height: 40px; /* Reduz no hover */
    stroke-width: 2.5;
    /* Transform removido daqui para ser específico por direção abaixo */
}

/* Seta entra um pouco para dentro no hover para não ficar colada */
.nav-arrow.prev:hover .arrow-svg {
    transform: translateX(12px);
}

.nav-arrow.next:hover .arrow-svg {
    transform: translateX(-12px);
}

.nav-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    /* Reduced from 1.5rem */
    color: #181818;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

/* Previous (Left) Logic */
.nav-arrow.prev {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.nav-arrow.prev .nav-text {
    transform: translateX(-10px);
}

.nav-arrow.prev:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

/* Next (Right) Logic */
.nav-arrow.next .nav-text {
    transform: translateX(10px);
}

.nav-arrow.next:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-arrow.next {
    justify-content: flex-end; /* Seta direita para a borda externa */
    text-align: right;
    margin-left: auto;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

@media (max-width: 768px) {
    .season-navigation {
        display: none;
        /* Hide on mobile to avoid clutter */
    }
}

/* Variations Navigation (Camisa, Short, Meião) */
.variations-nav-grid {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-radius: 0;
    background-color: transparent;
    /* Ensure no border */
    border: none !important;
    box-shadow: none;
}

.var-nav-item {
    width: 150px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.var-nav-item.active {
    opacity: 1;
    transform: translateY(-5px);
}

/* =========================================
   CREDITS & SOURCES SECTION STYLING
   ========================================= */

.credits-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
    color: #e0e0e0;
    border-top: none !important;
}

.credits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.credits h4,
.sources h4 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.credits ul,
.sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Group Titles (e.g. "Pesquisa") */
.credit-group-title,
.source-group-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #666;
    /* Muted gray for headers */
    margin-top: 2rem;
    /* Vertical spacing between blocks */
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.credit-group-title:first-child,
.source-group-title:first-child {
    margin-top: 0;
}

/* Items (e.g. "★ Vitor") */
.credit-item,
.source-item {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    /* Slight indent */
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.source-item a {
    color: #fff !important;
    text-decoration: none;
    border-bottom: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.source-item a:visited {
    color: #fff !important;
}

.source-item a:hover {
    opacity: 0.8;
}

.credits-section a {
    color: #fff !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credits-section a:visited {
    color: #fff !important;
}

.external-link-icon {
    width: 14px;
    height: 14px;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credits-section a:hover .external-link-icon {
    opacity: 1;
    transform: translate(2px, -2px);
}

.credits-section a:hover {
    opacity: 1;
    color: #fff !important;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .credits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .credits-section {
        padding: 4rem 1.5rem;
    }
}


/* MODAL DE UPGRADE / BLOQUEIO */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-family: var(--font-brand);
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
}

.modal-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-upgrade {
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-upgrade:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-cancel {
    background: transparent;
    color: #888;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #000;
}

/* ============================================
   SEASON PAGE - TABLET RESPONSIVE (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {

    /* Hero Section */
    .season-hero {
        height: auto;
        min-height: auto;
        padding-top: 200px;
        padding-bottom: 2rem;
    }

    .season-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .season-info {
        padding: 0 1rem;
    }

    .season-player {
        justify-content: center;
    }

    .player-img {
        height: 35vh;
        max-height: 350px;
        transform: translateY(10px);
    }

    /* Collection Nav */
    .collection-nav-wrapper {
        margin-bottom: 2rem;
    }

    .collection-nav {
        gap: 1.5rem !important;
        padding: 0 1rem;
        justify-content: flex-start !important; /* Permite scroll horizontal */
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .collection-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .nav-btn {
        font-size: 0.85rem;
        padding: 0.75rem 0;
        white-space: nowrap !important; /* Impede quebra de texto */
        flex-shrink: 0 !important;
    }

    /* Spotlight Section */
    .spotlight-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .jersey-preview-large {
        height: auto;
        min-height: 350px;
        margin-left: 0;
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
    }

    .spotlight-player {
        height: auto;
        max-height: 300px;
        transform: none;
    }

    .spotlight-player img {
        max-height: 280px;
    }

    .main-jersey-img {
        max-height: 320px;
        margin-left: 0;
        margin-top: -50px;
    }

    .spotlight-details {
        text-align: center;
        padding: 0 1rem;
    }

    .uniform-name {
        font-size: 1.8rem;
    }

    /* Variations Board */
    .variations-board {
        flex-direction: column;
        gap: 1rem;
    }

    .variation-item {
        padding: 1rem;
    }

    /* Grid-2 (Contexto, Curiosidades) */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-2 .media {
        order: -1;
    }

    .info-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .context .info-image,
    #curiosidades .info-image {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Asset Grids */
    .asset-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    /* Photo Gallery */
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    /* Variations Nav Grid */
    .variations-nav-grid {
        gap: 1rem;
        padding: 1rem;
    }

    .var-nav-item {
        width: 100px;
    }

    .var-number {
        font-size: 1.8rem;
    }

    /* History Items */
    .history-row-top,
    .history-row-mid,
    .history-row-base {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1rem;
        text-align: center;
    }

    .history-number {
        font-size: 4rem;
        margin: 0 auto 1rem;
    }

    .base-caption {
        margin-left: 0;
    }

    .col-mockups {
        flex-direction: column;
        align-items: center;
        transform: none;
    }

    .mockup-view:first-child {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    /* Credits Section */
    .credits-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

/* ============================================
   SEASON PAGE - MOBILE RESPONSIVE (max-width: 576px)
   ============================================ */
@media (max-width: 576px) {

    /* Hero Section */
    .season-hero {
        padding-top: 160px;
        padding-bottom: 1.5rem;
    }

    .season-title {
        font-size: 1rem;
    }

    .season-intro {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .player-img {
        height: 28vh;
        max-height: 280px;
    }

    /* Collection Nav */
    .collection-nav {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .nav-btn {
        font-size: 0.65rem;
        padding: 0.6rem 0;
        letter-spacing: 0.5px;
    }

    /* Spotlight */
    .jersey-preview-large {
        min-height: 280px;
    }

    .spotlight-player img {
        max-height: 220px;
    }

    .main-jersey-img {
        max-height: 260px;
        margin-top: -30px;
    }

    .uniform-name {
        font-size: 1.4rem;
    }

    .uniform-description p {
        font-size: 0.85rem;
    }

    /* Variations Board */
    .variations-board {
        padding: 0;
    }

    .variation-item .label {
        font-size: 0.7rem;
    }

    .variation-desc {
        font-size: 0.8rem;
    }

    /* Info Blocks */
    .info-block {
        padding: 2rem 0;
    }

    .info-header h3 {
        font-size: 1.2rem;
    }

    .info-content .text p {
        font-size: 0.9rem;
    }

    /* Asset Grids */
    .asset-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .asset-card {
        padding: 0.5rem;
    }

    .asset-label {
        font-size: 0.65rem;
    }

    .asset-subtitle {
        font-size: 0.6rem;
    }

    /* Variations Nav */
    .variations-nav-grid {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .var-nav-item {
        width: 80px;
    }

    .var-number {
        font-size: 1.5rem;
    }

    .var-thumb img {
        max-height: 80px;
    }

    /* Photo Gallery */
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-item img {
        border-radius: 8px;
    }

    /* History Items */
    .history-number {
        font-size: 3rem;
    }

    .mockup-view {
        max-width: 150px;
    }

    /* Season Navigation */
    .season-navigation {
        padding: 1rem;
    }

    .nav-arrow {
        font-size: 0.75rem;
    }

    .nav-text {
        display: none;
    }
}