/*.error-input span {*/
    /*border: 1px solid red !important;*/
    /*color: red;*/
/*}*/

/*.success-input {*/
    /*border: 1px solid green !important;*/
/*}*/
label.error-input {
    display: none !important;
}

/* Full-screen hero section */
.folder-section.home-folder {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.folder-section.home-folder > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: opacity 0.4s ease;
}

.scroll-indicator-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.scroll-indicator-btn:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 22px; }
    51% { opacity: 0; top: 8px; }
    100% { opacity: 1; top: 8px; }
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1.5rem;
    }
}

/* ── Noise texture overlay ── */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ── Hero glow effect ── */
.hero-glow {
    position: absolute;
    top: 30%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214, 191, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ── Status badge ── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(214, 191, 110, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    background: rgba(214, 191, 110, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.status-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--gold);
}

/* ── Gradient highlight text ── */
.title-1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, #f0e68c 50%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ── Ghost CTA button ── */
.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: 1px solid currentColor;
    border-radius: 0;
    font-size: 16px;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.hero-btn-ghost:hover {
    color: var(--black);
    border-color: var(--gold);
}

.hero-btn-ghost:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-glow {
        width: 300px;
        height: 300px;
        left: 5%;
    }

    .hero-btn-ghost {
        font-size: 14px;
        padding: 0.6rem 1.5rem;
    }

    .status-badge {
        margin-bottom: 1rem;
    }
}

/* Hide language switcher when mobile menu is open */
.language-switcher {
    transition: opacity 0.3s ease;
}

.lang-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Move social block higher on hero */
.home-folder .social-wrap {
    top: 40%;
}

/* Single social link: show vertical lines above and below */
.social-wrap .social-nav-link:only-child::before {
    display: block;
    bottom: calc(100% + 45px);
    top: auto;
}

.social-wrap .social-nav-link:only-child::after {
    display: block;
    top: calc(100% + 45px);
    bottom: auto;
    width: 1px;
    height: 130px;
    border: none;
    border-radius: 0;
    background-color: currentColor;
}

/* ── Scroll to top button ── */
.to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) rotate(0deg);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-image: none;
    background-size: auto;
    padding: 0;
}

.to-top svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.to-top:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(0);
    box-shadow: 0 6px 24px rgba(214, 191, 110, 0.4);
}

.to-top:hover svg {
    transform: translateY(-2px);
}

.to-top:active {
    transform: translateY(0) scale(0.95);
}

.to-top[style*="opacity: 1"],
.to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .to-top {
        width: 42px;
        height: 42px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .to-top svg {
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 480px) {
    .folder-content {
        padding: 10px 0 220px;
    }
}
