/* ============================================
   HOME - PÁGINA DE BIENVENIDA
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rojo: #9e0004;
    --azul: #1c3166;
    --amarillo: #f6d86b;
    --beige: #e1c78c;
    --marfil: #F6F4F0;
    --carbon: #1E1E1E;
    --gris: #8C8C8C;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #2c2c2c;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: var(--font-body);
}

/* MOBILE WRAPPER - Simula pantalla de celular */
#mobile-wrapper {
    width: 100%;
    max-width: 430px;
    height: 932px;
    max-height: 95vh;
    background-color: var(--marfil);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 0 10px #1a1a1a,
        0 0 0 12px #3a3a3a,
        0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
}

/* Notch del iPhone */
#mobile-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 9999;
}

#mobile-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

#mobile-content::-webkit-scrollbar {
    display: none;
}

/* HOME SECTION */
.home-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* IMAGEN DE FONDO */
.home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(28, 49, 102, 0.7) 0%,
        rgba(28, 49, 102, 0.5) 50%,
        rgba(28, 49, 102, 0.8) 100%
    );
    z-index: 2;
}

/* CONTENIDO */
.home-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-logo {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amarillo);
    margin-bottom: 50px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-title {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-subtitle {
    font-size: 16px;
    color: white;
    margin-bottom: 60px;
    line-height: 1.7;
    max-width: 320px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* MENÚ DE NAVEGACIÓN */
.home-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 340px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.menu-btn {
    padding: 20px 40px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--azul);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    backdrop-filter: blur(10px);
}

.menu-btn:hover {
    background-color: var(--amarillo);
    color: var(--carbon);
    border-color: var(--amarillo);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.menu-btn.primary {
    background-color: var(--amarillo);
    color: var(--carbon);
    border-color: var(--amarillo);
    font-weight: 700;
}

.menu-btn.primary:hover {
    background-color: #ddb944;
    color: var(--carbon);
    border-color: #ddb944;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(246, 216, 107, 0.6);
}

/* FOOTER */
.home-footer {
    margin-top: 60px;
    text-align: center;
}

.season-badge {
    font-size: 11px;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        background-color: var(--marfil);
        align-items: flex-start;
    }
    #mobile-wrapper {
        max-width: 100%;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
    }
    #mobile-wrapper::before { display: none; }
}

/* FOOTER CRÉDITOS */
.footer-creditos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    background-color: transparent;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-by {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-handle {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
