* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
}

/* Tela de Loading */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-container {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-top: 2px solid #a855f7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 16px;
    color: #a855f7;
    letter-spacing: 2px;
    font-weight: 300;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Conteúdo Principal */
#main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Canvas para Partículas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Header */
.header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 60px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
}

/* Conteúdo Central */
.main-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: clamp(20px, 4vw, 30px);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.5s both;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.main-logo {
    width: clamp(70px, 20vw, 100px);
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    margin: 0 auto;
}

.main-logo:hover {
    transform: scale(1.02);
    filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

.subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: #a855f7;
    margin-bottom: clamp(25px, 5vw, 30px);
    letter-spacing: 1px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.7s both;
    text-align: center;
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
}

/* Redes Sociais */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 4vw, 20px);
    margin-bottom: clamp(30px, 6vw, 50px);
    animation: fadeInUp 1s ease-out 0.8s both;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 10vw, 45px);
    height: clamp(40px, 10vw, 45px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.social-icons a:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.2);
}

.social-icons a svg {
    width: clamp(18px, 5vw, 22px);
    height: clamp(18px, 5vw, 22px);
    fill: white;
    transition: all 0.3s ease;
}

.social-icons a:hover svg {
    fill: #a855f7;
    transform: scale(1.1);
}

.tech-lines {
    position: relative;
    width: clamp(60px, 15vw, 100px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.tech-lines::before,
.tech-lines::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    top: -2.5px;
    animation: pulse 3s ease-in-out infinite;
}

.tech-lines::before {
    left: -5px;
}

.tech-lines::after {
    right: -5px;
}

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

/* Responsividade */
@media (max-width: 1024px) {
    .content-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 25px;
    }
    
    .social-icons {
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .tech-lines {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 0 20px;
    }
    
    .social-icons {
        gap: 12px;
        margin-bottom: 35px;
    }
    
    .tech-lines {
        width: 60px;
    }
}

@media (max-width: 360px) {
    .content-wrapper {
        padding: 0 15px;
    }
    
    .social-icons {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .subtitle {
        margin-bottom: 25px;
    }
}

/* Orientação paisagem em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
    .main-content {
        padding: 20px 0;
    }
    
    .content-wrapper {
        transform: scale(0.9);
    }
    
    .social-icons {
        margin-bottom: 20px;
    }
}

/* Dispositivos muito pequenos */
@media (max-width: 320px) {
    .social-icons {
        gap: 8px;
    }
    
    .content-wrapper {
        padding: 0 10px;
    }
}

