* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.hint {
    color: #666;
    font-size: 12px;
    margin-top: 6px;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.features {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.features h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 16px;
}

.features ul {
    list-style: none;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.features li:before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
    margin-right: 8px;
}

.result {
    margin-top: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    display: none;
}

.result.show {
    display: block;
}

.result a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
}

.result a:hover {
    text-decoration: underline;
}

.error {
    color: #e74c3c;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.loading {
    color: #667eea;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.stats-btn {
    margin-top: 15px;
    background: #6c757d;
}

.stats-btn:hover {
    background: #5a6268;
}

.stats-info {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    display: none;
}

.stats-info.show {
    display: block;
}

.stats-info div {
    margin-bottom: 5px;
}

.stats-info strong {
    color: #333;
}
