* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    font-size: 32px;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00ffff; }
    to { text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff; }
}

p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

#result {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.safe {
    color: #155724;
}

.suspicious {
    color: #721c24;
}

#result .icon {
    font-size: 24px;
    flex-shrink: 0;
}

#result .content {
    flex: 1;
}

#result h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

#result p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

footer {
    text-align: center;
    margin: 40px auto 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 600px;
    width: 100%;
}

footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    input, button {
        font-size: 14px;
    }

    #result {
        font-size: 16px;
    }
}

.flag {
    width: 20px;
    height: auto;
    margin-left: 10px;
    vertical-align: middle;
}

.loading {
    color: #6c757d;
}
