/* Local Optimized Google Fonts for ibrahimarikan.com.tr */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-400-ab7c1a.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-400-ba1653.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-400-480c06.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-500-ab7c1a.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-500-ba1653.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-500-480c06.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-700-ab7c1a.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-700-ba1653.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/jetbrains-mono-700-480c06.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-400-fdf1d5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-400-9f6257.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-400-fdb05b.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-500-fdf1d5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-500-9f6257.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-500-fdb05b.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-600-fdf1d5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-600-9f6257.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-600-fdb05b.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-700-fdf1d5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-700-9f6257.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-700-fdb05b.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-800-fdf1d5.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-800-9f6257.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/plus-jakarta-sans-800-fdb05b.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* ==============================================================================
   ibrahimarikan.com.tr â€” Master Architecture Stylesheet
   Modern Component & Token Architecture (Dark / Light Adaptive)
   Strict Anti-AI ClichÃ©, Ultra-Precision Engineering
   ============================================================================== */

:root,
[data-theme="dark"] {
    --bg: #090c10;
    --bg-pattern: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    --card: #121721;
    --card-inner: #18202d;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.4);
    --text-title: #ffffff;
    --text-body: #cbd5e1;
    --text-muted: #8392a5;
    --accent-cyan: #38bdf8;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-indigo: #818cf8;
    --spotlight: rgba(56, 189, 248, 0.08);
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
    --bg: #f8fafc;
    --bg-pattern: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    --card: #ffffff;
    --card-inner: #f1f5f9;
    --border: #e2e8f0;
    --border-hover: rgba(2, 132, 199, 0.45);
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --accent-cyan: #0284c7;
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    --accent-rose: #e11d48;
    --accent-indigo: #4f46e5;
    --spotlight: rgba(2, 132, 199, 0.06);
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    max-width: 100%;
    background-color: var(--bg);
    background-image: var(--bg-pattern);
    background-size: 24px 24px;
    color: var(--text-body);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    padding: 0 0 80px;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
}

/* Buttery-Smooth Theme Transition (Triggered only during manual theme toggle) */
html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
    transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                fill 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                stroke 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-delay: 0s !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==============================================================================
   Wave Header & Brand Hero
   ============================================================================== */
.wave-header-hero {
    position: relative;
    width: 100%;
    background-color: #0b1120;
    background-image: linear-gradient(180deg, #0b1120 0%, #080d19 45%, #060911 100%);
    padding-top: 22px;
    margin-bottom: 24px;
    overflow: hidden;
    z-index: 1;
}

.wave-header-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 50%, #f8fafc 100%);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

[data-theme="light"] .wave-header-hero::after {
    opacity: 1;
}

.wave-header-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 15%;
    width: 70%;
    height: 160%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .wave-header-hero::before {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 65%);
}

.wave-header-inner {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

/* Çok Katmanlı Akıcı Parallaks Dalga Konteyneri */
.ocean-waves-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 75px;
    margin-bottom: -7px;
    min-height: 55px;
    max-height: 100px;
}

.ocean-waves-svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.wave-parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
    transition: fill 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wave-parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 9s;
    fill: rgba(56, 189, 248, 0.08);
}

[data-theme="light"] .wave-parallax>use:nth-child(1) {
    fill: rgba(2, 132, 199, 0.08);
}

.wave-parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 13s;
    fill: rgba(129, 140, 248, 0.14);
}

[data-theme="light"] .wave-parallax>use:nth-child(2) {
    fill: rgba(99, 102, 241, 0.12);
}

.wave-parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 18s;
    fill: rgba(56, 189, 248, 0.22);
}

[data-theme="light"] .wave-parallax>use:nth-child(3) {
    fill: rgba(2, 132, 199, 0.2);
}

.wave-parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 25s;
    fill: var(--bg);
    transition: fill 0.2s ease;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    .ocean-waves-wrap {
        height: 50px;
        min-height: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wave-parallax>use {
        animation: none !important;
    }
}

/* Header ElemanlarÄ± */
.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-title);
    text-decoration: none;
}

.site-brand svg,
.site-brand img {
    height: 48px;
    width: auto;
    max-width: 320px;
    display: block;
    object-fit: contain;
}

.site-brand svg .logo-text-main {
    fill: #f8fafc;
    transition: fill 0.25s ease;
}

.site-brand svg .logo-term-box {
    fill: #0f172a;
    stroke: #334155;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.site-brand svg .logo-text-sub {
    fill: #64748b;
    transition: fill 0.25s ease;
}

[data-theme="light"] .site-brand svg .logo-text-main {
    fill: #0f172a;
}

[data-theme="light"] .site-brand svg .logo-term-box {
    fill: #f8fafc;
    stroke: #cbd5e1;
}

[data-theme="light"] .site-brand svg .logo-text-sub {
    fill: #475569;
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.patreon-header-btn,
.instagram-header-btn,
.github-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: auto;
    height: auto;
}

.patreon-header-btn {
    color: #ff5e5b;
    background: rgba(255, 94, 91, 0.1);
    border: 1px solid rgba(255, 94, 91, 0.25);
}

.patreon-header-btn:hover {
    background: rgba(255, 94, 91, 0.2);
    border-color: rgba(255, 94, 91, 0.45);
    color: #ff7673;
    transform: translateY(-1px);
}

.instagram-header-btn {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.28);
}

.instagram-header-btn:hover {
    background: rgba(244, 63, 94, 0.22);
    border-color: rgba(244, 63, 94, 0.55);
    color: #fb7185;
    transform: translateY(-1px);
}

.github-header-btn {
    color: var(--text-title);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-mono);
}

[data-theme="light"] .github-header-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-title);
}

.github-header-btn:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-1px);
}

.patreon-header-btn svg,
.instagram-header-btn svg,
.github-header-btn svg {
    flex-shrink: 0;
}

.theme-btn {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text-title);
    width: 36px;
    height: 36px;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-btn svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-btn:active svg {
    transform: rotate(90deg) scale(0.85);
}

.theme-btn:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

/* ==============================================================================
   Kart & Grid Mimarisi
   ============================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

/* Proje Kartlarına Özel Vurgu & Tam Tıklanabilirlik (2.A, 2.B, 2.C) */
.project-card-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease,
                background-color 0.25s ease;
}

/* 2.A — Üst Kenar Aksan Çizgisi (Top Rim Accent Line) */
.project-card-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--accent-cyan) 50%, transparent 95%);
    opacity: 0.55;
    transition: opacity 0.28s ease, height 0.28s ease, background 0.28s ease;
    pointer-events: none;
    z-index: 2;
}

/* 2.C — Canlı Etkileşim & Hover Elevation */
.project-card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.48);
    box-shadow: 0 22px 46px -12px rgba(0, 0, 0, 0.5), 0 0 28px -4px rgba(2, 132, 199, 0.22);
}

.project-card-item:hover::after {
    opacity: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
}

.project-card-item:hover .card-heading {
    color: var(--accent-cyan);
    transition: color 0.2s ease;
}

.project-card-item:hover .project-details-btn {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
}

/* 2.B — Proje Başlığı Soluna Teknik Vektörel Rozet */
.project-heading-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.project-title-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.project-card-item:hover .project-title-badge {
    transform: scale(1.08);
    box-shadow: 0 0 14px currentColor;
}

/* 2.C — Köşe İpucu / İncele Göstergesi */
.card-corner-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-cyan);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.card-corner-hint svg {
    transition: transform 0.2s ease;
}

.project-card-item:hover .card-corner-hint {
    opacity: 1;
    transform: translateX(0);
}

.project-card-item:hover .card-corner-hint svg {
    transform: translate(2px, -2px);
}

/* Mouse Spotlight Glow */
.portfolio-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), var(--spotlight), transparent 60%);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover::before {
    opacity: 1;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

/* Tipografi & Etiketler */
.card-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-heading {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-title);
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.card-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Profil KartÄ± */
.profile-header-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    background: #182030;
    flex-shrink: 0;
}

.name-block h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-title);
    line-height: 1.15;
}

.name-block .role-tag {
    font-size: 14px;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-top: 4px;
}

.name-block .sub-tag {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
    font-family: var(--font-mono);
}

.superpower-banner {
    background: var(--card-inner);
    border: 1px solid var(--border);
    border-left: 3.5px solid var(--accent-emerald);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-body);
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.action-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 18px;
    width: 100%;
}

.action-row .btn-action {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    padding: 10px 12px;
}

@media (max-width: 768px) {
    .action-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .action-row {
        grid-template-columns: 1fr;
    }
}

.btn-action {
    font-family: inherit;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    outline: none;
}

.btn-action-primary {
    background: #f8fafc;
    color: #090c10;
    border: 1px solid #f8fafc;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.btn-action-primary:hover {
    background: #ffffff;
    border-color: #38bdf8;
    color: #090c10;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
}

.btn-action-primary svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-action-primary:hover svg {
    transform: scale(1.1);
}

[data-theme="light"] .btn-action-primary {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .btn-action-primary:hover {
    background: #1e293b;
    border-color: #0284c7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-action-secondary {
    background: var(--card-inner);
    color: var(--text-title);
    border-color: var(--border);
}

.btn-action-secondary:hover {
    border-color: var(--border-hover);
    color: var(--accent-cyan);
}

/* Saat & Ä°statistik KartÄ± */
.clock-val {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.02em;
    margin: 8px 0 2px;
}

.date-val {
    font-size: 12.5px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.stats-mini-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.stat-pill {
    background: var(--card-inner);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
}

.stat-pill .num {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 800;
    color: var(--text-title);
    line-height: 1.2;
}

.stat-pill .lbl {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.status-badge-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    padding: 4px 10px;
    border-radius: 2em;
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 14px;
    width: fit-content;
}

.pulse-circle {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Mimari Telemetri Veri HattÄ± & Metrikleri */
.tech-spec-matrix {
    background: var(--card-inner);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.spec-node {
    flex: 1;
    text-align: left;
}

.spec-node-lbl {
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
    margin-bottom: 4px;
}

.spec-node-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-title);
}

.spec-node-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 2px;
}

.spec-arrow {
    color: var(--text-muted);
    opacity: 0.4;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Proje Filtreleme & Ã‡ipler */
.projects-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-pill {
    background: var(--card-inner);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--text-title);
    color: var(--bg);
    border-color: var(--text-title);
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 11.5px;
    font-family: var(--font-mono);
    color: var(--text-body);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.chip:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text-title);
    background: rgba(255, 255, 255, 0.06);
}

/* DonanÄ±m LaboratuvarÄ± Matrix */
.hw-lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.hw-lab-item {
    background: var(--card-inner);
    border: 1px solid var(--border);
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-body);
}



/* Proje KartÄ± Ä°Ã§ Alt Eylemleri */
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}

.project-details-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-body);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.project-details-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.06);
    transform: translateY(-1px);
}

.project-links-group {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.project-link-btn {
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Siteye Git Cerceveli Buton */
.project-link-demo {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
}

.project-link-demo:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: var(--accent-emerald);
    color: #34d399;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.project-link-demo svg {
    transition: transform 0.2s ease;
}

.project-link-demo:hover svg {
    transform: translate(1px, -1px);
}

/* GitHub Cerceveli Buton */
.project-link-github {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-cyan);
}

.project-link-github:hover {
    background: rgba(56, 189, 248, 0.16);
    border-color: var(--accent-cyan);
    color: #7dd3fc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}

.project-link-github svg {
    transition: transform 0.2s ease;
}

.project-link-github:hover svg {
    transform: translate(1px, -1px);
}

/* Light Mode Cerceve Dengelemesi */
[data-theme="light"] .project-link-demo {
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(5, 150, 105, 0.35);
    color: #059669;
}

[data-theme="light"] .project-link-demo:hover {
    background: rgba(16, 185, 129, 0.18);
    border-color: #059669;
    color: #047857;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

[data-theme="light"] .project-link-github {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.35);
    color: #0284c7;
}

[data-theme="light"] .project-link-github:hover {
    background: rgba(2, 132, 199, 0.16);
    border-color: #0284c7;
    color: #0369a1;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

/* Modal Dialog */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--card);
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    padding: 28px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--card-inner);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.modal-close:hover {
    color: #ffffff;
    border-color: var(--text-title);
}

/* Form DÃ¼zeni */
.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.b-field {
    width: 100%;
    background: var(--card-inner);
    border: 1px solid var(--border);
    color: var(--text-title);
    padding: 11px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s;
}

.b-field:focus {
    border-color: var(--accent-cyan);
}

textarea.b-field {
    min-height: 100px;
    resize: vertical;
}

/* Footer */
.site-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer a:hover {
    color: var(--accent-cyan);
}

/* ==============================================================================
   Kusursuz Responsive Mimari (Mobile, Tablet, Desktop)
   ============================================================================== */

/* 1. Tablet & KÃ¼Ã§Ã¼k Ekranlar (<= 1024px) */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .span-2,
    .span-3 {
        grid-column: span 1;
    }

    .form-grid-row {
        grid-template-columns: 1fr;
    }

    .tech-spec-matrix {
        padding: 12px 14px;
        gap: 8px;
    }
}

/* 2. Tablet Dikey & BÃ¼yÃ¼k Telefonlar (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .wave-header-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding-bottom: 20px;
    }

    .site-brand {
        justify-content: center;
        margin: 0 auto;
    }

    .header-actions {
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
    }

    .portfolio-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .tech-spec-matrix {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .spec-arrow {
        display: none;
    }

    .action-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ocean-waves-wrap {
        height: 46px;
    }

    .back-to-top {
        bottom: 20px;
        right: 18px;
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
}

/* 3. Standart AkÄ±llÄ± Telefonlar (<= 540px) */
@media (max-width: 540px) {
    .profile-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .name-block h1 {
        font-size: 23px;
    }

    .name-block .role-tag {
        font-size: 13.5px;
    }

    .wave-header-inner {
        gap: 12px;
        padding-bottom: 16px;
    }

    .site-brand svg,
    .site-brand img {
        height: 38px;
        max-width: 210px;
    }

    .header-actions {
        gap: 7px;
    }

    /* Mobilde header butonları: İkon + Metin birlikte görünür ve ortalı */
    .patreon-header-btn,
    .instagram-header-btn,
    .github-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        font-size: 11.5px;
        border-radius: 8px;
        font-weight: 600;
        white-space: nowrap;
    }

    .patreon-header-btn span,
    .instagram-header-btn span,
    .github-header-btn span {
        display: inline-block;
    }

    .theme-btn {
        width: 33px;
        height: 33px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .portfolio-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .card-heading {
        font-size: 17.5px;
    }

    .card-desc {
        font-size: 13px;
    }

    .modal-box {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* 4. KÃ¼Ã§Ã¼k / Kompakt Telefonlar (<= 480px) */
@media (max-width: 480px) {
    .hw-lab-grid {
        grid-template-columns: 1fr;
    }

    .stats-mini-matrix {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .stat-pill {
        padding: 7px 6px;
    }

    .stat-pill .num {
        font-size: 15px;
    }

    .stat-pill .lbl {
        font-size: 10px;
    }

    .project-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .project-details-btn,
    .project-links-group {
        width: 100%;
        justify-content: center;
    }

    .project-link-btn {
        flex: 1;
        justify-content: center;
    }
}

/* 5. Ekstra Dar Ekranlar (<= 420px) */
@media (max-width: 420px) {
    .site-brand svg,
    .site-brand img {
        height: 34px;
        max-width: 185px;
    }

    .header-actions {
        gap: 5px;
    }

    .patreon-header-btn,
    .instagram-header-btn,
    .github-header-btn {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .theme-btn {
        width: 31px;
        height: 31px;
        border-radius: 7px;
    }

    .action-row {
        grid-template-columns: 1fr;
    }

    .projects-filter-bar {
        gap: 6px;
    }

    .filter-pill {
        padding: 4px 10px;
        font-size: 11px;
    }

    .superpower-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Yukarı Çık (Back to Top) Floating Butonu */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease,
                box-shadow 0.25s ease;
    outline: none;
    background: rgba(18, 23, 33, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-title);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.25);
}

.back-to-top:active {
    transform: translateY(0) scale(0.92);
}

[data-theme="light"] .back-to-top {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-title);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .back-to-top:hover {
    background: rgba(2, 132, 199, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.2);
}


