@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #06030f;
    --bg-card: #0f081f;
    --bg-card-hover: #151028;
    --purple: #8b5cf6;
    --purple-light: #a855f7;
    --text: #ffffff;
    --text-muted: #b0aec4;
    --border: #2b184e;
    --shadow: 0 20px 40px rgba(139, 92, 246, .18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 25px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    backdrop-filter: blur(15px);
    background: rgba(6, 3, 15, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.navbar-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url("images/avatar.png");
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, .08);
    box-shadow: 0 0 20px rgba(139, 92, 246, .5);
}

.logo-text h2 {
    font-size: 22px;
    font-weight: 800;
}

.logo-text span {
    font-size: 11px;
    color: var(--purple);
    letter-spacing: 1px;
}

.desktop-menu {
    display: flex;
    gap: 35px;
}

.desktop-menu a {
    color: var(--text-muted);
    font-weight: 600;
    transition: .3s;
}

.desktop-menu a:hover {
    color: #fff;
}

#menuBtn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #0b0714;
    border-top: 1px solid var(--border);
}

.mobile-menu a {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url("images/banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, .35),
            rgba(6, 3, 15, .95));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-avatar {
    width: 220px;
    height: 220px;
    margin: auto;
    border-radius: 50%;
    background-image: url("images/avatar.png");
    background-size: cover;
    background-position: center;
    border: 4px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 0 30px rgba(168, 85, 247, .7),
        0 0 90px rgba(168, 85, 247, .4);
}

.hero-subtitle {
    display: inline-block;
    margin-top: 35px;
    color: var(--purple-light);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 20px;
    font-size: 90px;
    font-weight: 900;
    line-height: 1;
}

.hero p {
    max-width: 700px;
    margin: 25px auto 0;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 18px;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.hero-buttons a {
    min-width: 180px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    font-weight: 700;
    transition: .3s;
}

.hero-buttons a:hover {
    transform: translateY(-4px);
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 55px;
    font-weight: 900;
}

.section-title p {
    margin-top: 10px;
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 24px;
    transition: .3s;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.about-card i {
    font-size: 40px;
    color: var(--purple);
}

.about-card h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(380px,1fr));
    gap: 25px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: .3s;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.video-card img {
    width: 100%;
    height: 240px;
    display: block;
    object-fit: cover;
}

.video-content {
    padding: 20px;
}

.video-content h3 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.video-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--purple-light);
    font-weight: 700;
}

.video-content a:hover {
    color: #ffffff;
}


.stream-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 60px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.project-card span {
    display: inline-block;
    margin-top: 12px;
    color: var(--purple-light);
}

.project-card p {
    margin-top: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.project-btn {
    margin-top: 22px;
    height: 46px;
    width: 150px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1/1;
    background: #0c0818;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: .3s;
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.social-card i {
    font-size: 50px;
    color: var(--purple);
}

.social-card h3 {
    margin-top: 18px;
}

footer {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 50px 0;
}

.footer-content {
    text-align: center;
}

.project-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.project-modal-content {
    width: 100%;
    max-width: 1000px;
    background: #0b0714;
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 30px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 12px;
    background: #181126;
    color: white;
    cursor: pointer;
}

#projectCode {
    margin-top: 25px;
    background: #050309;
    border: 1px solid var(--border);
    color: #d8b4fe;
    padding: 20px;
    border-radius: 15px;
    overflow: auto;
}

@media(max-width:900px) {

    .desktop-menu {
        display: none;
    }

    #menuBtn {
        display: block;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-avatar {
        width: 160px;
        height: 160px;
    }

    .section-title h2 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 280px;
    }

}

@media(max-width:600px) {

    .container {
        padding: 0 18px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-avatar {
        width: 130px;
        height: 130px;
    }

    .section {
        padding: 90px 0;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .stream-box {
        padding: 30px;
    }

    .project-modal-content {
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

}