/* ===========================================
   HEADER GERAL
=========================================== */
.header-game {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    /* 🔥 Fica flutuando sobre o conteúdo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    /* 🔥 Remove qualquer cor de fundo */
    pointer-events: auto;
    /* ainda permite clicar nos itens */
}

/* LOGO */
.header-left .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.header-left .logo img {
    width: 36px;
    height: 36px;
}

.header-left .logo:hover {
    transform: scale(1.05);
}

/* ===========================================
   HAMBURGER (Mobile)
=========================================== */
.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

.hamburger span {
    height: 4px;
    background: #fff;
    border-radius: 4px;
    transition: .3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ===========================================
   HEADER RIGHT (Busca, Categorias, Avatar)
=========================================== */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BUSCA */
.search-box {
    display: flex;
    align-items: center;
    background: #1c1c1c;
    color: #fff;
    border: 1px solid #333;
    border-radius: 6px;
    font-size: 15px;
}

.search-box:focus-within {
    border-color: var(--primary);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 160px;
    transition: width 0.3s ease;
}

.search-box input:focus {
    width: 200px;
}

/* SELECT CATEGORIAS */
.fixed-categories select {
    background: #1c1c1c;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
}

.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    transition: transform .2s;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: 55px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    width: 180px;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

.user-dropdown a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: background .2s;
}

.user-dropdown a:hover {
    background: #222;
}

/* ===========================================
   MOBILE MENU
=========================================== */
@media (max-width: 1024px) {

    .hamburger {
        display: flex;
    }

    section {
        padding-top: 40px !important;

    }

    .header-right {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        align-items: flex-start;
        padding: 0 20px;
        background: rgba(0, 0, 0, 0.459);
        backdrop-filter: blur(50px);
        transition: .3s ease;
    }

    .header-right.open {
        height: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .search-box input {
        width: 140px;
    }

    .fixed-categories select {
        width: 100%;
    }

    .user-avatar {
        margin-top: 5px;
    }

    #lancamentos .slide-one,
    .slide-image {
        height: 250px !important;
    }


}

/* ===========================================
   MAIN WRAPPER / BACKGROUND
=========================================== */
.main-wrapper {
    margin: 0;
    background: linear-gradient(to right, #211813, #211813);
    height: 100%;
}

.main-wrapper h2 {
    color: white;
}

/* ===========================================
   BANNER
=========================================== */
.banner-wrapper .banner-wrap {
    border-radius: 0;
    height: 70vh !important;
}

/* ===========================================
   LANÇAMENTOS / OWL CAROUSEL
=========================================== */
#lancamentos {
    height: 100%;
    background: linear-gradient(to right, #211813, #211813);
    padding-bottom: 20px;
}

#lancamentos .owl-item {
    border-radius: 0;
    max-width: 180px !important;
    max-height: 200px;
    position: relative;
    z-index: 1;
    transition: 0.5s;
    animation: pageFadeZoom 0.6s ease;
}

/* permite que os itens ultrapassem os limites do carrossel */
#lancamentos .owl-stage-outer,
#lancamentos .owl-stage {
    overflow: visible !important;
}

/* CATEGORIES SLIDER */
.category-slider .owl-stage .owl-item {
    max-width: 180px;
}

.category-wrapper .owl-stage .owl-item {
    max-width: 200px;
}

/* ===========================================
   SECTION SPACING
=========================================== */
section {
    padding-top: 200px;
}

/* ===========================================
   ANIMAÇÕES
=========================================== */
@keyframes fadeSeq {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}