:root {
    --header-dark: #000;
    --header-light: #fff;
    --header-shadow-dark: rgba(0, 0, 0, 0.3);
    --header-shadow-light: rgba(255, 255, 255, 0.3);
    --text-white: #fff;
    --text-dark: #000;
}

/* ================= HEADER ================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 80px;
    background: var(--header-dark);
    color: var(--text-white);
    border-bottom: 1px solid var(--header-shadow-light);
}

.light-mode .header {
    background: var(--header-light);
    border-bottom: 1px solid var(--header-shadow-dark);
}

/* ================= LOGO ================= */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--text-white);
}

.light-mode .logo {
    color: var(--text-dark);
}

.logo img {
    height: 40px;
    width: 40px;
}

/* ================= DESKTOP ================= */
.actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.actions li {
    list-style: none;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-white);
}

.light-mode .actions li {
    color: var(--text-dark);
}

.actions a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (hover: hover) and (pointer: fine) {
    .actions li:hover {
        background: var(--text-white);
        color: var(--text-dark);
    }

    .light-mode .actions li:hover {
        background: var(--text-dark);
        color: var(--text-white);
    }
}

.actions span {
    display: none;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-white);
}

.light-mode .hamburger{
    color: var(--text-dark);
}

/* ================= MOBILE ================= */
@media (max-width: 800px) {

    .header {
        padding: 12px 20px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        width: 30px;
        height: 30px;
    }

    .hamburger {
        display: block;
        z-index: 1100;
    }

    /* 🔥 FIXED FULL SCREEN MENU */
    .actions {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        flex-direction: column;
        background: #000;
        overflow-y: auto;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.25s ease;
        z-index: 999;
    }

    .light-mode .actions {
        background: #fff;
    }

    /* ACTIVE */
    .actions.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* ITEMS */
    .actions li {
        width: 100%;
        padding: 18px 20px;
        display: flex;
        align-items: center;
        gap: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .light-mode .actions li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* ICON */
    .actions i {
        width: 22px;
        font-size: 18px;
        text-align: center;
    }

    /* TEXT */
    .actions span {
        display: inline-block;
        font-size: 1rem;
    }

    /* REMOVE HOVER */
    .actions li:hover {
        background: none;
    }

    /* TAP FEEDBACK */
    .actions li:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .light-mode .actions li:active {
        background: rgba(0, 0, 0, 0.1);
    }

    /* REMOVE TAP FLASH */
    .actions li {
        -webkit-tap-highlight-color: transparent;
    }
}