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

body {
    /* background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c); */
    background: linear-gradient(135deg, #0a192f, #0f2a4f, #0a192f);
    color: #333;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    padding: 30px;
    margin: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

h1 {
    color: #1a2a6c;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.config-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

h2 {
    color: #1a2a6c;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

select, input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

select:focus, input:focus {
    border-color: #1a2a6c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.2);
}

.unit-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.unit-option {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.unit-option.active {
    background: #1a2a6c;
    color: white;
}

.results {
    background: #e8f4ff;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.10);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #d1e7ff;
}

.result-value {
    font-weight: 700;
    color: #1a2a6c;
}

.raid-info {
    background: #fff;
    border-left: 4px solid #1a2a6c;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.warning {
    color: #d9534f;
    font-weight: 600;
    margin-top: 15px;
    padding: 10px;
    background: #ffebee;
    border-radius: 6px;
    border-left: 4px solid #d9534f;
}

/* Logo */

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo:hover {
    transform: rotate(15deg) scale(1.1);
    /* filter: drop-shadow(0 5px 15px rgba(26, 42, 108, 0.5)); */
    cursor: pointer;
    transform: scale(1.05);
}

/* Анимация для логотипа при загрузке */
@keyframes logo-bounce {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.logo {
    animation: logo-bounce 0.8s ease-out forwards;
}

@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .config-section {
        padding: 20px 15px;
    }
        .logo-title {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}

