:root {
    --neon-blue: #00f3ff;
    --neon-blue-dim: rgba(0, 243, 255, 0.2);
    --neon-green: #00ff66;
    --neon-green-dim: rgba(0, 255, 102, 0.2);
    --bg-dark: #07090f;
    --card-bg: rgba(20, 24, 36, 0.6);
    --text-light: #ffffff;
    --text-muted: #a0a5b5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100dvh; /* Adapta-se à barra do navegador mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Permite scroll vertical se necessário (como pull to refresh) */
    position: relative;
}

/* Ambient Background Animations */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    animation: float 12s infinite ease-in-out alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-blue);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-green);
    bottom: -150px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 40px 24px 20px 24px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    flex: 1; /* Preenche a tela e empurra o footer de forma natural */

    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo Area */
.logo-container {
    margin-bottom: 25px; /* Reduzido de 45px para aproximar os botões */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-placeholder {
    width: 250px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: floatLogo 4s ease-in-out infinite alternate; /* Animação flutuante contínua */
}

@keyframes floatLogo {
    0% { transform: translateY(0); filter: drop-shadow(0 0 5px var(--neon-blue-dim)); }
    100% { transform: translateY(-4px); filter: drop-shadow(0 0 15px var(--neon-blue-dim)); }
}

.logo-placeholder:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--neon-blue-dim));
}

.logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Links Area */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px; /* Garante distância mínima para o footer */
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px; /* Reduzido de 20px para caber melhor os 5 botões na tela */
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

.link-btn i {
    position: absolute;
    left: 24px;
    font-size: 24px;
    color: var(--neon-blue);
    transition: all 0.3s ease;
}

.link-btn span {
    z-index: 2;
}

/* Button Hover Effects */
.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.15), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.link-btn {
    --btn-color: var(--neon-blue); /* fallback */
    --btn-shadow: rgba(0, 243, 255, 0.3);
}

.btn-whatsapp { --btn-color: #25D366; --btn-shadow: rgba(37, 211, 102, 0.3); }
.btn-instagram { --btn-color: #E1306C; --btn-shadow: rgba(225, 48, 108, 0.3); }
.btn-email { --btn-color: var(--neon-blue); --btn-shadow: rgba(0, 243, 255, 0.3); }
.btn-pix { --btn-color: #32BCAD; --btn-shadow: rgba(50, 188, 173, 0.3); }
.btn-maps { --btn-color: #EA4335; --btn-shadow: rgba(234, 67, 53, 0.3); }

.link-btn:hover, .link-btn:active, .link-btn.clicked {
    transform: translateY(-2px) scale(0.98);
    border-color: var(--btn-color);
    box-shadow: 0 10px 20px -10px var(--btn-shadow), 0 0 15px var(--btn-shadow);
    color: #fff;
}

.link-btn:hover::before, .link-btn:active::before, .link-btn.clicked::before {
    left: 100%;
}

.link-btn:hover i, .link-btn:active i, .link-btn.clicked i {
    transform: scale(1.15);
    color: var(--btn-color);
}

/* Entrance Animations - Efeito Onda */
.link-btn {
    opacity: 0;
    animation: waveEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.link-btn:nth-child(1) { animation-delay: 0.1s; }
.link-btn:nth-child(2) { animation-delay: 0.25s; }
.link-btn:nth-child(3) { animation-delay: 0.4s; }
.link-btn:nth-child(4) { animation-delay: 0.55s; }
.link-btn:nth-child(5) { animation-delay: 0.7s; }

@keyframes waveEntrance {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(1); 
        border-color: rgba(255,255,255,0.05); 
    }
    40% { 
        opacity: 1; 
        transform: translateY(-2px) scale(0.98); 
        border-color: var(--btn-color); 
        box-shadow: 0 0 20px var(--btn-shadow);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
        border-color: rgba(255,255,255,0.05); 
        box-shadow: none;
    }
}

/* Footer */
footer {
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    opacity: 0;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

footer span {
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(10, 15, 25, 0.95);
    border: 2px solid #32BCAD;
    color: #fff;
    padding: 24px 30px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 50px rgba(50, 188, 173, 0.6), inset 0 0 20px rgba(50, 188, 173, 0.2);
    opacity: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    pointer-events: none;
    width: 85%;
    max-width: 350px;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
