/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #0a0a0a, #000000 65%);
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* NAVBAR */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: #ffffffcc;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #00eaff;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("img/bg_dark.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 40px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #ccc;
    margin-bottom: 20px;
}

/* BOTONES */
.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary {
    background: #00eaff;
    color: #000;
}

.btn-secondary {
    background: #111;
    border: 1px solid #00eaff;
    color: #00eaff;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: scale(1.06);
    box-shadow: 0 0 15px #00eaff;
}

/* SECCIONES */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 80px 0 30px;
}

/* JUEGOS */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 40px 60px;
}

.game-card {
    background: #111;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.game-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* CONTACTO (EMAIL) */
.mail-contact {
    font-size: 1.3rem;
    text-align: center;
    padding-bottom: 50px;
}

.mail-contact a {
    color: #00eaff;
    text-decoration: none;
}

.mail-contact a:hover {
    text-decoration: underline;
}

/* REDES SOCIALES */
.social-section {
    text-align: center;
    padding-bottom: 50px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social {
    padding: 12px 20px;
    border-radius: 8px;
    background: #111;
    color: #00eaff;
    border: 1px solid #00eaff;
    text-decoration: none;
    transition: 0.3s;
}

.social:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px #00eaff;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 40px;
    color: #777;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
}
