@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&display=swap');

.xspence-logo {
    height: 3rem;
    width: 3rem;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(1) sepia(1) saturate(10000%) hue-rotate(-25deg) drop-shadow(0 0 0 var(--xahau-yellow, #fefe5d));
    /* makes white match --xahau-yellow exactly */

    border-radius: 4px;
    box-sizing: border-box;
}

.header-title {
    font-family: Rubik Glitch, 'cursive', 'Share Tech Mono', monospace, 'Courier New', Courier;
    font-size: 3rem;
    color: var(--xahau-yellow, #fefe5d);
    letter-spacing: 0.08em;
    margin: 0;
    text-shadow: 0 0 8px #0a142f, 0 0 2px #fefe5d;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.header-actions {
    display: flex;
    gap: 1.2rem;
}

.header-btn {
    background: none;
    border: 2px solid var(--xahau-yellow, #fefe5d);
    color: var(--xahau-yellow, #fefe5d);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 8px;
    padding: 0.5rem 1.3rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border 0.18s;
    font-weight: 600;
}

.header-btn:hover {
    background: var(--xahau-yellow, #fefe5d);
    color: #0a142f;
    border-color: #0a142f;
}

header {
        width: 70vw;
        margin: 2rem auto 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 18px;
        box-shadow: 0 2px 16px #0a142f80;
        padding: 1.2rem 2rem 1.2rem 2.5rem;
        min-height: 64px;
        position: relative;
        z-index: 2;
        transition: width 0.2s, padding 0.2s;
}

@media (max-width: 950px) {
    header {
        width: 95vw;
        padding: 1rem 1vw 1rem 1vw;
    }
    .header-title {
        font-size: 1.5rem;
        gap: 0.7rem;
    }
    .xspence-logo {
        height: 1.7rem;
        width: 1.7rem;
    }
    .header-actions {
        gap: 0.7rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        width: 99vw;
        padding: 0.7rem 2vw 0.7rem 2vw;
        min-height: unset;
        margin: 10px auto;
    }
    .header-title {
        font-size: 4rem;
        gap: 1rem;
        margin: 50px;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    .header-btn {
        font-size: 0.95rem;
        padding: 1rem 1rem;
        margin-top:10px;
    }
    .xspence-logo {
        height: 5rem;
        width: 5rem;
    }
}

@media (max-width: 450px) {


    .header-title {
        font-size: 2.5rem;
        gap: 0.7rem;
        margin: 20px;
    }
    .xspence-logo {
        height: 3rem;
        width: 3rem;
    }
}