/* =========================================================
   NBG-Corp
   Main stylesheet
========================================================= */

:root {

    --bg: #100c09;
    --bg-secondary: #17110d;
    --card: rgba(255, 255, 255, 0.045);

    --brown: #8b5e3c;
    --brown-light: #b8875f;
    --brown-bright: #c9966c;

    --text: #f5f1ed;
    --text-soft: rgba(245, 241, 237, 0.65);
    --text-muted: rgba(245, 241, 237, 0.42);

    --border: rgba(255, 255, 255, 0.08);

    --radius: 20px;

    --container: 1180px;

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family: "Inter", sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea {
    font-family: inherit;
}


.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: auto;

}


/* =========================================================
   BACKGROUND
========================================================= */

.background {

    position: fixed;

    inset: 0;

    z-index: -10;

    pointer-events: none;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(139, 94, 60, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(139, 94, 60, 0.08),
            transparent 35%
        ),
        var(--bg);
}


.background-grid {

    position: absolute;

    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );

}


.background-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .12;
}


.background-glow-1 {

    top: 5%;
    left: -250px;

    background: var(--brown);
}


.background-glow-2 {

    right: -250px;
    top: 45%;

    background: #6f4027;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(16, 12, 9, .72);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

    transition: .3s ease;
}


.navbar.scrolled {

    border-bottom-color: var(--border);

    background: rgba(16, 12, 9, .92);

}


.navbar-inner {

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family: "Space Grotesk", sans-serif;

    font-weight: 700;

}


.logo-symbol {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--brown),
            #5c3824
        );

    box-shadow:
        0 8px 25px rgba(139,94,60,.25);
}


.logo-text {

    font-size: 19px;

    letter-spacing: -.5px;
}


.logo-text span {
    color: var(--brown-light);
}


.navigation {

    display: flex;

    align-items: center;

    gap: 28px;
}


.nav-link {

    position: relative;

    color: var(--text-soft);

    font-size: 13px;

    font-weight: 600;

    transition: .25s ease;
}


.nav-link:hover,
.nav-link.active {

    color: white;
}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--brown-light);

    transition: .25s ease;
}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;
}


.menu-button {

    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--card);

    cursor: pointer;
}


.menu-button span {

    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: white;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 100vh;

    padding:
        150px 0
        90px;

    display: flex;

    align-items: center;
}


.hero-container {

    display: grid;

    grid-template-columns:
        1.1fr
        .9fr;

    gap: 80px;

    align-items: center;
}


.hero-badge {

    width: fit-content;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    margin-bottom: 25px;

    border: 1px solid rgba(184,135,95,.2);

    border-radius: 50px;

    background: rgba(139,94,60,.08);

    color: var(--text-soft);

    font-size: 11px;

    font-weight: 600;

}


.status-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #65c98a;

    box-shadow:
        0 0 12px #65c98a;

}


.hero-small-title {

    margin-bottom: 5px;

    color: var(--brown-light);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;
}


.hero h1 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(
        70px,
        11vw,
        145px
    );

    line-height: .9;

    letter-spacing: -8px;

    margin-bottom: 35px;
}


.hero h1 span {

    color: transparent;

    -webkit-text-stroke: 1px var(--brown-light);

}


.hero-description {

    max-width: 620px;

    margin-bottom: 35px;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.8;
}


.hero-description strong {

    display: block;

    color: var(--text);

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 19px;

    border-radius: 11px;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.button:hover {

    transform: translateY(-3px);
}


.button-primary {

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--brown-light),
            var(--brown)
        );

    box-shadow:
        0 10px 30px rgba(139,94,60,.2);
}


.button-primary:hover {

    box-shadow:
        0 15px 35px rgba(139,94,60,.35);
}


.button-secondary {

    color: var(--text);

    border: 1px solid var(--border);

    background: var(--card);
}


.hero-socials {

    display: flex;

    gap: 9px;
}


.hero-socials a {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 10px;

    color: var(--text-muted);

    background: rgba(255,255,255,.025);

    transition: .25s ease;
}


.hero-socials a:hover {

    color: white;

    border-color: var(--brown);

    background: rgba(139,94,60,.15);

    transform: translateY(-3px);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    position: relative;

    min-height: 500px;

    display: grid;

    place-items: center;
}


.hero-card {

    width: min(100%, 380px);

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 35px 90px rgba(0,0,0,.4);

    backdrop-filter: blur(20px);

    text-align: center;

    animation:
        floating 6s ease-in-out infinite;
}


.hero-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;

    color: var(--text-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


.live-indicator {

    display: flex;

    align-items: center;

    gap: 6px;

    color: #75ce91;
}


.live-indicator span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #75ce91;
}


.hero-avatar {

    width: 180px;
    height: 180px;

    margin: auto auto 22px;

    padding: 5px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--brown-light),
            transparent,
            var(--brown)
        );
}


.hero-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid #17110d;
}


.hero-card h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 27px;

}


.hero-card > p {

    color: var(--text-muted);

    font-size: 13px;

}


.hero-card-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 25px;

}


.hero-card-stats div {

    padding: 13px 5px;

    border-radius: 12px;

    background: rgba(255,255,255,.035);

}


.hero-card-stats strong {

    display: block;

    color: var(--brown-light);

    font-size: 18px;

}


.hero-card-stats span {

    color: var(--text-muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    border: 1px solid var(--border);

    border-radius: 13px;

    background: rgba(20,14,10,.85);

    backdrop-filter: blur(15px);

    color: var(--text-soft);

    font-size: 11px;

    font-weight: 600;

}


.floating-card i {

    color: var(--brown-light);

}


.floating-card-1 {

    left: 0;

    top: 28%;

    animation:
        floating 5s ease-in-out infinite;
}


.floating-card-2 {

    right: 0;

    bottom: 25%;

    animation:
        floating 5s 1s ease-in-out infinite;
}


@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding: 120px 0;

}


.section-alt {

    background:
        rgba(255,255,255,.012);

    border-top:
        1px solid rgba(255,255,255,.025);

    border-bottom:
        1px solid rgba(255,255,255,.025);
}


.section-heading {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 55px;
}


.section-number {

    color: var(--brown-light);

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;

    font-weight: 700;
}


.section-kicker {

    display: block;

    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;
}


.section-heading h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(
        35px,
        5vw,
        58px
    );

    line-height: 1;

    letter-spacing: -2px;
}


.section-heading h2 span {

    color: var(--brown-light);
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: start;
}


.about-text p {

    margin-bottom: 22px;

    color: var(--text-soft);

}


.about-text .large-text {

    color: var(--text);

    font-size: 22px;

    line-height: 1.6;
}


.about-text strong {

    color: var(--brown-light);
}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--brown-light);

    font-size: 13px;

    font-weight: 700;
}


.text-link:hover i {

    transform: translateX(5px);
}


.text-link i {

    transition: .25s ease;
}


.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.skill-card {

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--card);

    transition: .3s ease;
}


.skill-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(184,135,95,.25);

    background:
        rgba(139,94,60,.06);
}


.skill-icon {

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    margin-bottom: 20px;

    border-radius: 12px;

    color: var(--brown-light);

    background:
        rgba(139,94,60,.13);
}


.skill-card h3 {

    margin-bottom: 8px;

    font-size: 16px;
}


.skill-card p {

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.project-card {

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: var(--card);

    transition: .3s ease;
}


.project-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(184,135,95,.25);

    box-shadow:
        0 25px 50px rgba(0,0,0,.25);
}


.project-image {

    position: relative;

    height: 230px;

    overflow: hidden;
}


.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;

}


.project-card:hover
.project-image img {

    transform: scale(1.07);
}


.project-overlay {

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    background:
        rgba(30,18,11,.45);

    opacity: 0;

    transition: .3s ease;
}


.project-card:hover
.project-overlay {

    opacity: 1;
}


.project-overlay i {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--brown);
}


.project-content {

    padding: 23px;
}


.project-category {

    color: var(--brown-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}


.project-content h3 {

    margin: 8px 0;

    font-family: "Space Grotesk", sans-serif;

    font-size: 21px;
}


.project-content p {

    color: var(--text-muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   TWITCH
========================================================= */

.twitch-card,
.vod-card {

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);

}


.twitch-header,
.vod-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 25px;
}


.twitch-brand {

    display: flex;

    align-items: center;

    gap: 15px;
}


.twitch-icon,
.vod-intro-icon {

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    color: var(--brown-light);

    background:
        rgba(139,94,60,.13);

    font-size: 24px;
}


.twitch-brand span {

    color: var(--brown-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.twitch-brand h3 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 22px;
}


.twitch-player {

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 17px;

    background: #080808;
}


.twitch-player iframe {

    width: 100%;
    height: 100%;

    border: 0;
}


.twitch-footer,
.vod-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 18px;

    color: var(--text-muted);

    font-size: 11px;
}


.twitch-footer a,
.vod-bottom a {

    color: var(--brown-light);

    font-weight: 600;
}


.live-dot {

    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 6px;

    border-radius: 50%;

    background: #e76c6c;

    box-shadow:
        0 0 10px rgba(231,108,108,.5);
}


/* =========================================================
   VOD
========================================================= */

.vod-intro {

    max-width: 900px;

    display: flex;

    align-items: center;

    gap: 18px;

    margin:
        -25px
        auto
        35px;
}


.vod-intro h3 {

    margin-bottom: 5px;

    font-size: 21px;
}


.vod-intro p {

    color: var(--text-muted);

    font-size: 13px;
}


.vod-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 7px;

    color: var(--brown-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.vod-card-header h3 {

    margin-bottom: 5px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 23px;
}


.vod-card-header p {

    color: var(--text-muted);

    font-size: 12px;
}


.youtube-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 17px;

    border-radius: 10px;

    color: white;

    background: var(--brown);

    font-size: 12px;

    font-weight: 700;

    transition: .25s ease;
}


.youtube-button:hover {

    background: var(--brown-light);

    transform: translateY(-2px);
}


.youtube-player {

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 17px;

    background: #050505;

    border: 1px solid var(--border);
}


.youtube-player iframe {

    width: 100%;
    height: 100%;

    border: 0;
}


.vod-bottom {

    margin-top: 17px;
}


/* =========================================================
   SOCIALS
========================================================= */

.social-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.social-card {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: var(--card);

    transition: .3s ease;
}


.social-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(184,135,95,.25);

    background:
        rgba(139,94,60,.07);
}


.social-card > i:first-child {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: var(--brown-light);

    background:
        rgba(139,94,60,.12);
}


.social-card div {

    flex: 1;
}


.social-card strong {

    display: block;

    font-size: 13px;
}


.social-card span {

    display: block;

    color: var(--text-muted);

    font-size: 10px;
}


.social-card > i:last-child {

    color: var(--text-muted);

    font-size: 11px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    padding-top: 70px;

}


.contact-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 55px;

    border: 1px solid rgba(184,135,95,.15);

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(139,94,60,.18),
            transparent 35%
        ),
        rgba(255,255,255,.025);
}


.contact-box h2 {

    margin-bottom: 12px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(
        32px,
        5vw,
        52px
    );

    line-height: 1;
}


.contact-box h2 span {

    color: var(--brown-light);
}


.contact-box p {

    max-width: 600px;

    color: var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    margin-top: 80px;

    border-top: 1px solid var(--border);

}


.footer-inner {

    min-height: 120px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-brand p {

    margin-top: 7px;

    color: var(--text-muted);

    font-size: 10px;
}


.footer-links {

    display: flex;

    gap: 22px;
}


.footer-links a {

    color: var(--text-muted);

    font-size: 11px;

    transition: .2s ease;
}


.footer-links a:hover {

    color: white;
}


.footer-socials {

    display: flex;

    gap: 8px;
}


.footer-socials a {

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 9px;

    color: var(--text-muted);

    font-size: 12px;

    transition: .25s ease;
}


.footer-socials a:hover {

    color: white;

    border-color: var(--brown);

}


.footer-bottom {

    padding:
        18px
        0
        25px;

    display: flex;

    justify-content: space-between;

    color: rgba(255,255,255,.28);

    font-size: 9px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .navigation {

        position: fixed;

        top: 78px;

        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 20px;

        border: 1px solid var(--border);

        border-radius: 17px;

        background:
            rgba(16,12,9,.97);

        backdrop-filter: blur(20px);

    }


    .navigation.open {

        display: flex;

    }


    .nav-link {

        padding: 10px 0;

    }


    .menu-button {

        display: block;

    }


    .hero-container {

        grid-template-columns: 1fr;

    }


    .hero-content {

        text-align: center;

    }


    .hero-badge,
    .hero-buttons,
    .hero-socials {

        margin-left: auto;
        margin-right: auto;

    }


    .hero-description {

        margin-left: auto;
        margin-right: auto;

    }


    .hero-visual {

        min-height: 450px;

    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .projects-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .social-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 650px) {

    .container {

        width:
            min(
                calc(100% - 30px),
                var(--container)
            );

    }


    .section {

        padding: 80px 0;

    }


    .hero {

        padding-top: 130px;

    }


    .hero h1 {

        font-size: 70px;

        letter-spacing: -5px;

    }


    .hero-description {

        font-size: 15px;

    }


    .hero-visual {

        min-height: 400px;

    }


    .hero-card {

        width: 300px;

    }


    .floating-card {

        display: none;

    }


    .skills-grid {

        grid-template-columns: 1fr;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .social-grid {

        grid-template-columns: 1fr;

    }


    .twitch-header,
    .vod-card-header {

        flex-direction: column;

        align-items: flex-start;

    }


    .twitch-header .button,
    .youtube-button {

        width: 100%;

    }


    .vod-intro {

        margin-top: -10px;

    }


    .vod-intro-icon {

        width: 50px;
        min-width: 50px;
        height: 50px;

    }


    .twitch-card,
    .vod-card {

        padding: 17px;

        border-radius: 18px;

    }


    .twitch-footer,
    .vod-bottom {

        flex-direction: column;

        align-items: flex-start;

    }


    .contact-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 30px;

    }


    .contact-box .button {

        width: 100%;

    }


    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

        padding: 35px 0;

    }


    .footer-links {

        flex-wrap: wrap;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 7px;

    }

}