﻿#origins-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 16px;
    background: rgba(8, 18, 16, .96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #8b7546;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
    box-sizing: border-box;
}

#origins-header * {
    box-sizing: border-box;
}

#origins-header .origins-logo img {
    display: block;
    width: 280px;
    max-width: 80vw;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(193,158,82,.2));
}

#origins-header .origins-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: linear-gradient(180deg,#192722,#101b18);
    border: 1px solid #66583c;
    border-radius: 12px;
}

#origins-header .origins-nav a,
#origins-header button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 17px;
    color: #d4dfd9;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all .2s ease;
}

#origins-header .origins-nav a:hover,
#origins-header button:hover,
#origins-header .origins-nav a.active {
    color: #eac87e;
    border-color: #78643f;
    background: rgba(204,169,92,.09);
    box-shadow: 0 0 12px rgba(204,169,92,.1);
}

#origins-header .origins-nav .download {
    background: linear-gradient(135deg,#167460,#104b3e);
    border-color: #31927b;
    color: #fff;
}

#origins-header .origins-nav .shop {
    background: linear-gradient(135deg,#e2c17b,#a7803e);
    border-color: #e2c17b;
    color: #171b15;
}

#origins-header .origins-nav .download:hover,
#origins-header .origins-nav .shop:hover {
    filter: brightness(1.2);
}

#origins-header svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

#origins-header .origins-user {
    position: relative;
}

#origins-header .origins-user button {
    background: #20332b;
    border-color: #465f50;
    text-align: left;
}

#origins-header .user-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#origins-header .coin-balance {
    color: #e5bd6c;
    font-size: 12px;
}

#origins-header .origins-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 210px;
    padding: 8px;
    background: #111e19;
    border: 1px solid #78643f;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.6);
}

#origins-header [hidden] {
    display: none !important;
}

#origins-header .origins-menu a,
#origins-header .origins-menu button {
    width: 100%;
    justify-content: flex-start;
}

#origins-header .origins-menu .logout {
    color: #ef8888;
    background: transparent;
    border-color: transparent;
}

@media (max-width: 700px) {
    #origins-header {
        padding: 8px;
        gap: 6px;
    }
    #origins-header .origins-logo img {
        width: 180px;
    }
    #origins-header .origins-nav {
        gap: 4px;
        padding: 4px;
    }
    #origins-header .origins-nav a,
    #origins-header button {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Origins Header - Design Refinement */

#origins-header {
    margin-bottom: 16px;
    gap: 14px;
}

@media (min-width: 1000px) {
    #origins-header .origins-logo img {
        width: 340px;
    }

    #origins-header .origins-nav {
        width: 100%;
        max-width: 1120px;
        justify-content: space-evenly;
        padding: 10px 14px;
        gap: 10px;
    }

    #origins-header .origins-nav a,
    #origins-header button {
        font-size: 16px;
        padding: 13px 20px;
    }

    #origins-header svg {
        width: 20px;
        height: 20px;
    }

    #origins-header .coin-balance {
        font-size: 13px;
    }
}

/* Align navigation with banner */

@media (min-width: 1000px) {
    #origins-header {
        padding-left: 0;
        padding-right: 0;
    }

    #origins-header .origins-nav {
        width: 100%;
        max-width: none;
    }
}
