:root {
    --bg-light: #dbdcdf;
    --window-bg: rgba(255, 255, 255, 0.75);
    --accent-pink: #ff007a;
    --accent-cyan: #00b4cc;
    --text-main: #333333;
}

body {
    background-color: var(--bg-light);
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    position: relative;
}


body::before, body::after {
    content: "";
    position: absolute;
    width: 300px; 
    height: 300px;
    border-radius: 50%;
    background: var(--accent-pink);
    filter: blur(80px); 
    z-index: -1;
    opacity: 0.2;
    animation: float 15s infinite alternate;
}

body::after {
    background: var(--accent-cyan);
    right: 5%;
    bottom: 5%;
    animation-delay: -7s;
}

@keyframes float {
    from { transform: translate(0, 0); }
    to { transform: translate(30px, 20px); }
}


.terminal-window {
    width: 90%;      
    max-width: 550px; 
    background: var(--window-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    user-select: none;
    transform: scale(0.9);
    filter: blur(10px);
    opacity: 0;
    animation: openWindow 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes openWindow {
    to { transform: scale(1); filter: blur(0); opacity: 1; }
}

.exit-animation {
    transition: all 0.6s ease-in;
    transform: scale(1.05) translateY(-30px) !important;
    filter: blur(20px);
    opacity: 0 !important;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.03);
    padding: 10px 15px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.red { background: #fd0d00; }
.yellow { background: #fffb00; }
.green { background: #00ff26; }

.title { color: #777; font-size: 10px; letter-spacing: 1px; font-weight: bold; }

.terminal-body {
    padding: 20px; 
    min-height: 220px;
}

#typewriter {
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem; 
    line-height: 1.5;
    word-wrap: break-word; 
}

.line-cyan { color: var(--accent-cyan); font-weight: bold; }
.line-pink { color: var(--accent-pink); font-weight: bold; }

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#continueBtn {
    background: transparent;
    width: 100%;       
    max-width: 200px;  
    padding: 12px 0;
    border: 2px solid var(--accent-pink);
    color: var(--accent-pink);
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    opacity: 0;
    text-align: center;
}

#continueBtn.show { opacity: 1; animation: pulse 2s infinite; }


@media (max-width: 480px) {
    .terminal-window {
        width: 95%;
    }
    #typewriter {
        font-size: 0.9rem; 
    }
    .terminal-body {
        padding: 15px;
        min-height: 200px;
    }
    body::before, body::after {
        width: 200px;
        height: 200px;
    }
}


#loader-container {
    width: 100%;
    max-width: 200px;
    text-align: center;
}

.loader-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink);
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-pink);
    letter-spacing: 1px;
}

.hidden { display: none !important; }