/* ============================================================
   RUNEVO — style.css
   Beyaz arkaplan + Siyah yazı — OFont (o.ttf) + Remix Icons
   ============================================================ */

@font-face {
    font-family: 'OFont';
    src: url('../fonts/o.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --g1: #f5f5f5;
    --g2: #e5e5e5;
    --g3: #bbb;
    --g4: #888;
    --g5: #555;
    --font: 'OFont', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 400;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ═══════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: 40px;
    background: var(--white);
    border-bottom: 1px solid var(--g2);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 36px;
    height: 100%;
}

/* ── Grup (sol & sağ) ── */
.topbar-group {
    display: flex;
    align-items: center;
    gap: 0;
}

/* ── Link öğeleri ── */
.tb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 12.5px;
    font-weight: 400;
    color: var(--g5);
    padding: 0 14px;
    height: 40px;
    transition: color var(--ease), background var(--ease);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.tb-link i {
    font-size: 15px;
    color: var(--g4);
    transition: color var(--ease);
}

.tb-link:hover {
    color: var(--black);
    background: var(--g1);
}

.tb-link:hover i {
    color: var(--black);
}

/* ── Dikey ayraç ── */
.tb-sep {
    width: 1px;
    height: 14px;
    background: var(--g2);
    flex-shrink: 0;
}

/* ── Orta: Yapay Zeka ── */
.tb-center {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--g5);
    padding: 0 16px;
    height: 40px;
    letter-spacing: 0.3px;
    transition: color var(--ease);
}

.tb-center i {
    font-size: 16px;
    color: var(--g4);
    transition: color var(--ease);
}

.tb-center:hover {
    color: var(--black);
}

.tb-center:hover i {
    color: var(--black);
}

/* ── Döviz kuru ── */
.tb-currency {
    cursor: default;
    font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .topbar-inner {
        padding: 0 20px;
    }

    .tb-link {
        padding: 0 10px;
        font-size: 11.5px;
    }
}

@media (max-width: 900px) {
    .tb-center {
        display: none;
    }
}

@media (max-width: 680px) {
    .topbar {
        height: 36px;
    }

    .topbar-inner {
        padding: 0 12px;
    }

    .topbar-group:last-child {
        display: none;
    }

    .topbar-group:first-child {
        flex: 1;
        justify-content: center;
    }

    .tb-link {
        padding: 0 10px;
        font-size: 11px;
        height: 36px;
    }

    .tb-sep {
        height: 12px;
    }
}
