:root {
    --primary-color: #61dafb;
    --text-color: #ecf0f1;
    --background-dark: rgba(30, 39, 46, 0.9);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Estilo para el video de fondo */
#video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
}

/* Overlay para oscurecer el fondo de video y mejorar legibilidad */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.construction-container {
    background-color: var(--background-dark);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
    border: 2px solid var(--primary-color);
}

.icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 10px var(--primary-color));
    margin-bottom: 20px;
    animation: spin 10s linear infinite;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(97, 218, 251, 0.5);
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-section {
    margin-top: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.newsletter-form input {
    background-color: #2c3e50;
    border: 1px solid #4a657c;
    color: var(--text-color);
    padding: 12px;
    border-radius: 5px;
    width: 60%;
    max-width: 300px;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

.newsletter-form button {
    background-color: var(--primary-color);
    border: none;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.newsletter-form button:hover {
    background-color: #4a90e2;
    transform: translateY(-2px);
}

.social-links {
    margin-top: 30px;
    font-size: 2em;
}

.social-links a {
    color: #bdc3c7;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    p { font-size: 1em; }
    .icon { width: 80px; height: 80px; }
    .newsletter-form { flex-direction: column; gap: 15px; align-items: center; }
    .newsletter-form input { width: 90%; }
    .newsletter-form button { width: 90%; }
}
