/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden;
    background: url('img/coliseo.jpg') center/cover no-repeat;
    position: relative;
}

/* Overlay oscuro para mejorar legibilidad */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Contenedor principal */
.container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Selector de idiomas */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    font-family: 'Arial', sans-serif;
}

.language-current {
    background: rgba(54, 57, 63, 0.95);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-current:hover {
    background: rgba(64, 67, 73, 0.95);
}


.language-current .flag {
    font-size: 18px;
}

.language-current .language-text {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.language-current .dropdown-arrow {
    color: white;
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(54, 57, 63, 0.95);
    border-radius: 8px;
    min-width: 180px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown.show ~ .language-current .dropdown-arrow {
    transform: rotate(180deg);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: white;
}

.language-option:hover {
    background: rgba(64, 67, 73, 0.8);
}

.language-option.active {
    background: #6a5acd;
}

.language-option .flag {
    font-size: 18px;
}

.language-option .language-text {
    font-size: 14px;
    font-weight: 500;
}

/* Título principal */
.main-header {
    margin-bottom: 30px;
}

.title {
    font-size: 4.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    margin: 0;
}

.x-red {
    color: #ff4444;
    text-shadow: 2px 2px 4px rgba(255, 68, 68, 0.5);
}

/* Contenido principal */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cta-text {
    font-size: 1.4rem;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

/* Botón principal */
.join-button {
    background: linear-gradient(135deg, #5d5bce 0%, #1276c9 100%);
    color: white;
    border: none;
    padding: 30px 80px;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 1px;
    box-shadow: 0 12px 35px rgba(31, 50, 133, 0.5);
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

.join-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.join-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(3, 23, 87, 0.4);
}

.join-button:hover::before {
    left: 100%;
}

.join-button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.footer-left p {
    margin: 0;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
}

.separator {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsividad */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .join-button {
        padding: 25px 60px;
        font-size: 1.5rem;
        min-width: 250px;
    }
    
    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-center {
        position: static;
        transform: none;
    }
    
    .language-selector {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .main-content {
        gap: 30px;
    }
    
    .join-button {
        padding: 22px 50px;
        font-size: 1.3rem;
        min-width: 200px;
    }
    
    .container {
        padding: 15px;
    }
}
