/* ================================================= */
/* ===== TEMA ESTÚDIO DARK MODE ==================== */
/* ================================================= */

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    background-color: #0c0c14;
    background-image: url('../assets/fundo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    box-sizing: border-box;
    cursor: url('../mouseico/cursor02.png') 16 16, auto;
}

/* Define o cursor para itens clicáveis */
a, button {
    cursor: url('../mouseico/cursor01.png') 16 16, pointer;
}


h2 {
    font-weight: 700;
    font-size: 1.8em;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(173, 216, 230, 0.3); /* NEON REDUZIDO */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.janela-central {
    width: 90vw;
    max-width: 1080px;
    height: 90vh;
    max-height: 950px;
    margin: 0 auto;
    background-color: rgba(30, 33, 36, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(163, 213, 255, 0.15), 0 0 8px rgba(163, 213, 255, 0.1); /* NEON REDUZIDO */
    border: 1px solid #4a5460;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.content-scroll-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #a3d5ff #2c3034;
}
.content-scroll-wrapper::-webkit-scrollbar {
    width: 8px;
}
.content-scroll-wrapper::-webkit-scrollbar-track {
    background: #2c3034;
}
.content-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #a3d5ff;
    border-radius: 10px;
    border: 2px solid #2c3034;
}


/* =================================================================== */
/* ===== HEADER ====================================================== */
/* =================================================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #3a3f44;
    flex-shrink: 0;
    background-color: rgba(30, 33, 36, 0.8);
}

.header-esquerda {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-esquerda .logo-link {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
}
.header-esquerda .logo-link img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}
.header-esquerda .logo-link .logo-hover {
    opacity: 0;
}
.header-esquerda .logo-link:hover .logo-base {
    opacity: 0;
}
.header-esquerda .logo-link:hover .logo-hover {
    opacity: 1;
}
.header-esquerda .nome-artista {
    font-weight: 700;
    font-size: 1.3em;
    color: #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2); /* NEON REDUZIDO */
}


.header-direita .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
.header-direita .main-nav a {
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: #c0c0c0;
    font-size: 0.9em;
    font-weight: 500;
    padding: 9px 20px;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: color 0.3s ease;
}


.header-direita .main-nav a::before {
    content: '';
    position: absolute;
    z-index: -1;
    background-color: #a3d5ff;
    border-radius: 10px;
    inset: 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 12px rgba(163, 213, 255, 0.3); /* NEON REDUZIDO */
}

.header-direita .main-nav > ul > li > a:hover::before,
.header-direita .main-nav > ul > li > a.active::before {
    transform: translateY(0);
    opacity: 1;
}

.header-direita .main-nav > ul > li > a.active {
    color: #1e2124;
    font-weight: 600;
}
.header-direita .main-nav a:hover {
    color: #ffffff;
}


/* ===== MENU DROPDOWN ===== */
.dropdown-container {
    position: relative;
}
.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.2s ease;
}
.dropdown-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(5px);
    background-color: #2c3034;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    list-style: none;
    padding: 8px;
    margin: 0;
    margin-top: 5px;
    width: max-content;
    min-width: 150px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease-out;
}
.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(5px);
}
.dropdown-menu li {
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
}
.dropdown-menu li a {
    color: #e0e0e0;
    padding: 8px 12px;
    font-size: 0.85em;
    white-space: nowrap;
    display: block;
    overflow: visible;
    transition: color 0.2s ease-in-out;
}
.dropdown-menu li a::before {
    content: none;
}
.dropdown-menu li:hover {
    background-color: #3a3f44;
}
.dropdown-menu li:hover a {
    color: #ffffff;
}


/* ================================================= */
/* CONTEÚDO PRINCIPAL                                */
/* ================================================= */
.main-layout {
    padding: 25px 40px;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}
.about-text { flex: 1; }
.about-photo { flex-basis: 300px; }
.about-photo img { border-radius: 6px; }
.about-photo {
    perspective: 1000px;
}
.about-photo img {
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out;
}
.about-photo:hover img {
    transform: rotateX(8deg) rotateY(-8deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-section {
    background-color: #2c3034;
    padding: 30px 0;
    border-top: 1px solid #3a3f44;
}
.gallery-carousel {
    display: flex;
    align-items: center;
}
.gallery-viewport {
    overflow: hidden;
}
.gallery-images {
    display: flex;
    gap: 20px;
    width: calc(30 * 200px + 29 * 20px);
    animation: scroll 100s linear infinite;
}
.gallery-carousel:hover .gallery-images {
    animation-play-state: paused;
}
.gallery-images img {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #1e2124;
    will-change: transform;
}

.site-footer {
    text-align: center;
    padding: 25px 40px;
    color: #8c8c8c;
    background-color: #2c3034;
    border-top: 1px solid #3a3f44;
    flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-15 * 200px - 15 * 20px)); }
}

/* ===== ESTILOS DA PÁGINA DE JOGOS ===== */
.page-title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #3a3f44;
    text-align: center;
}
.page-title h2 { margin-bottom: 10px; }
.page-title p { margin: 0; color: #8c8c8c; max-width: 80%; margin-left: auto; margin-right: auto; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.game-card-link { text-decoration: none; color: inherit; }
.game-banner { position: relative; overflow: hidden; border-radius: 8px; transition: transform 0.2s, box-shadow 0.2s; background-color: #2c3034; border: 1px solid #3a3f44; }
.game-banner:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.game-banner img { width: 100%; display: block; transition: transform 0.3s ease; }
.game-banner:hover img { transform: scale(1.1); }
.game-description { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: white; padding: 40px 15px 15px 15px; box-sizing: border-box; opacity: 0; transform: translateY(30%); transition: all 0.3s ease-in-out; }
.game-banner:hover .game-description { opacity: 1; transform: translateY(0); }
.game-description h4 { margin: 0 0 5px 0; font-size: 1.1em; color: white; }
.game-description p { margin: 0; font-size: 0.9em; line-height: 1.5; color: #e0e0e0; }


/* ===== ESTILOS GLOBAIS PARA GALERIA MASONRY ===== */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}
.masonry-item {
    margin-bottom: 20px;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-color: #2c3034;
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}
.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 40px 15px 15px 15px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}
.item-overlay p { margin: 0; font-size: 0.9em; }
.masonry-item:hover .item-overlay { transform: translateY(0); }

/* ===== FILTROS da página de jogo ===== */
.filter-btn {
    border: 1px solid #4a5460;
    background-color: transparent;
    color: #c0c0c0;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    cursor: url('../mouseico/cursor01.png') 16 16, pointer;
    transition: all 0.2s ease-in-out;
}

.filter-btn:hover:not(.active) {
    background-color: #3a3f44;
    border-color: #5c6773;
    color: #ffffff;
}
.filter-btn.active {
    background-color: #a3d5ff;
    color: #1e2124;
    border-color: #a3d5ff;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(163, 213, 255, 0.3); /* NEON REDUZIDO */
}


/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
    .janela-central {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }
}
@media (max-width: 768px) {
    .main-layout { padding: 20px; }
    .main-header { flex-direction: column; gap: 15px; padding: 15px; }
    .header-esquerda { order: -1; }
    .about-section { flex-direction: column; text-align: center; }
    .games-grid { grid-template-columns: 1fr; }
    .masonry-grid { column-count: 2; }
}
@media (max-width: 480px) {
    .masonry-grid { column-count: 1; }
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.lightbox-overlay.ativo {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    cursor: default;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}
.lightbox-overlay.ativo img {
    transform: scale(1);
}

/* ... (todo o seu CSS até a seção de filtros) ... */

/* ===== FILTROS da página de jogo (AGORA GLOBAIS) ===== */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid #4a5460;
    background-color: transparent;
    color: #c0c0c0;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    cursor: url('../mouseico/cursor01.png') 16 16, pointer;
    transition: all 0.2s ease-in-out;
}

.filter-btn:hover:not(.active) {
    background-color: #3a3f44;
    border-color: #5c6773;
    color: #ffffff;
}
.filter-btn.active {
    background-color: #a3d5ff;
    color: #1e2124;
    border-color: #a3d5ff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(163, 213, 255, 0.4);
}

/* ... (o resto do seu CSS continua aqui) ... */


/* ================================================= */
/* ===== EFEITO DE BOLHAS NA ENTRADA DO SITE ======= */
/* ================================================= */

.bubble-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background-color: rgba(163, 213, 255, 0.15);
    border: 1px solid rgba(163, 213, 255, 0.2);
    animation: rise linear forwards;
}

@keyframes rise {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh);
        opacity: 0;
    }
}