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

html {
    scroll-behavior: smooth;
}

body {
    background: #08080b;
    color: #f4f4f5;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;

    inset: 0;

    z-index: -5;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(130, 0, 0, .12),
            transparent 35%
        ),
        #08080b;
}

.red-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    filter: blur(130px);

    opacity: .13;

    background: #ff2028;

    animation: glowMove 12s ease-in-out infinite alternate;
}

.glow-one {
    top: -300px;
    left: -200px;
}

.glow-two {
    right: -300px;
    bottom: -250px;

    animation-delay: -5s;
}

@keyframes glowMove {

    from {
        transform: translate(0, 0);
    }

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

}

.grid {

    position: absolute;

    inset: 0;

    opacity: .045;

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

    background-size:
        70px 70px;
}


/* =========================
   CROWS
========================= */

.crow-layer {

    position: fixed;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    overflow: hidden;
}

.crow {

    position: absolute;

    width: 70px;
    height: 40px;

    opacity: 0;

    filter:
        drop-shadow(
            0 0 12px
            rgba(255,0,0,.18)
        );
}

.crow-body {

    position: absolute;

    width: 28px;
    height: 20px;

    left: 22px;
    top: 12px;

    border-radius: 50%;

    background: #050505;
}

.crow-head {

    position: absolute;

    width: 15px;
    height: 15px;

    left: 43px;
    top: 7px;

    border-radius: 50%;

    background: #050505;
}

.crow-eye {

    position: absolute;

    width: 3px;
    height: 3px;

    left: 53px;
    top: 12px;

    border-radius: 50%;

    background: #ff1f2a;

    box-shadow:
        0 0 8px #ff1f2a;
}

.crow-wing-left,
.crow-wing-right {

    position: absolute;

    width: 40px;
    height: 15px;

    top: 5px;

    border-radius: 100% 0 100% 0;

    background: #020202;

    transform-origin: center;
}

.crow-wing-left {
    left: 3px;
}

.crow-wing-right {
    left: 27px;
}


/* =========================
   INTRO
========================= */

.intro {

    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: #050507;

    transition:
        opacity .8s ease,
        visibility .8s ease;
}

.intro.hide {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

.intro-glow {

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: #ff1e27;

    filter: blur(130px);

    opacity: .12;
}

.intro-logo {

    position: relative;

    width: 105px;
    height: 105px;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 0 60px rgba(255,30,40,.35);

    animation:
        introLogo 1.4s ease;
}

.intro-logo img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.intro-name {

    margin-top: 25px;

    font-size: 25px;

    font-weight: 900;

    letter-spacing: 8px;
}

.intro-name span {
    color: #ff2932;
}

.intro-line {

    width: 80px;
    height: 1px;

    margin: 16px 0;

    background: #ff2932;

    animation:
        introLine 1s ease forwards;
}

.intro-subtitle {

    color: #68686f;

    font-size: 9px;

    letter-spacing: 4px;
}

@keyframes introLogo {

    from {
        opacity: 0;
        transform: scale(.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes introLine {

    from {
        width: 0;
    }

    to {
        width: 80px;
    }

}


/* =========================
   NAVBAR
========================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 100;

    width: 100%;

    height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0
        clamp(20px, 5vw, 80px);

    background:
        rgba(8,8,11,.75);

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

    backdrop-filter: blur(20px);
}

.brand {

    display: flex;

    align-items: center;

    gap: 11px;
}

.brand-logo {

    width: 38px;
    height: 38px;

    overflow: hidden;

    border-radius: 11px;
}

.brand-logo img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.brand-text {

    display: flex;

    flex-direction: column;
}

.brand-text strong {

    font-size: 13px;

    letter-spacing: 2px;
}

.brand-text strong span {
    color: #ff2932;
}

.brand-text small {

    margin-top: 2px;

    color: #57575f;

    font-size: 6px;

    letter-spacing: 1.5px;
}

.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links a {

    color: #85858c;

    font-size: 12px;

    transition: .25s;
}

.nav-links a:hover {

    color: white;
}

.nav-discord {

    padding:
        10px
        15px;

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

    border-radius: 9px;

    font-size: 11px;

    background:
        rgba(255,255,255,.035);

    transition: .25s;
}

.nav-discord:hover {

    border-color:
        rgba(255,40,48,.5);

    background:
        rgba(255,30,40,.08);
}

.nav-discord span {
    color: #ff2932;
}


/* =========================
   SECTIONS
========================= */

.section {

    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: auto;
}

.hero {

    min-height: 720px;

    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    align-items: center;

    gap: 50px;
}

.status-pill {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        7px
        11px;

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

    border-radius: 50px;

    color: #898990;

    font-size: 8px;

    letter-spacing: 1.5px;

    background:
        rgba(255,255,255,.025);
}

.status-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #43e58a;

    box-shadow:
        0 0 10px #43e58a;
}

.hero h1 {

    margin-top: 25px;

    font-size:
        clamp(60px, 8vw, 105px);

    line-height: .88;

    letter-spacing: -6px;

    font-weight: 900;
}

.hero h1 .muted {

    display: block;

    color: #e8e8ea;
}

.hero h1 .red {

    display: block;

    color: #ff2831;
}

.hero-description {

    max-width: 570px;

    margin-top: 30px;

    color: #77777f;

    line-height: 1.8;

    font-size: 14px;
}

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 30px;
}

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 45px;

    padding:
        0
        18px;

    border-radius: 9px;

    font-size: 11px;

    font-weight: 700;

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

.button:hover {

    transform:
        translateY(-2px);
}

.button.primary {

    color: white;

    background:
        linear-gradient(
            135deg,
            #ff343d,
            #bd1018
        );

    box-shadow:
        0 10px 30px
        rgba(255,30,40,.14);
}

.button.secondary {

    color: #c8c8cc;

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

    background:
        rgba(255,255,255,.025);
}

.button span {
    color: #ff5960;
}

.hero-stats {

    display: flex;

    gap: 45px;

    margin-top: 55px;
}

.hero-stats div {

    display: flex;

    flex-direction: column;
}

.hero-stats strong {

    font-size: 22px;
}

.hero-stats span {

    margin-top: 5px;

    color: #525259;

    font-size: 7px;

    letter-spacing: 1.5px;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {

    position: relative;

    height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.hero-logo-card {

    position: relative;

    z-index: 2;

    width: 280px;
    height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

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

    border-radius: 45px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.012)
        );

    box-shadow:
        0 40px 100px
        rgba(0,0,0,.5),
        0 0 70px
        rgba(255,20,30,.12);

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

.hero-logo-card img {

    width: 125px;
    height: 125px;

    border-radius: 30px;

    object-fit: cover;

    box-shadow:
        0 0 50px
        rgba(255,30,40,.22);
}

.hero-logo-text {

    margin-top: 22px;

    font-size: 19px;

    font-weight: 900;

    letter-spacing: 4px;
}

.hero-logo-sub {

    margin-top: 7px;

    color: #55555c;

    font-size: 7px;

    letter-spacing: 2px;
}

.visual-ring {

    position: absolute;

    border:
        1px solid
        rgba(255,30,40,.14);

    border-radius: 50%;

    animation:
        spin 25s linear infinite;
}

.ring-one {

    width: 390px;
    height: 390px;
}

.ring-two {

    width: 500px;
    height: 500px;

    border-color:
        rgba(255,255,255,.035);

    animation-direction:
        reverse;
}

@keyframes floating {

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

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

}

@keyframes spin {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


/* =========================
   HEADINGS
========================= */

.scripts-section,
.games-section,
.developer-section,
.features-section {

    padding-top: 100px;

    padding-bottom: 100px;
}

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.eyebrow {

    display: block;

    margin-bottom: 10px;

    color: #ff2932;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 3px;
}

.section-heading h2 {

    font-size:
        clamp(35px, 5vw, 60px);

    letter-spacing: -3px;
}

.section-heading h2 span {

    color: #ff2932;
}

.section-heading p {

    max-width: 350px;

    color: #66666e;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================
   SCRIPT CARD
========================= */

.script-card {

    overflow: hidden;

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

    border-radius: 15px;

    background:
        rgba(255,255,255,.025);

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.25);
}

.script-card-top {

    height: 50px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding:
        0 17px;

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

    color: #77777e;

    font-size: 10px;
}

.window-dots {

    display: flex;

    gap: 5px;
}

.window-dots i {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #33343a;
}

.language {

    margin-left: auto;

    color: #ff444c;

    font-size: 7px;

    letter-spacing: 2px;
}

.code-wrapper {

    overflow-x: auto;

    padding: 35px;

    background:
        rgba(0,0,0,.2);
}

.code-wrapper pre {

    min-width: max-content;

    color: #c9c9cd;

    font-family:
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 1.8;
}

.code-wrapper code {
    color: #ff6670;
}

.script-actions {

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        18px;

    border-top:
        1px solid
        rgba(255,255,255,.05);
}

.copy-button {

    min-height: 40px;

    padding:
        0 17px;

    border: 0;

    border-radius: 8px;

    color: white;

    background:
        #d91d26;

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s;
}

.copy-button:hover {

    background:
        #f02731;

    transform:
        translateY(-2px);
}

.copy-notification {

    color: #43e58a;

    font-size: 9px;

    opacity: 0;

    transition: .25s;
}

.copy-notification.show {
    opacity: 1;
}


/* =========================
   GAMES
========================= */

.games-grid {

    display: grid;

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

    gap: 18px;
}

.game-card {

    overflow: hidden;

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

    border-radius: 15px;

    background:
        rgba(255,255,255,.025);

    transition:
        transform .3s,
        border-color .3s,
        box-shadow .3s;
}

.game-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(255,35,45,.25);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.35);
}

.game-image {

    position: relative;

    height: 200px;

    overflow: hidden;

    background: #111116;
}

.game-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s;
}

.game-card:hover
.game-image img {

    transform:
        scale(1.06);
}

.game-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 35%,
            rgba(0,0,0,.8)
        );
}

.game-status {

    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 2;

    padding:
        7px 9px;

    border-radius: 6px;

    background:
        rgba(0,0,0,.7);

    backdrop-filter:
        blur(8px);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1px;
}

.game-status span {

    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 4px;

    border-radius: 50%;
}

.game-status.online {
    color: #43e58a;
}

.game-status.online span {

    background: #43e58a;

    box-shadow:
        0 0 8px #43e58a;
}

.game-status.offline {
    color: #ff3c45;
}

.game-status.offline span {

    background: #ff3c45;

    box-shadow:
        0 0 8px #ff3c45;
}

.game-info {

    padding: 22px;
}

.game-type {

    color: #55555d;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.game-info h3 {

    margin-top: 8px;

    font-size: 20px;
}

.game-info p {

    min-height: 55px;

    margin-top: 10px;

    color: #696970;

    font-size: 11px;

    line-height: 1.7;
}

.game-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 20px;
}

.game-state {

    color: #67676e;

    font-size: 8px;
}

.play-button {

    padding:
        10px 13px;

    border-radius: 7px;

    color: white;

    background:
        #c91b24;

    font-size: 8px;

    font-weight: 800;

    transition: .25s;
}

.play-button:hover {

    background:
        #f02a34;

    transform:
        translateY(-2px);
}

.play-button.disabled {

    color: #66666d;

    background:
        #1b1b20;

    pointer-events: none;
}


/* =========================
   DEVELOPER
========================= */

.developer-card {

    display: grid;

    grid-template-columns:
        180px 1fr;

    gap: 40px;

    padding: 40px;

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

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.012)
        );
}

.developer-avatar {

    position: relative;

    width: 180px;
    height: 180px;

    overflow: visible;
}

.developer-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 30px;

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

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.4);
}

.avatar-status {

    position: absolute;

    right: -4px;
    bottom: -4px;

    width: 24px;
    height: 24px;

    border:
        4px solid #0b0b0e;

    border-radius: 50%;

    background: #ff2932;

    box-shadow:
        0 0 15px
        rgba(255,30,40,.4);
}

.developer-info h2 {

    font-size: 38px;

    letter-spacing: -2px;
}

.discord-user {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 8px;

    color: #9999a0;

    font-size: 12px;
}

.discord-icon {

    color: #7289da;
}

.presence {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 18px;

    font-size: 8px;

    letter-spacing: 1.5px;
}

.presence > span {

    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.presence.online {

    color: #43e58a;
}

.presence.online > span {

    background: #43e58a;

    box-shadow:
        0 0 10px #43e58a;
}

.presence.offline {

    color: #ff2932;
}

.presence.offline > span {

    background: #ff2932;

    box-shadow:
        0 0 10px #ff2932;
}

.developer-info p {

    max-width: 550px;

    margin:
        17px 0 25px;

    color: #686870;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================
   FEATURES
========================= */

.centered {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.features-grid {

    display: grid;

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

    gap: 15px;
}

.feature {

    padding: 25px;

    min-height: 190px;

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

    border-radius: 14px;

    background:
        rgba(255,255,255,.02);

    transition: .3s;
}

.feature:hover {

    border-color:
        rgba(255,40,50,.2);

    transform:
        translateY(-5px);
}

.feature-number {

    color: #ff2932;

    font-size: 8px;

    letter-spacing: 2px;
}

.feature h3 {

    margin-top: 30px;

    font-size: 16px;
}

.feature p {

    margin-top: 10px;

    color: #626269;

    font-size: 10px;

    line-height: 1.8;
}


/* =========================
   LOADING
========================= */

.loading-card {

    grid-column:
        1 / -1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 150px;

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

    border-radius: 14px;

    color: #66666d;

    font-size: 11px;
}

.loader {

    width: 15px;
    height: 15px;

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

    border-top-color:
        #ff2932;

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}


/* =========================
   FOOTER
========================= */

.footer {

    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin:
        30px auto 0;

    padding:
        30px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    color: #55555c;
}

.footer-brand {

    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-brand img {

    width: 30px;
    height: 30px;

    border-radius: 8px;
}

.footer-brand div {

    display: flex;

    flex-direction: column;
}

.footer-brand strong {

    color: white;

    font-size: 10px;

    letter-spacing: 2px;
}

.footer-brand strong span {
    color: #ff2932;
}

.footer-brand small {

    margin-top: 3px;

    font-size: 7px;
}

.footer-links {

    display: flex;

    gap: 22px;
}

.footer-links a {

    font-size: 9px;

    transition: .2s;
}

.footer-links a:hover {

    color: #ff2932;
}

.footer-copy {

    font-size: 8px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .navbar {

        height: 65px;
    }

    .nav-links {

        display: none;
    }

    .nav-discord {

        padding:
            9px 11px;
    }

    .hero {

        min-height: auto;

        padding-top: 80px;

        grid-template-columns:
            1fr;
    }

    .hero-visual {

        height: 400px;
    }

    .hero h1 {

        font-size: 65px;

        letter-spacing: -4px;
    }

    .games-grid {

        grid-template-columns:
            1fr;
    }

    .features-grid {

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

    .developer-card {

        grid-template-columns:
            1fr;

        text-align: center;

        justify-items: center;
    }

    .developer-info {

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .footer {

        flex-direction: column;

        gap: 20px;
    }

}


@media (max-width: 500px) {

    .section {

        width:
            calc(100% - 28px);
    }

    .hero h1 {

        font-size: 52px;

        letter-spacing: -3px;
    }

    .hero-description {

        font-size: 12px;
    }

    .hero-buttons {

        flex-direction: column;
    }

    .hero-buttons .button {

        width: 100%;
    }

    .hero-stats {

        gap: 25px;
    }

    .hero-stats strong {

        font-size: 18px;
    }

    .hero-visual {

        height: 330px;
    }

    .hero-logo-card {

        width: 220px;
        height: 220px;
    }

    .hero-logo-card img {

        width: 90px;
        height: 90px;
    }

    .ring-one {

        width: 290px;
        height: 290px;
    }

    .ring-two {

        width: 330px;
        height: 330px;
    }

    .section-heading {

        flex-direction: column;

        align-items: flex-start;
    }

    .features-grid {

        grid-template-columns:
            1fr;
    }

    .developer-card {

        padding: 25px 18px;
    }

    .developer-avatar {

        width: 140px;
        height: 140px;
    }

    .developer-info h2 {

        font-size: 32px;
    }

    .code-wrapper {

        padding: 22px;
    }

    .code-wrapper pre {

        font-size: 10px;
    }

    .footer-links {

        flex-wrap: wrap;

        justify-content: center;
    }

}
