/* ponde.net — shared styles */

@font-face {
    font-family: 'Fira Code';
    src: url('fonts/fira-code-latin-300-normal.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fira Code';
    src: url('fonts/fira-code-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fira Code';
    src: url('fonts/fira-code-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fira Code';
    src: url('fonts/fira-code-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Fira Code';
    src: url('fonts/fira-code-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html { scroll-behavior: smooth; }

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #000;
    font-family: 'Fira Code', monospace;
    color: #daf0e6;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TOP MENU */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
    padding: 11px 12px 9px;
    background: rgba(0, 0, 0, 0.93);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.7;
    position: relative;
}

.menu-center {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.menu-social .bb-soc-link {
    color: #3a5a48;
    transition: color .2s;
    display: flex;
    align-items: center;
}
.menu-social .bb-soc-link:hover { color: #7cffb2; }

.menu-login {
    position: relative;
    font-size: 12px !important;
    color: #3a5a48 !important;
    text-decoration: none;
    margin: 0 0 0 8px !important;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.menu-login::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: #7cffb2;
    transition: width 0.2s;
}
.menu-login:hover,
.menu-login.active { color: #7cffb2 !important; }
.menu-login:hover::after,
.menu-login.active::after { width: 100%; }

.top-menu a {
    position: relative;
    font-size: 13px;
    color: #a8bdb0;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.18s ease;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.top-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #c8a84b;
    transition: width 0.2s;
}

.top-menu a:hover,
.top-menu a.active {
    color: #7cffb2;
}

.top-menu a:hover::after,
.top-menu a.active::after {
    width: 100%;
}

.separator {
    color: #2e4238;
    font-size: 13px;
    margin: 0 1px;
}

/* FOOTER */
#bb-footer-right {
    position: fixed;
    bottom: 12px;
    right: 15px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 50;
}

.bb-ip {
    font-size: 11px;
    color: #2e4438;
    letter-spacing: 0.5px;
}

.bb-site {
    font-size: 11px;
    color: #c8a84b;
    letter-spacing: 1px;
}

#bb-footer-left {
    position: fixed;
    bottom: 12px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 50;
}

.bb-sure-row {
    font-size: 11px;
    color: #2e4438;
    text-decoration: none;
    display: flex;
    gap: 5px;
    transition: color 0.2s;
}

.bb-sure-row:hover { color: #7cffb2; }
.bb-sure-row.soon .bb-sure-day { color: #4a6b58; }
.bb-sure-row.past .bb-sure-name { color: #1a3028; }
.bb-sure-row.past .bb-sure-day  { color: #1a3028; }

.bb-sure-name { color: #2e4438; }
.bb-sure-sep  { color: #1a3028; }
.bb-sure-day  { color: #2e4438; }

.bb-sure-more {
    font-size: 11px;
    color: #1a3028;
    text-decoration: none;
    margin-top: 1px;
    transition: color 0.2s;
}
.bb-sure-more:hover { color: #4a6b58; }

/* ── GRAIN / NOISE TEXTURE ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.042;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    background-repeat: repeat;
}

/* CURSOR BLINK */
.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* PAGE FADE IN */
body {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* CARD SHADOW — ortak kart gölgesi */
.bb-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.18s ease;
}
.bb-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* MOBILE */
@media (max-width: 600px) {
    .top-menu {
        padding: 9px 8px 7px;
    }

    .menu-row {
        line-height: 1.8;
        flex-wrap: wrap;
    }
    .menu-center {
        position: static;
        transform: none;
        flex-wrap: wrap;
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 4px;
        gap: 0 2px;
    }
    .top-menu a {
        font-size: 12px;
        margin: 0 3px;
        padding: 2px 0;
    }
    .separator {
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .top-menu a {
        font-size: 11px;
        margin: 0 2px;
    }
    .menu-social {
        gap: 5px;
    }
}

/* SOCIAL */
.bb-soc-link {
    color: #2e4438;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.bb-soc-link:hover { color: #7cffb2; }


@media (max-width: 600px) {
    .bb-soc-link.hide-mobile { display: none; }
}

/* FOOTER — mobilede gizle */
@media (max-width: 600px) {
    #bb-footer-left,
    #bb-footer-right {
        display: none;
    }
}

/* iOS ZOOM ÖNLEME — input font-size < 16px mobilede zoom yapar */
@media (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* TOUCH TARGETS — min 44px dokunma alanı */
@media (max-width: 600px) {
    .top-menu a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }
}

/* ── BANNER KAPAT BUTONU (mobil) ── */
.bb-banner-close,
.yz-banner-close {
    display: none;
}
@media (max-width: 600px) {
    .bb-banner-close,
    .yz-banner-close {
        display: block;
        width: 100%;
        background: none; border: none; border-top: 1px solid #0a1510;
        cursor: pointer;
        font-family: 'Fira Code', monospace;
        font-size: 9px; color: #2a4438; letter-spacing: 1.5px;
        padding: 5px 0 7px; text-align: left;
        transition: color 0.15s;
        touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    }
    .bb-banner-close:active,
    .yz-banner-close:active { color: #7cffb2; }
}

/* ── STAGGER FADE-IN ── */
@keyframes bb-stagger {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bb-stagger {
    opacity: 0;
    animation: bb-stagger 0.5s ease forwards;
}

/* TEST STRIP */
.bb-beta-strip {
    padding: 11px 2px 2px;
    border-top: 1px solid rgba(200, 168, 75, 0.12);
}
.bb-beta-line {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 11px;
    line-height: 1.6;
    color: #5a7a68;
    letter-spacing: 0.15px;
}
.bb-beta-prefix {
    color: #2a4438;
    flex-shrink: 0;
}
.bb-beta-mark {
    color: #c8a84b;
}
.bb-beta-strip a {
    color: #8db87a;
    text-decoration: none;
    border-bottom: 1px solid rgba(141, 184, 122, 0.3);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.bb-beta-strip a:hover {
    color: #c8a84b;
    border-bottom-color: rgba(200, 168, 75, 0.45);
}
.bb-beta-strip--index {
    margin-top: 28px;
    padding-top: 18px;
    max-width: 440px;
    width: 100%;
}
.bb-beta-strip--index .bb-beta-line {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}
