/* --- RESET E VARIÁVEIS --- */
:root {
    --bg-dark: #0f111a;
    --bg-card: #1a1d29;
    --primary: #5e6ad2;
    --accent-green: #00e676;
    --accent-pink: #ff4081;
    --accent-blue: #29b6f6;
    --text-main: #ffffff;
    --text-muted: #a0a3bd;
    --gradient-card: linear-gradient(145deg, #1e2230, #161821);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden; /* Evita rolagem lateral */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: transparent;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-pink); /* "Rosa" na cor Rosa/Magenta */
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.4);
}

nav ul { display: flex; list-style: none; gap: 25px; }
nav a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; transition: 0.3s; font-weight: 600; }
nav a:hover { color: white; }

.auth-buttons { display: flex; gap: 10px; }
.auth-buttons button {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline { background: transparent; border: 1px solid #2d3246; color: white; }
.btn-outline:hover { border-color: white; }

.btn-primary { background-color: #007bff; color: white; background: linear-gradient(90deg, #007bff, #0056b3); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(0, 123, 255, 0.4); }

.mobile-menu-icon { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    flex: 1; /* Ocupa o restante da tela */
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
h1 strong { color: white; } /* Pode mudar para uma cor de destaque se quiser */

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

/* --- GRID DE CARDS --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

/* Links que envolvem os cards */
.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #2d3246;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card-link:hover .game-card {
    transform: translateY(-7px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.game-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Cores específicas dos ícones */
.icon-green { color: var(--accent-green); background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.2); }
.icon-pink { color: var(--accent-pink); background: rgba(255, 64, 129, 0.1); border: 1px solid rgba(255, 64, 129, 0.2); }
.icon-blue { color: var(--accent-blue); background: rgba(41, 182, 246, 0.1); border: 1px solid rgba(41, 182, 246, 0.2); }

.game-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
}

.platform-name {
    color: white;
    font-weight: 800;
    font-size: 1rem;
}

.badge-multiplier {
    float: right;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    color: #000;
}

.badge-green { background-color: var(--accent-green); }
.badge-pink { background-color: var(--accent-pink); color: white; }
.badge-blue { background-color: var(--accent-blue); }

.view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--text-muted);
    border-radius: 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}
.view-all:hover { border-color: white; color: white; background: rgba(255,255,255,0.05); }

/* --- HERO IMAGE --- */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* Efeito de brilho roxo atrás do personagem */
.glow-effect {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(94, 106, 210, 0.4) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: 1;
}

/* Animação suave de flutuar */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- BOTTOM BANNER --- */
.bottom-banner {
    background: linear-gradient(90deg, #aeff00, #ffea00);
    color: #0f111a;
    padding: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
.close-banner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
}

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 900px) {
    header { padding: 1.5rem 20px; }
    nav, .auth-buttons { display: none; } /* Esconde menu desktop */
    .mobile-menu-icon { display: block; color: white; }

    .hero {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 0;
    }

    .hero-content {
        width: 100%;
        margin-top: -20px; /* Sobe um pouco o texto pra perto da imagem */
    }

    h1 { font-size: 2.2rem; }
    .hero-subtitle { margin: 0 auto 2rem auto; }

    .hero-image {
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .hero-image img { max-height: 350px; }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no celular */
    }
}