:root {
    --primary: #DD2A53;
    --primary-hover: #F43F6B;
    --primary-dark: #9F1636;

    --bg: #080D18;
    --bg-soft: #0D1424;
    --card: #111827;
    --card-hover: #151F32;

    --border: #2A3346;
    --text: #FFFFFF;
    --text-muted: #CBD5E1;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
}

header {
    background: linear-gradient(135deg, #0D1424, #DD2A53);
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 42px;
}

header p {
    color: var(--text-muted);
    margin-top: 10px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: #0A101C;
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

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

nav a:hover {
    color: var(--primary-hover);
}

.vatsim-header-link {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.vatsim-header-link img {
    height: 38px;
    width: auto;
    opacity: 0.9;
    transition: 0.3s;
}

.vatsim-header-link img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.hero {
    position: relative;

    width: 100%;
    min-height: 450px;

    background:
        linear-gradient(
            rgba(0,0,0,.45),
            rgba(0,0,0,.45)
        ),
        url('backgroundB2.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    color: var(--text-muted);
    font-size: 18px;
}

.stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 20px;
}

.card,
.stat-card {
    background: #111827;
    border: 1px solid rgba(221,42,83,.25);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 0 25px rgba(221, 42, 83, .08);
}

.card h3,
.stat-card h3 {
    margin-top: 0;
    color: var(--primary-hover);
}

.card span,
.stat-card span {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 900px) {
    .stats,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
}

th {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 15px;
    color: var(--text);
}

td {
    padding: 15px;
    border-top: 1px solid var(--border);
}

tr:hover {
    background: var(--card-hover);
}

#pilots {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto;
}

#pilots h2 {
    margin-bottom: 30px;
}

.pilot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
}

.pilot-card {
    background: var(--card);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 0 25px rgba(221, 42, 83, .07);
    transition: 0.2s;
}

.pilot-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(221, 42, 83, .18);
}

.pilot-card h3 {
    margin-top: 0;
    color: var(--primary-hover);
}

.pilot-card p {
    color: var(--text-muted);
}

.fleet {
    max-width: 1200px;
    margin: 40px auto;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 24px;
}

.fleet-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 0 25px rgba(221, 42, 83, .08);
}

.fleet-card h3 {
    color: var(--primary-hover);
    margin-top: 0;
}

.fleet-card p {
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}

#awards p {
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .pilot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .pilot-grid {
        grid-template-columns: 1fr;
    }
}#flights table th:nth-child(4),
#flights table td:nth-child(4) {
    text-align: center;
}
#flights table th:nth-child(3),
#flights table td:nth-child(3),
#flights table th:nth-child(4),
#flights table td:nth-child(4) {
    text-align: center;
}
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 80px;
}

.about-image img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 0 35px rgba(221, 42, 83, .15);
}

.about-text {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
}

.about-text h2 {
    color: var(--primary-hover);
    margin-top: 0;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
    }
}

.join-button {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 28px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 0 25px rgba(221, 42, 83, .35);
    transition: 0.2s;
}

.join-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(221, 42, 83, .55);
}

.join-section {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    margin: 60px auto;
    padding: 50px 30px;
}

.join-section p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

