/* ==========================
   RESET BÁSICO
========================== */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:auto; overflow-x:hidden; overflow-y:auto; font-family:Arial,sans-serif; }

/* ==========================
   LOADER
========================== */
#page-loader {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background-color:#fff; display:flex; flex-direction:column;
    justify-content:center; align-items:center; z-index:9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity:0; visibility:hidden; }
.loader-spinner {
    width:80px; height:80px; border:8px solid #f3f3f3; border-top:8px solid #1ff617;
    border-radius:50%; animation:spin 1.5s linear infinite; margin-bottom:20px;
}
.loader-logo { max-width:150px; margin-bottom:20px; animation:pulse 2s infinite; }
.loader-text { font-size:18px; font-weight:600; color:#000; text-align:center; margin-top:10px; animation:fadeInOut 2s infinite; }

@keyframes spin {0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}
@keyframes pulse {0%,100%{opacity:1;transform:scale(1);}50%{opacity:0.8;transform:scale(1.05);}}
@keyframes fadeInOut {0%,100%{opacity:0.7;}50%{opacity:1;}}

/* ==========================
   HEADER
========================== */
header { width:100%; }
.header-bg {
    width:100%; min-height:60vh; background-size:cover; background-position:center;
    display:flex; justify-content:center; align-items:center;
}
.header-bg .logo-header { max-width:200px; }

.header-image {
    width:100%; min-height:40vh; overflow:hidden;
}
.header-image img { 
    width:100%; 
    height:auto; 
    display:block; 
    object-fit:cover; 
}

/* ==========================
   CONTAINER
========================== */
.container { width:100%; max-width:1200px; margin:0 auto; padding:30px 15px; }
.buttons-grid {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px;
}
.action-btn {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:20px; background-color:#1ff617; color:#000; text-decoration:none;
    font-weight:bold; border-radius:10px; transition:all 0.3s ease; text-align:center;
}
.action-btn i { font-size:30px; margin-bottom:10px; }
.action-btn:hover { background-color:#16c300; color:#fff; }

/* ==========================
   RODAPÉ
========================== */
footer { width:100%; background-color:#1ff617; padding:30px 15px; text-align:center; color:#000; }
footer img.logo-footer { max-width:150px; margin-bottom:10px; }

/* ==========================
   BOTÃO FLUTUANTE WHATSAPP
========================== */
.whatsapp-btn {
    position:fixed; bottom:25px; right:25px; background-color:#25d366;
    color:#fff; font-size:30px; width:60px; height:60px; border-radius:50%;
    display:flex; justify-content:center; align-items:center; z-index:9999;
    box-shadow:0 4px 6px rgba(0,0,0,0.2); transition:all 0.3s ease;
}
.whatsapp-btn:hover { background-color:#1ebe57; }

/* ==========================
   RESPONSIVO
========================== */
@media(max-width:768px){
    .header-bg { min-height:40vh; }
    .header-image { min-height:30vh; }
    .buttons-grid { grid-template-columns:1fr; }
}

/* ==========================
   AJUSTE DA IMAGEM HEADER PARA DESKTOP
========================== */
@media(min-width:769px){
    .header-image { max-height:300px; overflow:hidden; } /* Ajuste a altura aqui */
    .header-image img { width:100%; height:auto; object-fit:cover; display:block; }
}

button[name="desbloquear_ip"]{
    background:#16c300;
    color:#fff;
    border:none;
    border-radius:6px;
    transition:0.3s;
}
button[name="desbloquear_ip"]:hover{
    background:#1ff617;
    color:#000;
}

