/* =====================================
   VARIABLES
===================================== */
:root{
    --background:#111111;
    --surface:#1d1d1d;
    --primary:#00a8ff;
    --primary-hover:#0093e6;
    --text:#ffffff;
    --text-secondary:#cccccc;
}
.logo{

    display:flex;

    align-items:center;

}
.logo img{

    
    height:70px;
    
    width:auto;

    display:block;

    border-radius: 10px;

    transition:.3s;

}
.logo img:hover{

    transform:scale(1.03);

}

/* =====================================
   BODY
===================================== */
body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:var(--background);
    color:var(--text);
}

/* =====================================
   HEADER
===================================== */
header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(29,29,29,.85);
    backdrop-filter:blur(12px);
    border-bottom:1px solid #222;
}

/* =====================================
   NAV
===================================== */
nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:75px;
    padding:0 35px;
}
nav ul{
    display:flex;
    list-style:none;
    gap:30px;
    margin:0;
    padding:15px;
    height:55px;
}
nav a{
    color:var(--text);
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}
nav a:hover{color:var(--primary);}

/* =====================================
   HERO
===================================== */
.hero{
    position:relative;
    overflow:hidden;
    max-width:900px;
    margin:50px auto;
    padding:120px;
    text-align:center;
    background:linear-gradient(180deg,#1b2334 0%,#151515 60%,#111111 100%);
    border-radius:25px;
    box-shadow:0 0 35px rgba(0,168,255,.15);
    
}
.hero::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    top:-120px;
    left:-120px;
    background:var(--primary);
    filter:blur(180px);
    opacity:.08;
}
.hero h2{
    font-size:42px;
    margin-bottom:20px;
}
.hero-slogan{
    font-size:25px;
    font-style:italic;
    color:var(--primary);
    margin:25px 0;
}
.hero-platforms{
    margin-top:30px;
    font-size:22px;
}
.hero-description{
    max-width:700px;
    margin:30px auto;
    line-height:1.7;
    color:#d5d5d5;
}
.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:40px;
}
.primary-btn{
    display:inline-block;
    margin-top:20px;
    font-size:18px;
    padding:18px 42px;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    border-radius:12px;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,168,255,.30);
}
.primary-btn:hover{
    background:var(--primary-hover);
    transform:translateY(-4px);
}

/* =====================================
   SOCIAL
===================================== */
.social-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:40px;
}
.social{
    width:60px;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:var(--surface);
    border:1px solid #2f2f2f;
    color:#fff;
    text-decoration:none;
    font-size:26px;
    transition:.3s;
}
.social:hover{
    transform:translateY(-8px) scale(1.08);
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}
.discord:hover{background:#5865F2;border-color:#5865F2;}
.support:hover{background:#00b46e;border-color:#00b46e;}
.youtube:hover{background:#ff0000;border-color:#ff0000;}

/* =====================================
   BUSCADOR
===================================== */

.search-box{

    margin:0 30px;

    flex:1;

    max-width:350px;

}

.search-box input{

    width:100%;

    height:42px;

    padding:0 18px;

    border-radius:25px;

    font-size:15px;

    border:1px solid #3b82f6;

    background:#1f1f1f;

    color:white;

}

.search-box input::placeholder{

    color:#8d8d8d;

}

.search-box input:focus{

    box-shadow:0 0 0 2px var(--primary);

}

/* =====================================
   CATALOGO
===================================== */
.games{
    max-width:1200px;
    margin:50px auto;
    padding:20px;
}
.games h2{text-align:center;margin-bottom:20px;}
.catalog-description{
    text-align:center;
    max-width:700px;
    margin:0 auto 40px;
    color:var(--text-secondary);
}

.games-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    align-items:center;

}

/* =====================================
   JUEGOS DESTACADOS
===================================== */

.featured-games{

    border-radius:24px;

    padding:30px;

    border:1px solid rgba(0,140,255,0.45);

    background:
    radial-gradient(
        circle,
        transparent 45%,
        rgba(0,140,255,0.06) 100%);

    box-shadow:
    0 0 30px rgba(0,140,255,0.18);

}

/* =====================================
   TARJETAS
===================================== */
.game-card{
    display:block;
    background:var(--surface);
    color:#fff;
    text-decoration:none;
    border-radius:15px;
    padding:10px;
    text-align:center;
    transition:.3s;
}
.game-card h3{

    margin:5px 0 0;

    font-size:18px;

    line-height:1.2;

}
.game-card p{

    margin:3px 0;

}
.game-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.35);
}

.game-card img{

    width:100%;

    height:180px;

    object-fit:cover;

    border-radius:10px;

}
.game-info{

    display:flex;

    justify-content:center;

    gap:8px;

    flex-wrap:wrap;

    font-size:13px;

    margin-top:3px;

}


.status{

    font-size:14px;

    margin:8px 0;

}
.game-info p{
    margin:10px 0;
    color:var(--text-secondary);
}
.game-button{
    display:block;
    width:100%;
    box-sizing:border-box;
    margin-top:8px;
    padding:8px 20px;
    font-size:14px;
    background:var(--primary);
    color:#fff;
    border-radius:10px;
    font-weight:bold;
    text-align:center;
    transition:.3s;
}
.game-card:hover .game-button{
    background:var(--primary-hover);
}

/* =====================================
   JUEGOS OCULTOS
===================================== */
#more-games{

    display:none;
    margin-top:50px;

}


/* =====================================
   VER MÁS
===================================== */

.more-card{

    background:var(--surface);

    border-radius:15px;

    padding:20px;

    height:200px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:white;

    cursor:pointer;

    border:1px solid rgba(0,140,255,0.35);

    transition:.3s;

}


.more-card:hover{

    transform:translateY(-5px);

    border-color:var(--primary);

    box-shadow:0 0 20px rgba(0,140,255,0.25);

}

.more-card i{

    color:var(--primary);

    font-size:40px;

    margin-bottom:15px;

}


.more-card span{

    font-size:22px;

    font-weight:bold;

}

/* =====================================
   FOOTER
===================================== */
footer{
    text-align:center;
    background:var(--surface);
    padding:40px 20px;
    margin-top:80px;
}
footer h3{
    font-size:28px;
    margin-bottom:15px;
}
footer p{color:var(--text-secondary);}
.footer-links{margin:25px 0;}
.footer-links a{
    color:#fff;
    text-decoration:none;
    margin:0 15px;
    font-weight:bold;
}
.footer-links a:hover{color:var(--primary);}
.copyright{
    font-size:14px;
    margin-top:30px;
}

/* =====================================
   PÁGINA DEL JUEGO
===================================== */

.game-page{

    max-width:1350px;

    margin:30px auto;

    padding:0 25px;

}

.game-container{

    display:flex;

    gap:50px;

    align-items:flex-start;

    background:linear-gradient(180deg,#1b2334 0%,#151515 60%,#111111 100%);

    border-radius:25px;

    padding:10px 45px;

    box-shadow:0 0 35px rgba(0,168,255,.15);

    min-height: 500px;
    
    flex-wrap: wrap;

}

.game-cover{

    flex:0 0 420px;

    width:300px;

    height:430px;

    overflow:hidden;

    border-radius:15px;

}

.game-cover img{
    width:100%;
    height: 100%;
    object-fit:cover;
    display:block;
    border-radius:18px;
    box-shadow:0 10px 35px rgba(0,0,0,.45);
}

.game-details{

    flex:1;

}

.game-details h1{

    display:block !important;

    width:100%;

    font-size:42px;

    margin:0 0 15px 0;


}

.game-platforms{

    color:#00a8ff;

    font-size:20px;

    font-weight:bold;

    margin-bottom:35px;

}

.game-description{

    font-size:20px;

    line-height:1.6;

    color:#ccc;

    margin-bottom:25px;

}

.game-buttons{

    display:flex;

    flex-direction:column;

    gap:15px;
    

}


.original-btn{

    background:#2b2b2b;

    color:white;

    text-decoration:none;

    padding:15px;

    border-radius:12px;

    text-align:center;

    transition:.3s;

}

.download-btn{

    background:var(--primary);

    color:white;

    text-decoration:none;

    padding:15px;

    border-radius:12px;

    text-align:center;

    transition:.3s;

}

.original-btn:hover,
.download-btn:hover{

    transform:translateY(-3px);

}

.screenshots{

    width:100%;

    margin-top:15px;

    padding-top:15px;

    border-top:1px solid rgba(255,255,255,.08);

}

.screenshots h2{

    margin-bottom:25px;

    font-size:32px;

}

.screenshots-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.screenshots-grid img{

    width:100%;

    height:180px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.3s;

    border:2px solid transparent;

}

.screenshots-grid img:hover{

    transform:scale(1.03);

    border-color:#00a8ff;

    box-shadow:0 0 25px rgba(0,168,255,.35);

}

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.9);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

}

/* =====================================
   BUSCADOR DE JUEGOS
===================================== */

.games-search-box{

    position:relative;

    margin:0 30px;

    flex:1;

    max-width:350px;

}

.games-search-box input{

    width:100%;

    height:42px;

    padding:0 18px;

    border-radius:25px;

    font-size:15px;

    border:1px solid #3b82f6;

    background:#1f1f1f;

    color:white;

}

.games-search-box input::placeholder{

    color:#8d8d8d;

}

.games-search-box input:focus{

    box-shadow:0 0 0 2px var(--primary);

}

/* =====================================
   RESULTADOS DEL BUSCADOR
===================================== */

#gamesSearchResults{

    position:absolute;

    top:110%;

    left:0;

    width:100%;

    background:#1a1a1a;

    border:1px solid #2b2b2b;

    border-radius:12px;

    overflow:hidden;

    display:none;

    z-index:9999;

    box-shadow:0 12px 25px rgba(0,0,0,.35);

}

/* Cada resultado */

.games-search-result{

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px 16px;

    cursor:pointer;

    transition:.25s;

}

.games-search-result:hover{

    background:#252525;

}

.games-search-result img{

    width:40px;

    height:60px;

    object-fit:cover;

    border-radius:6px;

}

.games-search-result span{

    color:white;

    font-size:15px;

}

/* =====================================================
   ACERCA DE
=====================================================*/

.about-page{

    max-width:1100px;

    margin:80px auto 80px;

    padding:0 20px;

}

.about-page h1{

    text-align:center;

    font-size:3rem;

    margin-bottom:50px;

}

.about-container{

    display:flex;

    flex-direction:column;

    gap:30px;

}

.about-card,
.faq-card{

    background:var(--surface);

    border:1px solid rgba(0,140,255,.35);

    border-radius:24px;

    padding:30px;

    box-shadow:0 0 30px rgba(0,140,255,.15);

}

.about-hidden,
.faq-hidden{

    display:none;

}


.show{

    display:block;

}


.rotate{

    transform:rotate(180deg);

}
.faq-preview p{

    margin:10px 0;

}
.faq-preview.hide{

    display:none;

}
.about-header,
.faq-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    transition: .25s;
    cursor:pointer;

}

.about-header:hover,
.faq-header:hover{

    background:#242424;

}

.about-header i:last-child,
.faq-header i:last-child{

    transition:.3s;

}

.active i:last-child{

    transform:rotate(180deg);

}

.about-header:hover,
.faq-header:hover{

    border-left:3px solid #3a3a3a;
    padding-left:12px;

}

/* =====================================
   CONTACTO - BOTONES GRANDES
===================================== */

.contact-button{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    min-width:260px;

    padding:18px 35px;

    border-radius:12px;

    color:#fff;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.30);

}


.contact-button:hover{

    transform:translateY(-5px);

}


.contact-discord{

    background:#5865F2;

}


.contact-discord:hover{

    box-shadow:0 10px 30px rgba(88,101,242,.45);

}


.contact-support{

    background:#00b46e;

}


.contact-support:hover{

    box-shadow:0 10px 30px rgba(0,180,110,.45);

}

/* =====================================
   AJUSTE CONTACTO
===================================== */

.about-page h1{

    margin-bottom:20px;

}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width:768px){

    nav{

        flex-direction:column;

        height:auto;

        padding:20px;

        gap:20px;

    }

    .logo img{

        height:60px;

    }

    nav ul{

        width:100%;

        justify-content:center;

        flex-wrap:wrap;

        gap:18px;

        padding:0;

        height:auto;

    }
    .search-box{

    width:100%;

    max-width:320px;

    margin-left: 2px;

}

.hero{

    margin:20px 12px;

    padding:35px 20px;

    border-radius:20px;

}

.hero h2{

    font-size:40px;

    line-height:1.15;

}

.hero-slogan{

    font-size:20px;

    margin:20px 0;

}

.hero-platforms{

    font-size:18px;
    margin-top: 5px;

}

.hero-description{

    font-size:16px;

    margin:10px auto;

}

.hero a{

    position:relative;

    z-index:10;

}
.primary-btn {
    margin-top: 2px;
}

/* =====================================
   juegos en celular
===================================== */
.games{

    padding:15px;

}

.featured-games{

    padding:18px;

}

.games-grid{

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}

.game-card{

    padding:8px;

}

.game-card img{

    height:150px;

}

.game-card h3{

    font-size:16px;

    min-height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

}

.game-info{

    font-size:12px;

}

.game-button{

    padding:10px;

    font-size:14px;

}

footer{

    padding:60px 20px;

}

/* =====================================
   acerca de
===================================== */

.about-card{

    padding:20px;

    border-radius:18px;

}
.about-header h2{

    font-size:22px;

}

.about-content{

    font-size:15px;

    line-height:1.6;

}
.faq-header h2{

    font-size:22px;

}

/* =====================================
   PAGINA INDIVIDUAL DE JUEGOS
===================================== */

.game-container{

    flex-direction:column;
    gap:25px;

}


.game-cover{

    flex:0 0 220px;

    width:300px;

    height:370px;

}

.game-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.game-details{

    text-align:center;

}

.game-details h1{

    font-size:24px;

}

.game-platforms{

    font-size:14px;

}

.game-description{

    font-size:14px;

    line-height:1.6;

}

.game-buttons{

    width:100%;

    display:flex;

    flex-direction:column;

    gap:15px;

}

.game-buttons a{

    width:100%;

    box-sizing:border-box;

}

.screenshots{

    margin-top:30px;

}

.screenshots-grid{

    grid-template-columns:1fr;

    gap:15px;

}

.screenshots-grid img{

    width:100%;

    height:auto;

}

}


@media (min-width:480px) and (max-width:768px){

    .games-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

/* CELULARES PEQUEÑOS */

@media (max-width:380px){

    .featured-games{
        padding:10px;
    }

    .games-grid{
        gap:10px;
    }

    .game-cover{

        width:190px;
        height:270px;
        flex:0 0 270px;

    }

    .game-details h1{

        font-size:24px;

    }

    .game-buttons a{

        font-size:14px;
        padding:10px;

    }

    .about-card{

        padding:15px;

    }

    footer{

        padding:40px 15px;
        

    }

.footer-links{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:nowrap;

}

.footer-links a{

    display:flex;

    align-items:center;

    gap:5px;

    font-size:13px;

    white-space:nowrap;

}

.about-card,
.contact-card{

    width:100%;

    padding:15px;

    box-sizing:border-box;

}

.about-content,
.contact-content{

    font-size:14px;

    line-height:1.5;

}
.about-header h2,
.contact-header h2{

    font-size:18px;

}

.contact-card{

    width:100%;
    max-width:100%;
    overflow:hidden;

}

.contact-card a,
.contact-card button,
.contact-card input,
.contact-card textarea{

    max-width:100%;
    box-sizing:border-box;

}

.faq-header h2{

    font-size:18px;

}

.contact-button{

    display:flex;

    width:100%;

    max-width:100%;

    box-sizing:border-box;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:12px;

    font-size:14px;

    white-space:normal;

}

}