:root {
    --ink: #f7efe7;
    --muted: #b8ada3;
    --paper: #000000;
    --surface: #111111;
    --broth: #ef432f;
    --broth-dark: #ff6a54;
    --leaf: #30d184;
    --corn: #f4b436;
    --mint: #14251e;
    --peach: #231612;
    --berry: #ef432f;
    --line: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #000000;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 12px clamp(18px, 4vw, 56px);
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(239, 67, 47, 0.28);
}

.brand span {
    display: grid;
    line-height: 1.05;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #ffffff;
    background: rgba(239, 67, 47, 0.22);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 86vh;
    overflow: hidden;
    background: #3a170f;
}

.hero-bg,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(39, 12, 7, 0.86), rgba(101, 38, 17, 0.54) 46%, rgba(255, 168, 64, 0.2)),
        linear-gradient(0deg, rgba(37, 23, 17, 0.72), rgba(37, 23, 17, 0.08) 45%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    width: min(1180px, calc(100% - 40px));
    min-height: 86vh;
    margin: 0 auto;
    padding: 70px 0 64px;
}

.hero-copy {
    color: #fff8ed;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--leaf);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

html[lang="zh-CN"] .eyebrow {
    letter-spacing: 0;
}

.hero .eyebrow {
    color: #9ff0ba;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    font-size: clamp(2.4rem, 4.4vw, 4.2rem);
}

h2 {
    font-size: clamp(1.8rem, 3.1vw, 2.8rem);
}

h3 {
    font-size: 1.42rem;
}

.hero-lede {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 248, 237, 0.92);
    font-size: 1.16rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #ffffff;
    background: var(--broth);
    box-shadow: 0 16px 32px rgba(157, 36, 24, 0.32);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--broth-dark);
}

.button.secondary {
    color: #fff8ed;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.hero-tags li {
    padding: 8px 12px;
    color: #fff8ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.phone-cluster {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 560px;
}

.phone-frame {
    width: min(260px, 76vw);
    margin: 0;
    overflow: hidden;
    background: #1e1714;
    border: 10px solid #24150f;
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 9 / 20;
    object-fit: cover;
}

.main-phone {
    width: min(290px, 78vw);
    transform: rotate(-4deg);
}

.side-phone {
    position: absolute;
    right: 2%;
    bottom: 36px;
    width: min(210px, 56vw);
    transform: rotate(8deg);
}

.signal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(1180px, calc(100% - 40px));
    margin: 34px auto 0;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.signal-strip div {
    padding: 24px;
    background: var(--surface);
}

.signal-strip strong,
.studio-list strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.signal-strip span,
.studio-list span {
    color: var(--muted);
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 34px;
}

.section-heading.compact {
    max-width: 720px;
}

.section-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
    gap: 32px;
    align-items: stretch;
}

.featured {
    padding-top: 104px;
}

.banner-panel {
    min-height: 360px;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.banner-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
}

.game-icon {
    margin-bottom: 20px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(239, 67, 47, 0.24);
}

.feature-copy p {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 750;
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    color: #ffffff;
    background: var(--leaf);
    border-radius: 50%;
    content: "";
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
}

.screen-grid .phone-frame {
    width: 100%;
}

.mechanics {
    width: 100%;
    max-width: none;
    padding-right: clamp(20px, 4vw, 56px);
    padding-left: clamp(20px, 4vw, 56px);
    background: transparent;
    color: var(--ink);
}

.mechanics .section-heading {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.mechanics .eyebrow {
    color: var(--leaf);
}

.mechanic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.mechanic-card {
    min-height: 240px;
    padding: 28px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 34px;
    margin-bottom: 20px;
    color: #ffffff;
    background: var(--broth);
    border-radius: 999px;
    font-weight: 900;
}

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

.more-games {
    width: 100%;
    max-width: none;
    padding-right: clamp(20px, 4vw, 56px);
    padding-left: clamp(20px, 4vw, 56px);
    background: transparent;
    color: var(--ink);
}

.more-games .section-heading,
.games-grid {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.more-games .eyebrow {
    color: var(--leaf);
}

.more-games .section-heading p:not(.eyebrow) {
    color: var(--muted);
}

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

.game-card {
    display: grid;
    gap: 14px;
    min-height: 360px;
    padding: 24px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-decoration: none;
}

.game-card:hover,
.game-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.68);
}

.card-link {
    color: var(--leaf);
    font-weight: 900;
}

.game-card h3 {
    font-size: 1.6rem;
}

.game-card p {
    margin: 0;
    color: var(--muted);
}

.game-card .status {
    color: var(--broth-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.game-card-art,
.tile-art {
    display: grid;
    place-items: center;
    min-height: 140px;
    overflow: hidden;
    border-radius: 20px;
}

.hotpot-card .game-card-art {
    background: #20130f;
}

.hotpot-card .game-card-art img {
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(239, 67, 47, 0.22);
}

.paint-art {
    position: relative;
    background:
        linear-gradient(135deg, #fff4d8 0 28%, #f84c3b 28% 42%, #2aa56f 42% 58%, #ffd14d 58% 72%, #6ec7f3 72%);
}

.paint-art span {
    position: absolute;
    width: 72px;
    height: 72px;
    border: 10px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.paint-art span:nth-child(1) {
    left: 28px;
    top: 30px;
}

.paint-art span:nth-child(2) {
    right: 36px;
    top: 22px;
}

.paint-art span:nth-child(3) {
    bottom: 24px;
    left: 42%;
}

.puzzle-art {
    grid-template-columns: repeat(2, 58px);
    grid-template-rows: repeat(2, 58px);
    gap: 10px;
    background: #e8fff1;
}

.puzzle-art span {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--leaf);
    box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.12);
}

.puzzle-art span:nth-child(2) {
    background: var(--corn);
}

.puzzle-art span:nth-child(3) {
    background: var(--broth);
}

.puzzle-art span:nth-child(4) {
    background: #54bde8;
}

.services-section {
    width: 100%;
    max-width: none;
    padding-right: clamp(20px, 4vw, 56px);
    padding-left: clamp(20px, 4vw, 56px);
    background: transparent;
}

.services-section .section-heading,
.service-grid {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

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

.service-card {
    min-height: 210px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.approach {
    padding-top: 82px;
}

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

.approach-grid article {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.approach-grid span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    color: #ffffff;
    background: var(--berry);
    border-radius: 50%;
    font-weight: 900;
}

.approach-grid p {
    color: var(--muted);
}

.page-hero,
.game-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0 52px;
}

.page-hero {
    max-width: 980px;
}

.page-hero h1,
.game-hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}

.page-hero p:not(.eyebrow),
.game-hero p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.12rem;
}

.game-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: center;
}

.game-hero-art {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.game-hero-art img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.split-simple {
    grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.72fr);
}

.large-art {
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.button.secondary.dark {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line);
}

.detail-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-top: 40px;
}

.detail-grid article,
.about-grid article {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.detail-grid p,
.about-grid p {
    color: var(--muted);
}

.values-grid,
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.values-grid article,
.jobs-grid article {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.values-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--broth-dark);
    font-size: 1.08rem;
}

.values-grid span,
.jobs-grid p {
    color: var(--muted);
}

.jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-hero {
    padding-bottom: 30px;
}

.page-list {
    padding-top: 40px;
}

.single-game-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: stretch;
}

.planned-panel,
.planning-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 26px;
    color: var(--ink);
    background: #0c0c0c;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.planned-panel p,
.planning-note p {
    margin: 0;
    color: var(--muted);
}

.planned-panel a {
    color: var(--leaf);
    font-weight: 900;
    text-decoration: none;
}

.planning-note strong {
    font-size: 1.35rem;
}

.studio {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
    gap: 50px;
    align-items: start;
}

.studio-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.studio-list {
    display: grid;
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.studio-list div {
    padding: 24px;
    background: var(--surface);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
    gap: 38px;
    align-items: start;
    padding: 48px;
    margin-bottom: 80px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.contact-copy p:not(.eyebrow) {
    color: var(--muted);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.contact-links a {
    padding: 9px 12px;
    color: var(--broth-dark);
    background: rgba(239, 67, 47, 0.14);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 850;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    background: #050505;
    border: 1px solid var(--line);
    border-radius: 14px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--leaf);
    outline: 3px solid rgba(21, 144, 100, 0.18);
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--broth-dark);
    font-weight: 800;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 30px clamp(20px, 4vw, 56px);
    color: #fff8ed;
    background: #251711;
}

.site-footer div {
    display: grid;
    gap: 4px;
}

.site-footer span {
    color: rgba(255, 248, 237, 0.72);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer a {
    color: #fff8ed;
    font-weight: 800;
    text-decoration: none;
}

.legal-page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-page article {
    display: grid;
    gap: 22px;
    margin-top: 34px;
    color: var(--muted);
}

.redirect-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 30px;
    text-align: center;
}

.redirect-page a {
    color: var(--broth-dark);
    font-weight: 900;
}

@media (max-width: 980px) {
    .hero-inner,
    .featured-layout,
    .studio,
    .contact,
    .game-hero,
    .detail-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .phone-cluster {
        display: none;
    }

    .signal-strip {
        grid-template-columns: 1fr;
    }

    .mechanic-grid,
    .games-grid,
    .service-grid,
    .approach-grid,
    .values-grid,
    .jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact {
        padding: 30px;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 66px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        display: none;
        padding: 12px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(37, 23, 17, 0.16);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-header:not(:has(.nav-toggle)) .site-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .site-nav a {
        padding: 13px 14px;
        border-radius: 12px;
    }

    .hero {
        min-height: 72svh;
    }

    .hero-inner {
        min-height: 72svh;
        padding: 42px 0 34px;
    }

    h1 {
        font-size: 2.4rem;
    }

    .hero-lede {
        font-size: 1.04rem;
    }

    .signal-strip {
        width: 100%;
        margin-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .section {
        width: min(100% - 32px, 1180px);
        padding: 66px 0;
    }

    .feature-copy {
        padding: 24px;
    }

    .screen-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .screen-grid .phone-frame {
        border-width: 7px;
        border-radius: 26px;
    }

    .mechanics {
        padding-right: 16px;
        padding-left: 16px;
    }

    .more-games,
    .services-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mechanic-grid,
    .games-grid,
    .single-game-grid,
    .service-grid,
    .approach-grid,
    .values-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .game-hero {
        width: min(100% - 32px, 1180px);
        padding: 58px 0 38px;
    }

    .large-art {
        min-height: 240px;
    }
}

@media (max-width: 460px) {
    .brand strong {
        font-size: 0.92rem;
    }

    .brand small {
        font-size: 0.72rem;
    }

    h1 {
        font-size: 2.15rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

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

    .contact {
        width: min(100% - 24px, 1180px);
        padding: 22px;
        border-radius: 22px;
    }
}
.icon-download{
    margin-top: 20px;
    img{
        width: 160px;
        height: 45px;
    }
}
