body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: #0b0b0b;
}

.rh-logo {
    height: 175px;
    width: 175px;
    position: absolute;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

header h1 {
    font-size: 45px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #c1bcba;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 20px;
}

.main {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frase {
    width: 100%;
    max-width: 700px;
    padding: 60px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    background: radial-gradient(circle at top, #2a2a2a, #151515);
    box-shadow:
        0 30px 80px rgba(25, 25, 25, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.23);
    border-radius: 18px;
}

/* agora funciona com blockquote também */
.frase p,
#frase {
    color: #c0bdbc;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
}

#autor {
    color: #898788;
    letter-spacing: 3px;
    /* tava errado antes */
    padding-bottom: 5px;
}

#ano {
    color: #6f6d6e;
    font-size: 14px;
}

.back-arrow {
    padding-right: 10px;
    height: 100%;
}

.frase button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #800000;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
}

.frase button:hover {
    background-color: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(160, 0, 0, 0.4);
}

.frase button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* removi duplicação */
.all-phrases {
    margin-top: 30px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.all-phrases::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.25s ease;
}

.all-phrases:hover {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.all-phrases:hover::after {
    width: 100%;
}

.todas-frases {
    margin-top: 40px;
    padding: 20px;
    text-align: justify;
}

.todas-frases h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
}

.todas-frases ul li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
    /* melhor contraste no dark */
    font-size: 20px;
}

.linha-frase {
    font-weight: bold;
    font-size: 1.1em;
}

.linha-autor {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 3px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 20px;
    gap: 5px;
}

.app {
    display: flex;
    gap: 10px;
}

.instagram,
.github {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gustavovidal,
.pyetroferreira {
    display: flex;
    align-items: center;
    gap: 5px;
}

.svg {
    height: 15px;
    width: 15px;
}

/* TABLET */
@media (max-width: 1024px) {
    .frase {
        max-width: 600px;
    }

    .frase p,
    #frase {
        font-size: 32px;
    }

    .todas-frases h2 {
        font-size: 36px;
    }

    .linha-frase {
        font-size: 24px;
    }

    .linha-autor {
        font-size: 20px;
    }

    footer {
        font-size: 18px;
    }

    .svg {
        height: 20px;
        width: 20px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    header h1 {
        text-align: center;
        font-size: 32px;
    }

    .frase {
        padding: 40px 25px;
    }

    .frase p,
    #frase {
        font-size: 20px;
    }

    .frase button {
        font-size: 18px;
    }

    .todas-frases h2 {
        font-size: 26px;
    }

    .linha-frase {
        font-size: 18px;
    }

    .linha-autor {
        font-size: 14px;
    }

    footer {
        align-items: center;
        font-size: 13px;
    }

    .dev-by {
        font-size: 14px;
    }

    .app {
        gap: 7px;
    }

    .svg {
        height: 18px;
        width: 18px;
    }
}