:root {

    --bg: #030303;
    --card: #0a0a0a;
    --border: rgba(255, 255, 255, .08);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, .65);

    --discord: #5865F2;
}

* {

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

html {

    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    background: var(--bg);

    color: white;

    overflow-x: hidden;
}

.grid-background {

    position: fixed;

    inset: 0;

    background:

        linear-gradient(rgba(255, 255, 255, .04) 1px,
            transparent 1px),

        linear-gradient(90deg,
            rgba(255, 255, 255, .04) 1px,
            transparent 1px);

    background-size: 50px 50px;

    z-index: -2;
}

body::before {

    content: '';

    position: fixed;

    width: 900px;
    height: 900px;

    left: 50%;
    top: -400px;

    transform: translateX(-50%);

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .05),
            transparent 70%);

    z-index: -1;
}

nav {

    position: fixed;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: 90%;
    max-width: 1300px;

    padding: 18px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background:
        rgba(10, 10, 10, .65);

    backdrop-filter: blur(20px);

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

    border-radius: 18px;

    z-index: 999;
}

.logo {

    font-size: 28px;

    font-weight: 800;
}

nav ul {

    list-style: none;

    display: flex;

    gap: 35px;
}

nav a {

    color: white;

    text-decoration: none;

    opacity: .75;

    transition: .3s;
}

nav a:hover {

    opacity: 1;
}

.hero {

    min-height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 0 10%;
}

.hero-content {

    max-width: 950px;
}

.badge {

    display: inline-block;

    padding: 10px 18px;

    border-radius: 999px;

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

    background:
        rgba(255, 255, 255, .03);

    margin-bottom: 25px;

    font-size: .9rem;
}

.hero h1 {

    font-size: clamp(4rem, 8vw, 6rem);

    line-height: 1;

    letter-spacing: -3px;
}

.gradient {

    color: white;

    text-shadow:
        0 0 40px rgba(255, 255, 255, .25);
}

.hero p {

    margin-top: 25px;

    font-size: 1.1rem;

    opacity: .75;

    line-height: 1.8;
}

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 35px;
}

.primary-btn,
.secondary-btn {

    text-decoration: none;

    padding: 15px 25px;

    border-radius: 14px;

    transition: .3s;
}

.primary-btn {

    background: white;

    color: black;

    font-weight: 700;
}

.primary-btn:hover {

    transform: translateY(-3px);
}

.secondary-btn {

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

    color: white;
}

.secondary-btn:hover {

    background:
        rgba(255, 255, 255, .05);
}

section {

    max-width: 1400px;

    margin: auto;

    padding: 120px 60px;
}

section h2 {

    font-size: 3rem;

    margin-bottom: 40px;
}

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}

.skill-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 24px;

    border-radius: 18px;

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

    background:
        rgba(255, 255, 255, .02);

    transition: .3s;
}

.skill-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(255, 255, 255, .15);
}

.skill-card img {

    width: 38px;

    height: 38px;
}

.skill-card span {

    font-size: 18px;
}

.project-card {

    max-width: 700px;

    margin: auto;

    overflow: hidden;

    border-radius: 24px;

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

    background:
        rgba(255, 255, 255, .02);

    text-align: center;

    transition: .3s;
}

.project-card:hover {

    ransform: translateY(-8px);
}

.project-image {

    width: 100%;

    height: 180px;

    object-fit: cover;
}

.project-badge {

    display: inline-block;

    margin-top: 20px;

    padding: 8px 14px;

    border-radius: 999px;

    background:
        rgba(88, 101, 242, .15);

    color: #5865F2;

    font-size: .75rem;

    font-weight: 700;
}

.project-card h3 {

    padding: 20px 20px 10px;

    font-size: 2rem;
}

.project-card p {

    padding: 0 25px 25px;

    opacity: .7;

    line-height: 1.8;
}

.project-buttons {

    display: flex;

    justify-content: center;

    gap: 12px;

    padding: 0 25px 25px;

    flex-wrap: wrap;
}

.discord-btn {

    background: var(--discord);

    color: white;

    text-decoration: none;

    padding: 14px 20px;

    border-radius: 12px;

    font-weight: 700;
}

.mail-btn {

    background:
        rgba(255, 255, 255, .05);

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

    color: white;

    text-decoration: none;

    padding: 14px 20px;

    border-radius: 12px;
}

.about-card {

    max-width: 900px;

    margin: auto;

    padding: 35px;

    border-radius: 20px;

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

    background:
        rgba(255, 255, 255, .02);

    text-align: center;
}

.about-card p {

    line-height: 1.9;

    opacity: .75;
}

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;
}

.stat-card {

    text-align: center;

    padding: 40px;

    border-radius: 20px;

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

    background:
        rgba(255, 255, 255, .02);
}

.stat-card h3 {

    font-size: 3rem;

    margin-bottom: 10px;
}

footer {

    margin-top: 100px;

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

    padding: 60px 20px;
}

.footer-container {

    max-width: 1200px;

    margin: auto;

    text-align: center;
}

.footer-brand p {

    margin-top: 10px;

    opacity: .7;
}

.footer-socials {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin: 25px 0;
}

.footer-socials a {

    color: white;

    font-size: 24px;

    transition: .3s;
}

.footer-socials a:hover {

    transform: translateY(-3px);
}

.footer-copy {

    opacity: .6;
}

@media(max-width:768px) {

    nav {

        width: 95%;

        padding: 15px;

    }

    nav ul {

        display: none;

    }

    .hero h1 {

        font-size: 3rem;

    }

    section {

        padding: 80px 20px;

    }

}

.site-alert{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 18px;

    background:rgba(88,101,242,.08);

    border:1px solid rgba(88,101,242,.2);

    color:#bfc6ff;

    border-radius:999px;

    margin:110px auto 0;

    position:relative;

    left:50%;

    transform:translateX(-50%);

}

.site-alert i{

    color:#5865F2;

}