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

:root {
    --bg: #060507;
    --panel: #0d0a12;
    --purple: #8b3dff;
    --purple-light: #bd86ff;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.58);
    --line: rgba(255, 255, 255, 0.09);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(120, 42, 255, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 35%,
            rgba(102, 37, 194, 0.10),
            transparent 28%
        ),
        var(--bg);

    color: var(--white);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
}

a {
    color: inherit;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    border-bottom: 1px solid rgba(255,255,255,0.07);

    background: rgba(6,5,8,0.72);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.nav-wrap {
    width: min(1220px, calc(100% - 40px));
    min-height: 76px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    text-decoration: none;

    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo img {
    width: 39px;
    height: 39px;

    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    padding: 10px 14px;

    border-radius: 11px;

    text-decoration: none;

    color: rgba(255,255,255,0.58);

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background .2s ease,
        color .2s ease;
}

nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
}

/* HERO */

.hero {
    position: relative;

    min-height: 950px;

    display: flex;
    align-items: center;

    padding: 150px 20px 100px;
}

.hero-bg {
    position: absolute;

    width: 650px;
    height: 650px;

    top: 100px;
    right: -160px;

    border-radius: 50%;

    background: rgba(127, 51, 255, 0.14);

    filter: blur(110px);

    pointer-events: none;
}

.hero-content {
    width: min(1220px, 100%);
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--purple-light);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 22px;

    max-width: 850px;

    font-size: clamp(4.4rem, 8.8vw, 8.8rem);

    line-height: 0.86;

    letter-spacing: -0.085em;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            135deg,
            #ffffff 5%,
            #d4b0ff 45%,
            #8034ee 90%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero p {
    max-width: 570px;

    margin-top: 29px;

    color: var(--muted);

    font-size: 1.12rem;

    line-height: 1.8;
}

.hero-buttons {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 20px;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 700;
    font-size: 0.94rem;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background:
        linear-gradient(
            135deg,
            #a85bff,
            #7026d7
        );

    box-shadow:
        0 18px 50px rgba(114,38,216,0.28);
}

.button.secondary {
    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(255,255,255,0.1);
}

.button.secondary:hover {
    background: rgba(255,255,255,0.09);
}

.hero-art {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(151,67,255,0.30),
            rgba(106,38,183,0.05) 65%,
            transparent 75%
        );

    filter: blur(8px);
}

.hero-art img {
    position: relative;
    z-index: 2;

    width: min(500px, 100%);

    max-height: 560px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 35px 80px
            rgba(103,34,221,0.34)
        );

    animation:
        mascotFloat 5s ease-in-out infinite;
}

@keyframes mascotFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.scroll-text {
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    color: rgba(255,255,255,0.27);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.22em;
}

/* SECTIONS */

.section {
    padding: 130px 20px;
}

.section-inner {
    width: min(1220px, 100%);
    margin: auto;
}

.section-label {
    color: rgba(255,255,255,0.28);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.18em;

    padding-bottom: 24px;

    border-bottom: 1px solid var(--line);
}

/* ABOUT */

.about-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 90px;

    padding-top: 70px;
}

.about-grid h2 {
    max-width: 750px;

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

    line-height: 0.95;

    letter-spacing: -0.075em;
}

.about-grid h2 span,
.projects-heading h2 span,
.contact-heading h2 span {
    color: var(--purple-light);
}

.about-copy {
    padding-top: 8px;
}

.about-copy p {
    margin-bottom: 24px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.9;
}

/* SERVICES */

.services {
    background: rgba(255,255,255,0.012);
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    margin-top: 48px;
}

.service-card {
    min-height: 280px;

    padding: 30px;

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

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.018)
        );

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(164,87,255,0.35);
}

.service-number {
    color: var(--purple-light);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.13em;
}

.service-card h3 {
    margin-top: 80px;

    font-size: 1.7rem;

    letter-spacing: -0.04em;
}

.service-card p {
    margin-top: 12px;

    color: var(--muted);

    line-height: 1.7;
}

/* PROJECTS */

.projects-heading {
    padding-top: 60px;

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

    gap: 40px;
}

.projects-heading h2 {
    max-width: 800px;

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

    line-height: 0.94;

    letter-spacing: -0.075em;
}

.projects-heading p {
    max-width: 330px;

    color: var(--muted);

    line-height: 1.75;
}

.project-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}

.project-card {
    min-height: 365px;

    padding: 30px;

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

    border-radius: 26px;

    text-decoration: none;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(133,53,243,0.12),
            transparent 30%
        ),
        rgba(255,255,255,0.025);

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.project-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(161,83,255,0.35);
}

.games-card {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(134,54,255,0.19),
            transparent 45%
        ),
        rgba(255,255,255,0.03);
}

.project-top {
    display: flex;

    justify-content: space-between;

    color: rgba(255,255,255,0.29);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.project-content {
    margin-top: 85px;
}

.project-icon {
    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background:
        rgba(139,61,255,0.13);

    color: #c99dff;

    font-size: 1.25rem;
    font-weight: 800;
}

.project-content h3 {
    margin-top: 19px;

    font-size: 2rem;

    letter-spacing: -0.05em;
}

.project-content p {
    max-width: 470px;

    margin-top: 12px;

    color: var(--muted);

    line-height: 1.75;
}

/* MASCOT */

.mascot-section {
    position: relative;

    min-height: 630px;

    padding: 90px 20px;

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

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.01),
            rgba(123,47,230,0.07),
            rgba(255,255,255,0.01)
        );

    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mascot-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        rgba(137,54,255,0.18);

    filter: blur(100px);
}

.mascot-section img {
    position: relative;
    z-index: 2;

    width: min(390px, 70vw);
    max-height: 440px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 40px 90px
            rgba(105,37,220,0.38)
        );
}

.mascot-text {
    position: absolute;

    left: 8%;
    bottom: 70px;

    z-index: 3;
}

.mascot-text h2 {
    margin-top: 10px;

    max-width: 520px;

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

    line-height: 1;

    letter-spacing: -0.065em;
}

.mascot-text h2 span {
    display: block;

    color: var(--purple-light);
}

/* CONTACT */

.contact-layout {
    padding-top: 65px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: start;
}

.contact-heading h2 {
    font-size: clamp(4rem, 7vw, 7rem);

    line-height: 0.88;

    letter-spacing: -0.08em;
}

.contact-heading p {
    max-width: 480px;

    margin-top: 25px;

    color: var(--muted);

    line-height: 1.8;
}

.contact-info {
    border-top: 1px solid var(--line);
}

.contact-item {
    position: relative;

    display: grid;

    grid-template-columns: 90px 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 25px 0;

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

    text-decoration: none;
}

.contact-item:hover .contact-arrow {
    transform: translate(4px,-4px);
}

.contact-label {
    color: rgba(255,255,255,0.3);

    font-size: 0.64rem;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.contact-value {
    font-size: 0.98rem;
    font-weight: 600;

    overflow-wrap: anywhere;
}

.contact-arrow {
    color: var(--purple-light);

    transition: transform .2s ease;

    font-size: 1.2rem;
}

/* FOOTER */

.footer {
    padding: 35px 20px 22px;

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

    background: rgba(0,0,0,0.18);
}

.footer-top {
    width: min(1220px, 100%);
    margin: auto;

    display: flex;

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

    gap: 30px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.43);

    font-size: 0.84rem;

    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(1220px, 100%);
    margin: 25px auto 0;

    padding-top: 18px;

    border-top:
        1px solid rgba(255,255,255,0.06);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255,255,255,0.28);

    font-size: 0.75rem;
}

/* TABLET */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 140px;
    }

    .hero-art {
        min-height: 470px;
    }

    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .projects-heading {
        display: block;
    }

    .projects-heading p {
        margin-top: 25px;
    }

    .mascot-text {
        left: 30px;
        bottom: 35px;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .nav-wrap {
        width: calc(100% - 28px);
    }

    nav {
        gap: 0;
    }

    nav a {
        padding: 8px;
        font-size: 0.72rem;
    }

    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero h1 {
        font-size: 4.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-art {
        min-height: 350px;
    }

    .hero-art img {
        width: 80%;
    }

    .hero-orb {
        width: 280px;
        height: 280px;
    }

    .section {
        padding: 90px 14px;
    }

    .about-grid h2,
    .projects-heading h2 {
        font-size: 3.3rem;
    }

    .service-card {
        min-height: 240px;
    }

    .service-card h3 {
        margin-top: 55px;
    }

    .project-card {
        min-height: 320px;
    }

    .project-content {
        margin-top: 60px;
    }

    .mascot-section {
        min-height: 530px;
    }

    .mascot-section img {
        width: 75%;
    }

    .mascot-text {
        left: 20px;
        bottom: 25px;
    }

    .mascot-text h2 {
        font-size: 2.1rem;
    }

    .contact-heading h2 {
        font-size: 4rem;
    }

    .contact-item {
        grid-template-columns: 1fr auto;
    }

    .contact-label {
        grid-column: 1 / -1;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* MULTI-PAGE */

.text-link {
    display: inline-block;
    margin-top: 8px;

    color: #c290ff;

    text-decoration: none;

    font-weight: 700;
}

.text-link:hover {
    color: #fff;
}

.page-hero {
    padding: 190px 20px 100px;
}

.page-hero h1 {
    max-width: 900px;

    margin-top: 20px;

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

    line-height: .88;

    letter-spacing: -.085em;
}

.page-hero h1 span {
    color: #b77aff;
}

.page-hero p {
    max-width: 720px;

    margin-top: 28px;

    color: rgba(255,255,255,.58);

    font-size: 1.1rem;

    line-height: 1.8;
}

.large-text {
    max-width: 900px;

    padding-top: 65px;
}

.large-text h2 {
    font-size: clamp(3rem, 6vw, 6rem);

    line-height: .95;

    letter-spacing: -.075em;
}

.large-text h2 span {
    display: block;

    color: #b77aff;
}

.large-text p {
    max-width: 680px;

    margin-top: 30px;

    color: rgba(255,255,255,.58);

    font-size: 1.08rem;

    line-height: 1.9;
}

.featured {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 470px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 15% 40%,
            rgba(142,54,255,.18),
            transparent 45%
        ),
        rgba(255,255,255,.025);
}

.featured-copy {
    padding: 55px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
}

.featured-copy h2 {
    margin-top: 15px;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .95;

    letter-spacing: -.07em;
}

.featured-copy p {
    max-width: 480px;

    margin: 22px 0 30px;

    color: rgba(255,255,255,.58);

    line-height: 1.8;
}

.featured-art {
    min-height: 470px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(128,49,242,.2),
            transparent 55%
        );
}

.featured-art img {
    width: 75%;
    max-height: 400px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 35px 75px
            rgba(108,35,217,.35)
        );
}

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

    margin-top: 55px;
}

.project-card {
    min-height: 360px;

    padding: 30px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 27px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(139,61,255,.12),
            transparent 35%
        ),
        rgba(255,255,255,.025);

    text-decoration: none;

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.project-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(167,84,255,.35);
}

.project-top {
    display: flex;

    justify-content: space-between;

    color: rgba(255,255,255,.3);

    font-size: .68rem;

    font-weight: 800;

    letter-spacing: .15em;
}

.project-content {
    margin-top: 80px;
}

.project-icon {
    width: 53px;
    height: 53px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    color: #c99aff;

    background:
        rgba(139,61,255,.13);

    font-weight: 800;
}

.project-content h3 {
    margin-top: 18px;

    font-size: 2rem;

    letter-spacing: -.05em;
}

.project-content p {
    margin-top: 12px;

    max-width: 500px;

    color: rgba(255,255,255,.57);

    line-height: 1.75;
}

.contact-layout {
    padding-top: 60px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;
}

.contact-heading h2 {
    font-size: clamp(4rem, 7vw, 7rem);

    line-height: .88;

    letter-spacing: -.08em;
}

.contact-heading h2 span {
    color: #b77aff;
}

.contact-heading p {
    margin-top: 25px;

    max-width: 470px;

    color: rgba(255,255,255,.58);

    line-height: 1.8;
}

.contact-info {
    border-top:
        1px solid rgba(255,255,255,.09);
}

.contact-item {
    display: grid;

    grid-template-columns: 90px 1fr auto;

    align-items: center;

    gap: 18px;

    padding: 25px 0;

    border-bottom:
        1px solid rgba(255,255,255,.09);

    text-decoration: none;
}

.contact-label {
    color: rgba(255,255,255,.3);

    font-size: .65rem;

    font-weight: 800;

    letter-spacing: .14em;
}

.contact-value {
    font-weight: 600;

    overflow-wrap: anywhere;
}

.contact-arrow {
    color: #b77aff;

    font-size: 1.2rem;
}

@media (max-width: 900px) {

    .featured {
        grid-template-columns: 1fr;
    }

    .featured-art {
        min-height: 350px;
    }

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .page-hero {
        padding-top: 145px;
    }

    .page-hero h1 {
        font-size: 4.1rem;
    }

    .featured-copy {
        padding: 35px;
    }

    .featured-art {
        min-height: 300px;
    }

    .project-card {
        min-height: 320px;
    }

    .contact-item {
        grid-template-columns: 1fr auto;
    }

    .contact-label {
        grid-column: 1 / -1;
    }
}

/* 404 PAGE */

.error-page {
    position: relative;

    min-height: calc(100vh - 160px);

    padding: 150px 20px 100px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;
}

.error-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -55%);

    border-radius: 50%;

    background: rgba(132, 48, 255, .16);

    filter: blur(110px);

    pointer-events: none;
}

.error-mascot {
    position: relative;
    z-index: 2;

    width: min(180px, 45vw);
    height: 180px;

    object-fit: contain;

    margin-bottom: 18px;

    filter:
        drop-shadow(
            0 25px 60px
            rgba(108, 35, 220, .4)
        );
}

.error-code {
    position: relative;
    z-index: 2;

    font-size: clamp(7rem, 20vw, 14rem);

    line-height: .78;

    font-weight: 800;

    letter-spacing: -.1em;

    background:
        linear-gradient(
            135deg,
            #ffffff 10%,
            #c797ff 48%,
            #8135e9 90%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.error-page .eyebrow {
    position: relative;
    z-index: 2;

    margin-top: 25px;
}

.error-page h1 {
    position: relative;
    z-index: 2;

    margin-top: 12px;

    font-size: clamp(2.2rem, 5vw, 4.5rem);

    line-height: .95;

    letter-spacing: -.065em;
}

.error-page p {
    position: relative;
    z-index: 2;

    max-width: 560px;

    margin-top: 18px;

    color: rgba(255,255,255,.56);

    line-height: 1.8;
}

.error-buttons {
    position: relative;
    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

@media (max-width: 600px) {

    .error-page {
        padding-top: 120px;
    }

    .error-mascot {
        width: 140px;
        height: 140px;
    }

    .error-code {
        font-size: 7rem;
    }
}
