/* style.css - Lunar Hub Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg: #050505;
    --card: #0a0a0c;
    --border: #222;
    --primary: #8a2be2;
    --accent: #5865F2;
    --text: #ffffff;
    --text-muted: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body { 
    background-color: var(--bg); 
    color: var(--text); 
    overflow-x: hidden; 
}

/* --- ANIMAÇÃO DE SCROLL INFINITA (O SEGREDO) --- */
.hidden-element {
    opacity: 0;
    transform: translateY(100px); /* Empurra pra baixo */
    transition: all 0.6s ease-out; /* Suavidade */
}

.show-element {
    opacity: 1;
    transform: translateY(0); /* Volta pro lugar */
}

/* NAVBAR (Igual em todas as páginas) */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(5,5,5,0.9); backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border);
}
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: white; text-shadow: 0 0 10px var(--primary); }
.header-buttons .btn-discord {
    padding: 8px 15px; border-radius: 5px; border: none; cursor: pointer; 
    font-weight: 600; background: var(--accent); color: white; transition: 0.3s;
}
.header-buttons .btn-discord:hover { background: #4752c4; }

/* HERO (Home) */
.hero { text-align: center; padding: 120px 20px; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 10px; }
.hero span { color: var(--primary); }
.hero p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.btn-cta { 
    background: linear-gradient(45deg, var(--primary), var(--accent)); 
    color: white; padding: 15px 40px; border-radius: 50px; border: none; 
    font-weight: 600; cursor: pointer; font-size: 1.1rem; box-shadow: 0 0 20px rgba(138,43,226,0.3);
}

/* STATS */
.stats-section { padding: 50px 0; }
.stats-container {
    display: flex; justify-content: center; gap: 60px; padding: 40px;
    background: #08080a; margin: 0 10%; border-radius: 15px; border: 1px solid var(--border);
}
.stat-box h2 { font-size: 2.5rem; color: #ffbf00; margin-bottom: 5px; }
.stat-box p { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* GAMES GRID */
.games-section { padding: 80px 10%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; font-weight: 700; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.game-card {
    background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border);
    transition: 0.3s; position: relative;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 5px 20px rgba(138,43,226,0.15); }
.game-bg { height: 140px; background-size: cover !important; background-position: center !important; }
.game-info { padding: 20px; }
.game-info h3 { margin-bottom: 5px; }
.badge { padding: 3px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; background: #333; color: white; display: inline-block; margin-bottom: 10px; }

/* PRICING */
.pricing-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 80px 5%; }
.card { 
    width: 300px; background: var(--card); border: 1px solid var(--border); padding: 40px; 
    border-radius: 15px; text-align: center; position: relative; transition: 0.3s;
}
.card:hover { border-color: var(--accent); transform: scale(1.02); }
.price { font-size: 3rem; color: var(--primary); font-weight: 700; margin: 20px 0; }
.btn-buy { width: 100%; background: var(--border); color: white; padding: 12px; border: none; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.btn-buy:hover { background: var(--primary); }

/* FOOTER */
footer { text-align: center; padding: 40px; border-top: 1px solid var(--border); margin-top: 50px; color: var(--text-muted); }