* {
    box-sizing: border-box;
}

:root {
    --bg: #FFFFFF;
    --mint: #F4FBF8;
    --gray: #F7F8F8;
    --warm: #FFF9F0;
    --text: #111111;
    --muted: #62666A;
    --weak: #8A8D91;
    --border: #DDE7E4;
    --line: #B4B9BB;
    --mint-soft: #EAF5F1;
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.82;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(17,17,17,.35);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 12000;
    background: #111;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(100% - 44px, 1280px);
    margin: 0 auto;
}

.section-pad {
    padding: 96px 0;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    min-height: 74px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: #111111;
    transition: .25s ease;
}

.menu-toggle:hover span:nth-child(2) {
    width: 21px;
}

.site-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    width: auto;
    max-width: 150px;
    max-height: 48px;
}

.header-game-btn,
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: .25s ease;
}

.header-game-btn {
    min-width: 92px;
    height: 42px;
    padding: 0 20px;
    font-size: 15px;
}

.main-btn {
    min-height: 44px;
    padding: 0 22px;
}

.header-game-btn:hover,
.main-btn:hover {
    background: #ffffff;
    color: #111111;
}

.small-btn {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(17,17,17,.28);
    opacity: 0;
    transition: opacity .25s ease;
}

.drawer-overlay.is-visible {
    opacity: 1;
}

.site-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10001;
    width: 430px;
    max-width: 88vw;
    background: #fff;
    transform: translateX(-102%);
    transition: transform .28s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 20px 0 60px rgba(17,17,17,.08);
}

.site-drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    min-height: 86px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.drawer-logo img,
.footer-logo img {
    width: auto;
    max-width: 140px;
    max-height: 46px;
}

.drawer-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.drawer-nav {
    padding: 12px 24px 28px;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid #E6ECEA;
    font-size: 21px;
    font-weight: 650;
    text-decoration: none;
    transition: padding .2s ease, color .2s ease;
}

.drawer-nav a:hover,
.drawer-nav a[aria-current="page"] {
    padding-left: 8px;
    color: #3A6E61;
}

.drawer-foot {
    margin-top: auto;
    padding: 24px;
    background: var(--mint);
    color: var(--muted);
    font-size: 14px;
}

.drawer-foot p {
    margin: 0 0 6px;
}

.hero {
    background: linear-gradient(90deg, #fff 0 64%, var(--mint) 64% 100%);
}

.hero-grid,
.page-hero-grid,
.feature-split,
.mobile-split,
.brand-story-grid,
.newest-layout,
.security-grid,
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
}

.hero-copy {
    max-width: 720px;
}

.hero h1,
.page-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(48px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hero-lead,
.page-hero p,
.narrow-copy > p:last-child {
    color: var(--muted);
    max-width: 760px;
    font-size: 18px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #426E63;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.text-link {
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.text-link:hover {
    border-color: currentColor;
}

.visual-frame,
.page-hero-image,
.feature-image,
.newest-visual,
.mobile-visual {
    border-radius: var(--radius);
    overflow: hidden;
}

.mint-frame {
    padding: 28px;
    background: var(--mint-soft);
}

.page-hero {
    background: #fff;
}

.compact-hero {
    padding-bottom: 72px;
}

.narrow-copy,
.editorial-copy {
    max-width: 880px;
}

.page-hero .narrow-copy {
    max-width: 760px;
}

.page-hero-grid .narrow-copy {
    max-width: 660px;
}

.page-hero-image {
    background: var(--mint-soft);
    padding: 24px;
}

.phone-visual {
    background: var(--mint);
}

.category-strip {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.category-scroll {
    display: flex;
    gap: 34px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.category-scroll a {
    position: relative;
    flex: 0 0 auto;
    padding: 20px 0 18px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.category-scroll a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: transparent;
}

.category-scroll a.is-active::after,
.category-scroll a:hover::after {
    background: #111;
}

.section-heading {
    max-width: 850px;
    margin-bottom: 44px;
}

.section-heading h2,
.feature-copy h2,
.mobile-copy h2,
.brand-copy h2,
.newest-copy h2,
.news-feature h2,
.security-grid h2,
.editorial-copy h2,
.news-columns h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.section-heading p,
.feature-copy p,
.mobile-copy p,
.brand-copy p,
.newest-copy p,
.news-feature p,
.editorial-copy p {
    color: var(--muted);
}

.split-heading {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: 60px;
    align-items: end;
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
    gap: 28px;
}

.featured-major,
.compact-feature,
.game-card,
.promo-card,
.promo-feature,
.testimonial-grid blockquote,
.support-grid a {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.featured-major {
    overflow: hidden;
}

.featured-copy {
    padding: 28px;
}

.featured-copy h3,
.game-card h3,
.compact-feature h3,
.promo-card h3,
.horizontal-game-list h3 {
    margin: 4px 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.featured-copy p,
.game-card p,
.compact-feature p,
.promo-card p,
.horizontal-game-list p {
    color: var(--muted);
}

.featured-side {
    display: grid;
    gap: 28px;
}

.compact-feature {
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 20px;
    padding: 16px;
    align-items: center;
}

.compact-feature .inline-actions {
    gap: 12px;
    margin-top: 16px;
}

.game-cover {
    background: #f8faf9;
    overflow: hidden;
}

.game-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.game-card .game-cover {
    border-radius: var(--radius) var(--radius) 0 0;
}

.game-card-body {
    padding: 20px;
}

.meta {
    margin: 0;
    color: #6B817B !important;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .05em;
}

.game-grid {
    display: grid;
    gap: 24px;
}

.five-cols {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.four-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.minimal-card {
    box-shadow: none;
}

.soft-section {
    background: var(--gray);
}

.mint-section {
    background: var(--mint);
}

.warm-section {
    background: var(--warm);
}

.section-tail {
    margin-top: 32px;
    text-align: right;
}

.poster-section {
    padding: 20px 0 70px;
}

.poster-section img,
.page-hero-image img,
.newest-visual img,
.feature-image img,
.mobile-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.newest-layout {
    grid-template-columns: 1.1fr .9fr;
}

.large-newest {
    align-items: stretch;
}

.newest-copy {
    align-self: center;
}

.news-mini-list {
    margin: 28px 0;
    border-top: 1px solid var(--border);
}

.news-mini-list a,
.news-list a {
    display: grid;
    gap: 6px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.news-mini-list a strong {
    font-size: 17px;
}

.news-mini-list a span,
.news-list a span,
.news-list a small {
    color: var(--muted);
}

.feature-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid rgba(180,185,187,.45);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
}

.promo-grid,
.promo-stack {
    display: grid;
    gap: 28px;
}

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

.promo-card,
.promo-feature {
    overflow: hidden;
}

.promo-card > div,
.promo-feature > div {
    padding: 28px;
}

.promo-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.promo-feature.reverse img {
    order: 2;
}

.news-layout {
    align-items: stretch;
}

.news-feature {
    padding: 40px;
    border-radius: var(--radius);
    background: #111;
    color: #fff;
}

.news-feature p,
.news-feature .eyebrow {
    color: #C7CECC;
}

.news-feature.prominent {
    min-height: 100%;
}

.news-list {
    align-self: center;
}

.news-list a {
    grid-template-columns: 120px 1fr;
}

.news-list.detailed a {
    grid-template-columns: 120px 1fr;
}

.news-list.detailed small {
    grid-column: 2;
}

.news-list.timeline {
    max-width: 980px;
}

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

.news-columns section {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.news-columns p {
    color: var(--muted);
}

.news-columns a,
.security-points a {
    font-weight: 700;
    text-decoration: none;
}

.brand-collage {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 16px;
    align-items: end;
}

.brand-collage img {
    border-radius: 18px;
    background: var(--gray);
}

.security-band {
    background: #111;
    color: #fff;
}

.security-band .eyebrow,
.security-band p {
    color: #C7CECC;
}

.security-grid {
    align-items: start;
}

.security-points {
    display: grid;
    gap: 18px;
}

.security-points article {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
}

.security-points h3,
.security-points h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.security-points p {
    margin: 0 0 8px;
}

.security-points.expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-points.expanded article {
    background: #fff;
    border-color: var(--border);
}

.security-points.expanded p {
    color: var(--muted);
}

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

.testimonial-grid blockquote {
    margin: 0;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(17,17,17,.035);
}

.testimonial-grid p {
    margin: 0 0 16px;
    color: #3D4244;
}

.testimonial-grid cite {
    color: var(--weak);
    font-size: 14px;
    font-style: normal;
}

.faq-wrap {
    max-width: 960px;
}

.wide-faq {
    max-width: 1080px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    min-height: 74px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-question span:last-child {
    font-size: 28px;
    font-weight: 400;
    transition: transform .2s ease;
}

.faq-item.is-open .faq-question span:last-child {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 44px 22px 0;
    color: var(--muted);
}

.faq-answer p {
    margin: 0;
}

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

.feature-grid-3 article {
    padding: 30px;
    border-top: 2px solid #111;
    background: #fff;
}

.feature-grid-3 h2 {
    margin: 10px 0 12px;
    font-size: 26px;
}

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

.feature-no {
    color: #6D817C;
    font-size: 13px;
    font-weight: 800;
}

.horizontal-game-list {
    display: grid;
    gap: 22px;
}

.horizontal-game-list article {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.horizontal-game-list img {
    width: 100%;
    border-radius: 16px;
    background: var(--gray);
}

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

.support-grid a {
    padding: 28px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.support-grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(17,17,17,.05);
}

.support-grid span {
    color: #5A746D;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
}

.support-grid strong {
    display: block;
    margin: 8px 0;
    font-size: 23px;
}

.support-grid p {
    margin: 0;
    color: var(--muted);
}

.editorial-copy {
    margin-left: auto;
    margin-right: auto;
}

.editorial-copy p {
    margin: 0 0 24px;
}

.editorial-copy p:last-child {
    margin-bottom: 0;
}

.reverse-on-wide .feature-image {
    order: 2;
}

.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 78px 0 28px;
}

.footer-inner {
    width: min(100% - 44px, 1280px);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
}

.footer-grid h2 {
    margin: 0 0 16px;
    font-size: 16px;
}

.footer-grid a:not(.footer-logo) {
    display: block;
    padding: 5px 0;
    color: #BFC4C5;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-brand p {
    max-width: 430px;
    color: #BFC4C5;
    font-size: 15px;
}

.footer-bottom {
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid #2E3031;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    color: #BFC4C5;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1100px) {
    .section-pad { padding: 82px 0; }
    .five-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .four-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .featured-layout { grid-template-columns: 1fr; }
    .featured-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .compact-feature { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .hero { background: #fff; }
    .hero-grid,
    .page-hero-grid,
    .feature-split,
    .mobile-split,
    .brand-story-grid,
    .newest-layout,
    .security-grid,
    .news-layout,
    .split-heading {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .reverse-on-wide .feature-image { order: initial; }
    .promo-feature { grid-template-columns: 1fr; }
    .promo-feature.reverse img { order: initial; }
    .news-columns { grid-template-columns: 1fr; }
    .feature-grid-3 { grid-template-columns: 1fr; }
    .security-points.expanded { grid-template-columns: 1fr; }
    .horizontal-game-list article { grid-template-columns: 220px 1fr; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 767px) {
    body { font-size: 16px; line-height: 1.78; }
    .container,
    .footer-inner { width: min(100% - 28px, 1280px); }
    .section-pad { padding: 64px 0; }
    .header-inner { min-height: 66px; padding: 0 14px; }
    .menu-toggle { width: 40px; height: 40px; }
    .menu-toggle span { width: 25px; }
    .site-logo img { max-width: 110px; max-height: 40px; }
    .header-game-btn { min-width: 78px; height: 40px; padding: 0 15px; font-size: 14px; }
    .site-drawer { width: min(88vw, 390px); }
    .hero h1,
    .page-hero h1 { font-size: clamp(34px, 10vw, 42px); }
    .section-heading h2,
    .feature-copy h2,
    .mobile-copy h2,
    .brand-copy h2,
    .newest-copy h2,
    .news-feature h2,
    .security-grid h2,
    .editorial-copy h2,
    .news-columns h2 { font-size: clamp(26px, 8vw, 32px); }
    .hero-lead,
    .page-hero p,
    .narrow-copy > p:last-child { font-size: 16px; }
    .five-cols,
    .four-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .game-card-body { padding: 14px; }
    .game-card h3 { font-size: 19px; }
    .game-card p { font-size: 14px; line-height: 1.65; }
    .game-card .small-btn { width: 100%; padding: 0 10px; }
    .featured-side { grid-template-columns: 1fr; }
    .compact-feature { grid-template-columns: 42% 1fr; }
    .compact-feature p { font-size: 14px; }
    .compact-feature .inline-actions .main-btn { display: none; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .promo-card { display: block; }
    .support-grid { grid-template-columns: 1fr; }
    .horizontal-game-list article { grid-template-columns: 1fr; }
    .news-list a,
    .news-list.detailed a { grid-template-columns: 1fr; }
    .news-list.detailed small { grid-column: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .category-scroll { gap: 26px; }
    .poster-section { padding: 10px 0 50px; }
}

@media (max-width: 430px) {
    .header-inner { padding: 0 12px; }
    .site-logo img { max-width: 96px; }
    .header-game-btn { min-width: 76px; padding: 0 12px; font-size: 13px; }
    .menu-toggle { width: 38px; }
    .menu-toggle span { width: 23px; }
    .hero-actions { align-items: flex-start; }
    .compact-feature { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
