* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    padding: 30px;
    transition: all 0.3s ease;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.section {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

h2 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}

input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

button {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    word-break: break-all;
    display: none;
    animation: fadeIn 0.5s ease;
}

.success {
    display: block;
    border-left: 5px solid #2ecc71;
}

.error {
    display: block;
    border-left: 5px solid #e74c3c;
}

.stats-card {
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    background: #f1f8ff;
}

.stat-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.stat-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #2c3e50;
}

.value {
    color: #3498db;
}

.link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.link:hover {
    color: #2980b9;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
}