/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Melhorando a acessibilidade */
.whatsapp-button a, .social-button {
    cursor: pointer;
    outline: none;
}

.whatsapp-button a:focus, .social-button:focus {
    outline: 2px solid white;
}

/* Cabeçalho */
header {
    margin-bottom: 30px;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

/* Estilização da seção de vídeos */
.video-section {
    margin-bottom: 20px;
}

.video-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.winners-title {
    font-size: clamp(20px, 5vw, 20px); /* Fonte responsiva */
    font-weight: bold;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #cc8426, #ff9900);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
    margin: 20px auto;
    display: inline-block;
    white-space: nowrap; /* Evita quebra de linha */
    max-width: 100%; /* Limita a largura máxima */
    overflow: hidden; /* Impede que o texto ultrapasse os limites */

    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Botão do WhatsApp */
.whatsapp-button {
    margin: 20px auto;
}

.whatsapp-button {
    /* Mantenha o tamanho gigante */

    text-decoration: none;
    transition: all 0.3s;

    /* Restaura as animações originais */
    animation: 
        piscar 1s infinite,
        brilhoBorda 2s infinite;
}

/* Animação de piscar (original) */
@keyframes piscar {
    0%, 100% { background: linear-gradient(135deg, #25D366, #128C7E); }
    50% { background: linear-gradient(135deg, #00ff88, #00c974); }
}

/* Animação de brilho nas bordas (original) */
@keyframes brilhoBorda {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

/* Efeito hover (melhorado) */
.whatsapp-button:hover {
    transform: scale(1.1);
    animation: none; /* Pausa animações no hover */
    background: linear-gradient(135deg, #00ff88, #00c974) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9) !important;
}



/* Responsividade */
@media (max-width: 768px) {
    .video-container iframe {
        width: 100%;
        height: auto;
    }
}

/* Estilo do contêiner do timer */
.timer-container {
    margin: 20px 0;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.timer-container h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Estilo do timer */
#timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ff3300;
    background: #292929; /* Cor sólida (ajuste conforme o tema da página) */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
    max-width: 600px; /* Largura máxima do timer */
    width: 90%; /* Ocupa 90% da largura disponível */
    margin: 0 auto; /* Centraliza o timer */
}

/* Estilo de cada item do timer */
.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Estilo dos números */
.timer-item span:first-child {
    font-size: 36px;
    color: #ff8c00;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
}

/* Estilo das labels */
.timer-label {
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    opacity: 0.8;
}

#timer span {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.social-share {
    margin: 20px 0;
    text-align: center;
}

.social-button {
    display: inline-block;
    padding: 15px 25px;
    font-size: 25px;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

.social-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(255, 255, 255, 0.3);
}

/* Estilo para o fundo do vídeo principal */
.video-background {
    margin: 20px auto;
    max-width: 100%; /* Ocupa toda a largura possível */
    padding: 0; /* Remove padding interno */
    background: transparent; /* Remove o gradiente */
    box-shadow: none; /* Remove sombra */
}



/* Efeito de sobreposição */
.video-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(54, 54, 54), rgba(104, 104, 104, 0.322));
    border-radius: 12px;
    z-index: 0;
}

/* Estilo para o container do vídeo */
.video-container {
    position: relative;
    z-index: 2; /* Iframe do vídeo na frente dos trevos */
}

/* Estilo base do vídeo (PC) */
.video-container iframe {
    width: 100%;
    max-width: 800px; /* Tamanho maior no PC */
    height: 450px; /* Altura proporcional (16:9) */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgb(255, 255, 255);
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .video-container iframe {
        max-width: 100%; /* Ocupa toda a largura */
        height: 250px !important; /* Altura fixa menor no celular */
    }
}

body {
    background: linear-gradient(135deg, #3a3a3a, #000000) !important;
}

.video-background::before,
.video-background::after {
    content: none !important;
}
/* Estilo para o fundo dos vídeos dos vencedores */
.winner-video-background {
    background: linear-gradient(135deg, #ff5e00, #00f7ffa8);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    width: 100%;
    max-width: 400px; /* Largura máxima para cada vídeo */
}

/* Ajustes no iframe dos vídeos dos vencedores */
.winner-video iframe {
    width: 100%;
    height: 225px; /* Altura fixa do vídeo */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
}

/* Estilo para o iframe dos Shorts */
.winner-video iframe {
    width: 100%;
    height: 500px; /* Altura maior para vídeos verticais */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
}

/* Layout responsivo para os vídeos dos vencedores */
.winners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Espaçamento entre os vídeos */
    margin-top: 20px;
    max-width: 1200px; /* Largura máxima do contêiner dos vencedores */
    margin: 20px auto; /* Centraliza o contêiner */
}

/* Ajustes para telas grandes */
@media (min-width: 768px) {
    .winner-video-background {
        max-width: 30%; /* Ajusta a largura dos vídeos dos vencedores em telas grandes */
    }
}

/* Container dos trevos */
.clover-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Trevos atrás de todo o conteúdo */
    pointer-events: none;
}

/* Estilo base para os trevos */
.clover {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.5; /* Aumentei a opacidade para facilitar a visualização */
}

/* Posições individuais para cada trevo */
.clover-1 { top: 5%; left: 1%; }
.clover-2 { top: 5%; left: 20%; }
.clover-3 { top: 5%; left: 50%; }
.clover-4 { top: 5%; left: 75%; }
.clover-5 { top: 5%; left: 95%; }

.clover-6 { top: 20%; left: 10%; }
.clover-7 { top: 20%; left: 35%; }
.clover-8 { top: 20%; left: 60%; }
.clover-9 { top: 20%; left: 85%; }

.clover-10 { top: 40%; left: 1%; }
.clover-11 { top: 40%; left: 30%; }
.clover-12 { top: 40%; left: 55%; }
.clover-13 { top: 40%; left: 80%; }
.clover-14 { top: 40%; left: 95%; }

.clover-15 { top: 60%; left: 10%; }
.clover-16 { top: 60%; left: 35%; }
.clover-17 { top: 60%; left: 60%; }
.clover-18 { top: 60%; left: 85%; }

.clover-19 { top: 80%; left: 1%; }
.clover-20 { top: 80%; left: 95%; }

/* Remova as animações dos trevos */
.clover-1, .clover-2, .clover-3, .clover-4, .clover-5, .clover-6 {
    animation: none; /* Remove qualquer animação */
}

/* Notificação temporária */
.notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366; /* Verde do WhatsApp */
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000; /* Garante que a notificação fique acima de outros elementos */
    opacity: 0; /* Inicialmente invisível */
    transform: translateY(20px); /* Inicialmente deslocada para baixo */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.notification.show {
    opacity: 1; /* Torna a notificação visível */
    transform: translateY(0); /* Retorna à posição original */
}

/* Animação do sininho */
@keyframes bellRing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Classe para aplicar a animação */
.bell-icon.ring {
    animation: bellRing 3.0s ease-in-out;
}

.bell-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Ícone branco */
}

.notification-content {
    font-size: 16px;
}

.scroll-indicator {
    text-align: center; /* Centraliza as setas */
    margin: 5px 0; /* Espaçamento acima e abaixo */
    animation: bounce 2s infinite; /* Animação de "quicar" */
}

.scroll-indicator i {
    font-size: 20px; /* Tamanho das setas */
    color: #ff9100; /* Cor das setas */
    margin: 0 10px; /* Espaçamento entre as setas */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Posição inicial */
    }
    40% {
        transform: translateY(-10px); /* Sobe um pouco */
    }
    60% {
        transform: translateY(-5px); /* Sobe menos */
    }
}




.social-share {
    margin: 0;
}

.footer-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0; /* Remove margens */
    padding: 0; /* Remove padding */
    position: relative; /* Garante que o contêiner esteja posicionado corretamente */
    z-index: 1; /* Coloca a imagem na frente do fundo */
}

.footer-image img {
    width: 100%; /* Largura da imagem em telas grandes */
    max-width: 600px; /* Largura máxima da imagem em telas menores */
    height: auto; /* Mantém a proporção da imagem */
    display: block; /* Remove espaços indesejados abaixo da imagem */
}

/* Animação de piscar mais chamativa */
@keyframes piscar {
    0%, 100% {
        background: linear-gradient(135deg, #25D366, #128C7E); /* Cor normal */
    }
    50% {
        background: linear-gradient(135deg, #00ff88, #00c974); /* Verde bem mais claro e vibrante */
    }
}

/* Efeito de brilho nas bordas externas */
a.whatsapp-button {
    font-size: clamp(20px, 5vw, 20px); /* Fonte responsiva */
    font-weight: bold;
    color: #fff;
    text-align: left;
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
    margin: 20px auto;
    display: inline-block;
    white-space: nowrap; /* Evita quebra de linha */
    max-width: 100%; /* Limita a largura máxima */
    overflow: hidden; /* Impede que o texto ultrapasse os limites */
    animation: piscar 1s infinite; /* Animação de piscar */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Sombra inicial */
}

/* Animação do brilho nas bordas externas */
@keyframes brilhoBorda {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Sombra inicial */
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); /* Sombra mais intensa */
    }
}

/* Aplicando a animação ao botão */
a.whatsapp-button {
    animation: piscar 1s infinite, brilhoBorda 2s infinite; /* Combina as animações */
}

/* Estilo do título do vídeo */
.video-title {
    position: relative; /* Mudamos de absolute para relative */
    text-align: center;
    margin-bottom: 15px; /* Espaço entre título e vídeo */
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #000000, #000000);
    padding: 12px 25px;
    border-radius: 10px;
    display: inline-block;
    width: auto;
    max-width: 100%;
    left: auto;
    transform: none;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

