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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Upload Section */
.upload-section {
    text-align: center;
    margin-bottom: 30px;
}

input[type="file"] {
    display: none;
}

.upload-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#fileName {
    display: inline-block;
    margin-left: 20px;
    color: white;
    font-weight: bold;
}

/* Sections */
section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #2a5298;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #667eea;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    white-space: pre-line;
}

/* Gas Cards */
.gas-card {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gas-card h4 {
    color: #2d3436;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.gas-card p {
    margin: 5px 0;
    color: #2d3436;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 500px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

/* Timeline Info */
.timeline-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.timeline-data {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 20px;
    border-radius: 10px;
}

.timeline-data h3 {
    color: #0097a7;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

#timelineDetails {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #666;
}

.detail-row .value {
    font-weight: bold;
    color: #2a5298;
}

.detail-row.highlight {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    margin: 5px -10px;
    padding: 12px 10px;
    border-radius: 5px;
}

.detail-row.highlight .label {
    color: #f57f17;
}

.detail-row.highlight .value {
    color: #e65100;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 400px;
    }

    section {
        padding: 15px;
    }

    .upload-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

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

#content section {
    animation: fadeIn 0.5s ease-out;
}

#content section:nth-child(1) { animation-delay: 0.1s; }
#content section:nth-child(2) { animation-delay: 0.2s; }
#content section:nth-child(3) { animation-delay: 0.3s; }
#content section:nth-child(4) { animation-delay: 0.4s; }
#content section:nth-child(5) { animation-delay: 0.5s; }
#content section:nth-child(6) { animation-delay: 0.6s; }
