.inicio-main,
.sobre-main {
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    padding: 132px clamp(20px, 7vw, 96px) 48px;
    color: #302544;
}

.inicio-main {
    display: grid;
    align-items: center;
}

.inicio-hero {
    position: relative;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(32px, 7vw, 88px);
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: clamp(28px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid #d9c8f3;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 2% 2%, #b6ffff80, transparent 38%),
        linear-gradient(135deg, #ffffff 12%, #f5efff 100%);
    box-shadow: 0 18px 48px #30254412;
    animation: inicio-entrada 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.inicio-apresentacao,
.inicio-comecar {
    position: relative;
    z-index: 1;
}

.inicio-etiqueta,
.inicio-comecar-etiqueta,
.sobre-etiqueta {
    margin: 0 0 14px;
    color: #6427ce;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.inicio-apresentacao h1 {
    max-width: 650px;
    margin: 0;
    color: #302544;
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

.inicio-resumo {
    max-width: 490px;
    margin: 22px 0 0;
    color: #655b73;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.inicio-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.inicio-acao,
.sobre-voltar {
    display: inline-flex;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 18px;
    border: 1px solid #6427ce;
    border-radius: 8px;
    color: #4a1ba5;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.inicio-acao-principal {
    background: #6427ce;
    color: #ffffff;
}

.inicio-acao-secundaria {
    background: #ffffffa8;
}

.inicio-acao:hover,
.sobre-voltar:hover {
    transform: translateY(-2px);
}

.inicio-acao-principal:hover {
    background: #4a1ba5;
    color: #ffffff;
}

.inicio-acao-secundaria:hover,
.sobre-voltar:hover {
    background: #eee5ff;
    color: #28025a;
}

.inicio-acao:focus-visible,
.sobre-voltar:focus-visible,
.inicio-destaque-jogo:focus-visible {
    outline: 3px solid #81c9d4;
    outline-offset: 3px;
}

.inicio-comecar {
    align-self: center;
    padding-left: clamp(20px, 3vw, 40px);
    border-left: 1px solid #d9c8f3;
    animation: inicio-entrada 650ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

#tela-loading-master:not(.escondido) ~ .inicio-main .inicio-hero,
#tela-loading-master:not(.escondido) ~ .inicio-main .inicio-comecar {
    animation: none;
}

.inicio-comecar-etiqueta {
    margin-bottom: 12px;
    color: #786b88;
    font-size: 11px;
}

.inicio-destaque-jogo {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e4d9f3;
    color: #302544;
    text-decoration: none;
}

.inicio-destaque-jogo:first-of-type {
    border-top: 1px solid #e4d9f3;
}

.inicio-numero {
    padding-top: 2px;
    color: #8964c7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.inicio-destaque-jogo strong,
.inicio-destaque-jogo small {
    display: block;
}

.inicio-destaque-jogo strong {
    font-size: 17px;
}

.inicio-destaque-jogo small {
    margin-top: 4px;
    color: #655b73;
    font-size: 14px;
    line-height: 1.5;
}

.inicio-seta {
    color: #6427ce;
    transition: transform 160ms ease;
}

.inicio-destaque-jogo:hover .inicio-seta {
    transform: translate(2px, -2px);
}

.inicio-instrucao {
    margin: 14px 0 0;
    color: #786b88;
    font-size: 13px;
    line-height: 1.5;
}

.inicio-detalhe {
    position: absolute;
    z-index: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #81c9d4;
    opacity: 0.75;
    animation: inicio-pulsar 3.6s ease-in-out infinite;
}

.inicio-detalhe-um {
    top: 16%;
    right: 45%;
}

.inicio-detalhe-dois {
    right: 7%;
    bottom: 12%;
    width: 6px;
    height: 6px;
    background: #8964c7;
    animation-delay: 900ms;
}

.sobre-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.sobre-artigo {
    box-sizing: border-box;
    width: min(100%, 880px);
    margin: 20px auto 0;
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid #d9c8f3;
    border-top: 3px solid #81c9d4;
    border-radius: 12px;
    background: #ffffffd9;
    box-shadow: 0 16px 42px #30254410;
}

.sobre-artigo-pronto {
    animation: inicio-entrada 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sobre-etiqueta {
    margin-bottom: 10px;
}

.sobre-artigo h1 {
    margin: 0 0 26px;
    color: #302544;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.sobre-texto {
    padding-left: clamp(16px, 3vw, 28px);
    border-left: 2px solid #d9c8f3;
}

.sobre-texto p {
    margin: 0 0 18px;
    color: #51475f;
    font-size: 17px;
    line-height: 1.8;
}

.sobre-texto p:last-child {
    margin-bottom: 0;
}

.sobre-texto strong {
    color: #4a2d78;
}

.sobre-voltar {
    margin-top: 30px;
    background: #f7f1ff;
}

@keyframes inicio-entrada {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inicio-pulsar {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.85);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.2);
    }
}

@media (max-width: 900px) {
    .inicio-main,
    .sobre-main {
        padding-top: 150px;
    }
}

@media (max-width: 650px) {
    .inicio-main,
    .sobre-main {
        min-height: auto;
        padding: 160px 16px 36px;
    }

    .inicio-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 28px 22px;
        border-radius: 14px;
    }

    .inicio-apresentacao h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .inicio-resumo {
        margin-top: 16px;
        font-size: 16px;
    }

    .inicio-acoes {
        margin-top: 22px;
    }

    .inicio-acao {
        width: 100%;
    }

    .inicio-comecar {
        padding: 22px 0 0;
        border-top: 1px solid #d9c8f3;
        border-left: 0;
    }

    .inicio-detalhe-um {
        top: 3%;
        right: 8%;
    }

    .sobre-artigo {
        margin-top: 0;
        padding: 28px 22px;
    }

    .sobre-artigo h1 {
        margin-bottom: 20px;
    }

    .sobre-texto {
        padding-left: 14px;
    }

    .sobre-texto p {
        font-size: 16px;
        line-height: 1.7;
    }

    .sobre-voltar {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inicio-hero,
    .inicio-comecar,
    .sobre-artigo-pronto,
    .inicio-detalhe {
        animation: none;
    }

    .inicio-acao,
    .sobre-voltar,
    .inicio-seta {
        transition: none;
    }
}
