@charset "utf-8";

:root {
    --echo-ink: #2c2116;
    --echo-ink-2: #4a3828;
    --echo-paper: #f8f0e4;
    --echo-paper-deep: #f0e2cc;
    --echo-card: #fffaf2;
    --echo-text: #2c2116;
    --echo-muted: #8a6f55;
    --echo-line: rgba(140, 90, 40, 0.14);
    --echo-red: #c47838;
    --echo-red-deep: #a35f28;
    --echo-cyan: #e8b04a;
    --echo-radius: 22px;
    --echo-shadow: 0 16px 40px rgba(120, 70, 20, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--echo-paper);
    color: var(--echo-text);
    font-size: 16px;
    line-height: 1.65;
}

a:hover {
    color: var(--echo-red);
    text-decoration: none;
}

a:active {
    -webkit-filter: none;
    background-color: transparent;
}

.Sys_wrap {
    display: block;
    width: 100%;
    overflow-x: hidden;
}

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

.Sys_header {
    position: sticky;
    top: 0;
    z-index: 80;
    height: 76px;
    background: rgba(248, 240, 228, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.Sys_header.is-scrolled {
    border-bottom-color: var(--echo-line);
    box-shadow: 0 8px 24px rgba(120, 70, 20, 0.08);
}

.Sys_header .box {
    height: 76px;
    width: min(1180px, calc(100% - 48px));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.Sys_header .box .box_logo,
.Sys_header .box .box_menu,
.Sys_header .box .box_lang {
    position: static;
    height: 76px;
}

.Sys_header .box .box_logo {
    width: auto;
    flex: 0 0 auto;
}

.Sys_header .box img {
    height: 42px;
    width: auto;
}

.Sys_header .box_menu {
    flex: 1 1 auto;
    margin: 0;
}

.Sys_header .box .box_div ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.Sys_header .box .box_div li {
    float: none;
    height: 76px;
    margin: 0;
}

.Sys_header .box .box_div li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--echo-text);
    line-height: 76px;
    padding: 0 14px;
}

.Sys_header .box .box_div li a b {
    top: 18px;
    right: 0;
    background: var(--echo-red);
}

.Sys_header .box_menu li a:after,
.Sys_header .box_menu li.on a::before {
    height: 3px;
    border-radius: 99px;
    background: var(--echo-red);
    top: auto;
    bottom: 18px;
}

.Sys_header .box .box_div.box_lang li a {
    padding: 0 6px;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.Sys_header .box .box_div.box_lang li.on a {
    color: var(--echo-red);
}

.echo-hero {
    position: relative;
    min-height: 560px;
    color: #f7f3ec;
    overflow: hidden;
    background: #3d2a16 url(Images/banner.jpg) center / cover no-repeat;
}

.echo-hero::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(72, 42, 18, 0.52) 0%, rgba(72, 42, 18, 0.18) 52%, rgba(72, 42, 18, 0.06) 100%);
}

.echo-hero .echo-shell {
    position: relative;
    z-index: 1;
    min-height: 560px;
    display: block;
    padding: 108px 0 112px;
}

.echo-hero .echo-shell > div {
    max-width: 620px;
}

.echo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(247, 243, 236, 0.22);
    border-radius: 999px;
    color: rgba(247, 243, 236, 0.88);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(247, 243, 236, 0.08);
}

.echo-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--echo-cyan);
    box-shadow: 0 0 0 4px rgba(232, 176, 74, 0.22);
}

.echo-hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(36px, 4.6vw, 62px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.echo-hero h1 em {
    color: var(--echo-cyan);
    font-style: italic;
    font-weight: 800;
}

.echo-hero p.lead {
    max-width: 560px;
    color: rgba(247, 243, 236, 0.78);
    font-size: 18px;
}

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

.echo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.echo-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.echo-btn-primary {
    background: var(--echo-red);
    color: #fff;
}

.echo-btn-primary:hover,
.echo-btn-primary:visited {
    color: #fff;
    background: var(--echo-red-deep);
}

.echo-hero .echo-btn-primary {
    background: #f8f0e4;
    color: #2c2116;
}

.echo-hero .echo-btn-primary:hover,
.echo-hero .echo-btn-primary:visited {
    color: #2c2116;
    background: #fffaf2;
}

.echo-btn-ghost {
    border: 1px solid rgba(247, 243, 236, 0.35);
    color: #f7f3ec;
}

.echo-btn-ghost:hover,
.echo-btn-ghost:visited {
    color: #f7f3ec;
    background: rgba(247, 243, 236, 0.1);
}

.echo-btn-line {
    border: 1.5px solid var(--echo-red);
    color: var(--echo-red);
}

.echo-btn-line:hover {
    background: var(--echo-red);
    color: #fff;
}

.echo-hero-art {
    position: relative;
    height: 420px;
}

.echo-hero-art img {
    position: absolute;
    width: 168px;
    height: 168px;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
    border: 3px solid rgba(255, 255, 255, 0.12);
}

.echo-hero-art img:nth-child(1) {
    left: 18%;
    top: 18px;
    transform: rotate(-8deg);
    z-index: 2;
}

.echo-hero-art img:nth-child(2) {
    right: 8%;
    top: 108px;
    width: 196px;
    height: 196px;
    transform: rotate(7deg);
    z-index: 3;
}

.echo-hero-art img:nth-child(3) {
    left: 8%;
    bottom: 8px;
    transform: rotate(5deg);
    z-index: 1;
}

.echo-section {
    padding: 88px 0;
}

#games {
    scroll-margin-top: 76px;
}

.echo-section h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.echo-section h2 span {
    color: var(--echo-red);
}

.echo-section .echo-sub {
    margin-top: 12px;
    max-width: 620px;
    color: var(--echo-muted);
    font-size: 17px;
}

.echo-center h2,
.echo-center .echo-sub {
    text-align: center;
}

.echo-center .echo-sub {
    margin-left: auto;
    margin-right: auto;
}

.echo-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
    text-align: left;
}

.echo-game-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
    background: var(--echo-card);
    border: 1px solid var(--echo-line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(28, 25, 22, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.echo-game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--echo-shadow);
}

.echo-game-card img {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    object-fit: cover;
}

.echo-tag {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #6b5340;
    background: #efe6d8;
}

.echo-tag.strategy {
    color: #9a3412;
    background: #ffedd5;
}

.echo-tag.casual {
    color: #9a6700;
    background: #fef3c7;
}

.echo-game-card h3 {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.echo-game-card p {
    margin-top: 10px;
    color: var(--echo-muted);
    min-height: 78px;
    flex: 1;
}

.echo-game-card .echo-play {
    margin-top: 20px;
}

.echo-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--echo-text);
    font-weight: 700;
    font-size: 14px;
}

.echo-play:hover {
    color: var(--echo-red);
}

.echo-play::after {
    content: "→";
}

.echo-ai {
    background: var(--echo-paper-deep);
    color: var(--echo-text);
}

.echo-ai .echo-sub {
    color: var(--echo-muted);
}

.echo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 42px;
}

.echo-step {
    padding: 28px;
    border-radius: 24px;
    background: var(--echo-card);
    border: 1px solid var(--echo-line);
}

.echo-step b {
    display: block;
    color: var(--echo-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.echo-step h3 {
    margin: 14px 0 10px;
    font-size: 22px;
    font-weight: 800;
}

.echo-step p {
    color: var(--echo-muted);
}

.echo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.echo-stat {
    padding: 28px 18px;
    text-align: center;
    background: var(--echo-card);
    border-radius: 24px;
    border: 1px solid var(--echo-line);
}

.echo-stat strong {
    display: block;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--echo-text);
}

.echo-stat strong span {
    color: var(--echo-red);
    font-size: 28px;
    vertical-align: super;
}

.echo-stat em {
    display: block;
    margin-top: 6px;
    color: var(--echo-muted);
    font-style: normal;
}

.Sys_banner {
    position: relative;
    overflow: hidden;
}

.Sys_banner .box {
    height: 260px;
    width: 100%;
    background: #3d2a16 url(Images/banner.jpg) center / cover no-repeat;
    color: #fff8ee;
}

.Sys_banner .box::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(92, 52, 18, 0.22), rgba(72, 40, 14, 0.42));
}

.Sys_banner ul {
    position: relative;
    z-index: 1;
}

.Sys_banner ul h1,
.Sys_banner ul h2 {
    padding-top: 78px;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff8ee;
}

.Sys_banner ul li {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.82;
    color: rgba(255, 248, 238, 0.86);
}

.Sys_banner .box_privacy {
    height: 220px;
    background: #3d2a16 url(Images/banner.jpg) center / cover no-repeat;
}

.Sys_banner .box_privacy h2 {
    padding-top: 78px;
    font-size: clamp(32px, 5vw, 48px);
    color: #f7f3ec;
}

.About,
.Contact,
.Games,
.Careers_box,
.privacy {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.About {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 80px 0;
}

.About .Sys_main,
.Games .Sys_main,
.Contact .Sys_main,
.Careers .Sys_main,
.Privacy .Sys_main {
    width: 100%;
    display: block;
}

.About .left,
.About .right {
    float: none;
    width: auto;
}

.About .left h3 {
    font-size: 18px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--echo-red);
}

.About .right_one {
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
}

.About .right_two {
    margin: 48px 0;
}

.About .right_two ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.About .right_two ul li {
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 24px;
    background: var(--echo-card);
    border: 1px solid var(--echo-line);
    padding: 28px 16px;
}

.About .right_two ul li p {
    color: var(--echo-text);
}

.About .right_two ul li p:nth-child(1) {
    padding-top: 0;
    font-size: 36px;
}

.About .right_three h3 i {
    color: var(--echo-red);
}

.About .right_three p {
    color: var(--echo-muted);
    line-height: 1.75;
}

.Games {
    padding: 24px 0 80px;
}

.Games .Sys_main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.Games .echo-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 12px;
}

.Games ul {
    float: none;
    width: auto;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--echo-line);
    border-radius: 24px;
    background: #fff;
}

.Games ul h2 {
    height: auto;
    margin-bottom: 16px;
}

.Games ul h2 a {
    font-weight: 800;
}

.Games ul h3,
.Games ul h3 img {
    position: static;
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.Games ul li {
    padding-left: 0;
}

.Games ul li:nth-child(3) {
    height: auto;
    margin-top: 12px;
    -webkit-line-clamp: 4;
    color: var(--echo-muted);
}

.Games ul li:nth-child(4) {
    text-align: left;
    padding-top: 16px;
}

.Games ul li:nth-child(4) a {
    width: auto;
    min-width: 140px;
    height: 42px;
    line-height: 42px;
    padding: 0 18px;
    font-size: 14px;
    background: var(--echo-red);
}

.echo-more-title {
    grid-column: 1 / -1;
    margin: 28px 0 0;
    font-size: 22px;
    font-weight: 800;
}

.Contact {
    min-height: auto;
    padding: 72px 0 96px;
}

.Contact .one li {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--echo-line);
}

.Contact .one li p {
    float: none;
    width: auto;
    font-size: 18px;
}

.Contact .one li p:nth-child(1) {
    text-align: left;
    color: var(--echo-muted);
}

.Careers_tab_li {
    display: flex;
}

.Careers_tab_li li {
    width: auto;
    flex: 1;
    margin-right: 12px;
    line-height: 72px;
    font-size: 16px;
    border-radius: 16px;
    border-color: var(--echo-line);
    background: var(--echo-card);
    color: var(--echo-text);
}

.Careers_tab_li li b {
    background: var(--echo-red);
    color: #fff;
}

.Careers_tab_li li.active,
.Careers_tab_li li:hover {
    background: var(--echo-red);
    border-color: var(--echo-red);
    color: #fff;
}

.Careers_tab_li li.active::before {
    border-top-color: var(--echo-red);
}

.Careers_div ul li:nth-child(4) a,
.careers_box p a,
.btn_red {
    color: var(--echo-red);
    border: 1.5px solid var(--echo-red);
    background: transparent;
}

.Careers_div ul li:nth-child(4) a:hover,
.careers_box p a:hover,
.btn_red:hover {
    background: var(--echo-red);
    color: #fff;
}

.Contact .two .map_box {
    border-color: var(--echo-line);
}

.Sys_footer {
    background: #2c2218;
    color: rgba(255, 236, 210, 0.62);
    border-top: none;
}

.Sys_footer .Sys_main {
    width: min(1180px, calc(100% - 48px));
    padding: 48px 0 36px;
}

.Sys_footer p:nth-child(1) {
    display: block;
    margin-bottom: 18px;
}

.Sys_footer p:nth-child(1) img {
    height: 36px;
    filter: invert(1);
}

.Sys_footer ul li,
.Sys_footer ul li a,
.Sys_footer p {
    color: rgba(255, 236, 210, 0.62);
}

.Sys_footer ul li a:hover {
    color: #fff8ee;
}

.Sys_footer p a {
    color: rgba(255, 236, 210, 0.82);
}

@media (max-width: 1024px) {
    .Sys_header,
    .Sys_header .box,
    .Sys_header .box .box_logo,
    .Sys_header .box .box_menu,
    .Sys_header .box .box_lang {
        height: 68px;
    }

    .Sys_header .box {
        width: calc(100% - 32px);
    }

    .Sys_header .box img {
        height: 36px;
    }

    .Sys_header .box_menu .menu_btn,
    .Sys_header .box_menu .menu_btn i {
        display: block;
        width: 68px;
        height: 68px;
        line-height: 68px;
        font-size: 32px;
        color: #1a2233;
        text-align: center;
    }

    .Sys_header .box .box_menu ul {
        display: none;
        position: absolute;
        left: 16px;
        top: 68px;
        width: min(280px, calc(100% - 32px));
        padding: 8px 0;
        background: #fff;
        border: 1px solid var(--echo-line);
        border-radius: 16px;
        box-shadow: var(--echo-shadow);
        flex-direction: column;
        align-items: stretch;
        z-index: 90;
    }

    .Sys_header .box .box_div ul li {
        height: auto;
        float: none;
        display: block;
        border: 0;
        margin: 0;
    }

    .Sys_header .box .box_div li a {
        display: block;
        line-height: 48px;
        padding: 0 20px;
        font-size: 16px;
        text-align: left;
    }

    .Sys_header .box_menu li a:after,
    .Sys_header .box_menu li.on a::before {
        display: none;
    }

    .Sys_header .box .box_lang {
        position: absolute;
        right: 8px;
        top: 0;
        width: auto;
    }

    .Sys_header .box .box_div.box_lang ul {
        display: flex;
        position: static;
        width: auto;
        border: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
    }

    .Sys_header .box .box_div.box_lang li a {
        padding: 0 8px;
        line-height: 68px;
    }

    .echo-hero .echo-shell,
    .echo-game-grid,
    .echo-steps,
    .echo-stats,
    .About,
    .About .right_two ul,
    .Games .Sys_main,
    .Games .echo-featured {
        grid-template-columns: 1fr;
    }

    .echo-hero .echo-shell {
        min-height: 0;
        padding: 56px 0 64px;
    }

    .echo-hero-art {
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 8px;
    }

    .echo-hero-art img {
        position: static;
        transform: none;
        width: 92px;
        height: 92px;
        border-radius: 22px;
    }

    .echo-hero-art img:nth-child(2) {
        width: 92px;
        height: 92px;
    }

    .echo-section {
        padding: 64px 0;
    }

    .echo-game-card p {
        min-height: 0;
    }

    .Sys_banner .box,
    .Sys_banner .box_privacy {
        height: 220px;
    }

    .Sys_banner ul h1,
    .Sys_banner ul h2,
    .Sys_banner .box_privacy h2 {
        padding-top: 64px;
    }

    .Contact .one li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .Careers_tab_li {
        flex-wrap: wrap;
    }

    .Careers_tab_li li {
        flex: 1 1 46%;
        margin: 0 8px 16px 0;
        line-height: 56px;
    }

    .Careers_div ul li:nth-child(4) a {
        border-color: var(--echo-red);
        color: var(--echo-red);
    }
}

@media (max-width: 768px) {
    .echo-shell,
    .About,
    .Contact,
    .Games,
    .Careers_box,
    .privacy,
    .Sys_footer .Sys_main {
        width: calc(100% - 32px);
    }

    .echo-hero h1 {
        font-size: 34px;
    }

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

    .echo-btn {
        min-width: 0;
        width: 100%;
    }

    .Sys_banner ul li {
        font-size: 16px;
        padding: 0 16px;
    }

    .About .right_one {
        font-size: 22px;
    }
}
