/* ============================================================
   PlayFree — Hub de jogos
   Tema: dark gamer. Ajuste cores nas variáveis abaixo.
   ============================================================ */

:root {
    --bg: #0b0e1a;
    --bg-2: #12162b;
    --card-bg: #171c36;
    --border: #262c4d;
    --text: #e8eaf6;
    --text-dim: #9aa0c3;
    --accent: #7c5cff;
    --accent-2: #00e0b2;
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--accent-2); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 14, 26, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 14px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.main-nav { display: flex; gap: 28px; }

.main-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
    padding: 110px 0 90px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% -10%, rgba(124, 92, 255, 0.25), transparent),
        radial-gradient(ellipse 40% 40% at 80% 10%, rgba(0, 224, 178, 0.12), transparent),
        var(--bg);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-2);
    background: rgba(0, 224, 178, 0.08);
    border: 1px solid rgba(0, 224, 178, 0.25);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(34px, 6vw, 58px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 18px;
    color: var(--text-dim);
}

.btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124, 92, 255, 0.5);
}

/* ---------- Seção de jogos ---------- */
.games-section { padding: 80px 0; background: var(--bg-2); }

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 48px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.game-card-link { display: block; text-decoration: none; color: inherit; }

.game-thumb {
    position: relative;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-thumb-emoji { font-size: 56px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)); }

.game-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.game-badge-soon {
    background: #3a3f63;
    color: var(--text-dim);
    box-shadow: none;
}

.game-info { padding: 20px 22px 24px; }

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-desc {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-2);
    background: rgba(0, 224, 178, 0.08);
    border: 1px solid rgba(0, 224, 178, 0.2);
    padding: 5px 12px;
    border-radius: 999px;
}

.game-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

/* ---------- Sobre ---------- */
.about-section { padding: 80px 0; }

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    margin-top: 44px;
}

.about-item {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 24px;
}

.about-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.about-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 17px;
    margin-bottom: 8px;
}

.about-item p { font-size: 14px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer {
    background: #080a14;
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 8px;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover { color: var(--accent-2); }

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
    padding-top: 22px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 640px) {
    .main-nav { display: none; }
    .hero { padding: 80px 0 60px; }
    .hero-subtitle { font-size: 16px; }
}
