@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inter:wght@400;600&display=swap');

#hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    /* Allow clicks to pass through initially */
    background: rgba(0, 0, 0, 0.65);
    /* Dim the matrix background */
    transition: background 1s ease;
}

/* Container for the scrambling text */
.scramble-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.5rem;
    color: #f0e0e0;
    /* Reddish white */
    text-shadow: 0 0 10px rgba(255, 0, 50, 0.8), 0 0 20px rgba(255, 0, 50, 0.4);
    text-align: center;
    max-width: 90%;
    padding: 1rem;
    min-height: 4rem;
    /* Prevent layout jump */
}

/* Final CTA Button */
.cta-container {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: auto;
    /* Enable clicking */
}

.cta-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.system-btn {
    background: rgba(20, 0, 0, 0.6);
    border: 1px solid #ff0033;
    color: #ff0033;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    letter-spacing: 2px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 50, 0.2);
    text-decoration: none;
    display: inline-block;
}

.system-btn:hover {
    background: #ff0033;
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 50, 0.6);
}


/* Language Selection Overlay */
#lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker to focus attention */
    z-index: 20;
    /* Above hero overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}

#lang-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.lang-title {
    font-family: 'Share Tech Mono', monospace;
    color: #ff0033;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 0, 50, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.lang-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid #ff0033;
    color: #ff0033;
    padding: 0.8rem 1.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.lang-btn:hover {
    background: #ff0033;
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 50, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scramble-text {
        font-size: 1.5rem;
    }

    .system-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .lang-options {
        flex-direction: column;
        gap: 1rem;
    }

    .lang-btn {
        width: 100%;
        min-width: 200px;
        text-align: center;
    }
}