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

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 75%, #4facfe 100%);
    background-size: 400% 400%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
    animation: fadeInDown 0.6s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid #ffff00;
    border-right: 5px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.5);
}

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

.loader p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

body {
    display: flex;
    flex-direction: column;
}

.hero-section {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, rgba(200, 180, 230, 0.3) 0%, rgba(180, 150, 210, 0.2) 50%, rgba(200, 190, 240, 0.25) 100%), url('BORITO.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    max-width: 900px;
    animation: fadeInDown 0.8s ease-out;
}

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

.welcome-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 50px;
    line-height: 1.3;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    letter-spacing: 1px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 107, 0.6);
    }
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.social-link {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.social-link:hover {
    transform: scale(1.25) translateY(-12px) rotate(5deg);
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: playfulBounce 0.4s ease;
}

@keyframes playfulBounce {
    0%, 100% {
        transform: scale(1.25) translateY(-12px) rotate(5deg);
    }
    50% {
        transform: scale(1.3) translateY(-15px) rotate(-5deg);
    }
}

.social-link.youtube:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.2);
}

.social-link.facebook:hover {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    color: white;
}

.social-link.tiktok:hover {
    color: #25f4ee;
    background: rgba(37, 244, 238, 0.2);
}

.contact-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.contact-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.footer p {
    margin: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.social-link:focus,
.email-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}
