/* ===========================
   AKAN NAME GENERATOR STYLES
   =========================== */

/* Reset & Base Styles */
* {
    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;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

/* Main Container */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    animation: fadeIn 0.5s ease-out;
}

/* Header Styles */
h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form Box */
.form-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
}

/* Labels & Inputs */
label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

input[type="date"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 25px;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

input[type="date"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Gender Options */
.gender-options {
    display: flex;
    gap: 30px;
    margin: 20px 0 30px 0;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    color: #6c757d;
    transition: color 0.3s;
}

.gender-options label:hover {
    color: #495057;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
}

/* Generate Button */
button {
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

button:active {
    transform: translateY(-1px);
}

/* Results Box */
.result-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    margin-top: 20px;
    display: none; /* Hidden by default */
    animation: slideIn 0.5s ease-out;
}

.result-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-box h3::before {
    content: "✨";
    font-size: 1.3rem;
}

.result-box p {
    text-align: left;
    color: #495057;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.result-box strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Error State */
.error {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #ffeaea, #ffcccc);
}

.error p {
    color: #c0392b;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 25px;
    }
    
    .form-box {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .gender-options {
        flex-direction: column;
        gap: 15px;
    }
    
    button {
        padding: 14px 28px;
        font-size: 16px;
    }
}
