@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg: #05030a;
    --bg-soft: #0b0712;
    --panel: #100a19;
    --panel-light: #171021;
    --purple: #a82cff;
    --purple-bright: #c84cff;
    --purple-dark: #6412a8;
    --text: #f6f2fa;
    --muted: #aaa0b4;
    --border: rgba(185, 58, 255, 0.22);
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    background: rgba(5, 3, 10, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    transition: background 0.3s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(168, 44, 255, 0.55));
}

.site-nav {
    display: flex;
    gap: 34px;
}

.site-nav a {
    position: relative;
    color: #c9c1ce;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--purple-bright);
    box-shadow: 0 0 10px var(--purple);
    transition: width 0.25s ease;
}

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

.site-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px;
    background: white;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 130px 24px 80px;
    background:
        radial-gradient(circle at 50% 42%, rgba(132, 22, 213, 0.22), transparent 34%),
        radial-gradient(circle at 15% 80%, rgba(92, 16, 143, 0.14), transparent 30%),
        var(--bg);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(850px, 100%);
    text-align: center;
}

.eyebrow {
    color: var(--purple-bright);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    margin-bottom: 15px;
}

.hero-logo {
    display: block;
    width: min(460px, 78vw);
    margin: 0 auto 18px;
    filter:
        drop-shadow(0 0 20px rgba(164, 36, 255, 0.35))
        drop-shadow(0 0 65px rgba(118, 15, 196, 0.18));
    animation: logoFloat 6s ease-in-out infinite;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}

.hero h1 span,
.about-content h2 span {
    color: var(--purple-bright);
    text-shadow: 0 0 24px rgba(177, 49, 255, 0.3);
}

.hero-text {
    max-width: 650px;
    margin: 0 auto 34px;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 23px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    background: var(--purple);
    box-shadow: 0 0 25px rgba(168, 44, 255, 0.28);
}

.button-primary:hover {
    background: var(--purple-bright);
    box-shadow: 0 0 35px rgba(168, 44, 255, 0.45);
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.button-secondary:hover {
    border-color: rgba(198, 76, 255, 0.5);
    background: rgba(168, 44, 255, 0.08);
}

.scroll-hint {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #746b7d;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.scroll-hint span {
    display: block;
    width: 1px;
    height: 30px;
    margin: 0 auto 8px;
    background: linear-gradient(var(--purple), transparent);
}

.section {
    width: min(var(--max-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 120px 0;
}

.section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.section-heading h2,
.about-content h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: var(--muted);
}

.games-section {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.game-card {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    min-height: 500px;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.35);
}

.game-art {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(190, 44, 255, 0.75), transparent 18%),
        linear-gradient(#100820, #050309 70%);
}

.game-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, var(--panel) 100%);
    pointer-events: none;
}

.game-art-glow {
    position: absolute;
    width: 270px;
    height: 270px;
    top: 80px;
    border-radius: 50%;
    background: rgba(182, 42, 255, 0.75);
    filter: blur(70px);
}

.moon {
    position: absolute;
    width: 230px;
    height: 230px;
    top: 80px;
    border-radius: 50%;
    background: #bd3fff;
    box-shadow: 0 0 80px rgba(189,63,255,0.6);
}

.forest {
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -5px;
    height: 43%;
    background: #07040d;
    clip-path: polygon(
        0 100%, 0 65%, 6% 42%, 11% 65%, 16% 28%, 21% 60%,
        27% 38%, 32% 64%, 38% 22%, 44% 60%, 50% 30%, 56% 64%,
        63% 37%, 68% 62%, 75% 25%, 81% 62%, 87% 34%, 93% 64%,
        100% 42%, 100% 100%
    );
}

.forest-back {
    bottom: 28px;
    height: 30%;
    opacity: 0.55;
    transform: scaleX(1.15);
}

.game-title {
    position: relative;
    z-index: 5;
    margin-top: 180px;
    text-align: center;
    text-shadow: 0 3px 20px black;
}

.game-title span,
.game-title small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
}

.game-title strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    letter-spacing: -0.06em;
    color: white;
}

.game-title small {
    color: var(--purple-bright);
    margin-top: 6px;
}

.game-info {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 55px 50px 55px 25px;
}

.game-status {
    color: var(--purple-bright);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 13px;
}

.game-info h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.7rem;
    line-height: 1;
    margin-bottom: 20px;
}

.game-info p:not(.game-status) {
    color: #bbb2c2;
    margin-bottom: 18px;
}

.game-info .muted {
    color: #756b7b;
    font-size: 0.85rem;
}

.text-link {
    color: var(--purple-bright);
    font-weight: 700;
    font-size: 0.88rem;
}

.text-link:hover {
    text-decoration: underline;
}

.coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    color: #716878;
}

.coming-soon span {
    color: var(--purple-bright);
}

.about-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-logo {
    text-align: center;
}

.about-logo img {
    width: min(430px, 100%);
    filter: drop-shadow(0 0 35px rgba(168, 44, 255, 0.22));
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    margin-bottom: 28px;
}

.about-content > p:not(.signature) {
    color: var(--muted);
    margin-bottom: 18px;
}

.signature {
    color: var(--purple-bright);
    font-weight: 600;
    margin-top: 28px;
}

.links-section {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background: rgba(255,255,255,0.025);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: var(--border);
    background: rgba(168, 44, 255, 0.06);
}

.social-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 8px;
    background: rgba(168, 44, 255, 0.11);
    color: var(--purple-bright);
    font-size: 1.25rem;
    font-weight: 800;
}

.social-card span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.social-card strong {
    font-family: "Space Grotesk", sans-serif;
}

.social-card small {
    color: #7d7384;
    font-size: 0.75rem;
}

.social-card b {
    margin-left: auto;
    color: #6e6575;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 130px;
    padding: 25px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #6f6676;
    font-size: 0.78rem;
}

.site-footer img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(168, 44, 255, 0.35));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@media (max-width: 800px) {
    .site-header {
        height: 68px;
    }

    .brand span {
        display: none;
    }

    .menu-toggle {
        display: block;
        z-index: 102;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 10px 24px 20px;
        background: rgba(5, 3, 10, 0.97);
        border-bottom: 1px solid var(--border);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 0;
    }

    .game-card,
    .about-section {
        grid-template-columns: 1fr;
    }

    .game-art {
        min-height: 420px;
    }

    .game-info {
        padding: 40px 30px;
    }

    .about-section {
        gap: 45px;
    }

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

@media (max-width: 500px) {
    .section {
        width: min(var(--max-width), calc(100% - 30px));
        padding: 85px 0;
    }

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

    .hero-logo {
        width: min(390px, 92vw);
    }

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

    .button {
        width: 100%;
    }

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

    .moon {
        width: 180px;
        height: 180px;
    }

    .game-title {
        margin-top: 140px;
    }

    .game-title strong {
        font-size: 3.2rem;
    }

    .site-footer {
        flex-direction: column;
        gap: 8px;
    }
}
