:root {
    --bg: #050505;
    --bg-soft: #0d0d12;
    --card: #12121a;
    --card-hover: #181824;
    --text: #f4ecff;
    --text-soft: #cbb7f5;
    --accent: #a855f7;
    --accent-dark: #7e22ce;
    --accent-light: #d8b4fe;
    --border: #2b1f3a;
    --shadow: rgba(168, 85, 247, 0.16);
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #000000 0%, #09060f 100%);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: #ffffff;
}

ul {
    padding-left: 1.2rem;
}

/* HEADER */
header {
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
}

header h3 {
    color: var(--accent);
    font-size: 1.55rem;
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

nav li {
    color: var(--text-soft);
    font-size: 1rem;
}

nav a {
    color: var(--text);
    font-weight: 700;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
}

nav a:hover {
    color: var(--accent-light);
    background-color: rgba(168, 85, 247, 0.08);
}

.coming-soon {
    color: var(--text-soft);
    font-weight: 500;
}

/* MAIN */
main {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
}

.about-me,
.intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-me h1,
.intro h1 {
    font-size: 2rem;
    color: var(--accent-light);
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

article {
    background: linear-gradient(145deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

article h2 {
    color: var(--accent);
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
    line-height: 1.25;
}

article h3 {
    color: var(--accent-light);
    font-size: 1.05rem;
    margin: 1rem 0 0.5rem;
}

article p {
    color: var(--text);
    margin-bottom: 0.9rem;
}

article li {
    color: var(--text-soft);
    margin-bottom: 0.45rem;
}

article ul ul {
    margin-top: 0.4rem;
    margin-bottom: 0.7rem;
}

article a {
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.75rem 1rem;
    background: var(--accent-dark);
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
}

article a:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent-light);
}

/* FOOTER */
footer {
    margin-top: 2rem;
    padding: 1.5rem 1rem 2rem;
    border-top: 1px solid var(--border);
    background: #07070b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: black;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.footer-socials a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
}

.footer-socials a:hover img {
    transform: scale(1.08);
}

footer p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* TABLET */
@media (min-width: 600px) {
    header {
        padding: 1.25rem 1.5rem;
    }

    header h3 {
        font-size: 1.9rem;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }

    main {
        padding: 1.5rem;
    }

    .about-me,
    .intro {
        gap: 1.25rem;
    }

    .about-me h1,
    .intro h1 {
        font-size: 2.3rem;
    }

    article {
        padding: 1.5rem;
    }
}

/* DESKTOP */
@media (min-width: 900px) {
    header {
        padding: 1.5rem 2rem;
    }

    header h3 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    nav ul {
        gap: 2rem;
    }

    main {
        padding: 2rem;
    }

    .about-me,
    .intro {
        gap: 1.5rem;
    }

    .about-me h1,
    .intro h1 {
        font-size: 2.7rem;
    }

    article {
        padding: 1.8rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    }

    article:hover {
        transform: translateY(-4px);
        background: linear-gradient(145deg, var(--card-hover), var(--bg-soft));
        box-shadow: 0 10px 28px var(--shadow);
    }
}