@font-face {
    font-family: FatherGalaxy;
    src: url('assets/fonts/FatherGalaxy-Regular.otf') format('opentype')
}

:root {
    --blue: #0966f2;
    --deep: #064ac0;
    --ink: #142448;
    --muted: #627299;
    --line: #e4ebfa;
    --yellow: #ffbd38;
    --pale: #f4f8ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Fredoka, Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

[hidden] {
    display: none !important
}

.home-container {
    width: min(1120px, calc(100% - 48px));
    margin: auto
}

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 670px;
    background: linear-gradient(135deg, #0c79ff 0%, #0969f3 46%, #074cbd 100%);
    color: #fff
}

.home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(#fff0 95%, #ffffff0d 95%), linear-gradient(90deg, #fff0 95%, #ffffff0d 95%);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, #000, transparent 75%)
}

.home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 100px;
    background: linear-gradient(155deg, transparent 49%, #5d2bd5 50%);
    opacity: .95
}

.site-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    min-height: 86px;
    justify-content: space-between
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font: 25px FatherGalaxy, Fredoka, sans-serif
}

.logo-mark {
    width: 39px;
    height: 39px;
    object-fit: contain
}

.site-header nav ul {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 700
}

.site-header nav a:hover {
    color: #cfe1ff
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.btn {
    border: 0;
    border-radius: 9px;
    padding: 12px 18px;
    background: var(--yellow);
    color: #18213a;
    cursor: pointer;
    font-weight: 700
}

.header-copy-ip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid #ffffff61;
    border-radius: 9px;
    background: #ffffff17;
    color: #fff;
    cursor: pointer;
    font: 700 13px Fredoka, sans-serif;
    transition: background .2s, transform .2s
}

.header-copy-ip:hover {
    background: #ffffff29;
    transform: translateY(-2px)
}

.header-copy-ip i {
    width: 15px
}

.account-menu {
    position: relative
}

.account-avatar {
    width: 39px;
    height: 39px;
    overflow: hidden;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #1a4ea8;
    cursor: pointer
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.account-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    min-width: 140px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 25px #103b8a44;
    color: var(--ink)
}

.account-dropdown a,
.account-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    background: #eef4ff
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer
}

.hero-atmosphere {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.pixel-cloud {
    position: absolute;
    height: 33px;
    border-radius: 9px;
    background: #b5d2ff3d;
    animation: cloud-drift 17s ease-in-out infinite alternate
}

.pixel-cloud::before,
.pixel-cloud::after {
    content: "";
    position: absolute;
    border-radius: 9px;
    background: inherit
}

.cloud-one {
    top: 92px;
    left: 18%;
    width: 200px
}

.cloud-one::before {
    width: 65px;
    height: 49px;
    left: 22px;
    bottom: 0
}

.cloud-one::after {
    width: 91px;
    height: 22px;
    right: -48px;
    top: 18px
}

.cloud-two {
    top: 170px;
    right: 20%;
    width: 160px;
    animation-delay: -8s
}

.cloud-two::before {
    width: 52px;
    height: 39px;
    left: 27px;
    bottom: 0
}

.cloud-three {
    right: -110px;
    bottom: 155px;
    width: 245px;
    opacity: .55;
    animation-delay: -12s
}

.cloud-three::before {
    width: 80px;
    height: 56px;
    left: 35px;
    bottom: 0
}

.cloud-three::after {
    width: 110px;
    height: 28px;
    right: -40px;
    top: 15px
}

.hero-block,
.hero-cube {
    position: absolute;
    color: #c7ddff;
    opacity: .44
}

.hero-block {
    width: 38px;
    height: 38px;
    border: 4px solid currentColor;
    box-shadow: 12px 12px 0 #8dbbff2e;
    animation: float-block 7s ease-in-out infinite
}

.block-one {
    top: 145px;
    left: 7%
}

.block-two {
    right: 9%;
    top: 78px;
    width: 23px;
    height: 23px;
    animation-delay: -3s
}

.hero-cube {
    right: 38%;
    bottom: 94px;
    width: 52px;
    animation: spin-cube 18s linear infinite
}

.hero-spark {
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid #d6e6ff;
    background: transparent;
    animation: sparkle 3.6s ease-in-out infinite
}

.spark-one {
    top: 206px;
    left: 42%
}

.spark-two {
    right: 31%;
    top: 245px;
    animation-delay: -1.1s
}

.spark-three {
    right: 8%;
    bottom: 220px;
    animation-delay: -2.3s
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    min-height: 548px
}

.hero-copy {
    padding: 28px 0 72px
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a9cbff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px
}

.hero-kicker i {
    width: 14px;
    color: var(--yellow)
}

.hero-brand {
    display: block;
    width: min(530px, 112%);
    margin: -41px 0 -30px -33px;
    filter: drop-shadow(0 7px 0 #0745b6aa)
}

.hero-copy p {
    max-width: 445px;
    margin: 0 0 27px;
    color: #e8f1ff;
    font-size: 19px;
    line-height: 1.58
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 23px
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    border-radius: 9px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.hero-button i {
    width: 17px
}

.hero-button.primary {
    background: var(--yellow);
    color: #1d2944;
    box-shadow: 0 8px 0 #d8871d
}

.hero-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 #d8871d
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 700
}

.hero-link i {
    width: 16px
}

.hero-world {
    --hero-player-bottom: -34px;
    position: relative;
    align-self: end;
    height: 460px
}

.hero-world .sun {
    position: absolute;
    top: 48px;
    left: 50%;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: linear-gradient(#ffc64b, #e7a830);
    transform: translateX(-43%);
    animation: sun-pulse 5s ease-in-out infinite
}

.world-hill {
    position: absolute;
    bottom: 0;
    clip-path: polygon(0 66%, 16% 47%, 35% 59%, 47% 38%, 61% 58%, 78% 30%, 100% 53%, 100% 100%, 0 100%)
}

.hill-back {
    inset: 80px -35px 0 -20px;
    background: #1355be
}

.hill-front {
    inset: 150px -45px 0 -45px;
    background: #123d94
}

.hero-player {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: var(--hero-player-bottom);
    width: min(410px, 92%);
    animation: character-float 5s ease-in-out infinite
}

.hero-player::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    box-shadow: inset 15px 15px 0 #ffffff42;
    pointer-events: none
}

.hero-player img {
    width: 100%;
    filter: saturate(1.5) drop-shadow(17px 20px 0 #07368d55)
}

.hero-ground {
    position: absolute;
    z-index: 3;
    bottom: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(#2fb952 0 35%, #543521 36%)
}

.event-highlight {
    position: relative;
    z-index: 8;
    width: min(1060px, calc(100% - 38px));
    margin: -30px auto 0;
    border-radius: 16px;
    background: linear-gradient(110deg, #fff, #f3f7ff);
    box-shadow: 0 15px 38px #0c48bb30
}

.event-highlight-inner {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 18px 27px
}

.event-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: #fff0c8;
    color: #c97412
}

.event-icon i {
    width: 22px
}

.event-copy {
    display: grid;
    gap: 2px;
    margin-right: auto
}

.event-copy span {
    color: #b97918;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.15px
}

.event-copy strong {
    color: #155be8;
    font-size: 20px
}

.event-copy small {
    color: var(--muted);
    font-size: 12px
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    border-radius: 8px;
    background: #155be8;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s, background .2s
}

.event-link:hover {
    background: #074cc7;
    transform: translateY(-2px)
}

.event-link i {
    width: 15px
}

.copy-ip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid #bdd1f7;
    border-radius: 8px;
    background: #f5f8ff;
    color: #155be8;
    cursor: pointer;
    font-weight: 700
}

.copy-ip i {
    width: 16px
}

.home-section {
    padding: 100px 0
}

.section-lead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px
}

.section-lead h1,
.section-centered h1,
.story-copy h1,
.panel-layout h1,
.final-cta h1 {
    max-width: 670px;
    margin: 10px 0 0;
    color: var(--ink);
    font-size: clamp(33px, 4vw, 51px);
    line-height: 1.04;
    letter-spacing: -1.4px
}

.section-lead p {
    max-width: 370px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6
}

.eyebrow {
    color: #377cf0
}

.mode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 39px
}

.mode-grid article {
    min-height: 225px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 18px #1652b010;
    transition: transform .2s, box-shadow .2s
}

.mode-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px #1652b020
}

.mode-grid i {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 11px;
    background: #e8f0ff;
    color: #155be8
}

.mode-grid i svg {
    width: 21px
}

.mode-grid h2 {
    margin: 23px 0 8px;
    font-size: 19px
}

.mode-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5
}

.story-section {
    padding-top: 12px
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 23px;
    background: #f1f6ff
}

.story-image {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    background: linear-gradient(135deg, #8eb6ff, #3975e5)
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.story-image span {
    position: absolute;
    top: 21px;
    left: 22px;
    padding: 8px 11px;
    border-radius: 7px;
    background: #ffffffde;
    color: #155be8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px
}

.story-copy {
    align-self: center;
    padding: 55px
}

.story-copy p {
    color: var(--muted);
    line-height: 1.66
}

.story-copy ul {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 26px 0;
    list-style: none;
    color: #344f82;
    font-size: 14px
}

.story-copy li {
    display: flex;
    gap: 8px;
    align-items: center
}

.story-copy li i {
    width: 17px;
    height: 17px;
    padding: 3px;
    border-radius: 50%;
    background: #dce9ff;
    color: #155be8
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border: 1px solid #155be8;
    border-radius: 8px;
    color: #155be8;
    font-weight: 700
}

.outline-button i {
    width: 16px
}

.start-section {
    background: #f8fbff
}

.section-centered {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center
}

.section-centered h1 {
    margin-left: auto;
    margin-right: auto
}

.start-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px
}

.start-steps article {
    position: relative
}

.start-steps article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    left: calc(100% + 17px);
    width: 22px;
    border-top: 2px dashed #aec6fa
}

.start-steps b {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    border-radius: 50%;
    background: #155be8;
    color: #fff;
    font-size: 19px
}

.start-steps h2 {
    margin: 17px 0 7px;
    font-size: 19px
}

.start-steps p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px
}

.panel-promo {
    overflow: hidden;
    background: linear-gradient(135deg, #eaf2ff, #d9e8ff)
}

.panel-layout {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    gap: 50px;
    padding: 84px 0
}

.panel-layout p {
    max-width: 450px;
    color: #52688f;
    line-height: 1.65
}

.panel-layout img {
    width: 100%;
    filter: drop-shadow(0 20px 25px #2464bd25)
}

.players-section .section-lead {
    margin-bottom: 35px
}

.plain-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #155be8;
    font-weight: 700
}

.plain-link i {
    width: 16px
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.featured-card {
    position: relative;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    text-align: center
}

.featured-card>img {
    width: 89px;
    height: 89px;
    margin: auto;
    image-rendering: pixelated
}

.featured-card h4 {
    margin: 12px 0 3px;
    font-size: 19px
}

.featured-card p {
    margin: 0 0 15px;
    color: #4673c8;
    font-size: 13px
}

.featured-position {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 8px;
    border-radius: 7px;
    background: #155be8;
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.featured-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px
}

.featured-loading {
    grid-column: 1/-1;
    color: var(--muted);
    text-align: center
}

.final-cta {
    padding: 76px 0;
    background: linear-gradient(122deg, #0966f2, #4f80e8);
    color: #fff
}

.final-cta .home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px
}

.final-cta span {
    color: #bcd5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px
}

.final-cta h1 {
    color: #fff;
    max-width: 610px
}

.hero-button.gold {
    flex: none;
    background: var(--yellow);
    color: #1c2944;
    box-shadow: 0 8px 0 #d98a1b
}

footer {
    padding: 55px 0 0;
    background: #0d3a9a;
    color: #dce9ff
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
    padding-bottom: 46px
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font: 24px FatherGalaxy, Fredoka, sans-serif
}

.footer-logo img {
    width: 37px;
    height: 37px
}

.footer-grid p {
    max-width: 320px;
    color: #c4d7ff;
    line-height: 1.6;
    font-size: 13px
}

.footer-grid h2 {
    margin: 4px 0 15px;
    color: #fff;
    font-size: 14px
}

.footer-grid div:not(:first-child) {
    display: grid;
    align-content: start;
    gap: 10px
}

.footer-grid div:not(:first-child) a {
    color: #c4d7ff;
    font-size: 13px
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid #ffffff2e;
    color: #b5cbfb;
    font-size: 11px
}

@media(max-width:900px) {
    .site-header nav {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .site-header nav.open {
        position: absolute;
        top: 75px;
        right: 0;
        z-index: 10;
        display: block;
        padding: 15px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 12px 25px #06388a33
    }

    .site-header nav.open ul {
        display: grid;
        gap: 13px;
        color: var(--ink)
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: 530px
    }

    .hero-copy {
        padding-bottom: 85px;
        text-align: center
    }

    .hero-copy,
    .hero-actions {
        align-items: center;
        justify-content: center
    }

    .hero-brand {
        width: min(500px, 100%);
        margin-left: auto;
        margin-right: auto
    }

    .hero-copy p {
        margin-left: auto;
        margin-right: auto
    }

    .hero-world {
        display: none
    }

    .mode-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .story-layout,
    .panel-layout {
        grid-template-columns: 1fr
    }

    .story-image {
        min-height: 360px
    }

    .panel-layout {
        gap: 25px
    }

    .panel-layout img {
        max-width: 600px
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr
    }
}

@keyframes cloud-drift {
    to {
        transform: translateX(32px) translateY(-9px)
    }
}

@keyframes float-block {
    50% {
        transform: translateY(-15px) rotate(8deg);
        opacity: .72
    }
}

@keyframes spin-cube {
    to {
        transform: rotate(360deg)
    }
}

@keyframes sparkle {
    50% {
        transform: scale(1.45) rotate(45deg);
        opacity: .5
    }
}

@keyframes sun-pulse {
    50% {
        transform: translateX(-43%) scale(1.045);
        box-shadow: 0 0 55px #ffc64b5c
    }
}

@keyframes character-float {
    50% {
        transform: translateY(-9px)
    }
}

@media(prefers-reduced-motion:reduce) {

    .pixel-cloud,
    .hero-block,
    .hero-cube,
    .hero-spark,
    .hero-world .sun,
    .hero-player {
        animation: none !important
    }
}

@media(max-width:900px) {
    .hero-atmosphere .hero-cube {
        right: 13%;
        bottom: 125px
    }

    .event-highlight {
        width: calc(100% - 32px)
    }
}

@media(max-width:600px) {
    .home-container {
        width: min(100% - 32px, 1120px)
    }

    .home-hero {
        min-height: 565px
    }

    .site-header {
        min-height: 72px
    }

    .site-header .logo {
        font-size: 21px
    }

    .header-actions .btn {
        padding: 10px 13px
    }

    .header-copy-ip {
        padding: 10px
    }

    .header-copy-ip span {
        display: none
    }

    .hero-kicker {
        font-size: 10px
    }

    .hero-brand {
        width: min(365px, 112%);
        margin-top: -26px;
        margin-bottom: -16px
    }

    .hero-copy p {
        font-size: 16px
    }

    .hero-actions {
        gap: 16px
    }

    .hero-button {
        padding: 12px 15px;
        font-size: 13px
    }

    .hero-atmosphere .block-one,
    .hero-atmosphere .cloud-two {
        display: none
    }

    .event-highlight {
        width: calc(100% - 28px);
        margin-top: -22px
    }

    .event-highlight-inner {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 12px;
        padding: 18px
    }

    .event-copy small {
        line-height: 1.45
    }

    .event-link {
        grid-column: 1/-1;
        justify-content: center
    }

    .home-section {
        padding: 68px 0
    }

    .section-lead,
    .final-cta .home-container {
        display: grid;
        gap: 18px
    }

    .section-lead h1,
    .section-centered h1,
    .story-copy h1,
    .panel-layout h1,
    .final-cta h1 {
        font-size: 34px
    }

    .mode-grid,
    .featured-grid {
        grid-template-columns: 1fr
    }

    .story-image {
        min-height: 295px
    }

    .story-copy {
        padding: 36px 24px
    }

    .start-steps {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .start-steps article:not(:last-child)::after {
        top: auto;
        bottom: -16px;
        left: 24px;
        width: 0;
        height: 13px;
        border-top: 0;
        border-left: 2px dashed #aec6fa
    }

    .panel-layout {
        padding: 64px 0
    }

    .final-cta {
        padding: 56px 0
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .footer-bottom {
        display: grid
    }

    .account-dropdown {
        right: -5px
    }
}

/* O realce segue a silhueta transparente do GIF, sem caixa de fundo. */
.hero-player::after {
    display: none
}

.hero-player img {
    filter: saturate(1.5) drop-shadow(-5px -5px 0 #ffffff42) drop-shadow(17px 20px 0 #07368d55)
}

.final-cta .hero-button.primary span {
    color: #1d2944;
    font-size: inherit;
    letter-spacing: normal
}

.home-hero .site-header {
    padding-left: 14px;
    padding-right: 14px
}
