/* ========================================
   MINA LIDYA — INTRO SCREEN (PHASED)
   ======================================== */

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    background: #1a0a14;
    overflow: hidden;
    display: none;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.intro-screen.active {
    display: flex;
}

/* Canvas (Bokeh Background) */
#intro-bokeh-canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content - NO BLEND MODE */
.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    /* No blend mode on container */
}

/* Typography */
.intro-title-wrapper {
    position: relative;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    z-index: 100;
    white-space: nowrap;
}

/* Title: WHITE with Glow */
.bst-char {
    display: inline-block;
    opacity: 0;
    font-size: clamp(2rem, 8vw, 7rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #ffffff !important;
    /* White Text */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Gleam Animation */
.anim-gleam .bst-char {
    animation: bstGleam 1.2s ease-out forwards;
}

@keyframes bstGleam {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        color: #FFFFFF !important;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

/* Subtitle: White */
.intro-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.7rem, 2vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.5em;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
    z-index: 100;
}

/* Language Buttons (Phase 2) */
.intro-lang-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    pointer-events: none;
    z-index: 100;
    max-width: 90vw;
    padding: 0 20px;
}

.intro-lang-buttons.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.intro-lang-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    /* backdrop-filter removed for performance */
    border: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 14px 30px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateZ(0);
    /* GPU acceleration */
}

/* Remove gradient swipe for clean solid fill */
.intro-lang-btn::before {
    display: none;
}

/* Hover: Solid White Fill, Black Text */
.intro-lang-btn:hover {
    color: #000000;
    background: #ffffff;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.intro-lang-btn.active {
    background: #b76e79;
    border: none;
    color: #ffffff;
}

.lang-divider {
    display: none;
}

/* Transition End */
.intro-screen.exit-dissolve {
    transition: opacity 1.5s ease;
    opacity: 0;
    pointer-events: none;
}

.intro-screen.exited {
    display: none;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}