body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

h1 {
    color: #1DB954;
}

p {
    margin-bottom: 20px;
}

.card {
    background-color: #1E1E1E;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    background-color: #2A2A2A;
    color: #ffffff;
    font-size: 16px;
    resize: none;
}

button {
    background-color: #1DB954;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.3s;
}

button:hover {
    background-color: #17a44b;
}
.result-box {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

/* Hover effect for all boxes */
.result-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Spam: red gradient, danger look */
.result-box.spam {
    background: linear-gradient(135deg, #ff1e1e, #b30000);
    color: #fff;
    border: 2px solid #ffcccc;
    text-shadow: 1px 1px 2px #000;
}

/* Not-spam: safe green gradient */
.result-box.not-spam {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
    color: #fff;
    border: 2px solid #c8e6c9;
}

/* Checking: neutral dark mode look */
.result-box.checking {
    background: linear-gradient(135deg, #333, #111);
    color: #fff;
    border: 2px solid #555;
    font-style: italic;
}


.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.link-btn {
    background-color: #211490;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.link-btn:hover {
    background-color: #17a44b;
}

.footer {
    font-size: 14px;
    color: #888;
}
