/* Variáveis de Cores baseadas nas imagens */
:root {
    --bg-dark: #161616;
    --bg-darker: #0d0d0d;
    --nav-blue: #00a8cc;
    --nav-blue-dark: #008ba8;
    --sub-nav-bg: #2d2d2d;
    --text-light: #f5f5f5;
    
    --btn-blue: #29b6f6;
    --btn-cyan: #26c6da;
    --btn-green: #66bb6a;
	/* Adicione estas linhas DENTRO do seu :root { ... } existente */
    --card-bg: #1a1a1a;
    --card-green: #5a9b71;
    --card-brown: #8a6246;
    --card-blue: #4a7596;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
   
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

a{
	color:#FFF;
	text-decoration: none;
	
}



/* Navegação Principal */
.navbar {
    background-color: var(--nav-blue);
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
	border-bottom:5px solid var(--nav-blue-dark);
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

a.logo img{
	max-height: 25px !important;
	}
a.logo{
    text-decoration:none;
}

.nav-menu {
    flex-grow: 1;
    margin-left: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
	position: relative;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 20px 15px;
    display: inline-block;
}

.footer .nav-links li a {
    padding: 0px !important;
  
}

.nav-links li a:hover, .nav-links li a.active {
    background-color: var(--nav-blue-dark);
	border-bottom-color: var(--nav-blue-dark);
}

/* Menu de Autenticação */
.auth-menu {
    display: flex;
    gap: 15px;
}

.auth-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Sub-navegação escura */
.sub-navbar {
    background-color: var(--sub-nav-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.sub-navbar ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    padding: 10px 20px;
    gap: 20px;
}

.sub-navbar a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
}

.sub-navbar a:hover {
    color: white;
}

/* Seção Hero (Apresentação) */
.hero {
    background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 2px solid #222;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    font-size: 16px;
    transition: filter 0.2s;
}

.btn:hover {
    filter: brightness(1.1);
}

.btn-blue { background-color: var(--btn-blue); }
.btn-cyan { background-color: var(--btn-cyan); }
.btn-green { background-color: var(--btn-green); }

/* --- Estilos da Página de Produtos --- */
.products-section {

	width: 100%;
	    max-width: 1200px;
	    margin: 40px auto;
	    justify-content: space-between;
	    padding: 0 20px;
	
   
}


.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-header h2 {
    font-size: 2.5rem;
    color: white;
}

/* Sublinhado no título igual à imagem */
.products-header h2 span {
    border-bottom: 4px solid #8c7362;
    padding-bottom: 2px;
}

.products-header p {
    color: #a0a0a0;
    margin-top: 15px;
    font-size: 1.05rem;
}

/* Grid Flexível */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cartões Base */
.product-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a2a;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Topo do Cartão (Cores) */
.card-top {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
	
	/* 2. Múltiplas Sombras (A Mágica acontece aqui) */
	box-shadow: 
	    inset 0 -150px 100px -20px rgba(0, 0, 0, 0.85), /* Degradê escuro de baixo para cima (perfeito para ler textos) */
	    inset 0 0 20px rgba(0, 0, 0, 0.3), /* Vinheta: escurece levemente todas as bordas internas */
	    0 15px 35px rgba(0, 0, 0, 0.4); /* Sombra 3D externa para o banner "saltar" do fundo do site */

	/* 3. Garante que os efeitos internos não vazem das bordas arredondadas */
	overflow: hidden;
	position: relative;
	
}

.green-bg { background-color: var(--card-green); }
.brown-bg { background-color: var(--card-brown); }
.blue-bg { background-color: var(--card-blue); }
.red-bg { background-color: var(--card-red); }
.yellow-bg { background-color: var(--card-yellow); }

.icon-placeholder {
    width: 90px;
    height: 90px;
    background-color: rgba(0,0,0,0.15);
    border-radius: 20px;
    /* Aqui você adicionará as imagens png dos blocos depois */
}

/* Tag de Early Access */
.early-access {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #f6a849;
    color: #2b1d0d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Corpo do Cartão (Textos) */
.card-bottom {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-bottom h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
}

.description {
    color: #c4c4c4;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; /* Empurra o rodapé para baixo */
}

.requires {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.requires i {
    color: #6a8ea8;
}

.rating {
    color: #f6a849;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.rating span { color: #888; font-weight: normal; }

/* Rodapé do Cartão (Preço e Link) */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2a2a2a;
    font-weight: 700;
}

.price { font-size: 1.2rem; }
.price-green { color: #88d4aa; }
.price-brown { color: #d6997b; }
.price-blue { color: #91c7f0; }

.learn-more {
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}
.learn-more:hover { opacity: 0.7; }

.link-green { color: #88d4aa; }
.link-brown { color: #d6997b; }
.link-blue { color: #91c7f0; }



/* --- Estilos da Página do Produto Individual --- */

.single-product-container {

	width: 100%;
	    max-width: 1200px;
	    margin: 40px auto;
	    justify-content: space-between;
	    padding: 0 20px;
	
}

/* Banner do Produto */
.product-banner {
    height: 180px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #2a2a2a;
    border-bottom: none;
}

.large-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Layout dividido: Conteúdo e Sidebar */
.product-content-wrapper {
    display: flex;
    gap: 30px;
    background-color: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 0 0 12px 12px;
    padding: 20px;
}

.product-main-details {
    flex: 2; /* Ocupa 2/3 do espaço */
}

.product-sidebar {
    flex: 1; /* Ocupa 1/3 do espaço */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Títulos e Textos Principais */
.pixel-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 5px;
}

.tagline {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin: 0px;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.product-description-content h3 {
    color: white;
    font-size: 1.4rem;
    margin: 0px 0 10px 0;
}

.product-description-content p {
    color: #c4c4c4;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: #c4c4c4;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--btn-green);
}

/* Estilos da Sidebar */
.sidebar-box {
    background-color: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 25px;
}

.sidebar-box a{
	color:#FFF;
	text-decoration: none;
	
}

.purchase-box {
    text-align: center;
}

.price-big {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.subscription-note {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

/* Botão do Stripe */
.btn-stripe-checkout {
    background-color: #635BFF; /* Cor oficial do Stripe */
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-stripe-checkout:hover {
    background-color: #5851df;
}

.secure-note {
    color: #666;
    font-size: 0.8rem;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.info-box h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    color: #a0a0a0;
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #222;
    padding-bottom: 8px;
}

.info-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-list li strong {
    color: white;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .product-content-wrapper {
        flex-direction: column;
        padding: 20px;
    }
}

        .banner-cover {
			width: 100%;
			    height: 300px;
			    background-size: cover;
			    background-position: center;
			    border-radius: 12px;
			    margin-bottom: 0px;
			    display: flex;
			    align-items: flex-end;
			    padding: 20px;
			    box-sizing: border-box;

			    /* 2. Múltiplas Sombras (A Mágica acontece aqui) */
			    box-shadow: 
			        inset 0 -150px 100px -20px rgba(0, 0, 0, 0.85), /* Degradê escuro de baixo para cima (perfeito para ler textos) */
			        inset 0 0 20px rgba(0, 0, 0, 0.3), /* Vinheta: escurece levemente todas as bordas internas */
			        0 15px 35px rgba(0, 0, 0, 0.4); /* Sombra 3D externa para o banner "saltar" do fundo do site */

			    /* 3. Garante que os efeitos internos não vazem das bordas arredondadas */
			    overflow: hidden;
			    position: relative;
        }
        .subscription-box-info {
            background: #111;
            border: 1px solid #29b6f6;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
        }
        .expired-warning {
            background: rgba(255, 77, 77, 0.1);
            border: 1px solid #ff4d4d;
            border-radius: 8px;
            padding: 12px 15px;
            color: #ff6b6b;
            font-size: 0.9rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
		
		  .product-tabs { display: flex; gap: 10px; border-bottom: 1px solid #333; margin-top: 20px; margin-bottom: 20px; }
        .product-tabs a { padding: 10px 20px; color: #a0a0a0; text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; transition: 0.2s; }
        .product-tabs a.active, .product-tabs a:hover { color: #29b6f6; border-bottom-color: #29b6f6; }
        .review-card { background: #1a1a20; border: 1px solid #2a2a35; border-radius: 6px; padding: 15px; margin-top: 15px; }
        .update-card { background: #1a1a20; border: 1px solid #2a2a35; border-radius: 6px; padding: 20px; margin-top: 20px; }
        .update-version { background: #29b6f6; color: #000; padding: 3px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
		
		        .form-config label { display: block; color: #a0a0a0; margin-bottom: 5px; font-size: 0.9rem; margin-top: 15px; }
        .form-config input, .form-config textarea { width: 100%; padding: 12px; border-radius: 4px; border: 1px solid #333; background: #121212; color: white; box-sizing: border-box; }
        .tab-menu a.active { color: #29b6f6 !important; font-weight: bold; border-left: 3px solid #29b6f6; padding-left: 10px; }
		/* Área de Título e Versão */
.product-title-area {
    margin-top: 20px;
    margin-bottom: 0px;
}

.pixel-title {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
}

.product-version-tag {
    font-size: 1.5rem;
    color: #888;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

.product-main-details .tagline {
    border-bottom: none;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Abas coladas no quadro de conteúdo */
.product-tabs {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: -2px !important; /* Remove espaçamento entre as abas e o card */
    padding-left: 5px;
}

.product-tabs a {
    padding: 12px 20px;
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
    font-size: 1rem;
}

.product-tabs a.active, .product-tabs a:hover {
    color: #29b6f6;
    border-bottom-color: #29b6f6;
}

/* Garante que o painel de conteúdo abaixo se conecte perfeitamente com as abas */
.product-content-wrapper {

}

/* =========================================
   ESTILOS DO DROPDOWN DE IDIOMAS
   ========================================= */

/* O item da lista que segura o dropdown */
.language-selector {
    position: relative;
    display: inline-block;
	margin-left:auto;
}

/* Oculta o menu flutuante por padrão */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--nav-blue-dark); /* Fundo escuro do site */
    min-width: 150px;
    border-radius: 0px 0px 8px 8px ;
    z-index: 1000;
    right: 0; /* Faz a caixa abrir alinhada à direita do botão */
    overflow: hidden;
    border: 1px solid var(--nav-blue-dark); /* Borda azul piscina */
    border-top: -1px;
    margin-top: 0px;
}

/* Estilo dos links dentro do dropdown */
.dropdown-content a {
	width:100%;
    color: #ffffff;
    padding: 12px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre a bandeira e o texto */
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

/* Efeito ao passar o mouse dentro das opções do dropdown */
.dropdown-content a:hover {
    background-color: #29b6f6;
    color: #ffffff;
}

/* Mostra o menu flutuante quando passa o mouse no seletor principal */
.language-selector:hover .dropdown-content {
    display: block;
}

/* Limpa o formulário para não dar margens extras */
.dropdown-content form {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Transforma o botão visualmente em um link */
.lang-btn {
    background: none;
    border: none;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

/* O mesmo efeito Hover de antes */
.lang-btn:hover {
    background-color: #29b6f6;
    color: #ffffff;
}

/* Barra Superior de Administrador */
.admin-top-bar {
    background-color: #0b0f19;
    border-bottom: 1px solid #1f2937;
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 8px 20px;
    width: 100%;
    position: relative;
    z-index: 1001;
}

.admin-top-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-top-left span {
    color: #f59e0b; /* Tom dourado/amarelo de destaque para Admin */
    font-weight: 600;
}

.admin-top-links {
    display: flex;
    gap: 20px;
}

.admin-top-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.admin-top-links a:hover {
    color: var(--btn-blue);
    text-decoration: underline;
}

/* ==========================================================
   DROPDOWN DO UTILIZADOR (PADRÃO SELETOR DE IDIOMAS)
   ========================================================== */

.user-dropdown-container {
    position: relative;
    display: inline-block;
}

/* Cria uma ponte invisível para o mouse não perder o hover no espaço em branco */
.user-dropdown-container::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px; /* Cobre os 10px de margin-top */
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Botão de Toggle (Nome e setinha) */
.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    
    /* AUMENTE ESTE PADDING: 
       Isso fará o fundo escuro crescer para cima e para baixo. 
       Vá testando (ex: 15px, 18px, 20px) até ele bater no limite exato da navbar. */
    padding: 18px 15px; 
   
    /* Zere o arredondamento para ficar perfeitamente reto em cima, igual ao idioma */
    border-radius: 0; 
}

/* AJUSTE IMPORTANTÍSSIMO: 
   Mude de ".user-dropdown-toggle:hover" para aplicar o hover no CONTAINER. 
   Isso mantém o botão escuro enquanto o usuário navega na lista abaixo. */
.user-dropdown-container:hover .user-dropdown-toggle {
    color: #ffffff;
    background-color: var(--nav-blue-dark);
}

.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.user-name {
    font-weight: 600;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 2px;
}

/* Caixa Flutuante: IDÊNTICA ao .dropdown-content do idioma
*/
.user-dropdown-card {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--nav-blue-dark);
    min-width: 250px;
    z-index: 1000;
    overflow: hidden;
	border-radius: 0px 0px 8px 8px ;
    border: 1px solid var(--nav-blue-dark); /* Borda azul piscina */
    border-top: -1px;
    margin-top: 0px; /* Pequeno ajuste de alinhamento com a Navbar */
	
}

/* Mostrar ao passar o mouse */
.user-dropdown-container:hover .user-dropdown-card {
    display: block;
}



/* Cabeçalho do Perfil (Foto, nome e cargo) */
.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--nav-blue-dark);
}

.avatar-wrapper {
    position: relative;
}

.dropdown-avatar-lg {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}

/* Ponto Online */
.status-indicator.online {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: var(--btn-cyan, #26c6da);
    border: 2px solid var(--sub-nav-bg, #2d2d2d);
    border-radius: 50%;
}

.dropdown-user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-username {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Tags de Cargo */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}

.badge-admin {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-user {
    background: rgba(102, 187, 106, 0.15);
    color: #66bb6a;
}

/* Divisores minimalistas */
.dropdown-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0;
}

/* Reset de formatação da lista */
.dropdown-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Links do Dropdown: IDÊNTICO ao .dropdown-content a do idioma */
.dropdown-menu-list li a,
.dropdown-logout {
    width: 100%;
    color: #ffffff;
    padding: 12px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu-list li a i,
.dropdown-logout i {
    width: 18px;
    text-align: center;
}

/* Estilos Padrão para os botões coloridos antes do Hover */
.dropdown-menu-list li a.admin-link {
    color: #f59e0b;
}

.dropdown-logout {
    color: #ff6b6b;
}

/* Efeito Hover: Fundo Azul e Letra Branca - IDÊNTICO ao idioma */
.dropdown-menu-list li a:hover,
.dropdown-logout:hover {
    background-color: var(--btn-blue, #29b6f6);
    color: #121212;
}

/* Reseta as cores personalizadas ao passar o mouse para manter o padrão azul */
.dropdown-menu-list li a.admin-link:hover,
.dropdown-logout:hover {
    color: #121212;
}

/* EFEITO HOVER BRANCO (Background Branco com Texto Escuro) */
.dropdown-menu-list li a:hover,
.dropdown-logout:hover {
    background-color: #ffffff;
    color: #121212;
}

.dropdown-menu-list li a:hover i,
.dropdown-logout:hover i {
    color: #121212;
}

/* Importa a fonte pixelada do título, caso ainda não tenha no seu <head> */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* =========================================
   HERO SECTION & BACKGROUND
   ========================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    /* Imagem de fundo recuperada do seu código original */
    background-size: cover;
    background-position: center center;
    background-color: transparent;
    color: white;
    padding-top: 30px; 
    padding-bottom: 120px;
    margin-bottom: -30px;
    box-shadow: inset 0 250px 100px -100px hsla(216, 7%, 14%, 0.7);
    z-index: 10;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0; /* Equivale a top:0, left:0, right:0, bottom:0 */
    background-color: hsla(0, 0%, 0%, 0.6);
    z-index: 1;
}

/* =========================================
   BARRAS TRANSVERSAIS (DIAGONAIS)
   ========================================= */
/* Barra Base (Fundo escuro inferior) */
.hero-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 120%;
    height: 120px;
    background-color: var(--bg-dark);
    transform: skewY(-3deg);
    z-index: 3;
}

/* Faixa Translúcida 1 */
.diagonal-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 90px;
    background-color: hsla(0, 0%, 0%, 0.5);
    transform: skewY(-5deg);
    z-index: 2;
}

/* Faixa Translúcida 2 cruzando a primeira */
.diagonal-gradient-bottom::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -10%;
    width: 120%;
    height: 150px;
    background-color: hsla(0, 0%, 0%, 0.5);
    transform: skewY(5deg);
    z-index: 4;
}

/* =========================================
   CONTEÚDO (TEXTOS E BOTÕES)
   ========================================= */
.hero-content {
    text-align: center;
    position: relative;
    /* Z-index 5 garante que o texto fique acima de todas as barras */
    z-index: 5; 
    max-width: 1000px;
    margin: 0 auto 10px auto;
}

.hero-content h1 {
    text-shadow: 1px 1px 2px hsla(216, 7%, 14%, 0.9);
    text-align: center;
    font-family: "VT323", monospace;
    font-weight: 400;
    font-size: 4.2em;
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Container adaptado para seus novos botões */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    position: relative;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Remove a cor de fundo padrão do Autofill do Chrome e mantém o fundo escuro e texto branco */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #222 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   ESTILO DO FOOTER
   ========================================= */
.site-footer {
    background-color: var(--sub-nav-bg); /* Mesma cor do header (#0d0d0d) */
    border-top: 1px solid rgba(0, 0, 0, 0.15); /* Borda apenas no topo */
    border-bottom: none; /* Garante que não haja borda abaixo */
    padding: 15px 0;
    margin-top: auto; /* Garante o alinhamento no rodapé */
    width: 100%;
	
	
	
	
}

.footer-container {

	padding: 0 25px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	width: 100%;
	max-width: 1200px;
	margin: 0px auto;
	justify-content: space-between;
	padding: 0 20px;
	
}

/* Lado Esquerdo */
.footer-left {
    display: flex;
    align-items: center;
}

.footer-brand {
	font-size: 18px;
	font-weight: 800;
	color: white;
}

.footer-brand img {
	max-height: 20px;
}

.footer-left p {
    color: #888888;
    font-size: 0.88em;
    margin: 0;
}

/* Lado Direito */
.footer-right {
    display: flex;
    gap: 20px;
}

.footer-right a {
    color: var(--text-light);
    font-size: 0.9em;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--nav-blue);
}

/* =========================================
   SELETOR DE IDIOMAS DO RODAPÉ
   ========================================= */

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Espaço igual entre o idioma e os links */
}

.footer-lang-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-dropbtn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.2s;
}

.footer-dropbtn:hover {
    color: var(--nav-blue);
}

/* A caixa de opções (Abre para CIMA) */
.footer-dropdown-content {
    display: none;
    position: absolute;
    bottom: 100%; /* Joga a caixa para cima do botão */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px; /* Espaço entre o botão e a caixa */
    background-color: var(--sub-nav-bg, #2d2d2d);
    min-width: 140px;
    border: 1px solid var(--nav-blue-dark);
    border-radius: 4px;
    z-index: 100;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Ponte invisível para o hover não falhar ao subir o mouse */
.footer-lang-selector::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.footer-lang-selector:hover .footer-dropdown-content {
    display: block;
}

/* Botões com as bandeiras */
.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
    background-color: var(--nav-blue-dark);
    color: #ffffff;
}

/* ==========================================================
   ALERTAS DO PAINEL ADMIN
   ========================================================== */

.alert-success,
.alert-error {
    width: 100%;
    padding: 14px 16px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    gap: 12px;

    border-radius: 6px;

    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;

    box-sizing: border-box;

    animation: adminAlertShow 0.25s ease-out;
}


/* ==========================================================
   SUCESSO
   ========================================================== */

.alert-success {
    background: rgba(102, 187, 106, 0.10);

    border: 1px solid rgba(102, 187, 106, 0.35);
    border-left: 4px solid #66bb6a;

    color: #9bd89e;
}

.alert-success i {
    color: #66bb6a;
    font-size: 1.15rem;
    flex-shrink: 0;
}


/* ==========================================================
   ERRO
   ========================================================== */

.alert-error {
    background: rgba(255, 107, 107, 0.10);

    border: 1px solid rgba(255, 107, 107, 0.35);
    border-left: 4px solid #ff6b6b;

    color: #ff9d9d;
}

.alert-error i {
    color: #ff6b6b;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Tools dropdown - não empurra para a direita como o seletor de moeda */
.tools-selector {
    margin-left: 0;
}


/* ==========================================================
   ANIMAÇÃO DE ENTRADA
   ========================================================== */

@keyframes adminAlertShow {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste Responsivo para Celular */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 5px;
    }
}




