/* ============================
   DAILY - IMAGEM PRINCIPAL
============================ */

.hayleyDaily {
    max-width: 110px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255,64,129,0.5)) 
            drop-shadow(0 0 16px rgba(169,128,248,0.3));
    transition: filter 0.3s ease;
    animation: pulseGlow 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255,64,129,0.5)) 
                drop-shadow(0 0 16px rgba(169,128,248,0.3));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(255,64,129,0.7)) 
                drop-shadow(0 0 24px rgba(169,128,248,0.4));
    }
}

/* ============================
   OVERLAY CENTRALIZADO
============================ */

#dailyOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    background-color: rgba(0,0,0,0);
    z-index: 1000;
    overflow: hidden;
}

#hayleySpinningImg {
    max-width: 260px;
    width: 45vw;
    max-height: 70vh;
    object-fit: contain;
    transform: scale(0);
    will-change: transform, opacity;
    filter: drop-shadow(0 0 20px rgba(255,64,129,0.6));
}

@keyframes hayleySpinGrow {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(2.2) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

/* ============================
   CONTEÚDO DO DAILY
============================ */

/* ============================
   DAILY - FUNDO MELHORADO
============================ */
#daily {
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    text-align: center;
    min-height: 70vh;
    background: radial-gradient(circle at top, #1a002d 0%, #2e004f 100%);
    z-index: 1;
}

/* Camadas animadas de estrelas maiores e brilhantes */
#daily::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 2px) repeat;
    background-size: 35px 35px;
    animation: starsDaily 80s linear infinite;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Nuvens suaves roxo claro e rosa */
#daily::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at bottom, rgba(180,120,255,0.08), transparent 60%),
        radial-gradient(ellipse at top, rgba(255,64,129,0.08), transparent 50%);
    filter: blur(100px);
    animation: cloudsDaily 120s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes starsDaily {
    0% { background-position: 0 0; }
    100% { background-position: 2000px 2000px; }
}

@keyframes cloudsDaily {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(150px, -80px) scale(1.1); }
}

/* ============================
   TÍTULO E IMAGEM
============================ */

.daily-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.daily-title {
    font-size: 2.5em;
    background: var(--gradiente-titulo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(180,145,255,0.6), 0 0 25px rgba(255,255,255,0.4);
    margin: 0;
    position: relative;
    z-index: 1;
}

.daily-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1;
}

#dailyMessage {
    margin-top: 32px;
    font-size: 1.5em;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

#daily p {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {

    #daily, 
    .daily-title-container,
    .daily-content,
    .feature-box,
    .footer,
    .footer-content {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .daily-title-container img {
        width: 70%;
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    #daily::before,
    #daily::after {
        overflow: hidden;
        max-width: 100%;
    }
}


/* ============================
   BOTÕES
============================ */

.btn-daily {
    background: linear-gradient(135deg, #FF4081 0%, #B8336A 100%);
    color: #FFFFFF;
    padding: 18px 50px;
    font-size: 1.4em;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255,64,129,0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-daily::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.btn-daily:hover::before {
    top: 0;
    left: 0;
}

.btn-daily:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(255,64,129,0.8);
    background: linear-gradient(135deg, #FF69B4 0%, #FF4081 100%);
}

.btn-daily.disabled {
    background-color: #555;
    color: #aaa;
    border-color: #444;
    cursor: not-allowed;
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ============================
   BOTÕES SECUNDÁRIOS E VOTE
============================ */

.btn-main, .btn-secondary {
    background-color: transparent;
    color: var(--roxo-claro);
    border: 2px solid var(--roxo-claro);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transicao-suave);
}

.btn-main:hover, .btn-secondary:hover {
    background-color: rgba(169,128,248,0.1);
    color: var(--rosa-principal);
    border-color: var(--rosa-principal);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,64,129,0.5);
}

@media (max-width: 480px) {
    .btn-daily,
    .btn-main,
    .btn-secondary {
        width: 100%;
        max-width: 90%;
        padding: 12px 0;
        font-size: 1.1em;
        box-sizing: border-box;
    }
}


/* ============================
   VOTE BUTTONS
============================ */

.vote-glow-btn {
    position: relative;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #4b0082;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 0 8px rgba(75,0,130,0.7);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(75,0,130,0.7); }
    50% { box-shadow: 0 0 20px rgba(138,43,226,0.9); }
}

.vote-glow-btn.show-glow {
    animation: pulse-glow 2s infinite;
}

.vote-glow-btn:hover { transform: scale(1.05); }
.vote-glow-btn:active { transform: scale(0.98); }

.vote-info {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(110,80,180,0.12);
    border: 1px solid rgba(170,120,255,0.18);
    color: #eadcff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .45s ease-out, transform .45s ease-out, box-shadow .4s ease;
}

.vote-info.show-glow {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 0 6px rgba(170,120,255,0.25),
                0 0 12px rgba(150,90,230,0.12);
}

.vote-info .wolf-icon {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 2px rgba(180,120,255,0.45));
}

.vote-text strong {
    color: #d9c3ff;
}
