/* Variáveis de Cores */
:root {
    --bg-main: #FFFFFF;
    --bg-section: #F4FAF5;
    --green-primary: #087C3B;
    --green-btn: #079447;
    --green-soft: #E7F5EB;
    --text-title: #173B24;
    --text-secondary: #64766A;
    --border-color: #DCE9DF;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-main); color: var(--text-secondary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar { background-color: var(--green-primary); color: white; font-size: 12px; padding: 8px 0; font-weight: bold; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.badge-18 { background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 4px; }

/* Header */
.main-header { border-bottom: 1px solid var(--border-color); background: var(--bg-main); padding: 15px 0; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 800; color: var(--text-title); display: flex; align-items: center; gap: 8px; }
.logo .icon { color: var(--green-primary); }
.main-nav a { text-decoration: none; color: var(--text-secondary); margin-left: 20px; font-weight: 600; font-size: 14px; }
.main-nav a:hover { color: var(--green-primary); }

/* Seções */
.section-carousel, .section-news, .section-demo { margin: 40px 0; }
.section-header h2 { color: var(--text-title); font-size: 20px; margin-bottom: 5px; }
.section-header p { font-size: 13px; color: var(--text-secondary); margin-bottom: 15px; }

/* Carrossel */
.carousel-wrapper { display: flex; align-items: center; position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 10px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.game-card-small { min-width: 200px; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; background: white; transition: transform 0.3s; }
.game-card-small:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.game-card-small img { width: 100%; height: 120px; object-fit: cover; }
.game-card-small .game-info { padding: 10px; }
.game-card-small h3 { font-size: 14px; color: var(--text-title); }
.game-card-small span { font-size: 11px; color: var(--text-secondary); }
.carousel-btn { background: white; border: 1px solid var(--border-color); border-radius: 50%; width: 35px; height: 35px; cursor: pointer; font-size: 18px; color: var(--text-title); z-index: 10; }
.carousel-btn:hover { background: var(--green-soft); }

/* Notícias */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.news-main { position: relative; border-radius: 8px; overflow: hidden; height: 100%; }
.news-main img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }
.news-main .news-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 30px 20px 20px; color: white; }
.category-tag { background: var(--green-btn); color: white; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; text-transform: uppercase; }
.news-main h3 { font-size: 24px; margin: 10px 0; color: white; }
.news-main p { font-size: 14px; color: #ddd; margin-bottom: 10px; }
.read-more { color: var(--green-btn); text-decoration: none; font-weight: bold; font-size: 14px; }
.news-side { display: flex; flex-direction: column; gap: 20px; }
.news-card { display: flex; gap: 15px; background: var(--bg-section); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
.news-card img { width: 120px; height: 100%; object-fit: cover; }
.news-card .news-content { padding: 15px; }
.news-card h4 { font-size: 15px; color: var(--text-title); margin-top: 5px; }

/* Jogos Demo */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.game-card-large { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; background: white; }
.game-card-large img { width: 100%; height: 180px; object-fit: cover; }
.game-card-large .game-info { padding: 15px; text-align: center; }
.game-card-large h3 { font-size: 16px; color: var(--text-title); }
.game-card-large span { font-size: 12px; color: var(--text-secondary); display: block; margin-bottom: 10px; }
.btn-green { display: block; background: var(--green-btn); color: white; text-decoration: none; padding: 10px; border-radius: 6px; font-weight: bold; font-size: 14px; transition: background 0.3s; }
.btn-green:hover { background: var(--green-primary); }

/* Responsividade */
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; } /* Aqui entraria o menu hamburger */
    .game-card-small { min-width: 150px; }
}