* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    background: #030303;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #030303;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
}

body,
a {
    -webkit-user-select: none;
    user-select: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #030303;
    transition: opacity .45s ease;
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-logo {
    width: 58px;
    height: 58px;
    border: 1px solid #444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 0 35px rgba(110,80,255,.25);
}

.loader-line {
    width: 120px;
    height: 2px;
    margin-top: 18px;
    background: #1b1b1b;
    overflow: hidden;
}

.loader-line span {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: loader 1s ease forwards;
}

.loader-text {
    margin-top: 11px;
    color: #666;
    font-size: 8px;
    letter-spacing: 4px;
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(110,80,255,.10),
        transparent 70%
    );
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    z-index: 20;
    transform: translate(-50%, -50%);
}

.ambient {
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(100px);
    will-change: transform;
}

.ambient-one {
    left: -250px;
    top: -250px;
    background: rgba(90,60,255,.13);
    animation: ambientOne 24s ease-in-out infinite alternate;
}

.ambient-two {
    right: -300px;
    top: 35%;
    background: rgba(50,70,255,.08);
    animation: ambientTwo 28s ease-in-out infinite alternate;
}

.ambient-three {
    left: 20%;
    bottom: -350px;
    background: rgba(120,50,255,.08);
    animation: ambientThree 32s ease-in-out infinite alternate;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .018;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.5) 0,
        rgba(255,255,255,.5) 1px,
        transparent 1px,
        transparent 5px
    );
}

.scroll-progress {
    position: fixed;
    right: 12px;
    top: 50%;
    width: 2px;
    height: 90px;
    background: #191919;
    z-index: 500;
    transform: translateY(-50%);
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 0;
    background: #fff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 400;
    height: 78px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height .25s ease, background .25s ease;
}

.site-header.scrolled {
    height: 64px;
    background: rgba(3,3,3,.78);
    border-bottom: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.brand-symbol {
    width: 31px;
    height: 31px;
    border: 1px solid #444;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navigation a {
    transition: color .2s ease;
}

.navigation a:hover {
    color: #fff;
}

.header-button {
    padding: 10px 14px;
    border: 1px solid #292929;
    border-radius: 5px;
    font-size: 8px;
    letter-spacing: 2px;
    transition: background .2s ease, color .2s ease;
}

.header-button:hover {
    background: #fff;
    color: #000;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 8vw 80px;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 820px;
}

.eyebrow,
.section-label {
    color: #707070;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9675ff;
    box-shadow: 0 0 12px #9675ff;
}

.hero-title {
    margin: 0;
    font-size: clamp(70px, 10vw, 145px);
    line-height: .82;
    letter-spacing: -8px;
    font-weight: 900;
}

.hero-title span {
    display: block;
    margin-left: 8vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.55);
}

.hero-motto {
    max-width: 580px;
    margin: 34px 0 0;
    color: #929292;
    font-size: 15px;
    line-height: 1.7;
}

.hero-buttons,
.game-buttons,
.community-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.primary-button,
.secondary-button {
    min-height: 48px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.primary-button {
    color: #000;
    background: #fff;
}

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

.secondary-button {
    color: #aaa;
    border: 1px solid #303030;
}

.secondary-button:hover {
    border-color: #555;
    background: #111;
}

.hero-visual {
    position: absolute;
    width: 620px;
    height: 620px;
    right: -160px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(110,80,255,.15);
    border-radius: 50%;
    will-change: transform;
}

.orbit-large {
    inset: 0;
    animation: rotate 30s linear infinite;
}

.orbit-medium {
    inset: 17%;
    border-color: rgba(255,255,255,.07);
    animation: rotateReverse 24s linear infinite;
}

.orbit-small {
    inset: 34%;
    border-color: rgba(120,90,255,.22);
    animation: rotate 18s linear infinite;
}

.hero-core {
    position: absolute;
    inset: 43%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100,70,255,.12);
    box-shadow: 0 0 80px rgba(100,70,255,.25);
    animation: pulse 4s ease-in-out infinite;
}

.hero-core span {
    font-size: 24px;
    font-weight: 900;
}

.floating-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #a98cff;
}

.particle-one {
    top: 20%;
    left: 20%;
    animation: floatOne 5s ease-in-out infinite;
}

.particle-two {
    top: 20%;
    right: 20%;
    animation: floatTwo 6s ease-in-out infinite;
}

.particle-three {
    right: 20%;
    bottom: 20%;
    animation: floatOne 7s ease-in-out infinite;
}

.particle-four {
    left: 20%;
    bottom: 20%;
    animation: floatTwo 6s ease-in-out infinite;
}

.hero-bottom {
    position: absolute;
    left: 8vw;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #505050;
    font-size: 7px;
    letter-spacing: 3px;
}

.scroll-line {
    width: 55px;
    height: 1px;
    overflow: hidden;
    background: #2b2b2b;
}

.scroll-line::after {
    content: "";
    display: block;
    width: 25px;
    height: 100%;
    background: #fff;
    animation: scrollLine 2s ease-in-out infinite;
}

.section-padding {
    padding: 130px 8vw;
}

.intro {
    min-height: 70vh;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    align-items: center;
}

.intro-number {
    color: #444;
    font-size: 10px;
}

.large-heading {
    margin: 18px 0 30px;
    font-size: clamp(50px, 8vw, 105px);
    line-height: .88;
    letter-spacing: -6px;
}

.large-heading span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px #555;
}

.large-copy {
    max-width: 650px;
    margin: 0;
    color: #777;
    font-size: 17px;
    line-height: 1.7;
}

.games-heading,
.features-header {
    display: grid;
    grid-template-columns: 1fr .5fr;
    gap: 50px;
    align-items: end;
}

.section-title {
    margin: 20px 0 0;
    font-size: clamp(52px, 7vw, 100px);
    line-height: .85;
    letter-spacing: -6px;
}

.section-title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px #555;
}

.heading-description {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.game-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: 15px;
    overflow: hidden;
}

.game-background {
    position: absolute;
    inset: -4%;
    transition: transform .4s ease-out;
}

.lethal-ape .game-background {
    background:
        radial-gradient(circle at 70% 40%, rgba(110,70,255,.32), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(0,120,255,.08), transparent 40%),
        #08070c;
}

.lethal-brick .game-background {
    background:
        radial-gradient(circle at 30% 35%, rgba(255,110,40,.16), transparent 35%),
        radial-gradient(circle at 75% 70%, rgba(70,90,255,.13), transparent 40%),
        #0c0907;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.9),
        rgba(0,0,0,.35),
        rgba(0,0,0,.7)
    );
}

.game-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    min-height: 100svh;
    padding: 48px 8vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-top,
.game-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-number {
    color: #666;
    font-size: 10px;
    letter-spacing: 2px;
}

.game-status {
    color: #777;
    font-size: 8px;
    letter-spacing: 2px;
}

.game-status i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 7px;
    border-radius: 50%;
    background: #9675ff;
    box-shadow: 0 0 10px #9675ff;
}

.game-main {
    max-width: 850px;
}

.game-type {
    color: #888;
    font-size: 8px;
    letter-spacing: 3px;
}

.game-title {
    margin: 18px 0;
    font-size: clamp(70px, 11vw, 155px);
    line-height: .78;
    letter-spacing: -8px;
}

.game-title span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.5);
}

.game-description {
    max-width: 520px;
    margin: 0;
    color: #aaa;
    font-size: 13px;
    line-height: 1.7;
}

.game-bottom {
    color: #555;
    font-size: 7px;
    letter-spacing: 2px;
}

.game-shape {
    position: absolute;
    width: 390px;
    height: 390px;
    right: 7%;
    top: 50%;
    border: 1px solid rgba(130,100,255,.14);
    transform: translateY(-50%) rotate(25deg);
    animation: shapeFloat 9s ease-in-out infinite;
}

.brick-shape {
    border-color: rgba(255,120,60,.11);
    border-radius: 15%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 55px;
}

.feature-card {
    position: relative;
    min-height: 330px;
    padding: 26px;
    border: 1px solid #181818;
    border-radius: 8px;
    background: rgba(255,255,255,.012);
    transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(130,100,255,.28);
}

.feature-number {
    color: #444;
    font-size: 9px;
}

.feature-icon {
    margin-top: 70px;
    color: #aaa;
    font-size: 26px;
}

.feature-card h3 {
    margin: 18px 0 9px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
}

.feature-arrow {
    position: absolute;
    right: 24px;
    bottom: 23px;
    color: #555;
}

.manifesto {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid #151515;
    border-bottom: 1px solid #151515;
}

.manifesto-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    left: 20%;
    top: 0;
    border-radius: 50%;
    background: rgba(90,60,255,.08);
    filter: blur(100px);
    animation: manifestoGlow 12s ease-in-out infinite alternate;
}

.manifesto-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.manifesto-title {
    max-width: 1100px;
    margin: 28px 0;
    font-size: clamp(55px, 9vw, 120px);
    line-height: .82;
    letter-spacing: -7px;
}

.manifesto-title span {
    display: block;
}

.manifesto-copy {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.studio {
    border-bottom: 1px solid #151515;
}

.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
}

.studio-lead {
    margin: 0 0 24px;
    color: #aaa;
    font-size: 23px;
    line-height: 1.5;
}

.studio-text {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 55px;
    padding-top: 23px;
    border-top: 1px solid #222;
}

.stat strong {
    display: block;
    margin-bottom: 7px;
    font-size: 28px;
}

.stat span {
    color: #555;
    font-size: 7px;
    letter-spacing: 1px;
}

.community {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.community-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    left: 15%;
    top: -10%;
    border-radius: 50%;
    background: rgba(80,60,255,.08);
    filter: blur(100px);
}

.community-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.community-title {
    max-width: 1100px;
    margin: 25px 0;
    font-size: clamp(50px, 8vw, 112px);
    line-height: .84;
    letter-spacing: -7px;
}

.community-title span {
    display: block;
}

.community-copy {
    margin: 0;
    color: #666;
}

.community-button {
    min-width: 135px;
    min-height: 48px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #222;
    border-radius: 5px;
    color: #aaa;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: background .2s ease, color .2s ease;
}

.community-button:hover {
    background: #fff;
    color: #000;
}

.final-cta {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.final-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(110,80,255,.12);
    border-radius: 50%;
    animation: rotate 35s linear infinite;
}

.final-content {
    position: relative;
    z-index: 2;
}

.final-content h2 {
    margin: 25px 0 38px;
    font-size: clamp(50px, 8vw, 112px);
    line-height: .83;
    letter-spacing: -7px;
}

.final-content h2 span {
    display: block;
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 28px 8vw;
    border-top: 1px solid #151515;
    color: #444;
    font-size: 7px;
    letter-spacing: 2px;
}

.site-footer div:nth-child(2) {
    text-align: center;
}

.site-footer div:last-child {
    text-align: right;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    z-index: 9999;
    padding: 12px 17px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #0b0b0b;
    color: #ddd;
    font-size: 10px;
    opacity: 0;
    transform: translate(-50%, 15px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .55s ease,
        transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes loader {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes floatOne {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(25px, -25px);
    }
}

@keyframes floatTwo {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-25px, 25px);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateX(-35px);
    }

    50%, 100% {
        transform: translateX(60px);
    }
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(-50%) rotate(25deg);
    }

    50% {
        transform: translateY(calc(-50% - 15px)) rotate(30deg);
    }
}

@keyframes ambientOne {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(250px, 160px);
    }
}

@keyframes ambientTwo {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-200px, -120px);
    }
}

@keyframes ambientThree {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(120px, -160px);
    }
}

@keyframes manifestoGlow {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 70px);
    }
}

@media (max-width: 900px) {

    .navigation {
        gap: 15px;
    }

    .hero-visual {
        right: -350px;
        opacity: .4;
    }

    .games-heading,
    .features-header {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .studio-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .game-shape {
        right: -150px;
        opacity: .35;
    }
}

@media (max-width: 600px) {

    html {
        scroll-behavior: auto;
    }

    body {
        overflow-x: hidden;
    }

    .cursor-glow,
    .cursor-dot {
        display: none;
    }

    .noise {
        display: none;
    }

    .site-header {
        height: 62px;
        padding: 0 18px;
    }

    .site-header.scrolled {
        height: 60px;
    }

    .brand-text {
        display: none;
    }

    .navigation {
        gap: 13px;
        font-size: 7px;
        letter-spacing: 1.5px;
    }

    .header-button {
        display: none;
    }

    .scroll-progress {
        right: 5px;
        width: 1px;
        height: 70px;
    }

    .hero {
        min-height: 100svh;
        padding: 105px 22px 75px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: 62px;
        letter-spacing: -4px;
    }

    .hero-title span {
        margin-left: 35px;
    }

    .hero-motto {
        margin-top: 28px;
        font-size: 13px;
        line-height: 1.65;
    }

    .hero-buttons,
    .game-buttons,
    .community-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 310px;
    }

    .primary-button,
    .secondary-button,
    .community-button {
        width: 100%;
    }

    .hero-visual {
        width: 430px;
        height: 430px;
        right: -285px;
        top: 68%;
        opacity: .25;
    }

    .hero-bottom {
        left: 22px;
        bottom: 22px;
    }

    .section-padding {
        padding: 85px 22px;
    }

    .intro {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .intro-number {
        display: none;
    }

    .large-heading {
        font-size: 48px;
        letter-spacing: -4px;
    }

    .large-copy {
        font-size: 14px;
    }

    .section-title {
        font-size: 49px;
        letter-spacing: -4px;
    }

    .game-section,
    .game-content {
        min-height: 780px;
    }

    .game-content {
        padding: 30px 22px;
    }

    .game-title {
        font-size: 70px;
        letter-spacing: -5px;
    }

    .game-description {
        max-width: 330px;
        font-size: 12px;
    }

    .game-shape {
        width: 330px;
        height: 330px;
        right: -220px;
        opacity: .3;
    }

    .feature-card {
        min-height: 290px;
    }

    .feature-icon {
        margin-top: 55px;
    }

    .manifesto {
        min-height: 70vh;
    }

    .manifesto-title,
    .community-title,
    .final-content h2 {
        font-size: 49px;
        letter-spacing: -4px;
    }

    .studio-lead {
        font-size: 20px;
    }

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

    .stat:last-child {
        grid-column: 1 / -1;
    }

    .final-orbit {
        width: 400px;
        height: 400px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 25px 22px;
        text-align: center;
    }

    .site-footer div:nth-child(2),
    .site-footer div:last-child {
        text-align: center;
    }

    .ambient {
        filter: blur(80px);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}