* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #1c1c1c, #0f0f0f);
    color: white;
    margin: 0;
}

.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

h1 {
    text-align: center;
    font-size: 2.8rem;
}

.subtitle {
    text-align: center;
    opacity: 0.6;
    margin-bottom: 50px;
}

.card {
    padding: 35px;
    border-radius: 30px;
    margin-bottom: 40px;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

input {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    transition: 0.3s;
    margin-top: 8px;
}

label {
    font-size: 0.85rem;
    opacity: 0.6;
}

small {
    display: block;
    opacity: 0.4;
    font-size: 0.75rem;
    margin-top: 5px;
}

input {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 30px 0;
}

.select-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 0.85rem;
}

.select-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.select-btn.active {
    background: linear-gradient(45deg, #ff0050, #ff3c78);
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.7);
}

.calculate-btn {
    width: 100%;
    padding: 18px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(45deg, #ff0050, #ff3c78);
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
}

.calculate-btn:hover {
    transform: scale(1.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.07);
    padding: 25px;
    border-radius: 25px;
    text-align: center;
}

.highlight {
    background: linear-gradient(45deg, rgba(255, 0, 80, 0.25), rgba(255, 60, 120, 0.25));
}

.stat-box p {
    font-size: 2rem;
    font-weight: bold;
}

.results {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.results.show {
    opacity: 1;
    transform: translateY(0);
}

.disclaimer {
    text-align: center;
    opacity: 0.5;
    font-size: 0.85rem;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

    .container {
        padding: 40px 16px;
    }

    h1 {
        font-size: 2rem;
    }

    .card {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .selector {
        gap: 8px;
    }

    .select-btn {
        flex: 1 1 auto;
    }

    .stat-box p {
        font-size: 1.6rem;
    }
}