/* sun_styles.css */

body {
    margin: 0;
    padding: 0;
    background-color: #030308;
    background-image: url('../images/bg_stars.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(20, 10, 0, 0.4), rgba(0, 0, 5, 0.85));
    z-index: -1;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 40px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

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

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    margin-left: 40%;
    width: 45%;
}

.section.intro {
    align-items: flex-end;
    text-align: right;
    margin-left: 0;
    padding-left: 20px;
    padding-bottom: 100px;
    width: 90%;
}

.section.intro h1,
.section.intro p {
    width: 100%;
    max-width: 450px;
    text-align: left;
}

.section.intro h1 {
    font-size: 5rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fffd9e 0%, #f39c12 50%, #e67e22 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(243, 156, 18, 0.4);
}

.section.intro p {
    font-size: 1.8rem;
    color: #e0e0e0;
    font-weight: 300;
}

.info-card {
    /* Efecto Glassmorphism: Combinación de fondo translúcido y filtro de desenfoque aplicado al backdrop */
    background: rgba(15, 10, 20, 0.6);
    border: 1px solid rgba(255, 200, 100, 0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 150, 0, 0.05);

    /* Estado inicial para animación interactiva de entrada (on-scroll) */
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.info-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.info-card h2 {
    font-size: 2.5rem;
    color: #ffd875;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 200, 100, 0.2);
    padding-bottom: 15px;
}

.info-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .section {
        margin-left: 0;
        width: 80%;
        margin: 0 auto;
        padding-top: 50vh;
    }

    .section.intro {
        text-align: center;
        align-items: center;
        padding-top: 0;
    }

    .section.intro h1 {
        font-size: 3.5rem;
    }
}