.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;

    background: #12151b;
    border-bottom: 1px solid #1f2430;
}

.logo a {
    font-weight: bold;
    font-size: 18px;
    color: white;
    text-decoration: none;
}

.nav a {
    margin-left: 20px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

/* hover */
.nav a:hover {
    color: white;
}

/* active */
.nav a.active {
    color: white;
}

/* petit underline moderne */
.nav a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4f7cff;
}

/* ========================= */
/* ADMIN MENU */
/* ========================= */

.admin-menu {
    position: relative;
    margin-left: 30px;
}

/* 👇 IMPORTANT : agrandir la zone */
.admin-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 15px; /* pont invisible */
}

/* bouton */
.admin-trigger {
    cursor: pointer;
    color: #ffcc66;
    font-size: 14px;
}

.admin-trigger:hover {
    color: #ffd98c;
}

/* dropdown */
.admin-dropdown {
    position: absolute;
    top: 100%; /* au lieu de 30px */
    right: 0;

    margin-top: 8px; /* espace propre */

    background: #181b22;
    border: 1px solid #2a2f3a;
    border-radius: 10px;

    min-width: 180px;

    display: none;
}

/* items */
.admin-dropdown a {
    padding: 10px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.admin-dropdown a:hover {
    background: #222733;
    color: white;
}

/* divider */
.divider {
    height: 1px;
    background: #2a2f3a;
    margin: 5px 0;
}

/* hover trigger */
.admin-menu:hover .admin-dropdown {
    display: flex;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.home-card {
    display: block;
    padding: 30px;
    background: #181b22;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.2s;
}

.home-card:hover {
    transform: translateY(-5px);
    background: #222733;
}