:root {
    --primary-color: #d32f2f;
    --secondary-color: #1976d2;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding-bottom: 60px;
}

header {
    /* background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%); */
    background: #eee;
    color: #333;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

header h1 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

header h1 a:hover {
    opacity: 0.8;
}

header h1 img {
    height: 40px;
}

.container > h2 {
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container > h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.table-responsive {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table {
    margin-bottom: 0;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b71c1c 100%);
    color: white;
}

.table thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: #f0f4f8;
    transform: translateX(5px);
}

.table tbody tr:last-child {
    border-bottom: none;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: #333;
}

.table tbody td:first-child {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.table .train {
    font-family: 'Courier New', monospace;
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.table .platform {
    text-align: center;
    font-weight: 700;
    color: white;
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    margin: auto;
    display: inline-block;
}

.btn-dark {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

footer {
    background-color: var(--dark-bg);
    color: rgba(255,255,255,0.7);
    padding: 1.5rem 0;
    margin-top: 3rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: #ff5252;
}

@media (max-width: 768px) {
    .container > h2 {
    font-size: 2rem;
    }

    .table-responsive {
    padding: 1rem;
    }

    .table thead th,
    .table tbody td {
    padding: 0.7rem 0.5rem;
    font-size: 0.9rem;
    }
}