/* ═══════════════════════════════════════════════
   INDEX LANDING — Chile Roleplay Community
   Cinematic dark theme · Glass cards · Gradients
   ═══════════════════════════════════════════════ */

/* ── Base ── */
html { scroll-behavior: smooth; }

html,
body.home-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body.home-page {
    background: #080d19;
    color: #e2e8f0;
    --hero-filter-layer:
        radial-gradient(circle at 14% 18%, rgba(251, 146, 60, 0.2), transparent 46%),
        radial-gradient(circle at 78% 10%, rgba(37, 99, 235, 0.3), transparent 44%),
        radial-gradient(circle at 50% 65%, rgba(126, 34, 206, 0.34), transparent 48%);
}

body.home-page #video-bg {
    filter: brightness(0.35) saturate(1.18) contrast(1.06);
}

body.home-page #main-content {
    min-height: 100vh;
    justify-content: flex-start;
    align-items: stretch;
    position: relative;
}

body.home-page .container {
    width: min(1240px, 100% - 2rem);
    margin-inline: auto;
    padding-inline: 0;
}

/* ── Topbar ── */
body.home-page .landing-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.26);
    padding-inline: 1rem;
    background: linear-gradient(180deg, rgba(8, 13, 25, 0.92) 0%, rgba(8, 13, 25, 0.5) 100%);
    backdrop-filter: blur(14px);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.home-page .landing-topbar.is-scrolled {
    background: rgba(8, 13, 25, 0.96);
    box-shadow: 0 8px 28px rgba(2, 6, 23, 0.5);
}

body.home-page .landing-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 60px;
}

body.home-page .landing-topbar.is-scrolled .landing-topbar-inner {
    min-height: 60px;
}

body.home-page .landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.86rem;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* branding font */
body.home-page .landing-brand span {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

body.home-page .landing-brand img {
    width: auto; height: 36px; object-fit: contain;
}

body.home-page .landing-topbar.is-scrolled .landing-brand img {
    width: auto;
    height: 32px;
}

body.home-page .landing-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(11, 19, 36, 0.68);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body.home-page .landing-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

body.home-page .landing-nav a:hover,
body.home-page .landing-nav a.is-active {
    color: #f8fafc;
    background: rgba(56, 189, 248, 0.18);
}

body.home-page .landing-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

body.home-page .top-action-btn {
    width: auto;
    min-width: 110px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.55rem 1.1rem;
    box-shadow: 0 14px 38px rgba(37, 99, 235, 0.42);
}

body.home-page .top-action-btn:hover {
    transform: translateY(-2px);
}

body.home-page .top-action-btn i {
    font-size: 1.1rem;
}

/* ── Landing main ── */
body.home-page .landing-main {
    width: 100%;
    position: relative;
    z-index: 0;
}

body.home-page #main-content,
body.home-page .landing-topbar,
body.home-page .landing-main,
body.home-page .landing-section,
body.home-page .hero-grid,
body.home-page .landing-footer {
    max-width: 100%;
}

body.home-page #inicio,
body.home-page #estado-comunidad,
body.home-page #como-unirte,
body.home-page #servicios,
body.home-page #momentos,
body.home-page #equipo {
    scroll-margin-top: 82px;
}

body.home-page .landing-main::after {
    content: '';
    position: absolute;
    inset: 20vh 0 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(251, 191, 36, 0.06), transparent 50%),
        radial-gradient(circle at 10% 55%, rgba(37, 99, 235, 0.2), transparent 44%),
        radial-gradient(circle at 85% 40%, rgba(168, 85, 247, 0.22), transparent 46%),
        radial-gradient(ellipse at 60% 80%, rgba(37, 99, 235, 0.1), transparent 50%);
    z-index: 0;
}

/* ═══ HERO ═══ */
body.home-page .hero-stage {
    position: relative;
    isolation: isolate;
    padding: 1.2rem 0 1.5rem;
    min-height: min(70vh, 680px);
    display: flex;
    align-items: center;
    z-index: 1;
}

body.home-page .hero-stage::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 220px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 7, 18, 0), rgba(4, 7, 18, 0.9));
    z-index: -1;
}

body.home-page .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 14% 18%, rgba(251, 146, 60, 0.24), transparent 46%),
        radial-gradient(circle at 78% 10%, rgba(37, 99, 235, 0.36), transparent 44%),
        radial-gradient(circle at 50% 65%, rgba(126, 34, 206, 0.42), transparent 48%),
        linear-gradient(180deg, rgba(4, 7, 18, 0.25), rgba(4, 7, 18, 0.92));
}

body.home-page .hero-noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.2;
    background-image:
        repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 100%);
    mix-blend-mode: soft-light;
}

body.home-page .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.82fr);
    gap: 1rem;
    align-items: center;
}

body.home-page .hero-copy {
    padding: 0.6rem 0 0.3rem;
}

body.home-page .hero-chip-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

body.home-page .hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.16);
}

body.home-page .hero-mode {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.42rem 0.78rem;
    color: #e2e8f0;
    background: rgba(8, 13, 25, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

body.home-page .hero-copy h1 {
    margin: 0.6rem 0 0.5rem;
    max-width: 16ch;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #f8fafc;
    text-shadow: 0 14px 40px rgba(2, 6, 23, 0.62);
}

body.home-page .hero-copy p {
    max-width: 56ch;
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.95rem;
    line-height: 1.55;
}

body.home-page .hero-actions {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

body.home-page .hero-primary-cta,
body.home-page .hero-secondary-cta {
    width: auto;
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
}

body.home-page .hero-primary-cta {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #1e293b;
    box-shadow: 0 18px 46px rgba(250, 204, 21, 0.34);
}

body.home-page .hero-primary-cta:hover {
    transform: translateY(-2px);
}

body.home-page .hero-secondary-cta {
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.74);
    color: #f8fafc !important;
}

body.home-page .hero-secondary-cta.is-whitelist-cta {
    margin-left: -0.4rem;
}

body.home-page .hero-subactions {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

body.home-page .hero-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(8, 13, 25, 0.4);
}

body.home-page .hero-inline-link:hover {
    color: #f8fafc;
    border-color: rgba(56, 189, 248, 0.62);
}

body.home-page .hero-social {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.home-page .hero-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(11, 19, 36, 0.58);
    transition: all 0.2s ease;
}

body.home-page .hero-social a:hover {
    color: #f8fafc;
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

/* ── Live Stats Panel ── */
body.home-page .hero-live {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 22px;
    padding: 0.8rem;
    background: linear-gradient(175deg, rgba(12, 20, 38, 0.84), rgba(7, 12, 24, 0.88));
    backdrop-filter: blur(8px);
    box-shadow: 0 26px 54px rgba(2, 6, 23, 0.48);
}

body.home-page .live-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

body.home-page .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 10px #10b981; opacity: 1; }
    50% { box-shadow: 0 0 22px #10b981, 0 0 36px rgba(16, 185, 129, 0.3); opacity: 0.85; }
}

body.home-page .live-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body.home-page .live-metric-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.55);
}

body.home-page .metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

body.home-page .live-metric-row small {
    color: #93c5fd;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.home-page .live-metric-row strong {
    color: #f8fafc;
    font-size: 1.02rem;
}

body.home-page .metric-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(51, 65, 85, 0.55);
}

body.home-page .metric-track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-page #rating-fill {
    background: linear-gradient(90deg, #facc15, #fb7185);
}

body.home-page .live-quick-links {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

body.home-page .live-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    text-decoration: none;
    color: #dbeafe;
    font-size: 0.77rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.38);
    background: rgba(30, 64, 175, 0.23);
    padding: 0.43rem 0.68rem;
    transition: all 0.2s ease;
}

body.home-page .live-quick-links a:hover {
    border-color: rgba(56, 189, 248, 0.7);
    background: rgba(30, 64, 175, 0.38);
}

/* ═══════════════════════════════════════
   LANDING SECTIONS (shared)
   ═══════════════════════════════════════ */

body.home-page .landing-section {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0;
}

body.home-page .landing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        var(--hero-filter-layer),
        linear-gradient(180deg, rgba(8, 13, 25, 0.88), rgba(8, 13, 25, 0.45) 40%, rgba(8, 13, 25, 0.88));
    opacity: 0.3;
}

body.home-page .section-heading {
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

body.home-page .section-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    color: #f8fafc;
    text-shadow: 0 8px 22px rgba(2, 6, 23, 0.4);
}

body.home-page .section-heading p {
    margin: 0.15rem 0 0;
    color: #94a3b8;
    max-width: 46ch;
    font-size: 0.92rem;
}

/* ── Section chip (puente visual desde el hero) ── */
body.home-page .section-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    margin-bottom: 0.55rem;
}

/* ═══ SCROLL REVEAL ═══ */
body.home-page .reveal-section .container {
    position: relative;
    z-index: 1;
}

body.home-page .reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-page .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ STEPS / ¿CÓMO UNIRTE? ═══ */
body.home-page .steps-timeline {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}

body.home-page .step-card {
    flex: 1;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 1.1rem 1rem 0.95rem;
    background: linear-gradient(170deg, rgba(12, 20, 38, 0.82), rgba(6, 10, 20, 0.85));
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

body.home-page .step-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-4px);
}

body.home-page .step-number {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(148, 163, 184, 0.08);
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: var(--font-display);
}

body.home-page .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #93c5fd;
    background: rgba(30, 64, 175, 0.22);
    border: 1px solid rgba(96, 165, 250, 0.3);
    margin-bottom: 0.95rem;
}

body.home-page .step-card h3 {
    margin: 0 0 0.3rem;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

body.home-page .step-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

body.home-page .step-connector {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: rgba(148, 163, 184, 0.35);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ═══ FEATURES / SERVICIOS ═══ */
body.home-page .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    position: relative;
    z-index: 1;
}

body.home-page .feature-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 1rem 0.95rem;
    background: linear-gradient(165deg, rgba(12, 20, 38, 0.78), rgba(6, 10, 20, 0.82));
    backdrop-filter: blur(6px);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

body.home-page .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.home-page .feature-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.35);
}

body.home-page .feature-card:hover::before {
    opacity: 1;
}

body.home-page .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: #93c5fd;
    background: rgba(30, 64, 175, 0.22);
    border: 1px solid rgba(96, 165, 250, 0.3);
    margin-bottom: 0.6rem;
}

body.home-page .feature-card h3 {
    margin: 0 0 0.25rem;
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

body.home-page .feature-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ── Acentos cálidos alternados ── */
body.home-page .step-card:nth-of-type(2) .step-icon {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
}

body.home-page .feature-card:nth-child(1) .feature-icon {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
}

body.home-page .feature-card:nth-child(3) .feature-icon {
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

/* ═══ GALLERY / MOMENTOS ═══ */
body.home-page .momentos-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    background: rgba(30, 64, 175, 0.28);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    flex-shrink: 0;
}

body.home-page .gallery-carousel {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(12, 20, 38, 0.7), rgba(5, 10, 20, 0.88));
    backdrop-filter: blur(6px);
    padding: 0.5rem;
    min-height: 0;
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.36);
    z-index: 1;
}

body.home-page .gallery-viewport {
    min-height: clamp(360px, 44vw, 520px);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

body.home-page .gallery-slide {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1.02);
}

body.home-page .gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

body.home-page .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

body.home-page .gallery-slide figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(5, 10, 20, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

/* Gallery nav arrows — overlaid on viewport */
body.home-page .gallery-carousel .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.42);
    background: rgba(8, 13, 25, 0.7);
    backdrop-filter: blur(6px);
    color: #e2e8f0;
    display: grid;
    place-items: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

body.home-page .gallery-carousel .gallery-nav:hover {
    color: #f8fafc;
    border-color: rgba(56, 189, 248, 0.8);
    background: rgba(15, 23, 42, 0.85);
}

body.home-page .gallery-carousel .gallery-nav.prev {
    left: 1.2rem;
}

body.home-page .gallery-carousel .gallery-nav.next {
    right: 1.2rem;
}

/* Gallery controls (dots) */
body.home-page .gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 0.55rem 0 0.15rem;
}

body.home-page .gallery-dots {
    display: flex;
    gap: 0.45rem;
}

body.home-page .gallery-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.home-page .gallery-dot.is-active {
    width: 26px;
    background: linear-gradient(120deg, #38bdf8, #a855f7);
}

/* ═══ TEAM ═══ */
body.home-page .team-section .container {
    position: relative;
    z-index: 1;
}

body.home-page .team-rows {
    display: grid;
    gap: 0.4rem;
}

body.home-page .team-line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(165deg, rgba(14, 25, 46, 0.78), rgba(10, 17, 32, 0.82));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.25s ease;
}

body.home-page .team-line:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(12, 21, 40, 0.78);
    transform: translateX(4px);
}

body.home-page .team-line img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(56, 189, 248, 0.38);
}

body.home-page .team-line h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 0.88rem;
}

body.home-page .team-line p {
    margin: 0.1rem 0 0;
    color: #94a3b8;
    font-size: 0.75rem;
}

body.home-page .discord-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(30, 64, 175, 0.26);
    color: #dbeafe;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.38rem 0.65rem;
    white-space: nowrap;
}

/* ═══ FOOTER ═══ */
body.home-page .landing-footer {
    margin-top: auto;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(3, 6, 15, 0.84);
    position: relative;
}

body.home-page .landing-footer-shell {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem 0 2rem;
}

body.home-page .landing-footer-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

body.home-page .landing-footer-brand-logo {
    flex-shrink: 0;
}

body.home-page .landing-footer-brand-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(2, 6, 23, 0.4));
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

body.home-page .landing-footer-brand-logo:hover img {
    opacity: 1;
}

body.home-page .landing-footer-brand h5 {
    margin: 0;
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    color: #f8fafc;
}

body.home-page .landing-footer-brand p,
body.home-page .landing-footer-note {
    margin: 0;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
}

body.home-page .landing-footer-strong {
    color: #f8fafc;
    font-weight: 700;
}

body.home-page .landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

body.home-page .landing-footer-links a {
    text-decoration: none;
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

body.home-page .landing-footer-links a:hover {
    color: #f8fafc;
    border-color: rgba(56, 189, 248, 0.62);
}

body.home-page .landing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

body.home-page .landing-footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.home-page .landing-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(11, 19, 36, 0.58);
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

body.home-page .landing-footer-social a:hover {
    color: #f8fafc;
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.2);
}

/* ═══ SCROLL TO TOP ═══ */
body.home-page .scroll-top-btn {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    z-index: 40;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(8, 13, 25, 0.85);
    backdrop-filter: blur(10px);
    color: #e2e8f0;
    font-size: 1.3rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.4);
}

body.home-page .scroll-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.home-page .scroll-top-btn:hover {
    border-color: rgba(56, 189, 248, 0.7);
    color: #f8fafc;
    transform: translateY(-2px);
}

/* ═════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════ */

@media (max-width: 1050px) {
    body.home-page .landing-topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0.65rem;
        padding-bottom: 0.8rem;
    }

    body.home-page .hero-grid {
        grid-template-columns: 1fr;
    }

    body.home-page .hero-stage {
        min-height: auto;
    }

    body.home-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.home-page .steps-timeline {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    body.home-page .step-connector {
        display: none;
    }

    body.home-page .step-card {
        min-width: 200px;
    }
}

@media (max-width: 740px) {
    body.home-page .landing-section {
        padding: 3rem 0;
    }

    body.home-page .landing-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 14px;
    }

    body.home-page .landing-nav a {
        font-size: 0.83rem;
        padding: 0.45rem 0.72rem;
    }

    body.home-page .hero-copy h1 {
        max-width: none;
    }

    body.home-page .hero-secondary-cta.is-whitelist-cta {
        margin-left: 0;
    }

    body.home-page .top-action-btn,
    body.home-page .hero-primary-cta,
    body.home-page .hero-secondary-cta {
        width: 100%;
        justify-content: center;
    }

    body.home-page .features-grid {
        grid-template-columns: 1fr;
    }

    body.home-page .steps-timeline {
        flex-direction: column;
    }

    body.home-page .step-card {
        min-width: 0;
    }

    body.home-page .gallery-viewport {
        min-height: 330px;
    }

    body.home-page .gallery-carousel .gallery-nav {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    body.home-page .gallery-carousel .gallery-nav.prev {
        left: 0.6rem;
    }

    body.home-page .gallery-carousel .gallery-nav.next {
        right: 0.6rem;
    }

    body.home-page .team-line {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    body.home-page .landing-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home-page .landing-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    body.home-page .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 500px) {
    body.home-page .gallery-viewport {
        min-height: 300px;
    }
}

/* ═══════════════════════════════════════
   OVERLAY DE CARGA — CONEXIÓN CON DISCORD
   ═══════════════════════════════════════ */
.discord-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 13, 25, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    pointer-events: none;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, opacity 0.4s ease;
}

.discord-loading-overlay.is-active {
    opacity: 1;
    pointer-events: all;
    background: rgba(8, 13, 25, 0.88);
    backdrop-filter: blur(18px);
}

.discord-loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 2.5rem 3rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.65), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(250, 204, 21, 0.12);
    box-shadow:
        0 0 60px rgba(250, 204, 21, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.discord-loading-overlay.is-active .discord-loading-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.discord-loading-logo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-loading-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    animation: discord-logo-pulse 2.4s ease-in-out infinite;
}

@keyframes discord-logo-pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.08); filter: brightness(1.2); }
}

.discord-loading-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: #facc15;
    border-right-color: rgba(250, 204, 21, 0.3);
    animation: discord-ring-spin 1.2s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

@keyframes discord-ring-spin {
    to { transform: rotate(360deg); }
}

.discord-loading-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.discord-loading-sub {
    margin: -0.5rem 0 0;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.9);
}

.discord-loading-dots {
    display: flex;
    gap: 6px;
    margin-top: 0.2rem;
}

.discord-loading-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #facc15;
    opacity: 0.3;
    animation: discord-dots-bounce 1.4s ease-in-out infinite;
}

.discord-loading-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.discord-loading-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes discord-dots-bounce {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-6px); }
}

@media (max-width: 640px) {
    .discord-loading-card {
        padding: 2rem 1.8rem;
        margin: 0 1rem;
    }
    .discord-loading-logo-wrap {
        width: 68px;
        height: 68px;
    }
    .discord-loading-logo {
        width: 40px;
        height: 40px;
    }
    .discord-loading-title {
        font-size: 1.05rem;
    }
}

