/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
}

/* CONTAINER PARALLAX */
.parallax-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-image: url('./custom_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.parallax-layer:nth-child(1) { opacity: 0.3; z-index: 1; }
.parallax-layer:nth-child(2) { opacity: 0.5; z-index: 2; }
.parallax-layer:nth-child(3) { opacity: 0.7; z-index: 3; }

/* ONDAS */
.wave-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 4;
    pointer-events: none;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    animation: wave-float 20s ease-in-out infinite;
    background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
}

.wave1 { top: -50%; left: -50%; animation-delay: 0s; animation-duration: 25s; }
.wave2 { top: -30%; right: -50%; animation-delay: -8s; animation-duration: 30s; background: radial-gradient(ellipse at center, rgba(0, 191, 255, 0.08) 0%, transparent 70%); }
.wave3 { bottom: -50%; left: -30%; animation-delay: -15s; animation-duration: 35s; background: radial-gradient(ellipse at center, rgba(72, 202, 228, 0.06) 0%, transparent 70%); }

@keyframes wave-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -20px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, 30px) rotate(180deg) scale(0.9); }
    75% { transform: translate(-30px, -10px) rotate(270deg) scale(1.05); }
}

/* CONTEÚDO */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 3rem;
}

.logo-container {
    position: relative;
}

.logo {
    width: 420px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
    animation: logo-glow 4s ease-in-out infinite alternate;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(0, 191, 255, 0.6));
}

@keyframes logo-glow {
    0% { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(0, 191, 255, 0.5)); }
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 700px;
    margin-top: -2rem;
    padding: 0 1.5rem;
}

.text-container {
    position: relative;
    text-align: center;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #48cae4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    animation: title-entrance 2s ease-out;
    letter-spacing: 1px;
}

@keyframes title-entrance {
    0% { opacity: 0; transform: translateY(50px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #b0c4de;
    margin-bottom: 3rem;
    letter-spacing: 4px;
    animation: subtitle-entrance 2s ease-out 0.5s both;
}

@keyframes subtitle-entrance {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* EMAIL ANIMADO */
.animated-email {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    margin: 0 auto;
    background-color: #FFA500;
    border-radius: 40px;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
    animation: email-entrance 2s ease-out 1s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: fit-content;
    white-space: nowrap;
}

.animated-email:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
}

@keyframes email-entrance {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* PARTÍCULAS */
.particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 5;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #00bfff 0%, transparent 70%);
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; animation-delay: -5s; animation-duration: 25s; }
.particle:nth-child(3) { left: 30%; animation-delay: -10s; animation-duration: 18s; }
.particle:nth-child(4) { left: 50%; animation-delay: -15s; animation-duration: 22s; }
.particle:nth-child(5) { left: 60%; animation-delay: -3s; animation-duration: 28s; }
.particle:nth-child(6) { left: 70%; animation-delay: -8s; animation-duration: 16s; }
.particle:nth-child(7) { left: 80%; animation-delay: -12s; animation-duration: 24s; }
.particle:nth-child(8) { left: 90%; animation-delay: -18s; animation-duration: 19s; }

@keyframes particle-float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* SOBREPOSIÇÃO RADIAL */
.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 769px) {
    .main-content {
        max-width: 900px;
    }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .logo { width: 320px; }
    .main-content { margin-top: -4rem; }
    .main-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
    .subtitle { font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 2rem; }
}

@media (max-width: 480px) {
    .logo { width: 260px; }
    .main-content { margin-top: -4rem; }
    .main-title { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .subtitle { font-size: 1rem; letter-spacing: 1px; margin-bottom: 2rem; white-space: nowrap; overflow: hidden; }
    .animated-email { font-size: 0.9rem; padding: 0.6rem 1.2rem; }
}
