/* =========================================================
   LIAnalyzer - Games
========================================================= */

.games-page{
    max-width:1180px;
    margin:0 auto;
    padding:110px 28px 70px;
}


/* =========================================================
   HERO
========================================================= */

.games-hero{
    position:relative;
    min-height:300px;
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(560px, .95fr);
    align-items:center;
    gap:38px;
    padding:36px 38px;

    border:1px solid rgba(124,148,190,.20);
    border-radius:28px;

    background:
        radial-gradient(
            circle at 84% 24%,
            rgba(91,75,255,.15),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            rgba(16,25,48,.98),
            rgba(10,17,35,.98)
        );

    box-shadow:
        0 28px 70px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.025);

    overflow:hidden;
}

.games-hero::before{
    content:"";
    position:absolute;
    width:270px;
    height:270px;
    right:-95px;
    top:-125px;
    border:1px solid rgba(122,99,255,.12);
    border-radius:50%;
}

.games-hero::after{
    content:"";
    position:absolute;
    width:210px;
    height:210px;
    right:-65px;
    bottom:-145px;
    border:1px solid rgba(96,165,250,.08);
    border-radius:50%;
}

.games-hero-glow{
    position:absolute;
    width:330px;
    height:330px;
    right:8%;
    top:-160px;
    border-radius:50%;
    background:rgba(98,70,255,.07);
    filter:blur(80px);
    pointer-events:none;
}

.games-hero-content{
    position:relative;
    z-index:2;
    max-width:760px;
}

.games-eyebrow{
    display:inline-block;
    margin-bottom:13px;
    color:#7f9cff;
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}

.games-hero h1{
    margin:0;
    max-width:680px;
    color:#f8fbff;
    font-size:34px;
    line-height:1.1;
    letter-spacing:-1.1px;
}

.games-hero h1 span{
    background:linear-gradient(90deg,#60a5fa,#8b5cf6,#f472b6);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.games-hero p{
    max-width:650px;
    margin:14px 0 0;
    color:#a9b7ce;
    font-size:13px;
    line-height:1.7;
}

.games-hero-stats{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:10px;
    width:90%;
    flex-wrap:wrap;
}

.games-hero-stat{
    min-width:122px;
    padding:12px 14px;
    border:1px solid rgba(116,143,190,.18);
    border-radius:13px;
    background:rgba(14,25,49,.70);
}

.games-hero-stat strong{
    display:block;
    color:#f7f9ff;
    font-size:17px;
    line-height:1;
}

.games-hero-stat span{
    display:block;
    margin-top:6px;
    color:#7f91b0;
    font-size:9px;
}

.games-hero-right{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:210px minmax(0,1fr);
    align-items:center;
    gap:20px;
}

.games-hero-visual{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:220px;
    transform:translateX(-150px);
}

.games-visual-core{
    position:relative;
    z-index:3;
    width:145px;
    height:145px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    border:1px solid rgba(126,111,255,.30);
    border-radius:50%;
    background:linear-gradient(145deg,rgba(37,54,98,.94),rgba(20,25,59,.94));
    box-shadow:0 0 42px rgba(95,72,246,.16);
}

.games-visual-core > span{
    font-size:36px;
}

.games-visual-core strong{
    margin-top:7px;
    color:#eef3ff;
    font-size:14px;
}

.games-visual-core small{
    margin-top:4px;
    color:#7687a7;
    font-size:9px;
}

.games-visual-orbit{
    position:absolute;
    border:1px solid rgba(118,102,255,.14);
    border-radius:50%;
    pointer-events:none;
}

.orbit-one{
    width:185px;
    height:185px;
}

.orbit-two{
    width:225px;
    height:225px;
    border-color:rgba(96,165,250,.07);
}

.games-side-card{
    min-width:0;
    padding:22px;
    border:1px solid rgba(118,144,190,.16);
    border-radius:16px;
    background:linear-gradient(145deg,rgba(19,32,60,.88),rgba(14,24,47,.82));
    box-shadow:0 14px 35px rgba(0,0,0,.12);
}

.games-side-label{
    display:block;
    margin-bottom:7px;
    color:#879cff;
    font-size:8px;
    font-weight:900;
    letter-spacing:1.5px;
}

.games-side-card > strong{
    display:block;
    color:#f4f7ff;
    font-size:16px;
    line-height:1.35;
}

.games-side-card p{
    margin:9px 0 16px;
    color:#8797b2;
    font-size:11px;
    line-height:1.6;
}

.games-side-card a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 14px;
    border:1px solid rgba(96,165,250,.22);
    border-radius:10px;
    background:rgba(20,40,78,.72);
    color:#b9d1ff;
    text-decoration:none;
    font-size:11px;
    font-weight:800;
    transition:.18s ease;
}

.games-side-card a:hover{
    border-color:rgba(96,165,250,.42);
    background:rgba(25,49,94,.92);
}

/* =========================================================
   TOOLBAR
========================================================= */

.games-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

    margin:24px 0;

    padding:12px;

    border:1px solid rgba(118,144,190,.16);
    border-radius:18px;

    background:rgba(15,25,47,.72);
}

.games-search-wrap{
    position:relative;
    flex:1;
}

.games-search-icon{
    position:absolute;
    left:17px;
    top:50%;
    transform:translateY(-50%);

    color:#71819e;

    font-size:20px;

    pointer-events:none;
}

#gameSearch{
    width:100%;
    height:50px;

    box-sizing:border-box;

    padding:0 18px 0 47px;

    border:1px solid rgba(112,139,184,.18);
    border-radius:13px;

    outline:none;

    background:#121f36;

    color:#eaf0fb;

    font-size:13px;

    transition:.2s ease;
}

#gameSearch::placeholder{
    color:#667791;
}

#gameSearch:focus{
    border-color:rgba(96,165,250,.55);

    box-shadow:
        0 0 0 3px rgba(59,130,246,.08);
}

.games-library-count{
    padding:0 15px;

    color:#8291aa;

    font-size:11px;
    font-weight:600;

    white-space:nowrap;
}

.games-status-dot{
    display:inline-block;

    width:7px;
    height:7px;

    margin-right:7px;

    border-radius:50%;

    background:#4ade80;

    box-shadow:0 0 10px rgba(74,222,128,.45);
}


/* =========================================================
   GRID
========================================================= */

.games-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}


/* =========================================================
   GAME CARD
========================================================= */

.game-card{
    position:relative;

    padding:25px;

    border:1px solid rgba(118,144,190,.17);
    border-radius:21px;

    background:
        linear-gradient(
            145deg,
            rgba(16,26,49,.98),
            rgba(12,21,42,.98)
        );

    box-shadow:
        0 15px 40px rgba(0,0,0,.12);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.game-card:hover{
    transform:translateY(-4px);

    border-color:rgba(96,165,250,.34);

    box-shadow:
        0 20px 45px rgba(0,0,0,.20),
        0 0 25px rgba(76,78,255,.06);
}


/* CARD HEADER */

.game-card-top{
    display:flex;
    align-items:center;
    gap:14px;
}

.game-card-icon{
    width:48px;
    height:48px;

    flex:0 0 48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(116,103,255,.28);
    border-radius:14px;

    background:
        linear-gradient(
            145deg,
            rgba(49,92,230,.34),
            rgba(107,56,221,.35)
        );

    font-size:22px;
}

.game-card-label{
    color:#7588aa;

    font-size:9px;
    font-weight:800;
    letter-spacing:1.3px;
}

.game-card-title h2{
    margin:4px 0 0;

    color:#f6f8fd;

    font-size:20px;
    letter-spacing:-.3px;
}


/* TAGS */

.game-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;

    margin-top:18px;
}

.game-tags span{
    padding:6px 10px;

    border:1px solid rgba(96,165,250,.16);
    border-radius:999px;

    background:rgba(25,43,78,.52);

    color:#9cb3d7;

    font-size:10px;
    font-weight:600;
}


/* HARDWARE */

.game-hardware-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;

    margin-top:18px;
}

.game-hardware-stat{
    padding:13px 14px;

    border:1px solid rgba(112,139,184,.13);
    border-radius:12px;

    background:rgba(12,21,40,.55);
}

.game-hardware-stat span{
    display:block;

    color:#7587a5;

    font-size:10px;
}

.game-hardware-stat strong{
    display:block;

    margin-top:4px;

    color:#f1f5ff;

    font-size:14px;
}


/* INTENSITY */

.game-intensity{
    margin-top:20px;
}

.game-intensity-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin:11px 1px 7px;
}

.game-intensity-header span{
    color:#8da0be;
    font-size:11px;
}

.game-intensity-header strong{
    color:#e8edfa;
    font-size:11px;
}

.game-meter{
    width:100%;
    height:6px;

    overflow:hidden;

    border-radius:999px;

    background:#1c2942;
}

.game-meter-fill{
    height:100%;
    border-radius:inherit;
}

.game-meter-fill.cpu{
    background:linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
}

.game-meter-fill.gpu{
    background:linear-gradient(
        90deg,
        #6366f1,
        #b15cff
    );
}


/* =========================================================
   ACTIONS
========================================================= */

.game-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;

    margin-top:23px;
}

.game-primary-btn,
.game-secondary-btn,
.game-hub-btn{
    text-decoration:none;

    box-sizing:border-box;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.game-primary-btn,
.game-secondary-btn{
    min-height:43px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:10px 14px;

    border-radius:11px;

    font-size:11px;
    font-weight:800;
}

.game-primary-btn{
    border:1px solid transparent;

    background:
        linear-gradient(
            90deg,
            #2870ef,
            #7c3aed
        );

    color:white;

    box-shadow:
        0 8px 22px rgba(63,77,255,.16);
}

.game-primary-btn:hover{
    transform:translateY(-1px);
}

.game-secondary-btn{
    border:1px solid rgba(96,165,250,.25);

    background:#14294f;

    color:#a9c7ff;
}

.game-secondary-btn:hover{
    border-color:rgba(96,165,250,.46);

    background:#172f5a;
}

.game-hub-btn{
    min-height:43px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-top:10px;

    padding:10px 15px;

    border:1px solid rgba(112,139,184,.18);
    border-radius:11px;

    background:rgba(15,28,54,.78);

    color:#b7c8e6;

    font-size:11px;
    font-weight:700;
}

.game-hub-btn:hover{
    border-color:rgba(126,111,255,.38);

    background:rgba(24,39,74,.92);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1100px){

    .games-hero{
        grid-template-columns:1fr;
        gap:22px;
    }

    .games-hero-right{
        grid-template-columns:130px minmax(0,1fr);
        max-width:620px;
    }

    .games-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){

    .games-page{
        padding-top:22px;
    }

    .games-hero{
        padding:24px 20px;
        border-radius:20px;
    }

    .games-hero h1{
        font-size:28px;
    }

    .games-hero-right{
        grid-template-columns:1fr;
    }

    .games-hero-visual{
        display:none;
    }

    .games-toolbar{
        flex-direction:column;
        align-items:stretch;
    }

    .games-library-count{
        justify-content:flex-start;
    }

    .game-card{
        padding:20px;
    }

    .game-hardware-grid{
        grid-template-columns:1fr;
    }

    .game-card-actions{
        grid-template-columns:1fr;
    }
}