:root {
    color-scheme: dark;
    --bg: #050407;
    --bg-soft: #0a0710;
    --card: #120d1b;
    --raised: #1a1225;
    --purple: #a855f7;
    --magenta: #f000ff;
    --pink: #ff2d75;
    --text: #fff;
    --muted: #b7afc5;
    --dim: #81788d;
    --line: #35233f;
    --max: 1180px;
    --radius: 20px;
    --mono: "SFMono-Regular", Consolas, monospace;
    --font: Inter, "Avenir Next", system-ui, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    min-width: 320px;
    overflow-x: clip
}

body:before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    pointer-events: none;
    background: radial-gradient(ellipse at 78% 2%, rgba(126, 28, 160, .12), transparent 37%), radial-gradient(ellipse at 10% 65%, rgba(115, 27, 117, .08), transparent 42%), linear-gradient(180deg, #050407, #08060b 60%, #050407)
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea {
    font: inherit
}

button {
    color: inherit
}

img,
svg {
    max-width: 100%
}

::selection {
    background: rgba(168, 85, 247, .4);
    color: white
}

.page-wrap {
    width: min(var(--max), calc(100% - 56px));
    margin-inline: auto
}

.inner-page {
    padding-top: 68px;
    padding-bottom: 116px
}

.section {
    padding-block: 88px
}

.site-header {
    height: 82px;
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(91, 65, 105, .28);
    background: rgba(5, 4, 7, .84);
    backdrop-filter: blur(18px)
}

.header-inner {
    height: 100%;
    width: min(var(--max), calc(100% - 56px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 14px;
    white-space: nowrap
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 0 10px rgba(168, 85, 247, .45);
    transition: transform .2s ease, box-shadow .2s ease
}

.brand:hover .brand-logo {
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(240, 0, 255, .65)
}

.brand-symbol {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(240, 0, 255, .55);
    display: grid;
    place-items: center;
    transform: rotate(45deg);
    border-radius: 9px;
    background: linear-gradient(140deg, rgba(168, 85, 247, .28), rgba(240, 0, 255, .04));
    box-shadow: 0 0 22px rgba(168, 85, 247, .16)
}

.brand-symbol span {
    transform: rotate(-45deg);
    font-size: 17px;
    color: #e2a2ff
}

.brand-name em {
    font-style: normal;
    color: #c46aff
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px
}

.desktop-nav a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    transition: color .2s
}

.desktop-nav a:hover,
.desktop-nav a[aria-current=page] {
    color: white
}

.desktop-nav a[aria-current=page]:after {
    content: "";
    height: 2px;
    display: block;
    background: linear-gradient(90deg, var(--purple), var(--magenta));
    margin-top: 7px;
    border-radius: 3px
}

.header-cta {
    font-size: 11px !important;
    padding: 10px 16px !important
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .025em;
    text-align: center;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s, background .2s, color .2s;
    isolation: isolate
}

.button:hover {
    transform: translateY(-2px)
}

.button:active {
    transform: translateY(1px) scale(.985)
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(240, 0, 255, .8);
    outline-offset: 3px
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, #8737c8, #bc35cf 56%, #d8278b);
    border-color: rgba(255, 255, 255, .23);
    box-shadow: 0 5px 0 #54216d, 0 9px 22px rgba(168, 85, 247, .22), inset 0 1px rgba(255, 255, 255, .28)
}

.button-primary:hover {
    box-shadow: 0 5px 0 #54216d, 0 12px 30px rgba(240, 0, 255, .28), inset 0 1px rgba(255, 255, 255, .36)
}

.button-secondary {
    color: #f5eafa;
    background: linear-gradient(180deg, rgba(38, 27, 47, .94), rgba(19, 13, 26, .98));
    border-color: #45334f;
    box-shadow: 0 4px 0 #17101f, 0 8px 18px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .07)
}

.button-secondary:hover {
    border-color: #9363a8;
    box-shadow: 0 4px 0 #17101f, 0 10px 24px rgba(168, 85, 247, .14)
}

.button:disabled {
    opacity: .58;
    cursor: not-allowed;
    transform: none
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d69bff;
    font: 500 10px/1.3 var(--mono);
    letter-spacing: .16em
}

.eyebrow i,
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 12px var(--pink)
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px
}

.section-heading h2 {
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -.045em;
    margin: 12px 0 0
}

.section-heading>p {
    max-width: 300px;
    color: var(--muted);
    font-size: 13px
}

.text-link {
    font-weight: 700;
    font-size: 12px;
    color: #e0b6ff;
    white-space: nowrap
}

.text-link span {
    color: var(--pink);
    padding-left: 5px
}

.back-link {
    display: inline-block;
    color: #d8c6e1;
    font-size: 12px;
    margin-bottom: 28px
}

.back-link:hover {
    color: white
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.game-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(101, 72, 117, .34);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(26, 18, 37, .97), rgba(13, 10, 18, .98));
    box-shadow: 0 14px 38px rgba(0, 0, 0, .2);
    transition: transform .25s, border-color .25s, box-shadow .25s;
    animation: card-in .5s both
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 106, 255, .6);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .35), 0 0 25px rgba(168, 85, 247, .09)
}

.game-cover {
    height: 172px;
    position: relative;
    display: flex;
    align-items: end;
    padding: 18px;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 20%, var(--cover-glow, rgba(168, 85, 247, .36)), transparent 52%), linear-gradient(145deg, var(--cover-a, #261337), var(--cover-b, #0d0914) 68%)
}

.game-cover-image,
.detail-cover-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.game-cover:before,
.detail-cover:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, .035) 35.2%, transparent 35.5%), linear-gradient(0deg, rgba(5, 4, 7, .9), transparent 77%);
    pointer-events: none
}

.game-cover:before {
    z-index: 1
}

.cover-initial,
.cover-placeholder {
    display: none
}

.is-fallback .cover-initial,
.is-fallback .cover-placeholder {
    display: block;
    z-index: 2
}

.cover-placeholder {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 12px #000
}

.cover-orb {
    position: absolute;
    width: 160px;
    aspect-ratio: 1;
    right: -18px;
    top: -44px;
    border: 1px solid rgba(245, 200, 255, .25);
    border-radius: 50%;
    box-shadow: 0 0 32px rgba(240, 0, 255, .11), inset 0 0 30px rgba(168, 85, 247, .08)
}

.cover-orb:after {
    position: absolute;
    content: "";
    inset: 18px;
    border: 1px solid rgba(245, 200, 255, .15);
    border-radius: 50%
}

.cover-initial {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .9);
    font-size: 43px;
    font-weight: 800;
    letter-spacing: -.09em;
    text-shadow: 0 0 22px rgba(255, 255, 255, .34)
}

.game-cover .cover-code {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 15px;
    color: rgba(255, 255, 255, .63);
    font: 10px var(--mono);
    letter-spacing: .12em
}

.game-card-body {
    padding: 17px 18px 19px
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px
}

.game-genre,
.status-pill {
    font: 10px/1.3 var(--mono);
    letter-spacing: .04em;
    color: #d6b5e7
}

.status-pill {
    padding: 5px 8px;
    border: 1px solid rgba(190, 116, 219, .25);
    border-radius: 20px;
    background: rgba(168, 85, 247, .08);
    white-space: nowrap
}

.game-card h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 7px;
    letter-spacing: -.02em
}

.game-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 15px;
    min-height: 40px
}

.game-card .text-link {
    display: inline-flex
}

.site-footer {
    border-top: 1px solid rgba(91, 65, 105, .28);
    background: rgba(8, 6, 11, .7);
    padding: 43px 0 calc(40px + env(safe-area-inset-bottom))
}

.footer-inner {
    width: min(var(--max), calc(100% - 56px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center
}

.footer-copy {
    color: var(--dim);
    font-size: 11px;
    margin: 13px 0 0
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap
}

.footer-links a {
    color: var(--muted);
    font-size: 11px
}

.footer-links a:hover {
    color: #fff
}

.footer-legal {
    grid-column: 1/-1;
    color: #716a79;
    font-size: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(91, 65, 105, .2)
}

.mobile-dock {
    display: none
}

.site-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 2, 5, .82);
    backdrop-filter: blur(10px);
    animation: fade-in .2s
}

.site-modal {
    position: relative;
    width: min(490px, 100%);
    padding: 38px;
    border: 1px solid rgba(198, 113, 255, .55);
    border-radius: 22px;
    background: radial-gradient(ellipse at 50% 0, rgba(168, 85, 247, .18), transparent 52%), #100b17;
    box-shadow: 0 26px 90px rgba(0, 0, 0, .6), 0 0 45px rgba(168, 85, 247, .15);
    animation: modal-in .25s
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #171020;
    cursor: pointer
}

.site-modal h2 {
    margin: 15px 0 10px;
    font-size: 27px;
    line-height: 1.2;
    letter-spacing: -.04em
}

.site-modal p {
    color: var(--muted);
    font-size: 13px
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px
}

.installation-layer {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    background: rgba(5, 4, 7, .97);
    padding: 24px;
    text-align: center
}

.installation-content {
    width: min(480px, 100%)
}

.installation-logo {
    margin: 0 auto 24px;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(240, 0, 255, .7);
    border-radius: 23px;
    background: linear-gradient(140deg, #642d89, #25112f);
    box-shadow: 0 0 50px rgba(240, 0, 255, .28);
    font-size: 39px;
    font-weight: 800;
    animation: float 2s ease-in-out infinite
}

.installation-content h2 {
    font-size: 25px
}

.installation-content p {
    color: var(--muted);
    font-size: 13px
}

.progress-track {
    height: 4px;
    background: #292033;
    border-radius: 5px;
    overflow: hidden;
    margin: 24px auto
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--purple), var(--magenta), var(--pink));
    transition: width .35s
}

.install-result {
    margin-top: 20px
}

.toast {
    position: fixed;
    z-index: 130;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 18px;
    border: 1px solid rgba(196, 106, 255, .45);
    border-radius: 12px;
    background: #1b1223;
    color: white;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .45);
    font-size: 12px;
    animation: modal-in .2s
}

.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .55s ease, transform .55s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.form-feedback {
    min-height: 22px;
    font-size: 12px;
    color: #e5b3ff !important
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

@media(max-width:900px) {
    .desktop-nav {
        gap: 18px
    }

    .desktop-nav a {
        font-size: 11px
    }

    .header-cta {
        display: none
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:700px) {
    html {
        scroll-padding-top: 20px
    }

    .page-wrap {
        width: min(100% - 36px, var(--max))
    }

    .inner-page {
        padding-top: 42px;
        padding-bottom: 125px
    }

    .section {
        padding-block: 57px
    }

    .site-header {
        height: 68px
    }

    .header-inner {
        width: calc(100% - 36px)
    }

    .desktop-nav {
        display: none
    }

    .brand {
        font-size: 12px
    }

    .brand-logo {
        width: 36px;
        height: 36px;
        border-radius: 10px
    }

    .brand-symbol {
        width: 31px;
        height: 31px
    }

    .mobile-dock {
        position: fixed;
        z-index: 40;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        align-items: end;
        height: 76px;
        padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        background: rgba(8, 6, 11, .96);
        border-top: 1px solid rgba(111, 76, 129, .4);
        box-shadow: 0 -14px 35px rgba(0, 0, 0, .45);
        backdrop-filter: blur(18px)
    }

    .dock-link {
        height: 51px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #a59bad;
        font-size: 9px;
        font-weight: 700;
        position: relative
    }

    .dock-link svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7
    }

    .dock-link[aria-current=page] {
        color: #f1ceff
    }

    .dock-link[aria-current=page]:after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 17px;
        height: 2px;
        background: var(--magenta);
        border-radius: 2px
    }

    .dock-link.platform-link {
        height: 64px;
        transform: translateY(-11px);
        color: white
    }

    .platform-link .platform-icon {
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        margin-bottom: 2px;
        border-radius: 50%;
        background: linear-gradient(145deg, #a855f7, #ec2bac);
        border: 1px solid rgba(255, 255, 255, .46);
        box-shadow: 0 5px 0 #502268, 0 0 26px rgba(240, 0, 255, .3), inset 0 1px rgba(255, 255, 255, .45);
        animation: float 2.5s ease-in-out infinite
    }

    .platform-link .platform-icon svg {
        width: 24px;
        height: 24px
    }

    .platform-link[aria-current=page] .platform-icon {
        box-shadow: 0 5px 0 #502268, 0 0 32px rgba(240, 0, 255, .5)
    }

    .site-footer {
        padding-bottom: 110px
    }

    .footer-inner {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 18px
    }

    .footer-links {
        gap: 13px 20px
    }

    .footer-legal {
        grid-column: 1
    }

    .game-grid {
        gap: 12px
    }

    .game-cover {
        height: 135px;
        padding: 13px
    }

    .cover-initial {
        font-size: 34px
    }

    .game-card-body {
        padding: 14px
    }

    .game-card h3 {
        font-size: 14px
    }

    .game-card p {
        font-size: 11px;
        min-height: 54px
    }

    .status-pill {
        font-size: 9px;
        padding: 4px 6px
    }

    .site-modal {
        padding: 34px 24px 26px
    }

    .modal-actions {
        flex-direction: column
    }

    .modal-actions .button {
        width: 100%
    }
}

@media(max-width:390px) {
    .page-wrap {
        width: calc(100% - 28px)
    }

    .game-grid {
        grid-template-columns: 1fr
    }

    .game-cover {
        height: 172px
    }

    .game-card p {
        min-height: 0
    }

    .dock-link {
        font-size: 8px
    }
}

.game-cover {
    height: auto;
    display: block;
    padding: 0
}

.game-cover-image,
.detail-cover-image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    object-fit: contain
}

.game-cover.is-fallback {
    height: 172px;
    display: flex;
    align-items: end;
    padding: 18px
}

@media(max-width:700px) {
    .game-cover.is-fallback {
        height: 135px;
        padding: 13px
    }
}

@media(max-width:390px) {
    .game-cover.is-fallback {
        height: 172px
    }

    .mobile-dock {
        padding-inline: 5px
    }

    .dock-link.platform-link {
        transform: translateY(-9px)
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}
/* Animações de entrada da landing page */
.js-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms); will-change: opacity, transform; }
.js-anim .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
.js-anim .hero .reveal { transition-duration: .9s; }
.tool-summary-card, .contact-support-link, .platform-card, .step-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tool-summary-card:hover, .contact-support-link:hover, .platform-card:hover, .step-card:hover { transform: translateY(-4px); }
.hero-grid { animation: hero-drift 24s linear infinite; }
.brand-logo { transition: transform .4s ease; }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.08); }
@keyframes hero-drift { from { background-position: 0 0; } to { background-position: 64px 64px; } }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .hero-grid { animation: none; }
}.js-anim .reveal.is-visible.tool-summary-card:hover, .js-anim .reveal.is-visible.contact-support-link:hover, .js-anim .reveal.is-visible.platform-card:hover, .js-anim .reveal.is-visible.step-card:hover { transform: translateY(-4px); }
