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

body {
    font-family: 'Montserrat', sans-serif;
    background: #2E2D2C;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

.bg-image-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 328.88px;
    height: 348px;
    z-index: -1;
    opacity: 0.3;
}

.bg-image-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 495.03px;
    height: 523.82px;
    z-index: -1;
    opacity: 0.3;
}

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

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

.maintenance-logo img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.text-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 15px;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 30px;
    text-align: center;
}

.break-text {
    color: #FFD560;
    display: block;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-align: center;
}

.slot-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 0 15px;
}

.slot-machine {
    width: 100%;
    max-width: 100%;
}

.slot-front {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    padding-top: 30px;
    margin-top: auto;
}

.footer-message {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #E8E8E8;
    line-height: 24px;
    margin-bottom: 15px;
}

.social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #E8E8E8;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* Animaciones */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (min-width: 769px) {
    .social-media {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .footer-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer-text {
        margin-bottom: 0;
        margin-right: 20px;
        white-space: nowrap;
        width: auto;
        text-align: left;
    }
    
    .social-icons {
        width: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    body {
        padding: 30px 15px;
        justify-content: center;
    }
    
    .main-container {
        gap: 30px;
        justify-content: center;
        text-align: center;
    }
    
    .content-wrapper {
        gap: 30px;
    }

    .main-title {
        font-size: 32px;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .subtitle {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    
    .slot-content {
        max-width: 320px;
        padding: 0 10px;
    }
    
    .footer-content {
        width: 100%;
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid #5E5D5C;
    }
    
    .social-media {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .bg-image-left,
    .bg-image-right {
        display: none;
    }
    
    .logo-container {
        margin-bottom: 10px;
    }
    
    .maintenance-logo img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }
    
    .main-title {
        font-size: 28px;
        padding: 0 5px;
    }
    
    .subtitle {
        font-size: 15px;
        padding: 0 5px;
    }
    
    .slot-content {
        max-width: 280px;
        padding: 0 5px;
    }
    
    .footer-text {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .main-container {
        gap: 25px;
    }
    
    .content-wrapper {
        gap: 25px;
    }
}

@media (max-width: 360px) {
    .main-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer-text {
        font-size: 13px;
    }
}

/* Asegurar que todo esté centrado en móvil */
@media (max-width: 768px) {
    .text-content,
    .slot-content,
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .main-title,
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Corrección específica para el footer en móvil */
@media (max-width: 768px) {
    .footer-content .social-media {
        align-items: center;
        text-align: center;
    }
    
    .footer-content .footer-text {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
}