:root {
    --bg: #020103;
    --card: #08070B;
    --border: #18121F;

    --white: #FFFFFF;

    --purple: #4B3268;
    --purple-light: #5B3A82;
    --blue: #243653;
}


/* =========================
   RESET
========================= */

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


html {
    scroll-behavior:smooth;
}


body {
    font-family:"Inter", sans-serif;
    background:var(--bg);
    color:var(--white);
    line-height:1.6;
}

/* =========================
   FULL BACKGROUND BLUR
========================= */

body {
    position:relative;
    overflow-x:hidden;
    background:#020103;
}


/* Blurred background layer */

body::before {

    content:"";

    position:fixed;

    inset:-100px;

    background:

    radial-gradient(
        circle at 20% 20%,
        rgba(75,50,104,.18),
        transparent 35%
    ),

    radial-gradient(
        circle at 80% 70%,
        rgba(36,54,83,.15),
        transparent 40%
    ),

    #020103;


    filter:blur(60px);

    z-index:-2;

    pointer-events:none;

}

h1,
h2,
h3 {

    font-family:"Space Grotesk", sans-serif;
    color:white;
    letter-spacing:-0.03em;

}


h4,
p,
li {

    color:white;

}


a {

    color:white;
    text-decoration:none;

}





.logo {
    display:flex;
    align-items:center;
    justify-content:center;
    width:60px;
    height:60px;
}

.logo img {
    width:52px;
    height:52px;
    display:block;
    object-fit:contain;
}

/* =========================
   HEADER
========================= */

header {

    background:#020103;

    border-bottom:1px solid var(--border);

}


nav {

    max-width:1100px;

    margin:auto;

    padding:22px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


nav div:last-child {

    display:flex;

    align-items:center;

    gap:12px;

}


nav a {

    padding:8px 14px;

    border-radius:8px;

    font-size:15px;

    font-weight:600;

    transition:.25s ease;

}


nav a:hover {

    background:#100B17;

    color:#A98AD0;

}





/* =========================
   MAIN
========================= */

main {

    max-width:1100px;

    margin:auto;

    padding:0 30px;

}


section {

    margin:60px 0;

}


section h2 {

    margin-bottom:30px;

}





/* =========================
   HERO ALIGNMENT
========================= */

.hero {

    padding-top:70px;

}


.hero h1,
.hero h2,
.hero p,
.social-links {

    width:650px;

    max-width:100%;

}


.hero h1 {

    font-size:64px;

    text-align:left;

    transform:translateX(-10px);

}


.hero h2 {

    font-size:22px;

    font-weight:500;

    text-align:left;

}


.hero p {

    margin-top:20px;

    text-align:left;

}





/* =========================
   SOCIAL LINKS
========================= */

.social-links {

    margin-top:25px;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    gap:14px;

    transform:translateX(-5px);

}


.social-links a {

    display:flex;

    align-items:center;

    justify-content:center;

    width:44px;

    height:44px;

    border-radius:10px;

    background:#08070B;

    border:1px solid var(--border);

    color:white;

    transition:.3s ease;

}


.social-links svg {

    width:24px;

    height:24px;

    display:block;

}


.social-links a:hover {

    color:#5B3A82;

    border-color:#5B3A82;

    transform:translateY(-2px);

}

/* =========================
   STATS
========================= */

.stats {

    display:grid;

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

    gap:20px;

}


.stats div {

    background:var(--card);

    border:1px solid var(--border);

    border-radius:14px;

    padding:25px;

    text-align:left;

    transition:.3s ease;

}


.stats div:hover {

    border-color:#38234D;

    transform:translateY(-3px);

}


.stats strong {

    display:block;

    font-family:"Space Grotesk", sans-serif;

    font-size:38px;

}


.stats span {

    display:block;

}





/* =========================
   HOVER SWEEP
========================= */

.card p,
.card li,
.game-card p,
.skills span,
.stats span {

    position:relative;

    overflow:hidden;

}


.card p::after,
.card li::after,
.game-card p::after,
.skills span::after,
.stats span::after {

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;


    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.12),
        transparent
    );


    transition:left .65s ease;

    pointer-events:none;

}


.card p:hover::after,
.card li:hover::after,
.game-card p:hover::after,
.skills span:hover::after,
.stats span:hover::after {

    left:130%;

}





/* =========================
   EXPERIENCE
========================= */

.card {

    background:var(--card);

    border:1px solid var(--border);

    border-radius:14px;

    padding:30px;

    margin-bottom:25px;

    text-align:left;

}


.card:hover {

    border-color:#38234D;

}


.card h3 {

    font-size:26px;

    margin-bottom:6px;

}


.card h4 {

    font-size:18px;

    font-weight:600;

    margin-bottom:8px;

}


.card p {

    width:100%;

    margin-bottom:18px;

}


.card ul {

    width:100%;

    padding-left:22px;

}


.card li {

    margin-bottom:12px;

}





/* =========================
   GAMES
========================= */

.game-grid {

    display:grid;

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

    gap:20px;

}


.game-card {

    background:var(--card);

    border:1px solid var(--border);

    border-radius:14px;

    overflow:hidden;

    text-align:left;

}


.game-card img {

    width:100%;

    height:180px;

    object-fit:cover;

}


.game-card div {

    padding:20px;

}


.game-card h3 {

    margin-bottom:8px;

}


.game-card p {

    margin:0;

}





/* =========================
   SKILLS
========================= */

.skills {

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}


.skills span {

    background:#09070D;

    border:1px solid #241833;

    border-radius:20px;

    padding:8px 15px;

}





/* =========================
   CONTACT
========================= */

#contact {

    text-align:center;

}


#contact h2,
#contact p,
#contact a {

    text-align:center;

}


#contact a {

    display:inline-block;

    font-weight:600;

}





/* =========================
   MOBILE
========================= */

@media(max-width:800px) {


    nav {

        flex-direction:column;

        gap:15px;

    }


    .hero h1 {

        font-size:42px;

    }


    .stats,
    .game-grid {

        grid-template-columns:1fr;

    }

}
