body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 90%;
    max-width: 600px;
    transition: box-shadow 0.3s;
}

.container:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    margin: 0;
    color: #ffffff;
}

nav {
    margin-top: 10px;
}

.home-link {
    font-size: 16px;
    color: #bb86fc;
    text-decoration: none;
}

.home-link:hover {
    text-decoration: underline;
}

.intro {
    margin-bottom: 20px;
}

.intro p {
    font-size: 16px;
    line-height: 1.5;
    color: #cccccc;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea, button {
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

input, textarea {
    background: #333333;
    color: #e0e0e0;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    background: #bb86fc;
    color: #121212;
    cursor: pointer;
}

button:hover {
    background: grey;
}

.messages {
    margin-top: 20px;
}

.message {
    background: #2c2c2c;
    border-left: 5px solid #bb86fc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message-header {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.message-content {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-content a {
    color: #bb86fc;
    text-decoration: none;
}

.message-content a:hover {
    text-decoration: underline;
}

.message-footer {
    font-size: 14px;
    color: #888888;
}

.back-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #bb86fc;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}
