*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(135deg,#0a0a0a,#1b1029,#12091f);
    color:white;
    min-height:100vh;
    transition:0.4s;
}

/* HEADER */

header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:rgba(15,15,20,0.75);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.08);
    position:sticky;
    top:0;
    z-index:1000;
}

header h1{
    font-size:32px;
    font-weight:700;
    color:#c084fc;
    letter-spacing:2px;
}

/* NAVBAR */

nav{
    display:flex;
    align-items:center;
    gap:18px;
}

nav a{
    text-decoration:none;
    color:white;
    font-weight:500;
    padding:10px 18px;
    border-radius:12px;
    transition:0.3s;
}

nav a:hover{
    background:#7e22ce;
    transform:translateY(-2px);
}

/* HAMBURGER */

.menu-toggle{
    display:none;
    width:45px;
    height:45px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#7e22ce,#4c1d95);
    color:white;
    font-size:24px;
    cursor:pointer;
    transition:0.3s;
}

.menu-toggle:hover{
    transform:scale(1.08);
}

/* DARK MODE BUTTON */

#darkModeBtn{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg,#7e22ce,#4c1d95);
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 4px 14px rgba(126,34,206,0.4);
}

#darkModeBtn:hover{
    transform:scale(1.08);
}

/* HERO */

.hero{
    padding:120px 8% 80px;
    text-align:center;
}

.hero h2{
    font-size:52px;
    margin-bottom:18px;
    color:#e9d5ff;
}

.hero p{
    font-size:20px;
    color:#d4d4d8;
}

/* HERO BUTTON */

.hero-buttons{
    margin-top:35px;

    display:flex;
    justify-content:center;
    gap:20px;

    flex-wrap:wrap;
}

.hero-btn{
    padding:14px 28px;

    border-radius:14px;

    text-decoration:none;

    color:white;

    font-weight:600;

    background:linear-gradient(135deg,#7e22ce,#4c1d95);

    transition:0.3s;

    box-shadow:0 6px 18px rgba(126,34,206,0.35);
}

.hero-btn:hover{
    transform:translateY(-4px) scale(1.03);
}

.hero-btn.secondary{
    background:linear-gradient(135deg,#9333ea,#6d28d9);
}

/* SKILLS */

.skills{
    width:100%;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
    padding:0 8% 80px;
}

/* CARD */

.card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:35px;
    backdrop-filter:blur(12px);
    transition:0.35s;
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.card:hover{
    transform:translateY(-8px);
    border-color:#7e22ce;
}

.card h3{
    font-size:24px;
    margin-bottom:15px;
    color:#c084fc;
}

.card p{
    color:#d4d4d8;
    line-height:1.7;
}

/* CONTAINER */

.container{
    width:100%;
    padding:60px 8%;
}

/* BOX */

.box{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:35px;
    margin-bottom:35px;
    backdrop-filter:blur(12px);
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.box h2{
    color:#c084fc;
    margin-bottom:20px;
    font-size:28px;
}

.box p,
.box li{
    color:#e5e5e5;
    line-height:1.8;
    font-size:16px;
}

.box ul{
    padding-left:20px;
}

/* PROFILE BOX */

.profile-box{
    width:100%;
    display:flex;
    align-items:center;
    gap:35px;

    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);

    border-radius:28px;
    padding:35px;

    backdrop-filter:blur(12px);

    margin-bottom:40px;

    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

/* PROFILE IMAGE */

.profile-image{
    flex-shrink:0;
}

.profile-image img{
    width:180px;
    height:180px;

    object-fit:cover;

    border-radius:50%;

    border:4px solid #7e22ce;

    box-shadow:0 8px 25px rgba(126,34,206,0.4);
}

/* PROFILE INFO */

.profile-info{
    flex:1;
}

.profile-info h2{
    font-size:34px;
    color:#c084fc;
    margin-bottom:18px;
}

.profile-info p{
    font-size:17px;
    color:#e5e5e5;
    margin-bottom:12px;
}

/* TAG */

.tag-container{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.tag-container span{
    padding:12px 20px;
    border-radius:30px;
    background:linear-gradient(135deg,#6b21a8,#4c1d95);
    color:white;
    font-weight:600;
    box-shadow:0 4px 12px rgba(126,34,206,0.3);
}

/* SOCIAL GRID */

.social-grid{
    display:grid;

    grid-template-columns:
    repeat(5,1fr);

    gap:25px;
}

/* SOCIAL CARD */

.social-card{
    min-height:170px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:35px;
    border-radius:24px;

    text-align:center;

    transition:0.35s;

    color:white;

    box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.social-card:hover{
    transform:translateY(-8px) scale(1.02);
}

.social-card h3{
    font-size:24px;
    margin-bottom:12px;
}

.social-card p{
    font-size:16px;
    font-weight:500;
}

/* INSTAGRAM */

.instagram{
    background:linear-gradient(135deg,#ff512f,#dd2476);
}

/* X */

.twitter{
    background:linear-gradient(135deg,#000000,#2563eb);
}

/* TIKTOK */

.tiktok{
    background:linear-gradient(135deg,#000000,#25f4ee,#fe2c55);
}

/* GITHUB */

.github{
    background:linear-gradient(135deg,#000000,#00ff88);
}

/* DISCORD */

.discord{
    background:linear-gradient(135deg,#312e81,#60a5fa);
}

/* DARK MODE */

.dark-mode{
    background:linear-gradient(135deg,#000000,#140b1f,#090909);
}

/* MOBILE */

@media(max-width:768px){

    header{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        padding:20px 5%;
        position:relative;
    }

    /* SHOW HAMBURGER */

    .menu-toggle{
        display:block;
    }

    /* MOBILE NAV */

    nav{
        position:absolute;
        top:90px;
        right:5%;
        width:220px;

        background:rgba(20,20,25,0.98);
        border:1px solid rgba(255,255,255,0.08);

        border-radius:20px;
        backdrop-filter:blur(15px);

        padding:20px;

        display:none;
        flex-direction:column;
        gap:15px;

        box-shadow:0 8px 25px rgba(0,0,0,0.35);

        z-index:999;
    }

    nav.active{
        display:flex;
    }

    nav a{
        width:100%;
        text-align:center;
        background:rgba(255,255,255,0.05);
    }

    #darkModeBtn{
        width:100%;
        border-radius:12px;
    }

    /* HERO MOBILE */

    .hero{
        padding:90px 5% 60px;
    }

    .hero h2{
        font-size:36px;
    }

    .hero p{
        font-size:17px;
    }

    /* HERO BUTTON MOBILE */

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .hero-btn{
        width:220px;
        text-align:center;
    }

    /* CONTAINER */

    .container{
        padding:40px 5%;
    }

    .skills{
        padding:0 5% 50px;
    }

    /* CARD MOBILE */

    .card,
    .box,
    .social-card,
    .profile-box{
        padding:28px;
    }

    /* PROFILE MOBILE */

    .profile-box{
        flex-direction:column;
        text-align:center;
    }

    .profile-image img{
        width:140px;
        height:140px;
    }

    .profile-info h2{
        font-size:28px;
    }

    /* SOCIAL MOBILE */

    .social-grid{
        grid-template-columns:repeat(2,1fr);
    }

}