body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0c0f1a;
    color: #fff;
}
header {
    background-color: #161b2b;
    padding: 20px;
    text-align: center;
    font-size: 1.5em;
}
nav {
    background-color: #1e2333;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 0;
    font-size: 1.1em;
}
nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
}
nav a:hover {
    background-color: #3c4a6e;
}
.equip-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    padding: 20px;
}
.equip-card {
    background-color: #1e2333;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}
.equip-card p {
    margin: 0;
    font-size: 0.9em;
}
.equip-card:hover {
    transform: scale(1.05);
}
.equip-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.equip-info {
    padding: 4px;
    text-align: center;
    font-size: 0.85em;
    line-height: 1.2;
}
.popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.popup-content {
    background: #1e2333;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    color: #fff;
}
.popup h2 { margin-top: 0; }
.popup button {
    background: #ff4081;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
.role-filter {
    background-color: #121620;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
}
.role-filter button {
    background-color: #2c3247;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.role-filter button:hover {
    background-color: #44506c;
}

.popup-content {
    width: 80%;
    max-width: 800px;
    padding: 30px;
    background-color: rgba(28, 28, 28, 0.8);;
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-content button {
    align-self: flex-end;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #666;
}

