/* --- Estilos Globales del Portal --- */
.main-portal {
    background: #0a0a0a;
    color: white;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

/* --- Hero Section --- */
.hero-intro {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.video-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

.pre-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 8px;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-title {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.main-title span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.7em;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.scroll-hint {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.4;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- Navigation Grid --- */
.family-navigator {
    position: relative;
    z-index: 10;
    padding: 100px 5%;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 30px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.nav-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.card-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s ease;
    filter: grayscale(40%);
}

.nav-card:hover .card-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.card-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    color: white;
    z-index: 2;
}

.card-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.card-info span {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Footer Espectacular --- */
.index-footer {
    position: relative;
    z-index: 10;
    padding: 120px 20px 60px;
    background: linear-gradient(to bottom, transparent, #000);
    text-align: center;
    color: white;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.footer-seal {
    width: 70px;
    height: 70px;
    margin: 0 auto 30px;
    border: 1px solid #c5a059;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    color: #c5a059;
    font-weight: bold;
    font-size: 1.4rem;
    position: relative;
}

.footer-seal::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    animation: rotateSeal 15s linear infinite;
}

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

.footer-main-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.footer-sub-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #c5a059;
    margin-bottom: 40px;
    opacity: 0.8;
}

.family-credits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    opacity: 0.6;
}

.family-credits span {
    transition: all 0.4s ease;
    cursor: default;
}

.family-credits span:hover {
    opacity: 1;
    color: #c5a059;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 60px;
    font-size: 0.75rem;
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 3px;
}