@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

html, body { 
    margin: 0; padding: 0; width: 100%; height: 100%; 
    overflow: hidden; font-family: 'Poppins', sans-serif; 
    background-color: #0a0804;
}

.fullscreen-image {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('novo_fundo_ouro.jpg');
    background-size: cover; background-position: center;
    z-index: 1;
}

.text-pane {
    position: fixed;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; padding: 70px 50px;
    z-index: 10;
}

.text-content-wrapper {
    width: 100%;
    max-width: 460px;
}

.gold-label {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 10px;
}

.gold-price { 
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: bold;
    line-height: 1.05;
    margin-bottom: 26px;
}

.source-info { 
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    text-transform: uppercase;
    color: #f3d674;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 920px) and (orientation: landscape) {
    .text-pane {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-end;
        padding: 30px 24px;
    }

    .text-content-wrapper {
        max-width: 100%;
    }

    .source-info {
        margin-top: 8px;
    }
}

@media (orientation: portrait) {
    .fullscreen-image {
        background-image: url('fundo_vertical.png');
        background-position: center top;
        background-size: cover;
    }

    .text-pane {
        width: 100vw;
        height: 100vh;
        display: block;
        padding: 0;
    }

    .text-content-wrapper {
        position: absolute;
        top: 14.8vh;
        left: 8.8vw;
        right: 8.8vw;
        max-width: none;
    }

    .gold-label {
        font-size: clamp(2.2rem, 8.2vw, 5rem);
        margin-bottom: 12px;
    }

    .gold-price {
        font-size: clamp(3.6rem, 15.4vw, 8.8rem);
        margin-bottom: clamp(22px, 3.5vh, 42px);
    }

    .source-info {
        font-size: clamp(1.8rem, 5.9vw, 3.4rem);
        line-height: 1.28;
    }
}

@media (orientation: portrait) and (min-width: 1000px) and (max-width: 1160px) and (min-height: 1780px) and (max-height: 2040px) {
    .text-content-wrapper {
        top: 15.2vh;
        left: 8.6vw;
        right: 8.6vw;
    }

    .gold-label {
        font-size: 7.3vw;
        margin-bottom: 0.9vh;
    }

    .gold-price {
        font-size: 14.4vw;
        margin-bottom: 2.5vh;
    }

    .source-info {
        font-size: 5.2vw;
        line-height: 1.22;
    }
}

@media (orientation: portrait) and (max-width: 420px) {
    .text-content-wrapper {
        top: 10vh;
        left: 8vw;
        right: 8vw;
    }

    .gold-label {
        font-size: clamp(1.9rem, 8.2vw, 2.4rem);
    }

    .gold-price {
        font-size: clamp(3rem, 13.5vw, 4.1rem);
    }

    .source-info {
        font-size: clamp(1.45rem, 6vw, 2rem);
    }
}