* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}
.container {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.nav {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex; flex-wrap: wrap; gap: 20px;
}
.nav a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}
.nav a:hover { text-decoration: underline; }
h1 { color: #333; margin-bottom: 10px; font-size: 2.5em; }
h2 { color: #667eea; margin-top: 30px; margin-bottom: 15px; }
p, li { color: #444; line-height: 1.8; margin-bottom: 15px; }
ul { margin-left: 20px; margin-bottom: 20px; }
input, button { font-family: inherit; }
.footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #e0e0e0; text-align: center; color: #666; font-size: 0.9em; }
.footer a { color: #666; margin: 0 10px; }
.btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #5a6fd6; }
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}
.form-input:focus { border-color: #667eea; outline: none; }
.result-status { padding: 15px; border-radius: 8px; margin: 20px 0; font-weight: bold; }
.bg-green { background: #d4edda; color: #155724; }
.bg-red { background: #f8d7da; color: #721c24; }
.bg-yellow { background: #fff3cd; color: #856404; }
.share-btn { background: #6c757d; color: white; padding: 8px 16px; border-radius: 6px; cursor: pointer; border: none; }
.share-btn:hover { background: #5a6268; }
.stat-box { background: #f8f9fa; padding: 20px; border-radius: 10px; text-align: center; }
.stat-number { font-size: 2rem; font-weight: bold; color: #333; }