/* =============================================
   RangeCalc - Updated & Fixed styles.min.css
   ============================================= */

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

body, html {
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #e0e0e0;
    }
    .container {
        background: #1e1e1e;
    }
}

/* Main Container */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.8rem;
    color: #007bff;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
}

/* File Cards */
.file-list {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.file-card {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    padding: 35px 25px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.file-card:hover {
    border-color: #007bff;
    background: #f0f8ff;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
}

.file-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #007bff;
}

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        margin: 15px;
        padding: 25px 20px;
    }
    h1 {
        font-size: 2.2rem;
    }
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}