.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 50px 20px;
    color: white;
}

.home-titulo-principal {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.destaque-wrapper {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 35px;
    min-height: 500px;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.destaque-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #890000, #ff4444);
}

.avatar-destaque-container {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

.foto-destaque {
    width: 65%;
    height: 68%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 18%;
    left: 18%;
    transform: scale(0.85);
}

.moldura-destaque {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.perso-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    color: #666;
    background-color: #222;
    border-radius: 50%;
    transform: scale(0.85); 
    z-index: 1;
}

.info-destaque {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.titulo-destaque {
    color: #ff4444;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.nome-destaque {
    font-size: 2.2rem;
    font-family: 'Cinzel', serif;
    margin: 0 0 5px 0;
    color: #fff;
    line-height: 1.1;
}

.posicao-destaque-medalha {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    width: fit-content;
}

.posicao-destaque-medalha .fa-award {
    font-size: 6rem;
    background: linear-gradient(135deg, #fff200 0%, #ffae00 40%, #b87300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.posicao-destaque-medalha .numero-medalha {
    position: absolute;
    top: 36%; 
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 200;
    color: #ffffff;
    font-family: 'Cinzel', serif;
}

@media (max-width: 600px) {
    .destaque-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .info-destaque {
        text-align: center;
        align-items: center;
    }

    .home-titulo-principal {
        font-size: 2rem;
    }
}

.medalha-presente-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.link-perfil-destaque {
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}

.link-perfil-destaque:not(.sem-link):hover {
    transform: scale(1.05);
}

.link-perfil-destaque.sem-link {
    cursor: default;
}

.btn-resgatar-presente {
    background: linear-gradient(135deg, #e74c3c, #890000);
    border: 2px solid #ff4444;
    color: white;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-resgatar-presente:hover {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #ff4444, #e74c3c);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.btn-resgatar-presente i {
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.5));
}

@media (max-width: 600px) {
    .medalha-presente-container {
        align-items: center;
    }
}

.popup-borda-vermelha {
    border: 2px solid #890000 !important;
    border-radius: 10px !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

.carousel-dots {
    text-align: center;
    padding: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #890000;
}

.texto-destaque {
    white-space: pre-line;
}