/* Ti App Studio — koyu, mavi, modern */

:root {
    --bg: #0c1016;
    --bg-raise: #141b27;
    --surface: #182232;
    --surface-2: #1d2940;
    --blue: #3b82f6;
    --blue-bright: #7cb3ff;
    --blue-deep: #16315f;
    --ink: #e8eef8;
    --muted: #93a3ba;
    --line: rgba(156, 184, 224, 0.16);
    --font: "Sora", "Segoe UI", sans-serif;
    --wrap: 1120px;
    --header: 68px;
    --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 1rem;
}
body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}
body::before {
    width: min(820px, 62vw);
    height: min(820px, 62vw);
    top: -18vh;
    right: -8vw;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.42), rgba(37, 99, 235, 0.08) 46%, transparent 70%);
    filter: blur(8px);
    animation: drift-a 18s ease-in-out infinite alternate;
}
body::after {
    width: min(720px, 56vw);
    height: min(720px, 56vw);
    top: 18vh;
    left: -16vw;
    background: radial-gradient(circle, rgba(28, 64, 130, 0.55), rgba(22, 49, 95, 0.16) 48%, transparent 72%);
    filter: blur(10px);
    animation: drift-b 24s ease-in-out infinite alternate;
}
@keyframes drift-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-7vw, 8vh, 0) scale(1.12); }
}
@keyframes drift-b {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(8vw, 6vh, 0) scale(1.08); }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
.home > section,
.home > .wrap,
main:not(.home) {
    animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.home > :nth-child(2) { animation-delay: 0.08s; }
.home > :nth-child(3) { animation-delay: 0.16s; }
.home > :nth-child(4) { animation-delay: 0.24s; }
.home > :nth-child(5) { animation-delay: 0.32s; }
.community p { max-width: 36rem; margin-bottom: 1rem; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

.skip {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--blue);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    z-index: 20;
}
.skip:focus { top: 1rem; }

main { flex: 1 0 auto; }

.wrap {
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
}

.muted { color: var(--muted); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.28rem 0.65rem;
    border: 1px solid rgba(124, 179, 255, 0.35);
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue-bright);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--header);
    background: rgba(12, 16, 22, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}
.brand-mark {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}
.brand-name { letter-spacing: -0.03em; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}
.header-actions {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.75rem;
}
.lang-switch {
    position: relative;
    margin-left: 0.55rem;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] { border-color: var(--blue-bright); }
.lang-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 12;
    min-width: 168px;
    padding: 0.4rem;
    background: #121924;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
    display: block;
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.lang-menu button:hover,
.lang-menu button.is-on { background: rgba(255, 255, 255, 0.05); }
.lang-menu button.is-on { color: white; background: var(--blue-deep); }
.store-langs { margin-top: 2.4rem; }
.lang-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}
.lang-list li {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-weight: 600;
}
.lang-experimental {
    color: var(--muted);
    font-weight: 500;
}
.store-legal { margin-top: 1.5rem; }
.policy {
    max-width: 44rem;
    padding: 3.2rem 0 4.5rem;
}
.policy-game { margin-bottom: 0.85rem; }
.policy-game a {
    color: var(--blue-bright);
    font-weight: 600;
}
.policy h1 {
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}
.policy-date {
    margin-top: 0.85rem;
    color: var(--blue-bright);
    font-size: 0.85rem;
    font-weight: 600;
}
.policy h2 {
    margin-top: 1.7rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.policy p {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}
.policy a { color: var(--blue-bright); }
.policy a:hover { text-decoration: underline; }
.header-login,
.account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 36px;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}
.header-login:hover,
.account-btn:hover { border-color: var(--blue-bright); }
.account-mark {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-deep);
    color: white;
    font-size: 0.72rem;
}
.account-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 180px;
    padding: 0.4rem;
    background: #121924;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.account-menu a,
.account-menu button {
    display: block;
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.account-menu a:hover,
.account-menu button:hover { background: rgba(255, 255, 255, 0.05); }
.site-nav a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.site-nav a[aria-current="page"] {
    color: white;
    background: var(--blue-deep);
}
.nav-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #2563eb; }
.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue-bright); color: white; }
.btn-light { background: white; color: #0f172a; }
.btn-light:hover { background: #dbeafe; }
.btn-store {
    height: 56px;
    padding: 0 1.35rem;
    gap: 0.7rem;
    font-size: 1.02rem;
    background: #0b1220;
    color: white;
    border-color: rgba(124, 179, 255, 0.45);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}
.btn-store:hover { background: #15243d; border-color: var(--blue-bright); }
.btn-store svg { width: 22px; height: 22px; flex: none; }
.btn-store-sm {
    position: absolute;
    z-index: 2;
    top: calc(1rem + (var(--logo) - 32px) / 2);
    right: 14px;
    height: 32px;
    padding: 0 0.7rem;
    gap: 0.35rem;
    font-size: 0.75rem;
    box-shadow: none;
}
.btn-store-sm svg { width: 14px; height: 14px; }

:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 3px;
}

.home { padding-bottom: 3.5rem; }
.hero { padding: 4.5rem 0 0.25rem; }
.hero h1 {
    max-width: 16ch;
    font-weight: 600;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
}
.lead {
    max-width: 36rem;
    margin-top: 1.15rem;
    color: var(--muted);
    font-size: 1.08rem;
}

.section { padding: 2.75rem 0 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.section h2,
.game-page h2,
.page-head h1,
.contact-copy h1 {
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.section h2,
.game-page h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.game-page h2 { margin-bottom: 0.9rem; }
.section-link { color: var(--blue-bright); font-weight: 600; font-size: 0.92rem; }
.section-link:hover { text-decoration: underline; }

.strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.25rem;
    padding: 1.35rem 0 0;
    border-top: 1px solid var(--line);
}
.strip p { color: var(--muted); margin-top: 0.35rem; }
.strip h2 {
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.page-head { padding: 3rem 0 1.25rem; max-width: 40rem; }
.page-head h1,
.contact-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head p,
.contact-copy p { margin-top: 0.9rem; color: var(--muted); font-size: 1.05rem; }

.game-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
}
.game-stage {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(124, 179, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(12, 18, 32, 0.15)),
        #10192a;
}
.game-copy h2 {
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}
.game-copy .lede { margin: 0.9rem 0 1.3rem; color: var(--muted); }
.game-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}
.feature-grid article {
    padding: 1.15rem 1.1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.feature-grid h3 { margin-bottom: 0.35rem; font-size: 1rem; }
.feature-grid p { color: var(--muted); font-size: 0.95rem; }
.note { margin: 0 0 3.5rem; color: var(--muted); }

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    padding: 3rem 0 4rem;
    align-items: start;
}
.mail-link {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--blue-bright);
}
.mail-link:hover { text-decoration: underline; }
.contact-form {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.job-open {
    margin-top: 1.4rem;
    height: auto;
    min-height: 44px;
    padding: 0.65rem 1rem;
    text-align: center;
}
.job-dialog {
    width: min(560px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
}
.job-dialog::backdrop { background: rgba(6, 10, 16, 0.72); }
.job-dialog[open] .job-dialog-card { animation: rise 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.job-dialog-card {
    position: relative;
    padding: 1.35rem 1.2rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    max-height: calc(100vh - 2rem);
    overflow: auto;
}
.job-dialog-card h2 {
    padding-right: 5.2rem;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.job-lead {
    margin: 0.55rem 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}
.job-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    height: 36px;
}
.job-dialog .contact-form {
    padding: 0;
    border: none;
    background: transparent;
}
.field { display: grid; gap: 0.35rem; }
.field span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.field-label { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: baseline; }
.field-optional { font-weight: 500; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0e1522;
    color: var(--ink);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
    border-color: transparent;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-hint { color: var(--muted); font-size: 0.82rem; }
.form-status {
    display: none;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.16);
    color: var(--blue-bright);
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: rgba(248, 113, 113, 0.14); color: #fca5a5; }

.auth-layout {
    width: min(440px, 100%);
    margin: 0 auto;
    padding: 3rem 0 4rem;
}
.auth-layout h1 { margin: 0.4rem 0 0.6rem; }
.admin-layout {
    width: min(880px, 100%);
    margin: 0 auto;
    padding: 3rem 0 4rem;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.1rem 0 0.8rem; }
.admin-tab {
    height: 36px;
    padding: 0 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
.admin-tab.is-on { color: white; background: var(--blue-deep); border-color: transparent; }
.admin-block { display: grid; gap: 0.8rem; }
.admin-block h2 { font-size: 1.15rem; }
.user-table { width: 100%; border-collapse: collapse; }
.user-table th,
.user-table td {
    text-align: left;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--line);
}
.user-table th { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.admin-card {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.4rem;
    padding: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.admin-card h2 { margin-bottom: 0.4rem; font-size: 1.15rem; font-weight: 600; }
.admin-card p { color: var(--muted); }
.admin-actions { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.auth-switch { color: var(--muted); font-size: 0.9rem; }
.auth-switch a { color: var(--blue-bright); }
.auth-split {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
}
.auth-split::before,
.auth-split::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0e1522;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
}
.google-btn:hover { border-color: var(--blue-bright); }
.google-btn svg { width: 18px; height: 18px; }
.google-slot { min-height: 44px; }
.google-slot:empty { display: none; }

.text-link {
    color: var(--blue-bright);
    font-weight: 600;
}
.text-link:hover { text-decoration: underline; }
.home-news .news-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.home-news .news-card { height: 100%; }

.home-games { display: flex; flex-wrap: wrap; gap: 1rem; }
.game-tile { width: 196px; }
.game-tile.is-popular { margin-top: 0.7rem; }
.game-tile.is-popular .game-tile-box {
    border-radius: 24px;
    box-shadow: 0 0 0 2px #f0c14b;
}
.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    background: #f0c14b;
    color: #1c1606;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}
.game-tile-box {
    position: relative;
    width: 196px;
    height: 196px;
}
.game-tile-face {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.game-tile-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-tile-name {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.game-tile-stores {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(8, 12, 20, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.game-tile:hover .game-tile-stores,
.game-tile:focus-within .game-tile-stores { opacity: 1; }
.tile-store { pointer-events: none; }
.game-tile:hover a.tile-store,
.game-tile:focus-within a.tile-store { pointer-events: auto; }
.tile-store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 40px;
    border: 1px solid rgba(124, 179, 255, 0.45);
    border-radius: 10px;
    background: #0b1220;
    color: white;
    font-size: 0.84rem;
    font-weight: 600;
}
.tile-store svg { width: 16px; height: 16px; flex: none; }
a.tile-store:hover { background: #15243d; border-color: var(--blue-bright); }
.tile-store.is-soon { color: var(--muted); border-color: var(--line); }
.tile-store small {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-bright);
}

.news-list { display: grid; gap: 0.8rem; }
.news-page { padding-bottom: 3.5rem; }
.news-card {
    display: block;
    width: 100%;
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(24, 34, 50, 0.72);
    text-align: left;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 179, 255, 0.55);
    background: #1a2740;
}
.news-more {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 600;
}
.news-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.news-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.news-panel-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 10, 16, 0.72);
    cursor: pointer;
}
.news-panel-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(78vh, 560px);
    padding: 1.4rem 1.35rem 1.6rem;
    background: #121924;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
    overflow: auto;
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}
.news-panel.is-open .news-panel-card {
    transform: none;
    opacity: 1;
}
.news-panel-close {
    display: inline-flex;
    margin-bottom: 1.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}
.news-panel-card h2 {
    margin: 0.45rem 0 0.8rem;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.news-panel-card p:last-child {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
    white-space: pre-wrap;
}
.news-date {
    color: var(--blue-bright);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.news-card h2,
.news-card h3 {
    margin: 0.4rem 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.news-card p { color: var(--muted); }

.about-page { padding-bottom: 4.5rem; }
.about-intro { padding: 3.4rem 0 0.2rem; }
.about-intro h1 {
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -0.045em;
    line-height: 1;
}
.about-body {
    max-width: 42rem;
    padding: 1.5rem 0 0;
}
.about-body p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}
.about-body p + p { margin-top: 1.1rem; }
.about-mark-wrap {
    display: flex;
    justify-content: center;
    padding: 2.6rem 0 1.35rem;
}
.about-mark {
    width: 168px;
    height: 168px;
    border-radius: 38px;
    object-fit: cover;
    border: 1px solid var(--line);
    animation: float-mark 5.5s ease-in-out infinite alternate;
}
@keyframes float-mark {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}
.about-accounts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.community-links { justify-content: flex-start; }
.about-accounts a,
.about-accounts span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.55rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(24, 34, 50, 0.78);
    font-weight: 600;
    font-size: 0.92rem;
}
.about-accounts a,
.about-accounts span { transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.about-accounts a:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 179, 255, 0.55);
    background: #1a2740;
}
.about-accounts .is-empty { color: var(--muted); }
.about-accounts small {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-bright);
}

.game-catalog {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-bottom: 3.5rem;
}
.game-tab {
    --logo: 92px;
    position: relative;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(24, 34, 50, 0.78);
    overflow: hidden;
}
.game-tab {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}
.game-tab:hover,
.game-tab:focus-within {
    transform: translateY(-2px);
    border-color: rgba(124, 179, 255, 0.55);
    background: #1a2740;
}
.game-tab-hit { display: block; color: inherit; }
.game-tab-bar {
    display: grid;
    grid-template-columns: var(--logo) 1fr;
    gap: 1.05rem;
    align-items: center;
    padding: 1rem 9rem 1rem 1rem;
}
.game-logo {
    width: var(--logo);
    height: var(--logo);
    border-radius: 18px;
    object-fit: cover;
}
.game-tab-copy { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.game-tab-title {
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.game-tab-kind { color: var(--muted); font-size: 0.92rem; }
.game-tab-cue {
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 600;
}
.game-tab-reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.game-tab:hover .game-tab-reveal,
.game-tab:focus-within .game-tab-reveal {
    grid-template-rows: 1fr;
}
.game-tab-reveal-inner { min-height: 0; overflow: hidden; }
.game-tab-detail {
    margin: 0;
    padding: 0.15rem 1.15rem 1.2rem;
    max-width: 68rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.game-page { padding-bottom: 3.5rem; }
.store-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem 1.4rem;
    align-items: center;
    padding: 2.6rem 0 1.5rem;
}
.store-icon {
    width: 112px;
    height: 112px;
    border-radius: 26px;
    object-fit: cover;
    border: 1px solid var(--line);
}
.store-id h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
}
.store-dev {
    margin-top: 0.25rem;
    color: var(--blue-bright);
    font-weight: 600;
}
.store-meta { color: var(--muted); font-size: 0.92rem; }
.store-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.7rem;
}
.store-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}
.store-stat strong { color: var(--ink); font-weight: 600; }
.store-stat:not([hidden]) + .store-stat:not([hidden])::before {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 0.7rem;
    border-radius: 50%;
    background: var(--muted);
    align-self: center;
}
.store-install { position: relative; }
.btn-install {
    height: 48px;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: white;
    font-weight: 600;
    cursor: pointer;
}
.btn-install:hover { background: #2563eb; }
.btn-install[aria-expanded="true"] { background: #2563eb; }
.install-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 230px;
    padding: 0.4rem;
    background: #121924;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.install-menu[hidden] { display: none; }
.install-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
}
a.install-option:hover { background: rgba(255, 255, 255, 0.05); }
.install-option svg { width: 20px; height: 20px; flex: none; }
.install-option.is-empty { color: var(--muted); }
.install-option small {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
}
.shot-rail {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.8rem;
    margin-bottom: 2rem;
}
.shot-rail img {
    height: 460px;
    width: auto;
    flex: none;
    border-radius: 18px;
    border: 1px solid var(--line);
    scroll-snap-align: start;
    background: #101722;
}
.store-notes { margin-bottom: 2.4rem; }
.note-release {
    max-width: 46rem;
    padding: 1.25rem 1.2rem 0.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.note-version {
    color: var(--blue-bright);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.note-welcome {
    margin-top: 0.45rem;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.45;
}
.note-lead {
    margin-top: 0.55rem;
    color: var(--muted);
}
.note-list {
    margin: 1rem 0 0.85rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.95rem;
}
.note-list h3 {
    font-size: 0.98rem;
    font-weight: 600;
}
.note-list p {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}
.note-thanks {
    margin: 0.15rem 0 1rem;
    color: var(--ink);
    font-weight: 600;
}
.note-old {
    max-width: 46rem;
    margin-top: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.note-old summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}
.note-old summary::-webkit-details-marker { display: none; }
.note-old summary::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    flex: none;
}
.note-old[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 0.25rem;
}
.note-old .note-release {
    border: 0;
    background: transparent;
    padding-top: 0;
}
.store-about { max-width: 46rem; margin-bottom: 2.2rem; }
.store-about p {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.feedback-open { margin-top: 1.15rem; }
.feedback-who { margin: 0.2rem 0 0.9rem; color: var(--muted); }
.feedback-form { display: grid; gap: 0.85rem; }
.feedback-meta { color: var(--muted); font-size: 0.85rem; }
.feedback-message { white-space: pre-wrap; line-height: 1.65; }

.site-footer { border-top: 1px solid var(--line); padding: 1.8rem 0 1.4rem; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: start;
}
.footer-brand {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.footer-nav { display: flex; gap: 1.1rem; }
.footer-nav a { color: var(--muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 860px) {
    .game-layout,
    .contact-layout { grid-template-columns: 1fr; }
    .hero { padding-top: 2.4rem; }
    .home-news .news-list { grid-template-columns: 1fr; }
    .strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .site-header { height: auto; }
    .header-inner {
        height: auto;
        min-height: var(--header);
        flex-wrap: wrap;
        padding: 0.7rem 0;
    }
    .brand { margin-right: auto; }
    .nav-toggle { display: inline-flex; margin-left: 0; order: 2; }
    .header-actions { order: 3; margin-left: 0.5rem; }
    .lang-switch { order: 3; margin-left: auto; }
    .site-nav {
        display: none;
        order: 4;
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        padding-bottom: 0.45rem;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 0.7rem 0.75rem; }
    .form-row,
    .feature-grid { grid-template-columns: 1fr; }
    .game-tab { --logo: 76px; }
    .game-tab-bar { padding-right: 7.6rem; }
    .store-top { grid-template-columns: auto 1fr; }
    .store-install { grid-column: 1 / -1; }
    .btn-install { width: 100%; }
    .install-menu { left: 0; right: auto; width: min(280px, 100%); }
    .shot-rail img { height: 360px; }
    .footer-inner { flex-direction: column; gap: 1rem; }
    .footer-nav { flex-direction: column; gap: 0.4rem; }
}

@media (hover: none) {
    .game-tab-reveal { grid-template-rows: 1fr; }
    .game-tile-box { height: auto; }
    .game-tile-face { height: 196px; }
    .game-tile-stores {
        position: static;
        opacity: 1;
        margin-top: 0.65rem;
        padding: 0;
        background: none;
    }
    .tile-store { pointer-events: auto; }
    .tile-store.is-soon { pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body::before,
    body::after,
    .home > section,
    .home > .wrap,
    main:not(.home),
    .about-mark,
    .job-dialog[open] .job-dialog-card { animation: none; }
    .btn:hover,
    .news-card:hover,
    .game-tab:hover,
    .game-tab:focus-within,
    .about-accounts a:hover { transform: none; }
    .game-tab-reveal,
    .news-panel,
    .news-panel-card { transition: none; }
}
