body {
    font-family: 'Space Mono', monospace;
}

@keyframes blink {
    from, to { color: transparent; }
    50% { color: #4ade80; } /* text-green-400 */
}

.cursor {
    animation: blink 1s step-end infinite;
}

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

.logo-container {
    animation: fadeIn 2s ease-in-out;
}
/* style.css */

/* --- Modal Styles --- */

/* The background overlay (hidden by default) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    opacity: 0; /* Start invisible for fade-in */
    transition: opacity 0.3s ease;
}

/* Modal Content Box */
.modal-content {
    background-color: #1e1e1e; /* Dark background for the modal */
    color: #f0f0f0;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 30px;
    border: 1px solid #555;
    width: 80%;
    max-width: 600px; /* Max width */
    border-radius: 8px;
    position: relative;
    transform: translateY(-50px); /* Start off-screen for slide-in */
    transition: transform 0.3s ease;
}

/* The Close Button */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* For the link in the footer */
#open-story-modal {
    cursor: pointer;
    text-decoration: underline;
    color: #ccc; /* Or whatever color fits your theme */
}