/* General Body and Typography */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Disable text selection */
.no-select {
    user-select: none;
}

/* Chat Content Styles */
.chat-content {
    max-width: 600px;
    padding: 0 15px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Message Styles */
#chat-messages {
    line-height: 1.5;
    padding-bottom: 1rem;
}

.message-text {
    font-size: 1rem;
    font-weight: 400;
    color: #e0e0e0;
    white-space: pre-line;
    margin-bottom: 1.4rem;
}

/* Link Styles */
.message-text a {
    color: #d0d0d0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.message-text a:link,
.message-text a:visited,
.message-text a:active {
    color: #d0d0d0;
}

.message-text a:hover {
    color: #fff;
}

/* Header Styles */
h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f0f0f0;
    margin: 0;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

/* List Styles */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left: 1rem;
}

li {
    margin-bottom: 0.25rem;
    line-height: 1.4;
    padding-left: 0.2rem;
}

li::before {
    content: "• ";
    color: #d0d0d0;
}

li a {
    color: #d0d0d0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

li a:hover {
    color: #fff;
}

/* Contact Link Styles */
.contact-links a {
    color: #d0d0d0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chat-content {
        padding: 0 10px;
    }

    .message-text {
        font-size: 0.9rem;
    }
}

/* Typewriter Effect */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from { border-right-color: rgba(255, 255, 255, 0.75); }
    to { border-right-color: transparent; }
}

.message-text.typewriter {
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typewriter 2s steps(40, end) forwards, blinkCursor 0.75s step-end infinite;
}

/* Fade-in Effect */
@keyframes fadeIn {
    to { opacity: 1; }
}
