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

:root {
    --background: #07070a;
    --background-light: #0d0d12;
    --card: #111117;
    --card-hover: #17171f;

    --text: #f4f4f5;
    --muted: #9999a8;

    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #22d3ee;

    --border: rgba(255, 255, 255, 0.08);

    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

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

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}


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

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(7, 7, 10, 0.78);

    backdrop-filter: blur(18px);

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

.nav-container {
    height: 76px;

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

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 18px;
    font-weight: 600;
}

.logo strong {
    color: var(--primary-light);
}

.logo-mark {
    width: 38px;
    height: 38px;

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

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: white;

    font-size: 21px;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    color: var(--muted);

    font-size: 14px;
    font-weight: 500;

    transition: 0.25s ease;
}

.nav-links a:hover {
    color: white;
}

.menu-button {
    display: none;

    border: 0;
    background: transparent;

    color: white;

    font-size: 26px;

    cursor: pointer;
}


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

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;

    width: 650px;
    height: 650px;

    top: -250px;
    right: -100px;

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.23),
            transparent 65%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;

    padding-top: 80px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 14px;

    border: 1px solid var(--border);
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.025);

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 25px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #34d399;

    box-shadow: 0 0 12px #34d399;
}

.hero h1 {
    max-width: 700px;

    font-size: clamp(48px, 7vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;

    margin-bottom: 28px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        100deg,
        var(--primary-light),
        var(--secondary)
    );

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

    color: transparent;
}

.hero p {
    max-width: 620px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

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

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

.button.primary {
    background: white;
    color: #08080b;
}

.button.primary:hover {
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.12);
}

.button.secondary {
    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.03);

    color: white;
}

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


/* CODE CARD */

.hero-visual {
    position: relative;

    min-height: 440px;

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

.code-card {
    position: relative;

    width: min(470px, 100%);

    border-radius: 18px;

    overflow: hidden;

    background: #0b0b10;

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

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(139, 92, 246, 0.12);

    transform: rotate(2deg);

    z-index: 2;
}

.code-header {
    height: 52px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    gap: 15px;

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

    color: #777784;

    font-size: 12px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #34343d;
}

.code-body {
    padding: 28px;

    color: #bdbdc8;

    font-family: "Cascadia Code", Consolas, monospace;

    font-size: 14px;

    line-height: 2;
}

.code-body p {
    margin: 0;
}

.indent {
    padding-left: 25px;
}

.indent2 {
    padding-left: 50px;
}

.code-purple {
    color: #c084fc;
}

.code-blue {
    color: #67e8f9;
}

.code-green {
    color: #86efac;
}

.terminal-cursor {
    display: inline-block;

    width: 7px;
    height: 15px;

    margin-top: 12px;

    background: var(--primary-light);

    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);
}

.orb-one {
    width: 160px;
    height: 160px;

    top: 20px;
    right: 30px;

    background: rgba(139, 92, 246, 0.18);
}

.orb-two {
    width: 110px;
    height: 110px;

    bottom: 30px;
    left: 10px;

    background: rgba(34, 211, 238, 0.12);
}


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

.section {
    padding: 120px 0;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 55px;
}

.section-label {
    display: block;

    color: var(--primary-light);

    font-family: monospace;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;

    margin-bottom: 18px;
}

.section-heading h2,
.tech-content h2,
.contact-box h2 {
    font-size: clamp(36px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.section-heading h2 span,
.tech-content h2 span,
.contact-box h2 span {
    color: var(--primary-light);
}

.section-heading p,
.tech-content p,
.contact-box p {
    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================
   ABOUT
========================= */

.about {
    background: var(--background-light);

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

.about-grid {
    display: grid;

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

    gap: 18px;
}

.about-card {
    padding: 32px;

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

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.about-card:hover {
    transform: translateY(-5px);

    background: var(--card-hover);
}

.card-icon {
    font-size: 30px;

    margin-bottom: 24px;
}

.about-card h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.about-card p {
    color: var(--muted);

    line-height: 1.75;

    font-size: 14px;
}


/* =========================
   PRODUCTS
========================= */

.product-grid {
    display: grid;

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

    gap: 20px;
}

.product-card {
    overflow: hidden;

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

    border-radius: 16px;

    background: var(--card);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

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

    border-color: rgba(139, 92, 246, 0.35);
}

.product-image {
    height: 220px;

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

.app-placeholder {
    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(139, 92, 246, 0.35),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #171320,
            #0b1017
        );
}

.app-placeholder span {
    padding: 13px 22px;

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

    border-radius: 10px;

    font-family: monospace;

    font-size: 13px;

    letter-spacing: 3px;

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

.product-content {
    padding: 26px;
}

.product-type {
    display: block;

    color: #777784;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.product-content h3 {
    font-size: 23px;

    margin-bottom: 10px;
}

.product-content p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

    min-height: 70px;

    margin-bottom: 20px;
}

.product-link {
    color: var(--primary-light);

    font-size: 13px;
    font-weight: 600;
}


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

.games-section {
    background: var(--background-light);

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

.game-feature {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    overflow: hidden;

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

    border-radius: 20px;

    background: var(--card);
}

.game-visual {
    min-height: 480px;

    position: relative;

    overflow: hidden;

    display: flex;
    flex-direction: column;

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

    background:
        radial-gradient(
            circle at center,
            rgba(139, 92, 246, 0.28),
            transparent 48%
        ),
        linear-gradient(
            135deg,
            #171122,
            #08090e
        );
}

.game-logo {
    text-align: center;

    transform: rotate(-3deg);
}

.game-logo span {
    display: block;

    color: #d8d8df;

    font-size: 22px;

    letter-spacing: 8px;
}

.game-logo strong {
    display: block;

    font-size: clamp(40px, 6vw, 72px);

    line-height: 0.9;

    color: white;

    text-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6);
}

.game-coins {
    position: absolute;

    bottom: 55px;

    display: flex;

    gap: 25px;
}

.game-coins span {
    display: flex;

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

    width: 55px;
    height: 55px;

    border-radius: 50%;

    border: 5px solid #8d7a35;

    background: #d9b83f;

    color: #8d6d16;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.4);
}

.game-info {
    padding: 65px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.game-info h3 {
    font-size: 38px;

    margin-bottom: 20px;
}

.game-info p {
    color: var(--muted);

    line-height: 1.8;

    margin-bottom: 25px;
}

.game-tags {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}

.game-tags span {
    padding: 7px 12px;

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

    border-radius: 100px;

    color: #aaaab6;

    font-size: 12px;
}


/* =========================
   TECHNOLOGY
========================= */

.tech-content {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: center;
}

.tech-grid {
    display: grid;

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

    gap: 12px;
}

.tech-item {
    padding: 25px;

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

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.02);

    transition: 0.25s ease;
}

.tech-item:hover {
    background: var(--card-hover);

    border-color: rgba(139, 92, 246, 0.3);
}

.tech-item strong {
    display: block;

    font-size: 17px;

    margin-bottom: 4px;
}

.tech-item span {
    color: var(--muted);

    font-size: 12px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding-bottom: 140px;
}

.contact-box {
    padding: 65px;

    display: flex;

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

    gap: 50px;

    border: 1px solid rgba(139, 92, 246, 0.22);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at right,
            rgba(139, 92, 246, 0.15),
            transparent 45%
        ),
        var(--card);
}

.contact-box h2 {
    max-width: 650px;
}

.contact-box p {
    max-width: 620px;
}

.contact-links {
    display: flex;

    flex-direction: column;

    gap: 10px;

    min-width: 150px;
}

.contact-links a {
    padding: 12px 16px;

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

    border-radius: 9px;

    text-align: center;

    color: #c7c7d0;

    font-size: 13px;

    transition: 0.2s ease;
}

.contact-links a:hover {
    color: white;

    background: rgba(255, 255, 255, 0.05);
}


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

footer {
    border-top: 1px solid var(--border);

    background: #050507;
}

.footer-content {
    min-height: 100px;

    display: flex;

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

    gap: 30px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-brand strong {
    display: block;

    font-size: 14px;
}

.footer-brand span:not(.logo-mark) {
    display: block;

    color: #666672;

    font-size: 11px;
}

.footer-content > p {
    color: #5e5e68;

    font-size: 12px;
}


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

@media (max-width: 900px) {

    .nav-links {
        position: absolute;

        top: 76px;
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

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

        border-radius: 14px;

        background: rgba(10, 10, 14, 0.97);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 13px 15px;
    }

    .menu-button {
        display: block;
    }

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

        gap: 40px;

        padding-top: 110px;
    }

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

    .about-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

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

    .game-visual {
        min-height: 360px;
    }

    .tech-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .contact-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 40px;
    }

    .contact-links {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;

        justify-content: center;

        padding: 25px 0;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(
            var(--container),
            calc(100% - 28px)
        );
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2.5px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 85px 0;
    }

    .section-heading h2,
    .tech-content h2,
    .contact-box h2 {
        font-size: 38px;
    }

    .code-body {
        padding: 20px;

        font-size: 11px;
    }

    .game-info {
        padding: 35px 25px;
    }

    .game-info h3 {
        font-size: 30px;
    }

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

    .contact-box {
        padding: 30px 22px;
    }
}
