body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
    background-size: cover;
    background-attachment: fixed;
    color: white;
    animation: bgShift 14s ease infinite;
}

@keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 80%;
    max-width: 1100px;
    margin: 30px auto;
}

.title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-top: 5px;
    background: linear-gradient(90deg, #fff69c, #9ffffe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    text-align: center;
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.glass-card {
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 0 25px rgba(255,255,255,0.28);
}

/* Section Title */
.section-heading {
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
}

/* Chart selector buttons */
.chart-buttons {
    text-align: center;
    margin-bottom: 20px;
}
.chart-buttons button {
    padding: 10px 16px;
    margin: 8px;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    background: #fff5b5;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}
.chart-buttons button:hover {
    background: #ffe07a;
    transform: scale(1.07);
}

.chart-box {
    display: none;
    width: 80%;
    margin: auto;
}
canvas {
    width: 100% !important;
    height: 360px !important;
    background: rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 12px;
}

/* Metrics */
.metrics {
    font-size: 20px;
    text-align: center;
}
.metrics p {
    margin: 8px auto;
    width: 65%;
    background: rgba(0,0,0,0.22);
    padding: 10px;
    border-radius: 10px;
}

/* Footer */
footer {
    text-align: center;
    font-size: 15px;
    margin-top: 18px;
    opacity: .9;
}
