* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000000;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* === Container === */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
    border: 1px solid rgba(139, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out;
    overflow: hidden;
}

/* === Header === */
.header {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: #000;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.header h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
    font-weight: bold;
}

/* === Info Section === */
.info-section {
    padding: 30px 40px;
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid rgba(139, 0, 0, 0.2);
    line-height: 1.6;
}

.info-section h2 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
    text-align: center;
}

.info-section p {
    color: #cccccc;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.info-subsection {
    margin-top: 20px;
    padding-left: 15px;
    border-left: 3px solid rgba(255, 107, 107, 0.3);
}

.info-subsection h3 {
    color: #feca57;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.9rem;
    color: #bbbbbb;
    background: rgba(26, 26, 26, 0.8);
    padding: 12px 18px;
    margin: 25px 40px;
    font-style: italic;
}

/* === Input Section === */
.input-section {
    padding: 40px;
    background: rgba(10, 10, 10, 0.9);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #ff6b6b;
    margin-bottom: 6px;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.input-group input,
.input-group select {
    padding: 12px;
    border: 2px solid rgba(139, 0, 0, 0.4);
    border-radius: 10px;
    background: rgba(26, 26, 26, 0.9);
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.3);
    outline: none;
}

.calculate-btn {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 10px;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.9));
    color: #e0e0e0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.15), transparent);
    transition: left 0.5s ease;
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:hover {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

/* === Results Section === */
.results-section {
    padding: 35px 40px;
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid rgba(139, 0, 0, 0.2);
}

.results-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.result-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.25);
    border-left: 4px solid #ff6b6b;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(139, 0, 0, 0.35);
    border-color: rgba(255, 107, 107, 0.5);
}

.result-label {
    font-size: 0.85rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
}

.iso-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(254, 202, 87, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(254, 202, 87, 0.15);
    border-left: 4px solid #feca57;
    transition: all 0.3s ease;
}

.iso-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(254, 202, 87, 0.25);
    border-color: rgba(254, 202, 87, 0.5);
}

.iso-label {
    font-size: 0.85rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.iso-value {
    font-size: 1.1rem;
    color: #feca57;
    text-shadow: 0 0 8px rgba(254, 202, 87, 0.4);
    line-height: 1.5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .input-section {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding: 20px;
    }
}
