/* ══════════════════════════════════════════════════════════
   DEWZY — style.css | 2026 | Dark Premium
   ══════════════════════════════════════════════════════════ */

@property --rx { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --ry { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ── [0] RESET & TOKENS ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:      #000000;
    --fg:      #f0f0f0;
    --muted:   rgba(240,240,240,0.38);
    --dim:     rgba(240,240,240,0.16);
    --border:  rgba(255,255,255,0.07);
    --surface: rgba(255,255,255,0.03);
    --lift:    rgba(255,255,255,0.055);

    --e-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --e-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Syne', sans-serif;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::after {
    content: '';
    position: fixed; inset: 0; z-index: 1;
    pointer-events: none; opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── [1] CURSOR & PROGRESS ──────────────────────────────── */
#scroll-progress {
    position: fixed; top: 0; left: 0; z-index: 9999;
    height: 1px; width: 0%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5) 30%, #fff 50%, rgba(255,255,255,0.5) 70%, transparent);
    box-shadow: 0 0 14px rgba(255,255,255,0.45);
    will-change: width;
    transition: width 0.05s linear;
}

/* Cursor nokta — left/top ile tam pozisyon, transform sadece merkez offset */
#cur {
    position: fixed; z-index: 99999;
    width: 4px; height: 4px;
    background: #fff; border-radius: 50%;
    pointer-events: none;
    /* JS left/top yazar, CSS sadece merkeze hizalar */
    margin-left: -2px; margin-top: -2px;
    will-change: left, top;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 0 8px rgba(255,255,255,0.9);
}

/* Cursor halka */
#cur2 {
    position: fixed; top: 0; left: 0; z-index: 99998;
    width: 28px; height: 28px;
    margin-left: -14px; margin-top: -14px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50%; pointer-events: none;
    will-change: transform;
    /* Sadece opacity ve border-color transition — layout tetikleme */
    transition: opacity .25s ease, border-color .25s ease, background-color .25s ease,
                width .3s var(--e-spring), height .3s var(--e-spring),
                margin-left .3s var(--e-spring), margin-top .3s var(--e-spring);
}
#cur2.hover {
    width: 42px; height: 42px;
    margin-left: -21px; margin-top: -21px;
    background-color: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
}
#cur2.click {
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
    border-color: rgba(255,255,255,0.7);
    background-color: rgba(255,255,255,0.12);
}

#cv {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
    image-rendering: pixelated;
}

/* ── [2] GATE ───────────────────────────────────────────── */
#gate {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2.8rem;
    background: #000;
    transition: opacity .9s var(--e-out), transform .9s var(--e-out);
    overflow: hidden;
}
#gate.leaving { opacity: 0; transform: scale(1.04); pointer-events: none; }

/* Grid çizgi arkaplanı */
#gate::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
    pointer-events: none;
}

/* Merkez ışık huzmesi */
#gate::after {
    content: '';
    position: absolute;
    width: 1px; height: 60%;
    top: 0; left: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
}

.gate-glow {
    position: absolute;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255,255,255,0.06) 0%,
        rgba(255,255,255,0.02) 35%,
        transparent 70%
    );
    pointer-events: none;
    animation: gateGlowPulse 5s ease-in-out infinite;
}

/* Köşe dekorasyon çizgileri */
.gate-corner {
    position: absolute;
    width: 40px; height: 40px;
    pointer-events: none;
    opacity: 0.2;
}
.gate-corner::before, .gate-corner::after {
    content: ''; position: absolute;
    background: rgba(255,255,255,0.6);
}
.gate-corner::before { width: 1px; height: 100%; }
.gate-corner::after  { width: 100%; height: 1px; }
.gate-corner.tl { top: 2rem; left: 2rem; }
.gate-corner.tr { top: 2rem; right: 2rem; transform: scaleX(-1); }
.gate-corner.bl { bottom: 2rem; left: 2rem; transform: scaleY(-1); }
.gate-corner.br { bottom: 2rem; right: 2rem; transform: scale(-1); }

.gate-name {
    font-family: 'DM Mono', monospace;
    font-size: clamp(0.7rem, 1.8vw, 1rem);
    letter-spacing: 0.6em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    animation: fadeUp .9s .1s both;
}

.gate-btn {
    position: relative;
    padding: 1.1rem 3.8rem;
    font-family: 'Syne', sans-serif;
    font-size: clamp(0.78rem, 1.4vw, 0.9rem);
    font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    /* Ghost: içi boş, beyaz border */
    color: rgba(255,255,255,0.85);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: none; overflow: hidden;
    clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
    animation: fadeUp .9s .28s both;
    transition: transform .45s var(--e-spring),
                box-shadow .4s ease,
                border-color .3s ease,
                color .3s ease;
}
/* Dolma efekti — hover'da beyaz içeri girer */
.gate-btn::before {
    content: ''; position: absolute; inset: 0;
    background: #fff;
    transform: translateX(-101%);
    transition: transform .55s var(--e-smooth);
    z-index: 0;
}
.gate-btn span { position: relative; z-index: 1; transition: color .3s ease; }
.gate-btn:hover {
    transform: scale(1.02) translateY(-2px);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 0 40px rgba(255,255,255,0.1), 0 16px 36px rgba(0,0,0,0.5);
}
.gate-btn:hover::before { transform: translateX(0); }
.gate-btn:hover span { color: #000; }
.gate-btn:active { transform: scale(0.97); transition-duration: .1s; }

.gate-hint {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.26em;
    text-transform: uppercase; color: rgba(255,255,255,0.1);
    animation: fadeUp .9s .46s both;
}

.mobile-notice {
    display: none; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
    padding: 10px 22px; border-radius: 100px;
    color: rgba(255,255,255,0.5); font-family: 'DM Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.07em; text-transform: uppercase;
    animation: noticePulse 3s infinite ease-in-out;
}
.mobile-notice i { color: rgba(255,255,255,0.6); }

/* ── [3] LOADING ────────────────────────────────────────── */
#loading {
    position: fixed; inset: 0; z-index: 8000;
    display: none; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2.4rem;
    background: #000;
    /* Hafif scan line efekti */
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.008) 2px,
        rgba(255,255,255,0.008) 4px
    );
}
#loading.active { display: flex; }
#loading.done   { opacity: 0; transition: opacity .7s var(--e-out); pointer-events: none; }

.spin-ring { position: relative; width: 100px; height: 100px; }
.spin-ring svg { width: 100%; height: 100%; position: absolute; inset: 0; animation: spin 2s linear infinite; }

.loading-photo-wrap {
    /* r=46, stroke=1.5 → iç kenar = (46-0.75)/100 * 100px = ~45.25px merkeze, inset = 100px - 2*45.25 = 9.5 ~ 10px */
    position: absolute; inset: 10px; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-radius: 50%;
}
.loading-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: brightness(0.85); }

.load-bar-wrap {
    width: min(260px, 55vw); height: 1px;
    background: rgba(255,255,255,0.05); position: relative; overflow: hidden;
}
.load-bar {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0%; background: #fff;
    box-shadow: 0 0 16px rgba(255,255,255,0.9);
    transition: width .1s linear;
}
.load-bar::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 80px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer .8s linear infinite;
}
.load-txt {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.36em;
    text-transform: uppercase; color: rgba(255,255,255,0.22);
}

#flash { position: fixed; inset: 0; z-index: 7999; background: #fff; opacity: 0; pointer-events: none; transition: opacity .07s; }
#main { opacity: 0; transition: opacity .7s var(--e-out); }
#main.show { opacity: 1; }

/* ── [4] MÜZİK ──────────────────────────────────────────── */
/* ── MÜZİK PLAYER — daha büyük, kullanışlı ── */
#music-container {
    position: fixed; bottom: 4.4rem; right: 1.8rem;
    z-index: 500; display: flex; align-items: center; gap: 10px;
    flex-direction: row;
    /* playlist panel absolute için referans */
    isolation: isolate;
}

/* ── Frosted glass now-playing ── */
#now-playing {
    display: flex; align-items: center; gap: 10px;
    /* Cam efekti — arkaplanı blur ile göster */
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(32px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 7px 12px 7px 7px; border-radius: 50px;
    opacity: 0; transform: translateY(8px);
    transition: opacity .5s var(--e-out), transform .5s var(--e-spring);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.1);
}
#now-playing.active { opacity: 1; transform: translateY(0); pointer-events: all; }

#track-img {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; border: 1px solid rgba(255,255,255,0.15);
    animation: rotateCover 5s linear infinite; animation-play-state: paused;
    flex-shrink: 0;
}
#now-playing.active #track-img { animation-play-state: running; }

.track-info { display: flex; flex-direction: column; gap: 1px; }
#track-name   { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.95); white-space: nowrap; }
#track-artist { font-size: 0.58rem; color: rgba(255,255,255,0.45); font-family: 'DM Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }

/* Playlist toggle butonu */
.pl-toggle {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.35); font-size: 0.65rem;
    padding: 4px 2px; transition: color .3s ease;
    flex-shrink: 0;
}
.pl-toggle:hover { color: rgba(255,255,255,0.8); }

/* ── Playlist panel — music-container'a göre konum ── */
#playlist-panel {
    position: fixed;
    bottom: 4.4rem;
    right: 1.8rem;
    /* now-playing yüksekliği ~52px + 10px boşluk */
    transform: translateY(calc(-100% - 62px)) scale(0.97);
    width: 260px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--e-out), transform .35s var(--e-out);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.1);
}
#playlist-panel.open {
    opacity: 1; transform: translateY(calc(-100% - 62px)) scale(1);
    pointer-events: all;
}

.pl-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pl-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.18em;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.pl-close {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.3); font-size: 0.7rem;
    padding: 2px 4px; transition: color .2s ease;
}
.pl-close:hover { color: rgba(255,255,255,0.7); }

.pl-list { list-style: none; padding: 6px 0; max-height: 220px; overflow-y: auto; }
.pl-list::-webkit-scrollbar { width: 3px; }
.pl-list::-webkit-scrollbar-track { background: transparent; }
.pl-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.pl-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; cursor: pointer;
    transition: background .2s ease;
}
.pl-item:hover { background: rgba(255,255,255,0.06); }
.pl-item.active { background: rgba(255,255,255,0.08); }
.pl-item-img {
    width: 32px; height: 32px; border-radius: 6px;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
}
.pl-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-item-name {
    font-size: 0.7rem; font-weight: 700;
    color: rgba(255,255,255,0.85); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.pl-item-artist {
    font-family: 'DM Mono', monospace;
    font-size: 0.55rem; color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl-item.active .pl-item-name { color: #fff; }
.pl-item-eq {
    margin-left: auto; display: none;
    gap: 1.5px; align-items: flex-end; height: 10px;
}
.pl-item.active .pl-item-eq { display: flex; }
.pl-item-eq span {
    width: 2px; background: rgba(255,255,255,0.6); border-radius: 1px;
    animation: eq .8s ease-in-out infinite;
}
.pl-item-eq span:nth-child(2) { animation-delay: .18s; }
.pl-item-eq span:nth-child(3) { animation-delay: .36s; }

/* Ses slider — music-container içinde, müzik açıkken görünür */
.volume-wrapper {
    display: flex; align-items: center; gap: 8px;
    max-width: 0; overflow: hidden; opacity: 0;
    transition: max-width .5s var(--e-out), opacity .4s ease;
}
.volume-wrapper.visible {
    max-width: 140px; opacity: 1;
}
.volume-wrapper i {
    font-size: 0.65rem; color: rgba(255,255,255,0.4);
    width: 12px; text-align: center; flex-shrink: 0;
}

#vol-slider {
    -webkit-appearance: none;
    width: 80px; height: 4px;
    background: rgba(255,255,255,0.15); border-radius: 10px;
    outline: none; cursor: pointer;
    transition: height .2s ease;
    /* touch hedefi büyüt */
    touch-action: none;
}
#vol-slider:hover { height: 6px; }
#vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px;
    background: #fff; border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.6);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
    transition: transform .2s var(--e-spring);
    /* mobilde daha kolay tutmak için */
    cursor: pointer;
}
#vol-slider:active::-webkit-slider-thumb { transform: scale(1.5); }
#vol-slider::-moz-range-thumb {
    width: 14px; height: 14px; background: #fff;
    border: 2px solid rgba(0,0,0,0.6); border-radius: 50%; cursor: pointer;
}

/* Müzik butonu tooltip — müzik açıkken göster */
#mbtn { position: relative; }
.music-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: rgba(10,10,10,0.92);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 7px 11px;
    white-space: nowrap;
    font-family: 'DM Mono', monospace;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s var(--e-out);
    backdrop-filter: blur(12px);
}
.music-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; right: 14px;
    border: 4px solid transparent;
    border-top-color: rgba(255,255,255,0.07);
}
.music-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Müzik butonu */
#mbtn {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    cursor: none; backdrop-filter: blur(12px);
    transition: transform .4s var(--e-spring), background .3s ease,
                border-color .3s ease, box-shadow .3s ease;
    flex-shrink: 0;
}
#mbtn:hover {
    transform: scale(1.12);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 0 20px rgba(255,255,255,0.06);
}
#mbtn .eq { display: flex; gap: 2.5px; align-items: flex-end; height: 14px; }
#mbtn .eq span { width: 2.5px; background: #fff; border-radius: 2px; animation: eq .8s ease-in-out infinite; }
#mbtn .eq span:nth-child(2) { animation-delay: .18s; }
#mbtn .eq span:nth-child(3) { animation-delay: .36s; }
#mbtn.off .eq span { animation: none; height: 2.5px; background: rgba(255,255,255,0.18); }

/* ── [5] NAV & TOTOP ────────────────────────────────────── */
#totop {
    position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 500;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    display: flex; align-items: center; justify-content: center;
    cursor: none; backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .4s ease, visibility .4s, transform .5s var(--e-spring),
                background .3s ease, border-color .3s ease;
}
#totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#totop:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-4px) scale(1.1); }
#totop svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 6vw; height: 72px;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.04) 0%,
        rgba(0,0,0,0.55) 100%
    );
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 0 40px rgba(255,255,255,0.02), 0 1px 0 rgba(255,255,255,0.04);
    transform: translateZ(0);
}

.nav-logo {
    text-decoration: none; display: inline-flex;
    align-items: baseline; gap: 0; cursor: none; position: relative;
}
.logo-dew {
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.9rem;
    letter-spacing: 0.15em; color: rgba(255,255,255,0.9);
    transition: color .4s ease;
}
/* Çizgi yok */
.logo-dew::after { display: none; }

.logo-zy {
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.9rem;
    letter-spacing: 0.15em; color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.4);
    transition: -webkit-text-stroke-color .4s ease;
    /* DEW ile bitişik — padding sıfır */
    padding-left: 0;
}
.nav-logo:hover .logo-dew { color: #fff; }
.nav-logo:hover .logo-zy { -webkit-text-stroke-color: rgba(255,255,255,0.8); }

.foot-logo .logo-dew { font-size: 0.78rem; color: rgba(255,255,255,0.38); letter-spacing: 0.15em; }
.foot-logo .logo-zy { font-size: 0.78rem; -webkit-text-stroke: 1px rgba(255,255,255,0.2); letter-spacing: 0.15em; padding-left: 0; }
.foot-logo:hover .logo-dew { color: rgba(255,255,255,0.65); }
.foot-logo:hover .logo-zy  { -webkit-text-stroke-color: rgba(255,255,255,0.45); }

.time-widget {
    font-family: 'DM Mono', monospace;
    display: flex; align-items: center; gap: 0.5rem;
    position: absolute; left: 50%; transform: translateX(-50%);
    pointer-events: none;
}
#current-time { font-size: 0.62rem; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; }
#time-status  { font-size: 0.6rem; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; animation: blink 2.5s ease-in-out infinite; font-weight: 500; }

.nav-r { display: flex; gap: 2.4rem; list-style: none; align-items: center; }
.nav-r a {
    position: relative; font-family: 'DM Mono', monospace;
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.32); text-decoration: none; cursor: none;
    transition: color .3s ease;
}
.nav-r a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: rgba(255,255,255,0.55);
    transition: width .4s var(--e-out);
}
.nav-r a:hover { color: rgba(255,255,255,0.8); }

/* Nav active link */
.nav-r a.active { color: rgba(255,255,255,0.85); }
.nav-r a.active::after { width: 100%; }

.nav-r a:hover::after { width: 100%; }

#mobile-menu { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
#mobile-menu span { width: 22px; height: 1px; background: rgba(255,255,255,0.7); transition: transform .4s var(--e-out), opacity .3s ease; }
#mobile-menu.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#mobile-menu.active span:nth-child(2) { opacity: 0; }
#mobile-menu.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── [6] HERO ─────────────────────────────────────────── */
#hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 100px 8vw 8vw;
    gap: 0;
    position: relative;
}



/* ── FOOTER LINKS ───────────────────────────────────────── */
.foot-links { display: flex; gap: 0; align-items: center; }
.foot-links .foot-link { padding: 0 0.7rem; border-right: 1px solid rgba(255,255,255,0.08); }
.foot-links .copy-btn { padding: 0 0.7rem; }
.foot-link {
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(255,255,255,0.22);
    text-decoration: none; cursor: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .3s ease;
}
.foot-link:hover { color: rgba(255,255,255,0.6); }
.foot-link i { font-size: 0.75rem; }

/* Hero label — gizli, HTML'de kalsın ama gösterilmesin */
.hero-label { display: none; }

/* Başlık — büyük ama kontrollü */
.hero-title {
    font-size: clamp(3.5rem, 8.5vw, 8rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    opacity: 0; animation: fadeUp .9s .1s both;
    margin-bottom: 0.9rem;
}

/* "Merhaba," — tam beyaz */
.hero-title .t1 { color: #fff; display: block; }

/* "Ben Dewzy" satırı — sadece block wrapper */
.hero-title .t2 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 0;
}

/* Typing animasyonu */
.typing-text {
    /* t2 ile aynı outline stili */
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
    transition: -webkit-text-stroke-color .5s ease;
}
.hero-title:hover .typing-text {
    -webkit-text-stroke-color: rgba(255,255,255,0.75);
}

/* Yanıp sönen cursor */
.typing-cursor {
    display: inline-block;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    -webkit-text-stroke: 0;
    animation: cursorBlink .75s step-end infinite;
    margin-left: 2px;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}


/* Bio — başlığın hemen altında, az boşlukla */
.hero-bio {
    max-width: 380px;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: rgba(255,255,255,0.28); line-height: 1.75;
    letter-spacing: 0.015em; font-weight: 400;
    opacity: 0; animation: fadeUp .8s .28s both;
    margin-bottom: 1.4rem;
}

.hero-actions {
    opacity: 0; animation: fadeUp .8s .42s both;
    display: flex; flex-direction: column; gap: 2rem;
    align-items: flex-start;
}

/* Scroll hint — ekranın sağında sabit, dikey */
.scroll-hint {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
    /* JS ile opacity kontrol — animation yok, çakışma yok */
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}
.scroll-hint.visible { opacity: 1; }
.scroll-hint.hidden  { opacity: 0; }

.scroll-hint span {
    font-family: 'DM Mono', monospace;
    font-size: 0.52rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(255,255,255,0.5);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.scroll-hint .scroll-key {
    font-family: 'DM Mono', monospace;
    font-size: 0.46rem; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 2px;
}
/* Mouse tekerleği animasyonu */
.scroll-mouse {
    width: 20px; height: 32px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    position: relative;
    display: flex; justify-content: center;
}
.scroll-mouse-wheel {
    width: 2px; height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    margin-top: 5px;
    animation: mouseScroll 1.6s ease-in-out infinite;
}
@keyframes mouseScroll {
    0%   { transform: translateY(0); opacity: 1; }
    60%  { transform: translateY(10px); opacity: 0; }
    61%  { transform: translateY(0); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.btn {
    font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 1rem 2.8rem; text-decoration: none; cursor: none;
    display: inline-flex; align-items: center; gap: .6rem;
    position: relative; overflow: hidden;
    transition: transform .5s var(--e-spring),
                box-shadow .4s ease,
                letter-spacing .4s var(--e-out);
}

/* Keşfet butonu — border tabanlı, içi boş → hover'da dolar */
.btn-fill {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
/* Hover'da içi beyazla dolar */
.btn-fill::before {
    content: ''; position: absolute; inset: 0;
    background: #fff;
    transform: translateX(-101%);
    transition: transform .5s var(--e-smooth);
    z-index: 0;
}
.btn-fill span { position: relative; z-index: 1; transition: color .4s ease; }

.btn-fill:hover {
    transform: translateY(-3px);
    letter-spacing: 0.2em;
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 12px 32px rgba(255,255,255,0.08),
                0 0 0 1px rgba(255,255,255,0.1);
}
.btn-fill:hover::before { transform: translateX(0); }
.btn-fill:hover span { color: #000; }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: .1s; }

/* ── [7] LAYOUT ──────────────────────────────────────────── */
.divider {
    height: 1px; margin: 0 8vw;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.sec { padding: 8vw 8vw; }

/* ── SECTION BAŞLIKLARI — DÜZELTME: büyük, güçlü, temiz ── */
.sec-hd {
    display: flex; align-items: center;
    gap: 1.2rem; margin-bottom: 1.2rem;
}

.sec-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem; color: rgba(255,255,255,0.2);
    letter-spacing: 0.2em; flex-shrink: 0;
}

/* Büyük, bold, okunabilir */
.sec-hd h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
    color: #fff;
}

/* Sağa uzayan ince çizgi */
.sec-hd::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
}

.rv {
    opacity: 0;
    transform: translateY(28px);
    /* will-change önceden — layer hazır, scroll anında açılmaz */
    will-change: opacity, transform;
    transition: opacity .7s var(--e-out), transform .7s var(--e-out);
}
.rv.in {
    opacity: 1;
    transform: translateY(0);
}

/* ── [8] ABOUT ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }

.info-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
    padding: 1.5rem; border-radius: 4px;
    /* will-change önceden — hover'da yeni layer açılmaz */
    will-change: transform;
    /* Sadece transform ve box-shadow — compositor'da, layout yok */
    transition: transform .4s var(--e-spring), box-shadow .4s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}

.info-card .ic-label { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 1rem; }
.info-card .ic-val { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; color: rgba(255,255,255,0.92); letter-spacing: -0.01em; }
.info-card .ic-sub { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }

.arkadia-card {
    display: grid; grid-template-columns: 100px 1fr;
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px; text-decoration: none; color: var(--fg);
    overflow: hidden; cursor: none;
    will-change: transform;
    transition: box-shadow .4s ease;
}
.arkadia-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.09); }

.arkadia-logo-wrap {
    width: 100px; min-height: 100px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.015); padding: 1.2rem; overflow: hidden;
}
.arkadia-logo-wrap img {
    max-width: 100%; height: auto; object-fit: contain;
    opacity: 0.45; will-change: opacity, transform;
    transition: opacity .5s ease, transform .6s var(--e-out);
}
.arkadia-card:hover .arkadia-logo-wrap img { opacity: 0.9; transform: scale(1.05); }
.arkadia-info { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; justify-content: center; }
.arkadia-info .ic-label { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 0.5rem; }
.arkadia-info .ic-val   { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.45rem; color: rgba(255,255,255,0.9); letter-spacing: -0.01em; }
.arkadia-info .ic-sub   { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.arkadia-link { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.22); display: inline-flex; align-items: center; gap: .4rem; transition: color .3s ease; }
.arkadia-card:hover .arkadia-link { color: rgba(255,255,255,0.6); }

/* ── [9] PLATFORM CARDS ─────────────────────────────────── */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; perspective: 1200px; }

@keyframes pcardEnter {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pcard-wrap { animation: pcardEnter .6s var(--e-out) both; animation-play-state: paused; height: 100%; display: block; will-change: opacity, transform; }
.platform-grid.visible .pcard-wrap              { animation-play-state: running; }
.platform-grid.visible .pcard-wrap:nth-child(1) { animation-delay: 0s; }
.platform-grid.visible .pcard-wrap:nth-child(2) { animation-delay: .09s; }
.platform-grid.visible .pcard-wrap:nth-child(3) { animation-delay: .18s; }
.platform-grid.visible .pcard-wrap:nth-child(4) { animation-delay: .27s; }

.pcard {
    position: relative; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 2rem 1.8rem 1.8rem;
    text-decoration: none; color: var(--fg); display: flex; flex-direction: column;
    overflow: hidden; cursor: none; height: 100%;
    will-change: transform; transform-style: preserve-3d;
    --rx: 0deg; --ry: 0deg;
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .55s var(--e-spring), --rx .5s var(--e-spring), --ry .5s var(--e-spring),
                box-shadow .5s ease, border-color .4s ease, background .4s ease;
}
.pcard:hover {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-12px);
    background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.13);
    box-shadow: 0 20px 44px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.06);
}
.pcard:active { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-3px) scale(.99); transition-duration: .1s; }

.pcard::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.055) 50%, transparent 80%);
    transform: translateX(-130%) skewX(-8deg); transition: transform .8s var(--e-smooth);
    pointer-events: none; z-index: 1;
}
.pcard:hover::before { transform: translateX(130%) skewX(-8deg); }

.pcard::after {
    content: ''; position: absolute; bottom: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: scaleX(0); transition: transform .55s var(--e-spring); border-radius: 1px; z-index: 1;
}
.pcard:hover::after { transform: scaleX(1); }

.pcard-top { margin-bottom: 1.8rem; position: relative; z-index: 2; }
.pcard-icon {
    font-size: 1.4rem; width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px;
    transition: transform .5s var(--e-spring), background .4s ease, border-color .4s ease;
}
.pcard:hover .pcard-icon { transform: translateY(-5px) rotate(-6deg) scale(1.12); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }

.pcard-name {
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.12rem;
    letter-spacing: -0.015em; color: rgba(255,255,255,0.88);
    margin-bottom: 0.3rem; position: relative; z-index: 2; transition: color .3s ease;
}
.pcard:hover .pcard-name { color: #fff; }

.pcard-handle {
    font-family: 'DM Mono', monospace; font-size: 0.68rem; color: rgba(255,255,255,0.22);
    letter-spacing: 0.04em; position: relative; z-index: 2; transition: color .35s ease;
}
.pcard:hover .pcard-handle { color: rgba(255,255,255,0.5); }

.pcard-line {
    height: 1px; width: 0%; margin-top: 1.6rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.65), transparent);
    border-radius: 1px; position: relative; z-index: 2; transition: width .55s var(--e-spring);
}
.pcard:hover .pcard-line { width: 100%; }

/* ── [10] PROJELER ──────────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }

.proj-card {
    text-decoration: none; display: block;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
    padding: 2.2rem; color: var(--fg);
    transition: transform .5s var(--e-spring), background .4s ease, border-color .4s ease, box-shadow .4s ease;
    cursor: none; position: relative; overflow: hidden; color: var(--fg);
}
.proj-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); box-shadow: 0 24px 50px rgba(0,0,0,0.65); }

.proj-card--empty {
    border-style: dashed; border-color: rgba(255,255,255,0.04);
    opacity: 0.22; display: flex; align-items: center; justify-content: center; min-height: 160px;
}
.proj-card-empty-label { font-family: 'DM Mono', monospace; font-size: 0.63rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

.proj-logo { display: block; height: 50px; max-width: 100%; object-fit: contain; margin: 0 0 1.4rem; transition: transform .5s var(--e-spring); will-change: transform; }
.proj-card:hover .proj-logo { transform: scale(1.04) translateY(-2px); }

.proj-tag   { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 1rem; }
.proj-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); letter-spacing: -0.015em; }
.proj-desc  { font-size: 0.83rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.3rem; }
.proj-link  { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.13em; color: rgba(255,255,255,0.25); transition: color .3s ease; }
.proj-card:hover .proj-link { color: rgba(255,255,255,0.65); }
/* Yakında linki — hafif pulse */
.proj-link--soon {
    color: rgba(255,255,255,0.35);
    animation: soonPulse 2.5s ease-in-out infinite;
}
@keyframes soonPulse {
    0%, 100% { opacity: 0.35; }
    50%       { opacity: 0.7; }
}

/* ── [11] UPDATE MODAL ──────────────────────────────────── */
#update-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.82); backdrop-filter: blur(0px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .6s var(--e-out), backdrop-filter .6s ease, visibility .6s;
}
#update-screen.active  { opacity: 1; visibility: visible; backdrop-filter: blur(16px) saturate(150%); }
#update-screen.leaving { opacity: 0; backdrop-filter: blur(0px); pointer-events: none; }

.update-box {
    width: min(440px, 90vw); background: rgba(8,8,8,0.96);
    border: 1px solid rgba(255,255,255,0.07); border-radius: 4px; padding: 2.4rem; position: relative;
    transform: translateY(20px) scale(.98); transition: transform .7s var(--e-out);
    backdrop-filter: blur(20px);
}
#update-screen.active .update-box { transform: translateY(0) scale(1); }
.update-header span { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.update-title { font-size: 1.5rem; font-weight: 800; margin: .5rem 0 1.8rem; color: rgba(255,255,255,0.92); letter-spacing: -0.02em; }
.update-list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2rem; list-style: none; }
.update-item { font-size: 0.83rem; color: rgba(255,255,255,0.38); line-height: 1.6; opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .4s var(--e-out); }
#update-screen.active .update-item { opacity: 1; transform: translateX(0); }
#update-screen.active .update-item:nth-child(1) { transition-delay: .07s; }
#update-screen.active .update-item:nth-child(2) { transition-delay: .14s; }
#update-screen.active .update-item:nth-child(3) { transition-delay: .21s; }
#update-screen.active .update-item:nth-child(4) { transition-delay: .28s; }
#update-screen.active .update-item:nth-child(5) { transition-delay: .35s; }
#update-screen.active .update-item:nth-child(6) { transition-delay: .42s; }
.update-footer-btns { display: flex; gap: 8px; }
.update-close-btn { flex: 1; padding: 12px; font-family: 'Syne', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.12em; border: none; border-radius: 2px; cursor: pointer; transition: transform .4s var(--e-spring), box-shadow .3s ease; }
.update-close-btn:not(.secondary) { background: rgba(255,255,255,0.92); color: #000; }
.update-close-btn.secondary { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); }
.update-close-btn:hover  { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.5); }
.update-close-btn:active { transform: scale(.97); transition-duration: .1s; }

/* Kopyala butonu */
.copy-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    background: none; border: none;
    cursor: pointer; padding: 0;
    transition: color .3s ease;
}
.copy-btn:hover { color: rgba(255,255,255,0.6); }
.copy-btn i { font-size: 0.65rem; }

/* Kopyalandı bildirimi */
.copy-toast {
    position: fixed;
    /* footer ~60px yüksekliğinin tam üstünde */
    bottom: 60px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 8px 18px;
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.16em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s var(--e-out);
}
.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── [12] FOOTER ────────────────────────────────────────── */
footer {
    position: relative; z-index: 10; padding: 1.6rem 8vw;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    /* Navbar ile aynı cam efekti ama üstten ışık — footer olduğu belli */
    background: linear-gradient(
        0deg,
        rgba(255,255,255,0.04) 0%,
        rgba(0,0,0,0.55) 100%
    );
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-top: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 0 40px rgba(255,255,255,0.02), 0 -1px 0 rgba(255,255,255,0.05);
}
.foot-copy { font-family: 'DM Mono', monospace; font-size: 0.54rem; color: rgba(255,255,255,0.14); letter-spacing: 0.14em; }


/* ── HERO META ── */
.hero-meta {
    display: flex; align-items: center; gap: 0.6rem;
    opacity: 0; animation: fadeUp .8s .58s both;
    margin-top: 1.2rem;
}
.hero-meta-item {
    font-family: 'DM Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: rgba(255,255,255,0.22);
    display: flex; align-items: center; gap: 6px;
}
.hero-meta-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: statusPulse 2.5s ease-in-out infinite;
}
@keyframes statusPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
.hero-meta-sep { color: rgba(255,255,255,0.1); font-size: 0.5rem; }




/* ── Arkadia footer ── */
.arkadia-footer {
    display: flex; align-items: center;
    justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.online-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: 'DM Mono', monospace;
    font-size: 0.52rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.online-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74,222,128,0.7);
    animation: onlinePulse 2s ease-in-out infinite;
}
@keyframes onlinePulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

/* ── Gate tag ── */
.gate-tag {
    position: absolute; bottom: 1.5rem; right: 2rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.48rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(255,255,255,0.12);
}


/* ── DISCORD KART ── */
.discord-card {
    display: grid; grid-template-columns: auto 1fr;
    gap: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.1rem 1.3rem;
    margin-top: 1.6rem;
    max-width: 380px;
    opacity: 0; animation: fadeUp .8s .65s both;
    transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.discord-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

/* Avatar */
.discord-avatar-wrap {
    position: relative; width: 52px; height: 52px; flex-shrink: 0;
}
.discord-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    object-fit: cover; border: 2px solid rgba(255,255,255,0.1);
    display: block;
}
.discord-status-dot {
    position: absolute; bottom: 1px; right: 1px;
    width: 13px; height: 13px; border-radius: 50%;
    border: 2px solid #000;
    background: #747f8d; /* offline default */
    transition: background .4s ease;
}
.discord-status-dot.online   { background: #43b581; box-shadow: 0 0 6px rgba(67,181,129,0.6); }
.discord-status-dot.idle     { background: #faa61a; box-shadow: 0 0 6px rgba(250,166,26,0.6); }
.discord-status-dot.dnd      { background: #f04747; box-shadow: 0 0 6px rgba(240,71,71,0.6); }
.discord-status-dot.offline  { background: #747f8d; }

/* Sağ taraf */
.discord-card-right { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; transition: none; }
.discord-top { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.discord-name {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 0.95rem; color: rgba(255,255,255,0.9);
    letter-spacing: -0.01em;
}
.discord-status-text {
    font-family: 'DM Mono', monospace;
    font-size: 0.55rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* Aktivite */
.discord-activity,
.discord-spotify,
.discord-idle-msg,
.discord-offline {
    overflow: hidden;
    animation: dcSlideIn .35s var(--e-out) both;
}
@keyframes dcSlideIn {
    from { opacity: 0; transform: translateY(6px); max-height: 0; }
    to   { opacity: 1; transform: translateY(0);   max-height: 120px; }
}
.discord-activity {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 0.65rem 0.8rem;
    margin-top: 0.5rem; display: none;
}
.discord-activity.visible { display: block; }

.discord-spotify {
    background: rgba(30,215,96,0.05);
    border: 1px solid rgba(30,215,96,0.18);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    margin-top: 0.5rem;
    display: none;
}
.discord-spotify.visible { display: block; }

.discord-idle-msg { margin-top: 0.5rem; display: none; }
.discord-idle-msg.visible { display: block; }

.discord-offline { margin-top: 0.5rem; display: none; }
.discord-offline.visible { display: block; }
.discord-activity-inner { display: flex; align-items: center; gap: 0.8rem; }
.discord-activity-img {
    width: 40px; height: 40px; border-radius: 6px;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.08);
}
.discord-activity-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.discord-activity-type {
    font-size: 0.75rem; font-weight: 700;
    color: rgba(255,255,255,0.85); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 6px;
}
/* Oynuyor / Yayın yapıyor badge */
.discord-activity-type::after {
    content: attr(data-label);
    font-family: 'DM Mono', monospace;
    font-size: 0.48rem; font-weight: 400;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2px 6px; border-radius: 4px;
    white-space: nowrap; flex-shrink: 0;
}
.discord-activity-type:not([data-label])::after,
.discord-activity-type[data-label=""]::after { display: none; }
.discord-activity-name {
    font-family: 'DM Mono', monospace; font-size: 0.58rem;
    color: rgba(255,255,255,0.45); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.discord-activity-detail {
    font-family: 'DM Mono', monospace; font-size: 0.55rem;
    color: rgba(255,255,255,0.28); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

/* Spotify */


.discord-idle-msg {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; padding: 0.65rem 0.9rem;
}
.discord-offline {
    background: rgba(116,127,141,0.08);
    border: 1px solid rgba(116,127,141,0.2);
    border-radius: 10px; padding: 0.65rem 0.9rem;
}
.discord-spotify-inner { display: flex; align-items: center; gap: 0.8rem; }
.discord-spotify-img {
    width: 40px; height: 40px; border-radius: 4px;
    object-fit: cover; flex-shrink: 0;
}
.discord-spotify-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.discord-spotify-label {
    font-family: 'DM Mono', monospace; font-size: 0.5rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #1ed760;
}
.discord-spotify-label i { margin-right: 3px; }
.discord-spotify-song {
    font-size: 0.75rem; font-weight: 700;
    color: rgba(255,255,255,0.85); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.discord-spotify-artist {
    font-family: 'DM Mono', monospace; font-size: 0.58rem;
    color: rgba(255,255,255,0.35); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}



.dc-idle-txt {
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3); font-style: italic;
}


.dc-offline-txt {
    font-family: 'DM Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.28); font-style: italic;
}

/* ── [13] KEYFRAMES ─────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gateGlowPulse { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.2); opacity: 1; } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes shimmer { from { transform: translateX(-80px); } to { transform: translateX(80px); } }
@keyframes rotateCover { to { transform: rotate(360deg); } }
@keyframes eq { 0%,100% { height: 2px; } 50% { height: 12px; } }
@keyframes blink { 0%,100% { opacity: .45; } 50% { opacity: .85; } }
@keyframes noticePulse { 0%,100% { opacity: .4; } 50% { opacity: .8; } }

/* ── [14] RESPONSIVE ≤ 868px ────────────────────────────── */
@media (max-width: 868px) {

    body { cursor: auto !important; }
    #cur, #cur2 { display: none !important; }

    /* Nav */
    nav { padding: 0 5vw; height: 60px; }
    .time-widget { display: none; }
    #mobile-menu { display: flex; }
    .mobile-notice { display: flex; }

    /* Mobil menü */
    .nav-r {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100vh;
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.04) 0%,
            rgba(0,0,0,0.92) 100%
        );
        backdrop-filter: blur(24px) saturate(160%);
        -webkit-backdrop-filter: blur(24px) saturate(160%);
        display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        gap: 2.4rem; z-index: 999;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform .5s cubic-bezier(.77,0,.18,1);
        list-style: none;
    }
    .nav-r.active { transform: translateY(0); pointer-events: all; }
    .nav-r li { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s var(--e-out); }
    .nav-r.active li { opacity: 1; transform: translateY(0); }
    .nav-r.active li:nth-child(1) { transition-delay: .15s; }
    .nav-r.active li:nth-child(2) { transition-delay: .22s; }
    .nav-r.active li:nth-child(3) { transition-delay: .29s; }
    .nav-r a { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.85); text-decoration: none; }
    .nav-r a::after { display: none; }
    .nav-r a.active { color: #fff; }

    /* Hero */
    #hero { padding: 80px 6vw 8vw; justify-content: center; align-items: center; text-align: center; gap: 0; position: relative; }
    .hero-label { display: none; }
    .hero-title { font-size: clamp(2.4rem, 11vw, 4rem); line-height: 0.95; margin-bottom: 1rem; }
    .hero-bio { max-width: 88%; font-size: 0.88rem; line-height: 1.7; margin: 0 auto 1.6rem; }
    .hero-actions { align-items: center; width: 100%; justify-content: center; gap: 0; }
    .hero-meta { justify-content: center; flex-wrap: wrap; }
    .btn { font-size: 0.68rem; padding: .8rem 2rem; }
    .typing-cursor { font-size: 0.9em; }
    .scroll-hint { display: none !important; }

    /* Sections */
    .sec { padding: 10vw 6vw; }
    .divider { margin: 0 6vw; }
    .sec-hd { gap: 0.8rem; margin-bottom: 1.4rem; }
    .sec-hd h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
    .sec-num { display: none; }
    .sec-hd::after { display: none; }

    /* About */
    .about-grid { grid-template-columns: 1fr !important; gap: 0.7rem; margin-bottom: 0.7rem; }
    .info-card { padding: 1.3rem; }
    .info-card .ic-label { font-size: 0.52rem; margin-bottom: 0.7rem; }
    .info-card .ic-val { font-size: 0.95rem; }
    .info-card .ic-sub { font-size: 0.8rem; line-height: 1.6; }

    /* Arkadia */
    .arkadia-card { grid-template-columns: 1fr; }
    .arkadia-logo-wrap { width: 100%; min-height: 70px; max-height: 90px; padding: 1rem; }
    .arkadia-logo-wrap img { max-height: 50px; width: auto; }
    .arkadia-info { padding: 1rem 1.2rem; }
    .arkadia-info .ic-label { font-size: 0.52rem; }
    .arkadia-info .ic-val { font-size: 0.95rem; margin-bottom: 0.3rem; }
    .arkadia-info .ic-sub { font-size: 0.78rem; margin-bottom: 0.6rem; }
    .arkadia-link { font-size: 0.54rem; }

    /* Discord card mobil */
    .discord-card { padding: 1rem; gap: 0.8rem; max-width: 100%; margin-top: 1.2rem; border-radius: 12px; }
    .discord-idle-msg, .discord-offline { border-radius: 8px; }
    .discord-activity, .discord-spotify { border-radius: 8px; }
    .discord-avatar { width: 42px; height: 42px; }
    .discord-avatar-wrap { width: 42px; height: 42px; }
    .discord-name { font-size: 0.85rem; }
    .discord-activity-img, .discord-spotify-img { width: 32px; height: 32px; border-radius: 6px; }
    .discord-activity-name, .discord-spotify-song { font-size: 0.67rem; }
    .discord-idle-msg, .discord-offline { padding: 0.5rem 0.7rem; }
    .dc-idle-txt, .dc-offline-txt { font-size: 0.54rem; }
    .arkadia-footer { flex-direction: column; gap: 0.4rem; align-items: flex-start; }

    /* Projeler */
    .proj-grid { grid-template-columns: 1fr !important; gap: 0.8rem; }
    .proj-card { padding: 1.4rem; }
    .proj-logo { height: 36px; margin-bottom: 1rem; }
    .proj-tag { font-size: 0.52rem; margin-bottom: 0.7rem; }
    .proj-title { font-size: 0.95rem; }
    .proj-desc { font-size: 0.78rem; line-height: 1.65; margin-bottom: 1rem; }
    .proj-link { font-size: 0.56rem; }
    .proj-card--empty { min-height: 80px; }

    /* Platformlar */
    .platform-grid { grid-template-columns: 1fr 1fr !important; perspective: none; gap: 0.7rem; }
    .pcard { padding: 1.3rem 1.1rem 1.1rem; border-radius: 12px; transform: none !important; }
    .pcard-top { margin-bottom: 1.2rem; }
    .pcard-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 8px; }
    .pcard-name { font-size: 0.9rem; }
    .pcard-handle { font-size: 0.6rem; }
    .pcard-line { margin-top: 1.1rem; }

    /* Footer */
    footer { flex-direction: column; text-align: center; padding: 1.4rem 5vw; gap: 0.8rem; }
    .foot-links { justify-content: center; }
    .foot-copy { font-size: 0.5rem; }

    /* Müzik */
    #music-container { right: 1rem; bottom: calc(1rem + 36px + 10px); }
    #now-playing { padding: 6px 10px 6px 6px; gap: 8px; }
    #track-img { width: 28px; height: 28px; }
    #track-name { font-size: 0.65rem; }
    #track-artist { font-size: 0.52rem; }
    .volume-wrapper.visible { max-width: 80px; }
    #vol-slider { width: 55px; height: 5px; }
    #mbtn { width: 36px; height: 36px; }
    .music-tooltip { display: none; }
    #playlist-panel { width: 220px; bottom: calc(1rem + 36px + 10px); right: 1rem; transform: translateY(calc(-100% - 6px)) scale(0.97); }
    #playlist-panel.open { transform: translateY(calc(-100% - 6px)) scale(1); }
    .pl-item { padding: 7px 12px; }

    /* Totop */
    #totop { right: 1rem; bottom: 1rem; width: 36px; height: 36px; }

    /* Update */
    .update-box { width: 92%; padding: 1.4rem; max-height: 88vh; overflow-y: auto; }
    .update-footer-btns { flex-direction: column; }
    .update-close-btn { width: 100%; }

    /* Copy toast */
    .copy-toast { bottom: 5rem; font-size: 0.55rem; padding: 7px 14px; }

    /* Gate */
    .gate-corner { width: 28px; height: 28px; }
    .gate-corner.tl { top: 1.2rem; left: 1.2rem; }
    .gate-corner.tr { top: 1.2rem; right: 1.2rem; }
    .gate-corner.bl { bottom: 1.2rem; left: 1.2rem; }
    .gate-corner.br { bottom: 1.2rem; right: 1.2rem; }
}

/* ── [14b] TABLET 869–1024px ────────────────────────────── */
@media (max-width: 1024px) and (min-width: 869px) {
    .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hero-title { font-size: clamp(3rem, 9vw, 7rem); }
    .sec { padding: 5vw 7vw; }
    nav { padding: 0 5vw; }
    #playlist-panel { width: 240px; }
}

/* ── [15] RESPONSIVE ≤ 480px ────────────────────────────── */
@media (max-width: 480px) {
    nav { height: 56px; }
    #hero { padding: 70px 5vw 6vw; }
    .hero-title { font-size: clamp(1.9rem, 12vw, 2.6rem); }
    .hero-bio { font-size: 0.82rem; }
    .hero-meta { display: none; }
    .platform-grid { grid-template-columns: 1fr !important; }
    .sec { padding: 12vw 5vw; }
    .pcard { border-radius: 10px; }
    .proj-card--empty { display: none; }
    .about-grid { gap: 0.6rem; }
    .arkadia-footer { gap: 0.3rem; }

    /* Dokunmatik minimum boyutlar */
    .btn { min-height: 44px; display: inline-flex; align-items: center; }
    #mbtn { width: 44px; height: 44px; }
    #totop { right: .8rem; bottom: .8rem; width: 40px; height: 40px; }
    #music-container { right: 0.8rem; bottom: calc(0.8rem + 44px + 8px); }
    .volume-wrapper.visible { max-width: 90px; }
    #vol-slider { width: 65px; }
    #playlist-panel { width: 200px; }
    .gate-corner { display: none; }
    .gate-tag { display: none; }
}