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

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
}

.header {
    margin-bottom: 60px;
}

.logo-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo {
    max-width: 490px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.title {
    font-size: 72px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.tagline {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    align-items: center;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    overflow: visible;
}

.social-button span {
    display: inline;
    visibility: visible;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.social-button i {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.social-button:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Estilos específicos por red social */
.social-button.twitch {
    color: #9146ff;
}

.social-button.twitch:hover {
    background: rgba(145, 70, 255, 0.2);
    border-color: #9146ff;
    color: #ffffff;
}

.social-button.youtube {
    color: #ff0000;
}

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

.social-button.instagram {
    color: #ffffff;
}

.social-button.instagram span {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-button.instagram:hover {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.3), rgba(249, 115, 22, 0.3), rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.3));
    border-color: #F97316;
    transform: translateY(-5px);
}

.social-button.instagram:hover span {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.social-button.instagram i {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-button.instagram:hover i {
    -webkit-text-fill-color: #ffffff;
    background: none;
}

/* Responsividad */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 60px;
    }

    .title {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 16px;
    }

    .social-button {
        padding: 15px 20px;
        font-size: 14px;
        gap: 10px;
        max-width: 100%;
    }

    .social-button i {
        font-size: 24px;
        width: 35px;
        height: 35px;
    }

    .logo {
        max-width: 350px;
    }

    .container {
        padding: 30px 15px;
    }

    .header {
        margin-bottom: 40px;
    }

    .social-links {
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 14px;
    }

    .social-links {
        gap: 12px;
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }

    .social-button {
        padding: 14px 20px;
        font-size: 13px;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .social-button span {
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-weight: bold;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 0 1 auto;
        min-width: 0;
    }

    .social-button.twitch span {
        color: #9146ff;
    }

    .social-button.youtube span {
        color: #ff0000;
    }

    .social-button.instagram span {
        background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .social-button i {
        font-size: 22px;
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .logo {
        max-width: 250px;
    }

    .container {
        padding: 20px 10px;
    }

    .header {
        margin-bottom: 30px;
    }
}

@media (max-width: 360px) {
    .social-button {
        padding: 12px 16px;
        font-size: 11px;
        gap: 10px;
    }

    .social-button span {
        font-size: 11px !important;
    }

    .social-button i {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    .logo {
        max-width: 200px;
    }

    .tagline {
        font-size: 13px;
    }
}
