:root {
    font-size: 16px; /* Base para unidades rem */
	--main-font: 'Academy'; /* Fonte customizada padrão */
	--message-scale: 0.5;
}

.alt-font {
    --main-font: Arial; /* Classe para alternar fonte */
}

@media (max-width: 1920px) {
    :root {
        font-size: calc(12px + 0.2vw); /* Ajuste progressivo */
    }
}

/* Adicione no início do CSS */
@font-face {
    font-family: 'Academy';
    src: url('fonts/Academy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* RESET E GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*background: #0a0a0a;*/
	background: #000000;
	color: white;
    font-family: Arial, sans-serif !important;
	text-shadow: 0 0 1px transparent; /* Remove artefatos de renderização */
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    /*
	padding: 20px 5%;
	*/
	padding: 2.5rem 3%; /* 20px → 1.25rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
}

nav {
    position: relative;
}

/*
.nav-highlight {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
*/

.nav-highlight {
    background: rgba(255,255,255,0.3);
    border-radius: 25px;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: 
        left 0.4s cubic-bezier(0.33, 1, 0.68, 1),
        width 0.4s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.2s linear;
    transform: none !important; /* Remove transformações anteriores */
    top: 0;
    height: 100%; /* Altura fixa baseada nos botões */
}

/* Botão */
.nav-btn {
    background: none;
    border: none;
    color: white;
	font-family: Arial, sans-serif !important;
	text-shadow: 0 0 1px transparent; /* Remove artefatos de renderização */
    letter-spacing: 1px;
	padding: 0.625rem 1.5625rem; /* 10px 25px → 0.625rem 1.5625rem */
    font-size: 1rem; /* 16px → 1rem */
    cursor: pointer;
    position: relative;
    z-index: 1; /* Garante que o botão fique acima do highlight */
}

/* Botão com ícone */
.nav-btn.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1.1rem; /* Espaço extra para o ícone */
    position: relative;
}

.nav-btn.link-btn i {
    font-size: 0.7em;
    opacity: 0.8;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-btn.link-btn span {
    margin-right: 1.2rem;
}

/* Mantenha a animação funcionando */
.nav-btn.link-btn:hover ~ .nav-highlight,
.nav-btn.link-btn:focus ~ .nav-highlight {
    transition-delay: 0s !important;
}

.logo {
    /*
	height: 50px;
	*/
	height: 2rem;
    width: auto;
	transform: scale(1);
}

/* SEÇÕES */
main {
    margin-top: 5rem;
}

section {
    display: none;
    min-height: calc(100vh - 5rem);
    padding: 2.5rem 5%; /* 40px → 2.5rem */
	
	opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.1s;
    position: absolute;
    width: 100%;
}

section.active {
    display: block;
	opacity: 1;
    transform: translateY(0);
    position: relative;
}

section:not(#home) .black-screen {
    display: none !important;
}

/* HOME */
:root {
    --home-scale: 1; /* Reduzi drasticamente a escala */
    --home-max-width: 1400px; /* Reduzi a largura máxima */
	--home-margin-top: -8rem;
}

.hero-image {
    position: relative;
    width: 100%;
    height: calc(100vh - 5rem);
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.base-image,
.overlay-image {
    margin-top: var(--home-margin-top) !important;
    width: auto;
    height: auto;
    max-width: min(90vw, var(--home-max-width));
    max-height: min(80vh, 800px);
    object-fit: contain;
    transform: scale(var(--home-scale));
    margin: auto;
    image-rendering: crisp-edges;
    position: absolute;
	pointer-events: none;
}

/* Camada base */
.base-image {
    z-index: 1; /* Fica abaixo do vídeo */
    display: block; /* Garante visibilidade inicial */
	transition: opacity 0.5s ease;
}

/* Overlay */
.overlay-image {
    z-index: 3; /* Mantém acima de tudo */
    pointer-events: none;
    opacity: 0.9;
}

.hero-image img {
	margin-top: var(--home-margin-top) !important;
    width: auto;
    height: auto;
    max-width: min(90vw, var(--home-max-width));
    max-height: min(80vh, 800px); /* Reduzi a altura máxima */
    object-fit: contain;
    transform: scale(var(--home-scale));
    margin: auto; /* Centralização garantida */
    image-rendering: crisp-edges;
	transition: opacity 0.5s ease !important;
}

/* Vídeo */
.base-video {
    display: none; /* Esconde o vídeo inicialmente */
    margin-top: var(--home-margin-top) !important;
    width: auto;
    height: auto;
    max-width: min(90vw, var(--home-max-width));
    max-height: min(80vh, 800px);
    object-fit: contain;
    transform: scale(var(--home-scale));
    margin: auto;
    image-rendering: crisp-edges;
    position: absolute;
    z-index: 2; /* Fica acima da imagem base */
	transition: opacity 0.5s ease, transform 0.3s ease;
}

/* Interruptor */
.video-switch {
    position: absolute;
    right: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1000;
    transform: scale(calc(var(--home-scale)/1.5));
    transform-origin: bottom right;
    width: 73px; /* Tamanho original da imagem */
    height: 73px;
    overflow: visible;
    pointer-events: auto;
}

.switch-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    right: 0;
    bottom: 0;
    transition: none;
}

/* Estados do botão */
.video-switch[data-state="on"] .switch-icon {
    src: url('assets/switch_on.png');
}

.video-switch[data-state="off"] .switch-icon {
    src: url('assets/switch_off.png');
}

.video-switch:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.video-switch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.video-switch img {
    pointer-events: none;
}

.end-message {
    position: absolute;
    opacity: 0;
    margin-top: var(--home-margin-top) !important;
    width: auto;
    height: auto;
    max-width: min(90vw, var(--home-max-width));
    max-height: min(80vh, 800px);
    object-fit: contain;
    transform: 
        scale(var(--message-scale))
        translateY(calc(var(--home-margin-top) * -1));
    image-rendering: crisp-edges;
    transition: opacity 1.2s ease;
    pointer-events: none;
    z-index: 5;
}

.message-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Herda as transformações do container pai */
    margin-top: var(--home-margin-top) !important;
    transform: scale(var(--home-scale));
}

/* Garantir mesmo tamanho para ambas */
#message1, #message2 {
    transform: 
        scale(var(--message-scale))
        translateY(calc(var(--home-margin-top) * -1));
}


.black-screen {
    pointer-events: none !important;
    position: absolute;
    margin-top: var(--home-margin-top) !important;
    transform: scale(var(--home-scale)) translateY(calc(var(--home-margin-top) * -1));
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4; /* Acima do vídeo, abaixo do overlay */
}


@media (min-width: 2560px) {
    .hero-image img {
        --home-scale: 1;
        --home-max-width: 2400px;
    }
	.base-image,
    .overlay-image {
        --home-scale: 1;
        --home-max-width: 2400px;
    }
	.base-video {
        --home-scale: 1;
        --home-max-width: 2400px;
    }
}

@media (aspect-ratio: 16/9) {
    .hero-image img {
        --home-scale: 0.9;
        transform: scale(var(--home-scale));
    }
	.base-image,
    .overlay-image {
        --home-scale: 0.9;
    }
	.base-video {
        --home-scale: 0.9;
    }
}

@media (max-width: 1600px) {
    .hero-image img {
        --home-scale: 0.55;
        transform: scale(var(--home-scale));
    }
	.base-image,
    .overlay-image {
        --home-scale: 0.55;
    }
	.base-video {
        --home-scale: 0.55;
    }
	
	.end-message {
        transform: 
            scale(calc(var(--home-scale) * 0.05 * 0.55)) 
            translateY(calc(var(--home-margin-top) * -1));
    }
	
	.switch-icon {
        transform: scale(calc(0.55/1.5)) translate(25%, 25%);
    }
}

@media (max-width: 768px) {
    .hero-image img {
        --home-scale: 0.5;
        transform: scale(var(--home-scale));
    }
	.base-image,
    .overlay-image {
        --home-scale: 0.5;
    }
	.base-video {
        --home-scale: 0.5;
    }
	.end-message {
        transform: 
            scale(calc(var(--home-scale) * 0.05 * 0.5)) 
            translateY(calc(var(--home-margin-top) * -1));
    }
	.switch-icon {
        transform: scale(calc(0.5/1.5)) translate(25%, 25%);
    }
}

@media (max-width: 480px) {
    .hero-image img {
        --home-scale: 0.65;
        transform: scale(var(--home-scale)) translateY(15%);
    }
	.base-image,
    .overlay-image {
        --home-scale: 0.65;
        transform: scale(var(--home-scale)) translateY(15%);
    }
	.base-video {
        --home-scale: 0.65;
        transform: scale(var(--home-scale)) translateY(15%);
    }
	.end-message {
        transform: 
            scale(calc(var(--home-scale) * 0.05 * 0.65)) 
            translateY(calc(var(--home-margin-top) * -1 + 15%));
    }
	.switch-icon {
        transform: scale(calc(0.65/1.5)) translate(25%, 25%);
    }
}

@media (orientation: portrait) {
    .hero-image img {
        transform: scale(calc(var(--home-scale) * 0.9)) translateY(12%);
    }
	.base-image,
    .overlay-image {
        transform: scale(calc(var(--home-scale) * 0.9)) translateY(12%);
    }
	.base-video {
        transform: scale(calc(var(--home-scale) * 0.9)) translateY(12%);
    }
	.end-message {
        transform: 
            scale(calc(var(--home-scale) * 0.05 * 0.9)) 
            translateY(calc(var(--home-margin-top) * -1 + 12%));
    }
}


/* CSS DO CARROSSEL REVISADO */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 20px auto;
    padding: 10px 0;
	max-width: 62.5rem; /* 1000px → 62.5rem */
    margin-top: 9.375rem; /* 150px → 9.375rem */
	/*
	max-width: 1000px;
	margin-top: 150px;
	*/
}

.carousel-track {
    position: relative;
	height: 18.75rem;
	transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
	/*
    width: 300px !important;
    height: 300px !important;
	*/
	width: 18.75rem !important; /* 300px → 18.75rem */
    height: 18.75rem !important;
    transform-origin: center;
    overflow: hidden;
    border-radius: 10px;
	transition: 
        left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.6s ease;
    will-change: transform, opacity;
	backface-visibility: hidden;
}

/* Controle total do tamanho das imagens */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantém proporção sem distorcer */
}

/* Posicionamento preciso */
.carousel-item[data-pos="left-2"] {
    left: 5%;
    opacity: 1;
    z-index: 1;
}

.carousel-item[data-pos="left-1"] {
    left: 25%;
    opacity: 1;
    z-index: 3;
}

.carousel-item[data-pos="center"] {
    left: 50%;
	opacity: 1;
    z-index: 5;
}

.carousel-item[data-pos="right-1"] {
    left: 75%;
    opacity: 1;
	z-index: 2;
}

.carousel-item[data-pos="right-2"] {
    left: 95%;
    opacity: 1;
    z-index: 1;
}

/* Setas protegidas */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    padding: 0.625rem 0.9375rem; /* 10px 15px → 0.625rem 0.9375rem */
    border-radius: 50%;
    cursor: pointer;
}

.carousel-arrow.prev { left: -15px; }
.carousel-arrow.next { right: -15px; }

/* Responsividade */
/*
@media (max-width: 768px) {
    .carousel-item {
        width: 120px !important;
        height: 120px !important;
    }
    
    .carousel-item[data-pos="center"] {
        width: 150px !important;
        height: 150px !important;
    }
    
    .carousel-track {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 100px !important;
        height: 100px !important;
    }
    
    .carousel-item[data-pos="center"] {
        width: 120px !important;
        height: 120px !important;
    }
    
    .carousel-track {
        height: 100px;
    }
}
*/

@media (max-width: 768px) {
    .carousel-item {
        width: 7.5rem !important; /* 120px → 7.5rem */
        height: 7.5rem !important;
    }
    
    .carousel-item[data-pos="center"] {
        width: 9.375rem !important; /* 150px → 9.375rem */
        height: 9.375rem !important;
    }
    
    .carousel-track {
        height: 7.5rem; /* 120px → 7.5rem */
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 6.25rem !important; /* 100px → 6.25rem */
        height: 6.25rem !important;
    }
    
    .carousel-item[data-pos="center"] {
        width: 7.5rem !important; /* 120px → 7.5rem */
        height: 7.5rem !important;
    }
    
    .carousel-track {
        height: 6.25rem; /* 100px → 6.25rem */
    }
}

/* SOCIALS */
.social-links {
    position: fixed;
    bottom: 1.875rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    padding: 15px 35px; /* Aumentei o padding */
    gap: 25px; /* Aumentei o espaçamento entre ícones */
    z-index: 1001;
}

/* Fundo como elemento separado */
.social-links::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(70%); /* Aumentei a largura do fundo */
    height: calc(70%); /* Aumentei a altura do fundo */
    border-radius: 17.5px; /* Borda mais arredondada */
    background: rgba(255,255,255,0.15); /* Fundo mais escuro */
    z-index: -1; /* Envia para trás dos ícones */
}

.social-links .fa-twitter {
    color: white !important;
}

.social-links a {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.7;
    transition: 0.3s;
    position: relative; /* Mantém os ícones na frente */
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3))); /* Sutil sombra */
}

.social-links a.disabled-link {
    pointer-events: none; /* Desativa cliques */
    cursor: default;
    opacity: 0.5; /* Opcional - reduz a opacidade para indicar desativado */
}

.social-links a:hover {
    opacity: 1;
}


.magic-eden-icon {
	width: 1.6875rem;
    height: 1.6875rem;
    filter: brightness(0) invert(1) !important;
    opacity: 0.7;
    transition: 0.3s;
}


.magic-eden-icon:hover {
    opacity: 1;
}

/* TITLES */
.collection-title {
    position: relative;
    left: 0;
    text-align: center;
    letter-spacing: 0.3125rem; /* 5px → 0.3125rem */
    top: 0;
    font-size: 3rem;
	font-family: Arial, sans-serif !important;
	text-shadow: 0 0 1px transparent; /* Remove artefatos de renderização */
}




/* ABOUT */
#about {
	overflow: hidden;
}

.about-grid {
    padding: 5rem 2rem 2rem; /* Mesma altura do carrossel */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alterado de center para flex-start */
}

.member {
	text-align: center;
    max-width: 50rem;
	font-family: Arial, sans-serif !important;
	text-shadow: 0 0 1px transparent; /* Remove artefatos de renderização */
}

.member img {
    border-radius: 50%;
    width: 12.5rem; /* Reduzindo um pouco o tamanho */
    height: 12.5rem;
    border: 0.25rem solid rgba(255,255,255,0.15);
}