/* ========================================
   HOME SECTIONS - Gallery & Newsletter
   ======================================== */

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 50;
    animation: fadeInUp 1s ease 1.5s both;
    transition: opacity 0.3s;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow {
    animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}



/* ========================================
   BIO / SOBRE MÍ SECTION
   ======================================== */
.bio-section {
    position: relative;
    padding: 8rem 2rem 6rem;
    background: rgba(2, 4, 10, 1);
    overflow: hidden;
}

.bio-bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 82, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bio-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Bio Header */
.bio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bio-label {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.bio-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bio-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Bio Content */
.bio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.bio-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

.bio-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Stats */
.bio-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.stat-card {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 82, 255, 0.3);
    transform: translateY(-4px);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number-bio {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

.stat-label-bio {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Genre Tags */
.bio-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.genre-tag {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: default;
}

.genre-tag:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    background: rgba(0, 82, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.15);
}


/* ========================================
   SESSIONS SECTION
   ======================================== */
.sessions-section {
    position: relative;
    padding: 6rem 2rem;
    background: rgba(2, 4, 10, 1);
    overflow: hidden;
}

.sessions-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.sessions-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sessions-label {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.sessions-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid */
.sessions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Card */
.session-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.session-card:hover {
    border-color: rgba(0, 82, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 82, 255, 0.15);
}

/* 16:9 responsive iframe */
.session-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.session-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* YouTube CTA */
.sessions-cta {
    text-align: center;
}

.sessions-yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sessions-yt-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.15);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
    position: relative;
    padding: 6rem 2rem;
    background: rgba(2, 4, 10, 1);
    overflow: hidden;
}

.newsletter-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 82, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-container {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.newsletter-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 82, 255, 0.15);
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group button {
    background: var(--elegant-blue);
    color: white;
    border: none;
    padding: 1rem 1.8rem;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-input-group button:hover {
    background: var(--accent-secondary);
    padding-right: 2.2rem;
}

.newsletter-input-group button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    transition: transform 0.3s;
}

.newsletter-input-group button:hover .btn-icon {
    transform: translateX(4px);
}

.newsletter-msg {
    margin-top: 1rem;
    font-size: 0.85rem;
    min-height: 1.2em;
    transition: all 0.3s;
}

.newsletter-msg.success {
    color: #10B981;
}

.newsletter-msg.error {
    color: #ff6b6b;
}

.newsletter-privacy {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ========================================
   FOOTER
   ======================================== */
.home-footer {
    padding: 2rem;
    text-align: center;
    background: rgba(2, 4, 10, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .scroll-indicator {
        right: 1.5rem;
        bottom: 110px;
    }

    .bio-section {
        padding: 5rem 1.5rem 4rem;
    }

    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-stats {
        gap: 0.6rem;
    }

    .stat-card {
        padding: 1.2rem 0.8rem;
    }

    .stat-number-bio {
        font-size: 2rem;
    }

    .bio-genres {
        gap: 0.5rem;
    }

    .genre-tag {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .sessions-section {
        padding: 4rem 1.5rem;
    }

    .sessions-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-section {
        padding: 4rem 1.5rem;
    }

    .newsletter-input-group {
        flex-direction: column;
        border-radius: 16px;
    }

    .newsletter-input-group input {
        text-align: center;
    }

    .newsletter-input-group button {
        justify-content: center;
        border-radius: 0 0 16px 16px;
    }
}