/* intro_clip.css - Styles for the Eden Detective Intro Sequence */

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e1a;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    color: #00e676;
    transition: opacity 0.5s ease-out;
}

#intro-terminal {
    width: 90%;
    max-width: 700px;
    text-align: left;
    border: 2px solid rgba(0, 230, 118, 0.5);
    padding: 30px;
    background: rgba(0, 20, 10, 0.3);
    box-shadow: 0 0 40px rgba(0, 230, 118, 0.2), inset 0 0 15px rgba(0, 230, 118, 0.1);
}

#intro-text, .case-file-text, #coffee-prompt {
    white-space: pre-wrap;
    overflow: hidden;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* Typing effect */
.typing {
    width: 0; /* Set initial width to 0 for animation */
    border-right: .15em solid #00e676;
    animation: typing 3.5s steps(60, end) forwards, blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00e676; }
}

#view-more-btn, #close-details-btn {
    background: transparent;
    border: 1px solid #00e676;
    color: #00e676;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

#view-more-btn:hover, #close-details-btn:hover {
    background: #00e676;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.5);
}

#coffee-container {
    text-align: center;
}

#coffee-canvas {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    cursor: pointer;
    transition: transform 0.3s;
}
#coffee-canvas:hover {
    transform: scale(1.1);
}
