* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #f6c400;
    --yellow-dark: #dcae00;
    --red: #d71920;
    --bg: #0b0b0d;
    --bg-light: #111216;
    --card: #17181d;
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-soft: #a8a8ad;
    --radius: 16px;
    --container: 1180px;
}

html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

html,
body,
body *,
button,
input,
textarea,
select {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: var(--bg);
    color: var(--text);

    line-height: 1.5;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-size: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: 0;
    cursor: pointer;
}


/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    height: 75px;
    flex-shrink: 0;

    background: rgba(11, 11, 13, 0.96);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    width: min(100% - 40px, var(--container));
    height: 75px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================
   LOGO
========================= */

.site-logo {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.site-logo img {
    display: block;

    width: 75px;
    height: 75px;

    max-width: 75px;
    max-height: 75px;

    object-fit: contain;
}

/* =========================
   NAVIGATION
========================= */

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 5px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.025);
}

.site-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 0 13px;

    border-radius: 9px;

    color: var(--text-soft);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.site-nav a:hover {
    color: var(--yellow);
    background: rgba(246, 196, 0, 0.07);
}

.site-nav a:active {
    transform: translateY(1px);
}


/* =========================
   ACTIVE MENU
========================= */

.site-nav a.active {
    color: var(--yellow);
    background: rgba(246, 196, 0, 0.10);
}

.site-nav a.active::after {
    content: "";

    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;

    height: 2px;

    border-radius: 2px;

    background: var(--yellow);
}


/* =========================
   NOTIFICATIONS
========================= */

.notification-wrapper {
    position: relative;
}

.notification-button {
    position: relative;

    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: var(--text-soft);

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.notification-button:hover {
    color: var(--yellow);
    background: rgba(246, 196, 0, 0.07);
}

.notification-icon {
    font-size: 15px;
    line-height: 1;
    color: currentColor;
}

.notification-count {
    position: absolute;

    top: -3px;
    right: -3px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: var(--red);
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.notification-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 340px;
    max-width: calc(100vw - 28px);

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #111216;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;

    z-index: 1100;
}

.notification-wrapper:hover .notification-dropdown,
.notification-wrapper:focus-within .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 14px 16px;

    border-bottom: 1px solid var(--border);

    color: var(--text);

    font-size: 13px;
    letter-spacing: 0.6px;
}

.notification-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-item {
    display: block;

    padding: 13px 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    color: var(--text-soft);

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    background: rgba(246, 196, 0, 0.05);
    color: var(--text);
}

.notification-item.is-unread {
    background: rgba(246, 196, 0, 0.035);
}

.notification-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.notification-item strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.notification-item p {
    margin-top: 4px;

    color: var(--text-soft);

    font-size: 13px;
    font-weight: 300;

    line-height: 1.4;
}

.notification-item small {
    display: block;

    margin-top: 7px;

    color: #66666c;

    font-size: 10px;
    font-weight: 300;
}

.notification-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--yellow);
}

.notification-empty {
    padding: 24px 16px;

    text-align: center;

    color: var(--text-soft);

    font-size: 13px;
    font-weight: 300;
}


/* =========================
   MAIN
========================= */

.site-main {
    width: 100%;
    flex: 1;
    min-height: 0;

    display: flex;
    flex-direction: column;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    width: 100%;
    flex-shrink: 0;

    border-top: 1px solid var(--border);

    background: #080809;
}

.footer-inner {
    width: min(100% - 40px, var(--container));
    min-height: 58px;

    margin: 0 auto;
    padding: 10px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 10px;

    white-space: nowrap;
}

.footer-brand a {
    font-size: 15px;
    font-weight: 700;

    color: var(--yellow);
}

.footer-brand a span {
    color: var(--red);
}

.footer-brand p {
    margin: 0;

    color: var(--text-soft);

    font-size: 11px;
    font-weight: 300;

    white-space: nowrap;
}

.footer-copy {
    color: #66666c;

    font-size: 10px;
    font-weight: 300;

    white-space: nowrap;
}


/* =========================
   TABLET / MOBILE
========================= */

/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 768px) {

    .site-header {
        height: 62px;
    }

    .header-inner {
        width: min(100% - 28px, var(--container));
        height: 62px;

        gap: 14px;
    }

    .site-logo {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .site-logo img {
        width: 56px;
        height: 56px;
        max-width: 56px;
        max-height: 56px;
    }

    .site-nav {
        gap: 3px;
        padding: 4px;

        border-radius: 10px;
    }

    .site-nav a {
        min-height: 34px;
        padding: 0 9px;

        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .site-nav a:nth-child(-n+2) {
        display: none;
    }

    .site-nav a.active::after {
        left: 9px;
        right: 9px;
        bottom: 4px;
    }

    .notification-dropdown {
        position: fixed;

        top: 66px;
        right: 14px;
        left: auto;

        width: 340px;
        max-width: calc(100vw - 28px);
    }

    .notification-button {
        width: 34px;
        height: 34px;
    }

    .footer-inner {
        width: min(100% - 28px, var(--container));

        min-height: 0;

        padding: 12px 0;

        flex-direction: column;
        justify-content: center;

        gap: 5px;

        text-align: center;
    }

    .footer-brand {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .footer-brand p {
        white-space: nowrap;
    }

    .footer-copy {
        white-space: nowrap;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .site-header {
        height: 60px;
    }

    .header-inner {
        width: calc(100% - 20px);
        height: 60px;

        gap: 8px;
    }

    .site-logo {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .site-logo img {
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
    }

    .site-nav {
        gap: 2px;
        padding: 3px;
    }

    .site-nav a {
        min-height: 32px;
        padding: 0 8px;

        font-size: 11px;
        letter-spacing: 0.4px;
    }

    .site-nav a.active::after {
        left: 8px;
        right: 8px;
        bottom: 3px;
    }

    .footer-brand a {
        font-size: 16px;
    }

    .footer-brand p {
        font-size: 11px;
    }
}
/* =========================================
   GÖZTEPE.APP - MOBİL ALT MENÜ
========================================= */

.mobile-app-nav {
    display: none;
}

@media (max-width: 768px) {

    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    /* Sabit alt menü */
    .mobile-app-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2000;

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2px;

        padding: 8px 5px calc(8px + env(safe-area-inset-bottom));

        border-top: 1px solid rgba(255, 255, 255, 0.09);
        background: rgba(15, 16, 19, 0.97);

        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    /* Menü bağlantıları */
    .mobile-app-nav a {
        min-width: 0;
        min-height: 48px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;

        border-radius: 10px;

        color: #92929a;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;

        transition: color 0.2s ease, background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    /* SVG ikonlar */
.mobile-app-nav a svg {
    display: block;
    width: 23px;
    height: 23px;
    min-width: 23px;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
}

    .mobile-app-nav a.active {
        color: #f6c400;
        background: rgba(246, 196, 0, 0.08);
    }

    .mobile-app-nav a:active {
        transform: scale(0.96);
    }

    /* Mobil üst menü: logo ve bildirimler kalsın */
    .site-header .site-nav {
        display: none !important;
    }

    .site-header .header-inner {
        justify-content: space-between;
    }

    .site-footer {
        margin-bottom: 0;
    }
}

/* Masaüstünde mobil alt menü görünmesin */
@media (min-width: 769px) {
    .mobile-app-nav {
        display: none !important;
    }
}
/* GOZTEPE.APP - ORTALI MOBIL HEADER */
@media (max-width: 768px) {
    .site-header {
        height: 66px;
        min-height: 66px;
    }

    .site-header .header-inner {
        position: relative;
        width: 100%;
        height: 66px;
        padding: 0 14px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .site-header .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 54px;
        height: 54px;
        flex: none;
    }

    .site-header .site-logo img {
        width: 54px;
        height: 54px;
        object-fit: contain;
    }

    .site-header .notification-wrapper {
        position: relative;
        z-index: 2;
        margin-left: auto;
        flex: none;
    }

    .site-header .notification-button {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        background: #17181d;
        border: 1px solid rgba(255,255,255,.09);
        color: #f6c400;
    }
}
/* Mobilde footer alanını gizle */
@media (max-width: 768px) {
    .site-footer {
        display: none !important;
    }
}
/* PWA ve iPhone alt menü ikon düzeltmesi */
@media (max-width: 768px) {
    .mobile-app-nav {
        box-sizing: border-box;
        width: 100%;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-app-nav a {
        min-width: 0;
        overflow: hidden;
    }

    .mobile-app-nav a svg {
        display: block !important;
        width: 23px !important;
        height: 23px !important;
        min-width: 23px !important;
        min-height: 23px !important;
        max-width: 23px !important;
        max-height: 23px !important;
        flex: 0 0 23px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-app-nav a svg rect,
    .mobile-app-nav a svg circle {
        fill: none !important;
    }
}