/* ==========================
   OSMANLI RUST - HEADER CSS
========================== */

:root {
    --osmanli-accent: #f59e0b;
    --osmanli-accent-light: #ffd166;
    --osmanli-green: #00e676;
}

.osmanli-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Daha şeffaf ve hafif cam efekti */
    background: rgba(5, 7, 11, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.osmanli-header:hover {
    background: rgba(5, 7, 11, 0.65);
}

.osmanli-header-container {
    width: min(1500px, calc(100% - 50px));
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.osmanli-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.osmanli-brand .brand-top {
    font-family: 'Exo 2', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.osmanli-brand .brand-bottom {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--osmanli-accent);
    letter-spacing: 5px;
    margin-top: 2px;
}

/* DESKTOP NAV */
.osmanli-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.osmanli-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.osmanli-nav a i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s ease;
}

.osmanli-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.osmanli-nav a:hover i {
    color: var(--osmanli-accent);
}

.osmanli-nav a.active {
    color: #fff;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.osmanli-nav a.active i {
    color: var(--osmanli-accent);
}

/* ACTIONS / RIGHT SIDE */
.osmanli-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.osmanli-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.osmanli-action-btn.discord:hover {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
}

.osmanli-action-btn.admin:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--osmanli-accent);
    color: var(--osmanli-accent);
}

.osmanli-action-btn.logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

/* PROFILE BUTTON */
.osmanli-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px 0 6px;
    background: rgba(12, 17, 24, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.osmanli-profile-btn img,
.osmanli-profile-btn i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.osmanli-profile-btn i {
    background: rgba(245, 158, 11, 0.2);
    color: var(--osmanli-accent);
    display: grid;
    place-items: center;
    font-size: 14px;
}

.osmanli-profile-btn:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(12, 17, 24, 0.7);
}

/* STEAM LOGIN BUTTON */
.osmanli-steam-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.osmanli-steam-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
}

/* MOBILE TOGGLER */
.osmanli-mobile-toggler {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    place-items: center;
    backdrop-filter: blur(8px);
}

/* MOBILE DRAWER */
.osmanli-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.osmanli-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.osmanli-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: rgba(9, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.osmanli-drawer.open {
    right: 0;
}

.osmanli-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.osmanli-drawer-close {
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
}

.osmanli-drawer-user {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.osmanli-drawer-user a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
}

.osmanli-drawer-user img,
.osmanli-drawer-user i {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.osmanli-drawer-user i {
    background: rgba(245, 158, 11, 0.2);
    color: var(--osmanli-accent);
    display: grid;
    place-items: center;
}

.osmanli-drawer-user strong {
    display: block;
    font-size: 15px;
    font-weight: 900;
}

.osmanli-drawer-user small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.osmanli-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.osmanli-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.osmanli-drawer-nav a:hover,
.osmanli-drawer-nav a.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--osmanli-accent);
}

@media (max-width: 1024px) {
    .osmanli-nav {
        display: none;
    }
    .osmanli-mobile-toggler {
        display: grid;
    }
}