:root {
    color-scheme: dark;
    --bg: #050918;
    --bg-deep: #020512;
    --panel: rgba(18, 23, 42, 0.72);
    --panel-strong: rgba(25, 30, 53, 0.88);
    --line: rgba(180, 142, 255, 0.2);
    --line-strong: rgba(205, 164, 255, 0.34);
    --ink: #fbf9ff;
    --muted: #a8a1b8;
    --faint: #756f84;
    --purple: #c85cff;
    --purple-deep: #7c35ce;
    --violet: #9e6cff;
    --green: #89df42;
    --pink: #ff4d73;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --glow: 0 0 44px rgba(200, 92, 255, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(135deg, rgba(200, 92, 255, 0.08), transparent 36%),
        linear-gradient(225deg, rgba(91, 72, 172, 0.1), transparent 42%),
        linear-gradient(180deg, #070a18 0%, var(--bg) 52%, var(--bg-deep) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 96px 96px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 72%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 72%);
}

a {
    color: inherit;
}

.site-shell {
    width: min(1250px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 9, 24, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.site-header .site-shell {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    font-size: 31px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(200, 92, 255, 0.56));
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a,
.text-link {
    color: var(--ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.main-nav a {
    border-radius: 8px;
    padding: 10px 12px;
}

.main-nav a:hover,
.text-link:hover {
    color: var(--purple);
    background: rgba(200, 92, 255, 0.12);
}

.language-button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    text-decoration: none;
}

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

.flag {
    position: relative;
    width: 24px;
    height: 16px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 2px;
}

.flag-de {
    background: linear-gradient(#111111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.flag-en {
    background: #ffffff;
}

.flag-en::before,
.flag-en::after {
    content: "";
    position: absolute;
    inset: 0;
}

.flag-en::before {
    background:
        linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
        linear-gradient(0deg, transparent 35%, #c8102e 35% 65%, transparent 65%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.breadcrumb {
    position: relative;
    z-index: 1;
    padding-top: 28px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--faint);
    font-size: 14px;
    font-weight: 650;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li + li::before {
    content: "/";
    color: rgba(168, 161, 184, 0.52);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--purple);
}

.breadcrumb [aria-current="page"] {
    color: #ffffff;
}

.home-page {
    position: relative;
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-logo {
    position: absolute;
    right: max(6px, calc((100vw - 1250px) / 2 - 24px));
    bottom: -132px;
    width: min(56vw, 720px);
    opacity: 0.48;
    pointer-events: none;
}

.hero-logo::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 8px;
    background: rgba(200, 92, 255, 0.18);
    filter: blur(72px);
}

.hero-logo img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 0 30px rgba(200, 92, 255, 0.74))
        drop-shadow(0 0 90px rgba(124, 53, 206, 0.42));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 82px 0 94px;
}

h1,
h2,
h3,
p,
dl,
dd {
    margin-top: 0;
}

h1 {
    max-width: 730px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 61px;
    line-height: 1.12;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 460px;
}

.hero h1 span {
    display: block;
    color: var(--purple);
    text-shadow: 0 0 28px rgba(200, 92, 255, 0.54);
}

h2 {
    margin-bottom: 13px;
    color: #ffffff;
    font-size: 33px;
    line-height: 1.16;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: 0;
}

.lead {
    max-width: 570px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button,
.button-secondary {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 22px;
    font-weight: 900;
    text-decoration: none;
}

.button-primary,
.button {
    color: #ffffff;
    background: linear-gradient(135deg, #9a4cff 0%, var(--purple) 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--glow);
}

.button:hover,
.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 58px rgba(200, 92, 255, 0.58);
}

.button-store {
    color: #06100b;
    background: linear-gradient(135deg, #89df42 0%, #42e2cc 100%);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 44px rgba(66, 226, 204, 0.32);
}

.button-store:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 54px rgba(66, 226, 204, 0.46);
}

.button-store .button-arrow {
    color: #06100b;
}

.button-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line);
}

.button-icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
}

.button-icon img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(1);
}

.button-icon-android img {
    filter:
        invert(8%) sepia(36%) saturate(727%) hue-rotate(74deg) brightness(89%) contrast(102%);
}

.button-arrow {
    font-size: 22px;
    line-height: 1;
}

.featured-section {
    position: relative;
    z-index: 2;
    margin-top: -20px;
}

.featured-card,
.quick-card,
.legal-card,
.info-panel,
.redirect-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 29, 0.78);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.featured-card {
    min-height: 232px;
    display: grid;
    grid-template-columns: 230px minmax(260px, 1fr) minmax(330px, 480px);
    gap: 34px;
    align-items: center;
    overflow: visible;
    padding: 28px;
}

.featured-card-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.featured-card-link:hover {
    border-color: rgba(200, 92, 255, 0.48);
    transform: translateY(-1px);
}

.featured-card-link:focus-visible,
.project-overview-card:focus-visible {
    outline: 3px solid rgba(200, 92, 255, 0.54);
    outline-offset: 4px;
}

.game-tile {
    min-height: 174px;
    display: grid;
    place-items: center;
}

.klixgrid-art-tile {
    position: relative;
    justify-self: stretch;
    align-self: stretch;
    width: calc(100% + 28px);
    min-height: auto;
    overflow: hidden;
    margin: -28px 0 -28px -28px;
    border-radius: 8px 0 0 8px;
}

.klixgrid-tile-art {
    position: absolute;
    width: calc(125% + 52px);
    height: calc(100% + 52px);
    display: block;
	    left: -136px;
    object-fit: cover;
    object-position: center;
    transform: rotate(-5deg) scale(1.08);
}

.phone-shot {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 46 / 100;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 17px;
    background: #0a0c14;
    padding: 5px 4px 4px;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.46),
        0 0 24px rgba(200, 92, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.phone-shot::before {
    content: none;
}

.phone-shot::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 50%;
    z-index: 3;
    width: 28%;
    max-width: 44px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.phone-shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: top center;
    border-radius: 8px;
    background: #f8f6f0;
}

.game-board-mini {
    position: relative;
    width: 170px;
    aspect-ratio: 1.12;
    border: 2px solid rgba(226, 208, 255, 0.76);
    border-radius: 8px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        rgba(10, 13, 25, 0.78);
    background-size: 34px 30px;
    box-shadow: inset 0 0 34px rgba(200, 92, 255, 0.2), 0 0 22px rgba(200, 92, 255, 0.22);
}

.shape {
    position: absolute;
}

.line-a,
.line-b {
    width: 2px;
    height: 86px;
    transform-origin: top;
}

.line-a {
    left: 38px;
    top: 18px;
    background: #c85cff;
    transform: rotate(7deg);
    box-shadow: 0 0 10px rgba(200, 92, 255, 0.9);
}

.line-b {
    left: 48px;
    top: 18px;
    background: #42e2cc;
    transform: rotate(17deg);
    box-shadow: 0 0 10px rgba(66, 226, 204, 0.7);
}

.block-a,
.block-b {
    width: 32px;
    height: 32px;
    border: 3px solid #bd58ff;
    background: rgba(200, 92, 255, 0.36);
}

.block-a {
    right: 30px;
    top: 68px;
}

.block-b {
    left: 72px;
    bottom: 16px;
}

.circle-a {
    left: 38px;
    bottom: 38px;
    width: 31px;
    height: 31px;
    border: 3px solid #d96bff;
    border-radius: 50%;
}

.cross-a {
    right: 29px;
    top: 20px;
    color: #da66ff;
    font-size: 33px;
    line-height: 1;
}

.dot-a {
    left: 20px;
    bottom: 22px;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: #c85cff;
    box-shadow: 0 0 10px rgba(200, 92, 255, 0.8);
}

.kicker {
    margin: 0 0 12px;
    color: #d785ff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.featured-copy p,
.project-copy p,
.app-detail p,
.legal-page p,
.legal-page li,
.feature p {
    color: var(--muted);
    line-height: 1.58;
}

.featured-copy p {
    max-width: 430px;
    font-size: 17px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: #c7c0d6;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 750;
}

.tag img {
    width: 18px;
    height: 18px;
    display: block;
}

.tag-android img {
    filter:
        invert(79%) sepia(62%) saturate(681%) hue-rotate(42deg) brightness(97%) contrast(89%)
        drop-shadow(0 0 7px rgba(137, 223, 66, 0.55));
}

.tag-logic img {
    filter:
        invert(59%) sepia(91%) saturate(4056%) hue-rotate(246deg) brightness(105%) contrast(102%)
        drop-shadow(0 0 7px rgba(200, 92, 255, 0.6));
}

.tag-offline img {
    filter:
        invert(52%) sepia(81%) saturate(3093%) hue-rotate(322deg) brightness(102%) contrast(102%)
        drop-shadow(0 0 7px rgba(255, 77, 115, 0.56));
}

.tag-party img {
    filter:
        invert(75%) sepia(72%) saturate(618%) hue-rotate(138deg) brightness(99%) contrast(92%)
        drop-shadow(0 0 7px rgba(66, 226, 204, 0.48));
}

.tag-status {
    color: #f2d9ff;
    border-color: rgba(200, 92, 255, 0.34);
    background: rgba(200, 92, 255, 0.1);
}

.tag-status img {
    filter:
        invert(73%) sepia(58%) saturate(1232%) hue-rotate(161deg) brightness(102%) contrast(93%)
        drop-shadow(0 0 7px rgba(66, 226, 204, 0.52));
}

.device-showcase {
    position: relative;
    min-height: 232px;
    display: block;
    align-self: stretch;
    overflow: visible;
    clip-path: inset(-92px 0 0 0);
    margin: -12px -28px -28px 0;
    text-decoration: none;
}

.device-showcase:hover {
    color: inherit;
}

.phone-shot-feature {
    position: absolute;
}

.phone-shot-feature-back {
    left: 96px;
    bottom: -128px;
    width: 180px;
    transform: rotate(-5deg);
}

.phone-shot-feature-front {
    right: 52px;
    bottom: -142px;
    width: 180px;
    transform: rotate(3deg);
    box-shadow:
        0 26px 56px rgba(0, 0, 0, 0.52),
        0 0 30px rgba(200, 92, 255, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.phone {
    position: absolute;
    width: 204px;
    min-height: 286px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: #0b0d16;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.48);
    padding: 18px 14px;
    color: #ffffff;
}

.phone-left {
    left: 64px;
    bottom: -34px;
    transform: rotate(-3deg);
}

.phone-right {
    right: 36px;
    bottom: -26px;
    transform: rotate(2deg);
}

.phone-bar {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    text-align: center;
}

.phone-level {
    margin-bottom: 12px;
    color: #d8d4e4;
    font-size: 14px;
    font-weight: 800;
}

.phone-grid {
    position: relative;
    height: 136px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        #111421;
    background-size: 26px 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cell {
    position: absolute;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #e4b2ff;
    font-size: 22px;
}

.cell.lit {
    background: rgba(200, 92, 255, 0.74);
    box-shadow: 0 0 15px rgba(200, 92, 255, 0.55);
}

.one {
    left: 53px;
    top: 35px;
}

.two {
    left: 78px;
    top: 35px;
}

.three {
    left: 102px;
    top: 86px;
}

.four {
    left: 28px;
    top: 86px;
}

.five {
    left: 78px;
    top: 112px;
}

.phone-right strong {
    display: block;
    margin: 9px 0 4px;
    font-size: 15px;
}

.phone-right p,
.phone-right li {
    margin: 0;
    color: #a9a3b9;
    font-size: 10px;
    line-height: 1.45;
}

.phone-right ul {
    margin: 8px 0 0;
    padding-left: 15px;
}

.quick-section {
    padding: 22px 0 28px;
}

.quick-grid {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(210px, 1fr) minmax(360px, 2.1fr);
    gap: 16px;
    align-items: stretch;
}

.quick-card {
    position: relative;
    z-index: 1;
    min-height: 170px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(9, 13, 29, 0.1);
    padding: 24px;
    text-decoration: none;
}

.quick-card strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.2;
}

.quick-card p {
    margin-bottom: 22px;
    color: var(--muted);
    line-height: 1.48;
}

.quick-card .text-link {
    color: #d36eff;
    background: none;
}

.quick-card:hover {
    border-color: rgba(200, 92, 255, 0.48);
    transform: translateY(-1px);
}

.app-teaser-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 230px;
}

.app-teaser-card .kicker {
    margin-bottom: 10px;
}

.app-teaser-card strong {
    font-size: 28px;
}

.app-teaser-card .tag-list {
    margin: 4px 0 20px;
}

.meply-teaser-card {
    grid-column: span 2;
}

.quick-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(124, 53, 206, 0.32);
}

.quick-icon img {
    width: 39px;
    height: 39px;
    display: block;
    filter:
        invert(58%) sepia(94%) saturate(3192%) hue-rotate(248deg) brightness(103%) contrast(103%)
        drop-shadow(0 0 12px rgba(200, 92, 255, 0.7));
}

.about-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.about-card img {
    width: 66px;
    height: 66px;
    filter: drop-shadow(0 0 18px rgba(200, 92, 255, 0.64));
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--faint);
    font-size: 14px;
    padding-bottom: 30px;
}

.footer-mark img {
    width: 30px;
    height: 30px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(200, 92, 255, 0.65));
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--faint);
}

.footer-links .text-link {
    color: var(--muted);
}

.section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.section-head p {
    max-width: 500px;
    color: var(--muted);
    line-height: 1.58;
}

.projects-page {
    position: relative;
    overflow: hidden;
    padding-bottom: 72px;
}

.projects-page::before {
    content: "";
    position: absolute;
    top: 40px;
    right: -170px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(200, 92, 255, 0.12);
    filter: blur(96px);
    pointer-events: none;
}

.projects-hero {
    position: relative;
    z-index: 1;
    padding: 70px 0 34px;
}

.projects-hero h1 {
    max-width: 620px;
}

.projects-hero .lead {
    max-width: 700px;
}

.projects-section {
    position: relative;
    z-index: 1;
    padding: 16px 0 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-overview-card {
    min-height: 254px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(9, 13, 29, 0.44);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: inherit;
    padding: 26px;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.project-overview-card:hover {
    border-color: rgba(200, 92, 255, 0.48);
    transform: translateY(-1px);
}

.project-overview-visual {
    display: grid;
    place-items: center;
    min-height: 180px;
}

.muse-card-stack {
    position: relative;
    width: min(380px, 100%);
    min-height: 410px;
}

.muse-prompt-card {
    position: absolute;
    width: 230px;
    min-height: 138px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 250, 245, 0.9)),
        #f5f1e8;
    color: #181824;
    padding: 18px;
    box-shadow:
        0 26px 48px rgba(0, 0, 0, 0.28),
        0 0 30px rgba(66, 226, 204, 0.12);
}

.muse-prompt-card span {
    display: block;
    margin-bottom: 20px;
    color: #6a6473;
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.muse-prompt-card strong {
    display: block;
    color: #14131c;
    font-size: 31px;
    line-height: 1.08;
}

.muse-card-one {
    left: 20px;
    top: 82px;
    transform: rotate(-7deg);
}

.muse-card-two {
    right: 28px;
    top: 142px;
    transform: rotate(6deg);
}

.muse-card-fake {
    left: 78px;
    bottom: 52px;
    background:
        linear-gradient(135deg, rgba(28, 16, 46, 0.98), rgba(50, 19, 79, 0.94)),
        #170e24;
    border-color: rgba(200, 92, 255, 0.42);
    color: #ffffff;
    transform: rotate(-2deg);
}

.muse-card-fake span {
    color: #d9a6ff;
}

.muse-card-fake strong {
    color: #ffffff;
}

.muse-overview-stack {
    width: 190px;
    min-height: 184px;
}

.muse-overview-stack .muse-prompt-card {
    width: 144px;
    min-height: 92px;
    padding: 12px;
}

.muse-overview-stack .muse-prompt-card span {
    margin-bottom: 10px;
    font-size: 10px;
}

.muse-overview-stack .muse-prompt-card strong {
    font-size: 20px;
}

.muse-overview-stack .muse-card-one {
    left: 6px;
    top: 20px;
}

.muse-overview-stack .muse-card-fake {
    left: 42px;
    bottom: 18px;
}

.project-overview-copy p:not(.kicker) {
    max-width: 520px;
    color: var(--muted);
    line-height: 1.58;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: #d36eff;
    font-weight: 800;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
    padding: 28px;
}

.project-copy .actions {
    margin-top: 26px;
}

.app-page {
    position: relative;
    overflow: hidden;
}

.app-page::before {
    content: "";
    position: absolute;
    top: 80px;
    right: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(200, 92, 255, 0.12);
    filter: blur(96px);
    pointer-events: none;
}

.app-hero {
    position: relative;
    padding: 44px 0 54px;
}

.app-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
    gap: 58px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 29, 0.78);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    padding: 44px 46px 0;
}

.app-hero-copy h1 {
    max-width: 660px;
}

.app-hero-copy .lead {
    max-width: 680px;
}

.app-hero-visual {
    display: flex;
    justify-content: center;
}

.app-screenshot-stack {
    position: relative;
    width: min(430px, 100%);
    min-height: 600px;
}

.phone-shot-hero {
    position: absolute;
}

.phone-shot-hero-back {
    left: 0;
    top: 70px;
    width: 214px;
    opacity: 0.78;
    transform: rotate(-6deg);
    filter: saturate(0.94) brightness(0.92);
}

.phone-shot-hero-front {
    right: 6px;
    bottom: 0;
    width: 256px;
    transform: rotate(3deg);
    box-shadow:
        0 30px 68px rgba(0, 0, 0, 0.5),
        0 0 34px rgba(200, 92, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-phone-preview {
    width: min(390px, 100%);
    transform: rotate(2deg);
}

.app-meta-section {
    padding: 8px 0 42px;
}

.app-meta-list {
    margin-top: 0;
}

.app-story-section {
    padding-top: 36px;
}

.app-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 42px;
    align-items: start;
}

.app-story-grid > div:first-child p:not(.kicker) {
    max-width: 570px;
    color: var(--muted);
    line-height: 1.58;
}

.app-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-legal-section {
    padding: 0 0 46px;
}

.app-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.privacy-index-grid {
    margin-top: 28px;
}

.app-legal-card {
    min-height: 192px;
}

.project-visual {
    display: flex;
    justify-content: center;
}

.phone-preview {
    width: min(360px, 100%);
    aspect-ratio: 0.68;
    border: 1px solid rgba(209, 178, 255, 0.18);
    border-radius: 8px;
    background: #0b0d16;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 24px rgba(200, 92, 255, 0.12);
    padding: 22px;
}

.compact-preview {
    width: min(330px, 100%);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.preview-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 950;
}

.preview-badge {
    border: 1px solid rgba(200, 92, 255, 0.3);
    border-radius: 6px;
    background: rgba(200, 92, 255, 0.12);
    color: #e0a1ff;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 900;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 28px;
}

.preview-stat {
    border: 1px solid rgba(209, 178, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    padding: 9px 8px;
    font-size: 12px;
    font-weight: 800;
}

.preview-stat strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    margin-top: 2px;
}

.grid-preview,
.app-icon-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
}

.grid-preview {
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
}

.grid-preview::before,
.app-icon-grid::before {
    content: "";
    position: absolute;
    inset: 8%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 20% 20%;
}

.node,
.marble,
.gate,
.hole,
.wall {
    position: absolute;
    z-index: 1;
}

.node {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    transform: translate(-50%, -50%);
}

.marble,
.gate {
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 4px 5px 8px rgba(255, 255, 255, 0.3), 0 0 15px rgba(200, 92, 255, 0.28);
}

.marble {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, 0.28);
}

.gate {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.yellow {
    background: #e9b736;
}

.green {
    background: #1ba99c;
}

.blue {
    background: #526ce6;
}

.red {
    background: #dd4e63;
}

.wall {
    width: 28px;
    height: 6px;
    border-radius: 6px;
    background: #f1ebff;
    transform: translate(-50%, -50%);
}

.hole {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.app-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 44px;
    align-items: start;
    padding: 72px 0;
}

.app-detail .lead {
    max-width: 680px;
}

.info-panel {
    padding: 22px;
}

.info-panel h2 {
    font-size: 24px;
}

.info-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(209, 178, 255, 0.16);
    padding: 12px 0;
}

.info-list strong {
    color: #ffffff;
    text-align: right;
}

.app-showcase {
    padding-top: 0;
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    padding: 20px;
}

.feature strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 18px;
}

.feature p {
    margin-bottom: 0;
}

.legal-page {
    max-width: 960px;
    padding: 58px 0 82px;
}

.legal-page-plain {
    padding-top: 34px;
}

.legal-card {
    padding: 42px;
}

.legal-card.legal-card-plain {
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
}

.legal-card h1 {
    margin-bottom: 10px;
    font-size: 54px;
}

.legal-card h2 {
    margin-top: 34px;
    font-size: 22px;
}

.legal-card a {
    color: #dd91ff;
}

.language-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 10px;
}

.notice {
    border: 1px solid rgba(200, 92, 255, 0.26);
    border-radius: 8px;
    background: rgba(200, 92, 255, 0.09);
    color: #deb0ff;
    padding: 14px 16px;
    font-weight: 800;
}

.redirect-page {
    min-height: calc(100vh - 92px);
    display: grid;
    place-items: center;
    padding: 64px 0;
}

.redirect-panel {
    max-width: 620px;
    padding: 34px;
}

.site-footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--faint);
    font-size: 14px;
    padding: 24px 0 30px;
}

.site-footer .site-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer .footer-shell {
    justify-content: center;
}

@media (max-width: 1100px) {
    .featured-card {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .device-showcase {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 520px);
        clip-path: inset(-82px 0 0 0);
        margin: -8px auto -28px;
    }
}

@media (max-width: 860px) {
    .site-shell {
        width: min(100% - 32px, 1250px);
    }

    .site-header .site-shell {
        min-height: 78px;
    }

    .brand {
        font-size: 23px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .main-nav {
        gap: 6px;
    }

    .header-actions {
        gap: 8px;
    }

    .main-nav a {
        font-size: 14px;
        padding: 8px;
    }

    .hero {
        min-height: 470px;
    }

    .hero-logo {
        right: -170px;
        bottom: -94px;
        width: 560px;
        opacity: 0.24;
    }

    .hero-content {
        padding: 64px 0 74px;
    }

    h1 {
        max-width: 600px;
        font-size: 48px;
    }

    h2 {
        font-size: 28px;
    }

    .featured-card,
    .projects-grid,
    .project-overview-card,
    .project-card,
    .app-showcase-grid,
    .app-detail,
    .quick-grid,
    .app-hero-grid,
    .app-story-grid,
    .app-legal-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        gap: 16px;
    }

    .meply-teaser-card {
        grid-column: auto;
    }

    .app-hero {
        padding-top: 44px;
    }

    .app-hero-visual {
        justify-content: flex-start;
    }

    .app-hero-grid {
        gap: 28px;
        padding: 34px 28px 0;
    }

    .klixgrid-art-tile {
        width: calc(100% + 56px);
        min-height: 220px;
        margin: -28px -28px 0;
        border-radius: 8px 8px 0 0;
    }

    .device-showcase {
        min-height: 260px;
    }

    .phone-shot-feature-back {
        left: 18%;
        bottom: -120px;
        width: 176px;
    }

    .phone-shot-feature-front {
        right: 18%;
        bottom: -130px;
        width: 176px;
    }

    .app-screenshot-stack {
        width: min(420px, 100%);
        min-height: 560px;
    }

    .muse-card-stack {
        width: min(360px, 100%);
        min-height: 360px;
    }

    .muse-prompt-card {
        width: 210px;
        min-height: 126px;
    }

    .muse-card-one {
        top: 54px;
    }

    .muse-card-two {
        right: 10px;
        top: 118px;
    }

    .muse-card-fake {
        left: 62px;
        bottom: 34px;
    }

    .muse-overview-stack {
        width: 190px;
        min-height: 184px;
    }

    .phone-shot-hero-back {
        left: 2%;
        width: 200px;
    }

    .phone-shot-hero-front {
        right: 4%;
        width: 242px;
    }

    .phone-left {
        left: 11%;
    }

    .phone-right {
        right: 9%;
    }

}

@media (max-width: 580px) {
    .site-shell {
        width: min(100% - 24px, 1250px);
    }

    .site-header .site-shell {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 14px 0;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
    }

    .header-actions {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .main-nav a {
        font-size: 13px;
    }

    .language-button {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
    }

    .hero {
        min-height: auto;
    }

    .breadcrumb {
        padding-top: 18px;
    }

    .breadcrumb ol {
        font-size: 13px;
    }

    .hero-content {
        padding: 42px 0 54px;
    }

    .hero-logo {
        right: -190px;
        bottom: -62px;
        width: 380px;
    }

    h1 {
        font-size: 37px;
    }

    .lead {
        font-size: 17px;
    }

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

    .featured-card,
    .quick-card,
    .legal-card,
    .redirect-panel,
    .project-overview-card,
    .project-card,
    .app-hero-grid {
        padding: 20px;
    }

    .game-tile {
        min-height: 150px;
    }

    .game-board-mini {
        width: 148px;
    }

    .klixgrid-art-tile {
        width: calc(100% + 40px);
        min-height: 190px;
        margin: -20px -20px 0;
    }

    .device-showcase {
        min-height: 246px;
        width: 100%;
        clip-path: inset(-64px 0 0 0);
        margin: 0 0 -20px;
    }

    .phone-shot-feature-back {
        left: 8%;
        bottom: -72px;
        width: 136px;
    }

    .phone-shot-feature-front {
        right: 7%;
        bottom: -82px;
        width: 136px;
    }

    .phone {
        width: 152px;
        min-height: 220px;
    }

    .app-screenshot-stack {
        min-height: 472px;
    }

    .muse-card-stack {
        min-height: 310px;
    }

    .muse-prompt-card {
        width: 178px;
        min-height: 112px;
        padding: 14px;
    }

    .muse-prompt-card strong {
        font-size: 25px;
    }

    .muse-card-one {
        left: 0;
        top: 42px;
    }

    .muse-card-two {
        right: 0;
        top: 96px;
    }

    .muse-card-fake {
        left: 44px;
        bottom: 28px;
    }

    .muse-overview-stack {
        min-height: 184px;
    }

    .phone-shot-hero-back {
        left: 0;
        top: 54px;
        width: 160px;
    }

    .phone-shot-hero-front {
        right: 0;
        width: 210px;
    }

    .app-legal-grid {
        grid-template-columns: 1fr;
    }

    .phone-left {
        left: 5%;
        bottom: -22px;
    }

    .phone-right {
        right: 2%;
        bottom: -18px;
    }

    .legal-card h1 {
        font-size: 38px;
    }

    .footer-shell {
        flex-direction: column;
        text-align: center;
    }
}
