.header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: black;
}

.header img {
    object-fit: cover;
}

.header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #acdada;
}

#ctf-container,
#team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
}

.card {
    width: 100%;
    max-width: 800px;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(172, 218, 218, 0.3);
}

.card h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #acdada;
    min-width: 120px;
}

.card p {
    margin: 0 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    flex-grow: 1;
    color: white;
}

.card .btn,
.card a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid #acdada;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.card .btn:hover,
.card a:hover {
    background: #acdada;
    color: #000;
}

body {
    background-image: url("../img/City-Rain.png");
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}