/* CSS Reset e Variáveis de Cor */
:root {
    --cor-primaria: #00d4ff;
    --cor-fundo: #0a0a0a;
    --cor-texto: #f0f0f0;
    --cor-card: #1a1a1a;
    --cor-texto-escuro: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { max-height: 50px; }

.nav-list ul {
    display: flex;
    list-style: none;
}

.nav-list ul li { margin-left: 30px; }

.nav-list ul li a {
    text-decoration: none;
    color: var(--cor-texto-escuro);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-list ul li a:hover { color: var(--cor-primaria); }

/* MENU MOBILE */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
}
.mobile-menu-icon div {
    width: 30px;
    height: 3px;
    background-color: var(--cor-texto-escuro);
    margin: 6px 0;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 10vh;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
}

.hero-content h1 span { color: var(--cor-primaria); }

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    background-color: var(--cor-primaria);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0,212,255,0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0,212,255,0.7);
}

/* SEÇÕES */
section { padding: 100px 0; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--cor-primaria);
}

/* SERVIÇOS */
#servicos { background-color: var(--cor-card); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--cor-fundo);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,212,255,0.2);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--cor-primaria);
    margin-bottom: 20px;
}

.btn-servico {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: transparent;
    color: var(--cor-primaria);
    border: 2px solid var(--cor-primaria);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-servico:hover {
    background-color: var(--cor-primaria);
    color: #000;
}

/* ===== JOGOS – ANIMAÇÃO GAMER ===== */
#jogos {
    background: radial-gradient(circle at top, #050b14, var(--cor-fundo));
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    perspective: 1200px;
}

.game-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    background-color: var(--cor-card);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: floatGame 6s ease-in-out infinite;
}

.game-card:nth-child(even) { animation-delay: 3s; }

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0,212,255,0.35), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.game-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.game-card:hover {
    transform: rotateX(8deg) rotateY(-8deg) scale(1.08);
    box-shadow: 0 25px 60px rgba(0,212,255,0.45);
}

.game-card:hover img {
    transform: scale(1.15);
    filter: brightness(1.15);
}

.game-card:hover::before { opacity: 1; }

.game-card:hover .game-title { transform: translateY(0); }

@keyframes floatGame {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* GALERIA */
#galeria { background-color: var(--cor-card); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    padding-bottom: 150%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* COMENTÁRIOS */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.comment-card {
    background-color: var(--cor-card);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--cor-primaria);
}

/* LOCALIZAÇÃO */
#localizacao { background-color: var(--cor-card); }

.map-container {
    border: 2px solid var(--cor-primaria);
    border-radius: 10px;
    overflow: hidden;
}

/* CONTATO */
#contato { background-color: var(--cor-fundo); }

/* RODAPÉ */
footer {
    background-color: #000;
    padding: 40px 0;
    text-align: center;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: #fff;
        transition: right 0.5s;
    }
    .nav-list.active { right: 0; }
    .mobile-menu-icon { display: block; }
    .game-card { animation: none; }
}
