/* ========================================
   KKÜ MEDYA — "Neon Campus" Design System
   Koyu arka plan · Multi-color gökkuşağı · Glassmorphism
   Oyunsu & enerjik kampüs ruhu
   ======================================== */

/* --- Design Tokens --- */
:root {
    /* Koyu arka plan sistemi */
    --bg-deep: #07070e;
    --bg-base: #0c0c18;
    --bg-surface: #111122;
    --bg-elevated: #181830;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    /* Glass efekti */
    --glass: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);

    /* Metin */
    --text-primary: #F0F0F5;
    --text-secondary: #9595B2;
    --text-muted: #7A7A96;
    --text-inverse: #07070e;

    /* GÖKKUŞAĞI — Capcanlı, doygun neon tonlar */
    --neon-orange: #FF5E1A;
    --neon-pink: #FF1493;
    --neon-purple: #BF5AF2;
    --neon-blue: #5B7FFF;
    --neon-cyan: #00D4FF;
    --neon-teal: #00ECBF;
    --neon-green: #30D158;
    --neon-yellow: #FFD60A;
    --neon-red: #FF453A;

    /* Gradient koleksiyonu — elektrik gibi canlı */
    --grad-rainbow: linear-gradient(135deg, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493);
    --grad-warm: linear-gradient(135deg, #FF5E1A 0%, #FF1493 100%);
    --grad-cool: linear-gradient(135deg, #5B7FFF 0%, #BF5AF2 100%);
    --grad-fresh: linear-gradient(135deg, #00ECBF 0%, #30D158 100%);
    --grad-sunset: linear-gradient(135deg, #FF1493 0%, #FFD60A 100%);
    --grad-ocean: linear-gradient(135deg, #00D4FF 0%, #5B7FFF 100%);
    --grad-candy: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493);
    --grad-hero: linear-gradient(160deg, #07070e 0%, #0c0c18 30%, #12102a 60%, #0e1a2e 100%);

    /* Modül renkleri */
    --mod-etkinlik: #FF5E1A;
    --mod-paste: #00D4FF;
    --mod-rehber: #BF5AF2;
    --mod-universite: #5B7FFF;
    --mod-kesfet: #30D158;
    --mod-blog: #FF1493;
    --mod-sponsor: #FFD60A;

    /* Glow efektleri */
    --glow-orange: 0 0 40px rgba(255, 107, 53, 0.2);
    --glow-pink: 0 0 40px rgba(255, 45, 135, 0.2);
    --glow-purple: 0 0 40px rgba(168, 85, 247, 0.2);
    --glow-blue: 0 0 40px rgba(59, 130, 246, 0.2);
    --glow-teal: 0 0 40px rgba(20, 184, 166, 0.2);

    /* Paste renkleri — koyu temada doygun & canlı */
    --paste-1: #E84D1A; --paste-2: #0891B2; --paste-3: #2563EB; --paste-4: #059669;
    --paste-5: #CA8A04; --paste-6: #9333EA; --paste-7: #0D9488; --paste-8: #D97706;
    --paste-9: #7C3AED; --paste-10: #0284C7; --paste-11: #EA580C; --paste-12: #16A34A;
    --paste-13: #DB2777; --paste-14: #1D4ED8; --paste-15: #BF5AF2;

    /* Sinyal / Accent */
    --signal: #FF5E1A;
    --stone-300: #6B6B80;
    --stone-500: #4A4A5E;
    --paper: #F0F0F5;
    --ink: #07070e;

    /* Durum */
    --success: #30D158;
    --warning: #FFD60A;
    --error: #FF453A;
    --info: #5B7FFF;

    /* Code theme */
    --code-bg: #0f0f1f;
    --code-surface: #181830;
    --code-text: #CDD6F4;

    /* Tipografi */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --text-hero: clamp(3.5rem, 10vw, 8rem);
    --text-h1: clamp(2.5rem, 6vw, 4.5rem);
    --text-h2: clamp(2rem, 4vw, 3rem);
    --text-h3: clamp(1.5rem, 3vw, 2rem);
    --text-h4: clamp(1.25rem, 2vw, 1.5rem);
    --text-body: 1rem;
    --text-sm: 0.875rem;
    --text-xs: 0.75rem;

    /* Ek tipografi */
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;

    /* Spacing */
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
    --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
    --space-12: 3rem; --space-16: 4rem;
    --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;

    /* Shadows — cift katman: ambient + depth */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.25);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 500ms;

    --container: 1280px;
    --container-narrow: 768px;
    --header-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body); font-size: var(--text-body); line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-deep);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
    position: relative;
    /* Body text — cok ince shadow, koyu arka planda okunabilirlik artisi */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
/* Arka plan görseli — beyaz, soluk, fixed */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: -1;
    background: url('/assets/img/hero-bg.png') center/cover no-repeat;
    filter: invert(1) grayscale(1) brightness(0.15) contrast(0.6);
    opacity: 0.12;
    pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
img.emoji { display: inline; width: 1.2em; height: 1.2em; max-width: 1.2em; margin: 0 0.05em; vertical-align: -0.15em; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }
/* Selection — neon pink vurgu */
::selection { background: rgba(255,45,135,0.35); color: var(--text-primary); }
::-moz-selection { background: rgba(255,45,135,0.35); color: var(--text-primary); }

/* --- Container --- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.container--narrow { max-width: var(--container-narrow); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; }
/* Tipografi derinligi — basliklar koyu arka planda katmanli text-shadow ile okunabilirlik ve derinlik kazanir */
h1 { font-size: var(--text-h1); text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3); }
h2 { font-size: var(--text-h2); text-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2); }
h3 { font-size: var(--text-h3); text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 3px 12px rgba(0,0,0,0.15); }
h4 { font-size: var(--text-h4); text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
/* Hero display — guclu glow + derinlik shadow */
.text-hero { font-size: var(--text-hero); line-height: 0.95; letter-spacing: -0.05em; text-shadow: 0 0 40px rgba(255,107,53,0.15), 0 0 80px rgba(255,45,135,0.08), 0 4px 8px rgba(0,0,0,0.6), 0 12px 40px rgba(0,0,0,0.4); }

/* Rainbow gradient text — tam gökkuşağı */
.text-gradient {
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s linear infinite;
}
.text-gradient--rainbow {
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
    font-style: italic;
    display: block;
    line-height: 1.3;
    padding-bottom: 0.1em;
    overflow: visible;
}
.text-signal { color: var(--neon-orange); }

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-height);
    background: rgba(7, 7, 14, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    /* Alt kenar — ince gradient isik cizgisi */
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 0 rgba(255,107,53,0.06), 0 1px 20px -4px rgba(255,45,135,0.08);
    transition: background var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.site-header--scrolled { background: rgba(7, 7, 14, 0.9); }
.site-header--hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: var(--space-8); }

.nav__logo { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
/* Text logo mark gizli */
.nav__logo-mark { display: none; }

/* Logo — PNG'yi mask olarak kullan, arkasına akan gradient koy */
.nav__logo-icon {
    display: inline-block; flex-shrink: 0;
    width: 48px; height: 48px;
    /* Akan gradient — logo şekli olarak maskeleniyor */
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%;
    animation: gradient-shift 5s linear infinite;
    /* Logo PNG mask — kırmızı kısımlar görünür, siyah kısımlar şeffaf */
    -webkit-mask-image: url('/assets/img/logo.png');
    mask-image: url('/assets/img/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: transform var(--duration-normal) var(--ease-spring);
}
.nav__logo:hover .nav__logo-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.5));
}

/* Footer'da biraz daha büyük */
.footer__logo .nav__logo-icon {
    width: 56px; height: 56px;
}
.nav__logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-primary); }

.nav__menu { display: flex; align-items: center; gap: var(--space-1); }
.nav__link {
    padding: var(--space-2) var(--space-3); font-size: var(--text-sm); font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-md);
    transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out); position: relative;
}
.nav__link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--grad-candy); border-radius: 1px;
    transition: width var(--duration-normal) var(--ease-out); transform: translateX(-50%);
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 70%; }
.nav__link--active { color: var(--text-primary); font-weight: 600; }
.nav__link--active::after { width: 70%; }

.nav__link--dropdown { display: flex; align-items: center; gap: var(--space-1); }
.nav__chevron { transition: transform var(--duration-fast) var(--ease-out); }
.nav__dropdown { position: relative; }

.nav__submenu {
    position: absolute; top: 100%; left: -8px; min-width: 240px; padding: var(--space-2);
    background: rgba(17, 17, 34, 0.9); backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl); opacity: 0; visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: all var(--duration-normal) var(--ease-out);
}
.nav__dropdown:hover .nav__submenu,
.nav__dropdown .nav__link--dropdown[aria-expanded="true"] + .nav__submenu {
    opacity: 1; visibility: visible; transform: translateY(4px) scale(1);
}
.nav__dropdown:hover .nav__chevron { transform: rotate(180deg); }

.nav__sublink {
    display: block; padding: var(--space-2) var(--space-3); font-size: var(--text-sm);
    color: var(--text-secondary); border-radius: var(--radius-md);
    transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.nav__sublink:hover { color: var(--neon-orange); background: rgba(255, 107, 53, 0.08); transform: translateX(4px); }

.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__divider { height: 1px; background: var(--glass-border); margin: var(--space-1) 0; }
.nav__logout-btn { width: 100%; text-align: left; padding: var(--space-2) var(--space-3); font-size: var(--text-sm); color: var(--text-secondary); border-radius: var(--radius-md); background: none; border: none; cursor: pointer; transition: all var(--duration-fast); }
.nav__logout-btn:hover { color: var(--neon-orange); background: rgba(255,107,53,0.08); }

/* User menu */
.nav__user-menu { position: relative; }
.nav__user-btn { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-2); border-radius: var(--radius-full); transition: all var(--duration-fast); }
.nav__user-btn:hover { background: var(--glass); }
.nav__user-avatar {
    width: 34px; height: 34px; border-radius: var(--radius-full);
    background: linear-gradient(135deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 400%; animation: gradient-shift 5s linear infinite;
    color: white; display: grid; place-items: center;
    font-size: var(--text-sm); font-weight: 600;
    transition: transform var(--duration-normal) var(--ease-spring), box-shadow var(--duration-normal);
}
.nav__user-btn:hover .nav__user-avatar { transform: scale(1.1); box-shadow: var(--glow-orange); }
.nav__user-name { font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); display: none; }

.nav__user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; padding: var(--space-2);
    background: rgba(17, 17, 34, 0.95); backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.96);
    transition: all var(--duration-normal) var(--ease-out);
}
.nav__user-menu:hover .nav__user-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.nav__user-dropdown a { display: block; padding: var(--space-2) var(--space-3); font-size: var(--text-sm); color: var(--text-secondary); border-radius: var(--radius-md); transition: all var(--duration-fast); }
.nav__user-dropdown a:hover { color: var(--neon-orange); background: rgba(255, 107, 53, 0.08); }

/* Hamburger */
.nav__hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; }
.nav__hamburger-line { display: block; width: 100%; height: 2px; background: var(--text-primary); border-radius: 1px; transition: all var(--duration-normal) var(--ease-out); transform-origin: center; }
.nav__hamburger--open .nav__hamburger-line:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav__hamburger--open .nav__hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger--open .nav__hamburger-line:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
/* Buton — katmanli box-shadow, smooth gecis */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    padding: var(--space-3) var(--space-6); font-family: var(--font-body);
    font-size: var(--text-sm); font-weight: 600; line-height: 1;
    border-radius: var(--radius-full); cursor: pointer; white-space: nowrap;
    transition: box-shadow var(--duration-normal) var(--ease-out), background var(--duration-normal) var(--ease-out), color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
    position: relative;
}

/* Primary — cok katmanli: ambient + glow + depth */
.btn--primary {
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%; color: white; border: none;
    animation: gradient-shift 4s ease infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(255,45,135,0.25), 0 8px 32px rgba(255,45,135,0.15);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 8px 24px rgba(255,45,135,0.35), 0 16px 48px rgba(255,45,135,0.2), 0 0 60px rgba(255,45,135,0.1); }
/* Active — belirgin press efekti, shadow iceri cekilir */
.btn--primary:active { transform: translateY(1px) scale(0.97); box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(255,45,135,0.2); }

.btn--dark {
    background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--glass-border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.15);
}
.btn--dark:hover { background: var(--bg-elevated); border-color: var(--glass-border-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2); }
.btn--dark:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0,0,0,0.2); }

/* Ghost — ince backdrop-blur ile cam hissi */
.btn--ghost {
    background: transparent; color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--neon-orange); color: var(--neon-orange); background: rgba(255, 107, 53, 0.06); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,107,53,0.1); }
.btn--ghost:active { transform: translateY(1px); box-shadow: none; }

.btn--glass {
    background: var(--glass); color: var(--text-primary);
    border: 1px solid var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.2);
}
.btn--glass:hover { background: var(--glass-hover); border-color: var(--glass-border-hover); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 24px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.03); }
.btn--glass:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 1px 4px rgba(0,0,0,0.2); }

/* Rainbow — katmanli glow */
.btn--rainbow {
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%; color: white; border: none;
    animation: gradient-shift 5s linear infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(168,85,247,0.25), 0 8px 32px rgba(168,85,247,0.15);
}
.btn--rainbow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 8px 24px rgba(168,85,247,0.35), 0 16px 48px rgba(168,85,247,0.2), 0 0 60px rgba(168,85,247,0.1); }
.btn--rainbow:active { transform: translateY(1px) scale(0.97); box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(168,85,247,0.2); }

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-body); }

/* Disabled — soluk, tiklanamiyor */
.btn:disabled, .btn[disabled] {
    opacity: 0.45; cursor: not-allowed; pointer-events: none;
    transform: none; box-shadow: var(--shadow-sm);
}

/* Loading — spinner + disable */
.btn--loading {
    pointer-events: none; opacity: 0.7; position: relative;
    color: transparent;
}
.btn--loading::after {
    content: ''; position: absolute;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.25); border-top-color: white;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════
   GLASSMORPHISM CARDS
   ═══════════════════════════════════════ */
/* Kart — ince inner glow + katmanli derinlik */
.card {
    background: rgba(17, 17, 34, 0.65);
    border: 1.5px solid var(--glass-border); border-radius: var(--radius-xl);
    overflow: hidden; position: relative;
    /* Ince inner glow — cam efektine derinlik katar */
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.05), inset 0 0 20px rgba(255,255,255,0.02), 0 4px 16px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
    /* transform ve box-shadow JS spring physics ile kontrol edilir — CSS transition yok */
    transition: background var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out);
}
/* Hover — belirgin yukselme hissi, katmanli shadow */
.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.08), inset 0 0 30px rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3), 0 0 40px rgba(255,107,53,0.06);
}

/* Kart image — alt kisim gradient overlay ile metin okunabilirligi */
.card__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); mask-image: linear-gradient(to bottom, black 60%, rgba(0,0,0,0.85) 100%); -webkit-mask-image: linear-gradient(to bottom, black 60%, rgba(0,0,0,0.85) 100%); }
/* Kart placeholder — görsel yokken metalik soluk arka plan */
.card__placeholder {
    width: 100%; aspect-ratio: 16/10; position: relative; overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%),
        url('/assets/img/hero-bg.png') center/cover no-repeat;
    filter: grayscale(1) brightness(0.25) contrast(0.8);
    display: grid; place-items: center;
    transition: filter var(--duration-normal);
}
.card:hover .card__placeholder {
    filter: grayscale(0.8) brightness(0.35) contrast(0.9);
}
.card:hover .card__image { transform: scale(1.06); }
/* Kart body — tutarli padding, guclu metin hiyerarsisi */
.card__body { padding: var(--space-6); position: relative; z-index: 2; }
.card__meta { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-xs); color: var(--text-muted); margin-bottom: var(--space-3); letter-spacing: 0.02em; }
/* Kart title — daha bold, daha belirgin */
.card__title { font-family: var(--font-display); font-size: var(--text-h4); margin-bottom: var(--space-2); line-height: 1.25; transition: color var(--duration-fast); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.card:hover .card__title { color: var(--neon-orange); text-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 20px rgba(255,107,53,0.15); }
/* Kart desc — daha soluk, hiyerarsiyi netlestirir */
.card__desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   BADGES
   ═══════════════════════════════════════ */
/* Badge — ince border + backdrop-blur ile cam efekti */
.badge {
    display: inline-flex; align-items: center; padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs); font-weight: 600; border-radius: var(--radius-full); letter-spacing: 0.02em;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
}
.badge--signal { background: rgba(255, 107, 53, 0.15); color: var(--neon-orange); border-color: rgba(255,107,53,0.15); }
.badge--dark { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--glass-border); }
.badge--akademik { background: rgba(59, 130, 246, 0.12); color: var(--neon-blue); border-color: rgba(59,130,246,0.12); }
.badge--sosyal { background: rgba(168, 85, 247, 0.12); color: var(--neon-purple); border-color: rgba(168,85,247,0.12); }
.badge--kultur { background: rgba(255, 45, 135, 0.12); color: var(--neon-pink); border-color: rgba(255,45,135,0.12); }
.badge--spor { background: rgba(34, 197, 94, 0.12); color: var(--neon-green); border-color: rgba(34,197,94,0.12); }
.badge--teknoloji { background: rgba(250, 204, 21, 0.12); color: var(--neon-yellow); border-color: rgba(250,204,21,0.12); }

/* ═══════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════ */
.flash-container { position: fixed; top: calc(var(--header-height) + var(--space-4)); right: var(--space-4); z-index: 1100; display: flex; flex-direction: column; gap: var(--space-2); max-width: 420px; width: 100%; }
.alert { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-size: var(--text-sm); font-weight: 500; backdrop-filter: blur(16px); animation: slideIn var(--duration-normal) var(--ease-spring); }
.alert--success { background: rgba(34,197,94,0.12); color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.alert--error { background: rgba(239,68,68,0.12); color: var(--error); border: 1px solid rgba(239,68,68,0.2); }
.alert--warning { background: rgba(250,204,21,0.12); color: var(--warning); border: 1px solid rgba(250,204,21,0.2); }
.alert--info { background: rgba(59,130,246,0.12); color: var(--info); border: 1px solid rgba(59,130,246,0.2); }
.alert__close { font-size: 1.25rem; line-height: 1; opacity: 0.6; transition: opacity var(--duration-fast); }
.alert__close:hover { opacity: 1; }

/* ═══════════════════════════════════════
   FORMS
   ═══════════════════════════════════════ */
.form-group { margin-bottom: var(--space-6); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); margin-bottom: var(--space-2); }
.form-input {
    width: 100%; padding: var(--space-3) var(--space-4); font-size: var(--text-body);
    background: var(--bg-surface); color: var(--text-primary);
    border: 1.5px solid var(--glass-border); border-radius: var(--radius-lg); outline: none;
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
/* Form input focus — tek katman, hafif ama belirgin */
.form-input:focus { border-color: var(--neon-orange); box-shadow: 0 0 0 3px rgba(255,94,26,0.25); }
.form-input::placeholder { color: var(--text-muted); }
.form-input--error { border-color: var(--error); }
.form-error { font-size: var(--text-xs); color: var(--error); margin-top: var(--space-1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239595B2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right var(--space-3) center; padding-right: var(--space-8);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
/* Section — tutarli vertical rhythm, ambient isiklandirma */
.section { padding: var(--space-24) 0; position: relative; overflow: hidden; }
/* Ink section — ince ambient isik, cok katmanli radial-gradient */
.section--ink {
    background: var(--bg-base);
    background-image:
        radial-gradient(ellipse at 15% 0%, rgba(168,85,247,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(255,107,53,0.03) 0%, transparent 50%);
}
/* Stone section — hafif yukselme hissi, ince isik */
.section--stone {
    background: var(--bg-surface);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 0% 80%, rgba(20,184,166,0.03) 0%, transparent 50%);
}
/* Mesh section — zengin cok noktali ambient */
.section--mesh {
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 10%, rgba(255,45,135,0.03) 0%, transparent 40%);
    background-color: var(--bg-deep);
}

.section__header { margin-bottom: var(--space-12); }
.section__label {
    font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--neon-orange);
    margin-bottom: var(--space-3);
}
.section__label--orange { color: var(--neon-orange); }
.section__label--pink { color: var(--neon-pink); }
.section__label--purple { color: var(--neon-purple); }
.section__label--blue { color: var(--neon-blue); }
.section__label--teal { color: var(--neon-cyan); }
.section__label--green { color: var(--neon-green); }
.section__label--yellow { color: var(--neon-yellow); }
/* Section title — hafif neon glow + derinlik katmanlari */
.section__title { font-family: var(--font-display); font-size: var(--text-h2); line-height: 1.1; text-shadow: 0 0 30px rgba(255,107,53,0.08), 0 2px 4px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.25); }
.section__desc { font-size: var(--text-body); color: var(--text-secondary); max-width: 560px; margin-top: var(--space-4); line-height: 1.7; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }

/* ═══════════════════════════════════════
   GRID
   ═══════════════════════════════════════ */
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ═══════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════ */
.breadcrumb { padding: var(--space-4) 0; }
.breadcrumb__list { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-sm); }
.breadcrumb__link { color: var(--text-muted); transition: color var(--duration-fast); }
.breadcrumb__link:hover { color: var(--neon-orange); }
.breadcrumb__sep { color: var(--text-muted); }
.breadcrumb__current { color: var(--text-primary); font-weight: 500; }

/* ═══════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════ */
.pagination { display: flex; justify-content: center; padding: var(--space-12) 0; }
.pagination__list { display: flex; align-items: center; gap: var(--space-1); }
.pagination__link { display: grid; place-items: center; min-width: 42px; height: 42px; font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-lg); transition: all var(--duration-fast); }
.pagination__link:hover { background: var(--glass); color: var(--text-primary); }
.pagination__link--active {
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%; animation: gradient-shift 4s linear infinite;
    color: white; box-shadow: 0 4px 16px rgba(255, 45, 135, 0.3);
}
.pagination__dots { color: var(--text-muted); }

/* ═══════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════ */
.marquee { overflow: hidden; padding: var(--space-8) 0; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee__track { display: flex; gap: var(--space-16); animation: marquee 30s linear infinite; width: max-content; }
.marquee__item { flex-shrink: 0; height: 40px; opacity: 0.3; filter: grayscale(1) brightness(2); transition: all var(--duration-normal); }
.marquee__item:hover { opacity: 1; filter: none; transform: scale(1.15); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   DATE BADGE
   ═══════════════════════════════════════ */
.date-badge {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 56px; height: 56px; color: white;
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%; animation: gradient-shift 5s linear infinite;
    border-radius: var(--radius-lg); line-height: 1.1;
    box-shadow: 0 4px 16px rgba(255, 45, 135, 0.35);
    transition: all var(--duration-normal) var(--ease-spring);
}
.card:hover .date-badge { transform: scale(1.12) rotate(-4deg); }
.date-badge__day { font-size: 1.5rem; font-weight: 700; }
.date-badge__month { font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; }

/* ═══════════════════════════════════════
   FILTER PILLS
   ═══════════════════════════════════════ */
.filter-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.filter-pill {
    padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: 500;
    color: var(--text-secondary); background: rgba(17, 17, 34, 0.5);
    border: 1px solid var(--glass-border); border-radius: var(--radius-full);
    transition: color var(--duration-normal) var(--ease-out), background var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
    cursor: pointer;
}
.filter-pill:hover { color: var(--text-primary); border-color: var(--neon-orange); background: rgba(255, 107, 53, 0.08); transform: translateY(-1px); }
/* Filter pill active — daha parlak, katmanli glow */
.filter-pill--active {
    color: white; border-color: transparent;
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%; animation: gradient-shift 4s linear infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 4px 16px rgba(255,45,135,0.3), 0 0 30px rgba(255,45,135,0.12);
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════
   STATS COUNTER
   ═══════════════════════════════════════ */
/* Stats bar — ince ambient isik + rafine gradient cizgiler */
.stats-bar {
    display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-12);
    padding: var(--space-12) var(--space-6); position: relative;
    background-image: radial-gradient(ellipse at 50% 50%, rgba(255,107,53,0.03) 0%, transparent 60%);
}
.stats-bar::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,107,53,0.2), rgba(255,45,135,0.15), rgba(168,85,247,0.2), transparent); }
.stats-bar::after { content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, transparent, rgba(168,85,247,0.15), rgba(59,130,246,0.2), rgba(20,184,166,0.15), transparent); }
.stat { text-align: center; }
.stat__number {
    font-family: var(--font-display); font-size: var(--text-h2); line-height: 1;
    color: var(--neon-orange);
}
/* Stat label — generous letter-spacing */
.stat__label { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-2); font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }

/* ═══════════════════════════════════════
   NOTE CARDS (TheUnsentProject)
   ═══════════════════════════════════════ */
.note-grid { columns: 3; column-gap: var(--space-4); }
.note-card {
    break-inside: avoid; margin-bottom: var(--space-4); border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-6); min-height: 150px; display: flex; flex-direction: column;
    justify-content: space-between; cursor: pointer; position: relative; overflow: hidden;
    /* transform JS spring ile — CSS transition sadece border ve background icin */
    transition: border-color var(--duration-normal), background var(--duration-normal), box-shadow var(--duration-normal);
    /* Cok katmanli shadow — derinlik hissi */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
/* Note card overlay kaldırıldı — gradient arka planlar temiz kalsın */
/* note-card hover: transform JS spring ile kontrol ediliyor, shadow CSS */
.note-card:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.35), 0 16px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
/* note-card overlay yok */
.note-card__text {
    font-family: var(--font-body); font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.15rem); line-height: 1.5;
    word-break: break-word; position: relative; z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.note-card__meta {
    font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500;
    opacity: 0.6; margin-top: var(--space-4); position: relative; z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.note-card--light { color: white; } /* Acik arka plan — beyaz metin */
.note-card--dark { color: #0c0c18; text-shadow: none; } /* Koyu metin — WCAG AA uyumu */
.note-card--dark .note-card__text { text-shadow: 0 1px 2px rgba(255,255,255,0.1); }
.note-card--dark .note-card__meta { opacity: 0.75; text-shadow: none; }

/* ═══════════════════════════════════════
   CODE PASTE
   ═══════════════════════════════════════ */
.code-view { background: var(--code-bg); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--glass-border); }
.code-view__header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); background: var(--code-surface); border-bottom: 1px solid var(--glass-border); }
.code-view__lang { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--code-text); opacity: 0.7; }
.code-view__body { padding: var(--space-6); overflow-x: auto; }
.code-view__body pre { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--code-text); line-height: 1.7; tab-size: 4; }

/* Stars */
.stars { display: flex; gap: 2px; }
.stars__icon { width: 16px; height: 16px; color: var(--text-muted); }
.stars__icon--filled { color: var(--warning); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; }
}

.reveal { opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); }
.reveal--visible { opacity: 1; }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: var(--header-height); background: var(--bg-deep);
    position: relative; overflow: hidden;
}
/* Ambient glow orbs */
.hero::before {
    content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 135, 0.12) 0%, transparent 65%);
    top: -250px; right: -150px; animation: float 10s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 65%);
    bottom: -150px; left: -100px; animation: float 12s ease-in-out infinite reverse;
}

.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-16); align-items: center; position: relative; z-index: 2; }
.hero__content { position: relative; z-index: 2; }
.hero__label {
    font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.25em;
    background: linear-gradient(90deg, #FF453A, #FF5E1A, #FFD60A, #30D158, #00ECBF, #00D4FF, #5B7FFF, #BF5AF2, #FF1493, #FF453A);
    background-size: 400% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradient-shift 5s ease infinite;
    margin-bottom: var(--space-6);
}
/* Hero title — en guclu glow + cok katmanli derinlik */
.hero__title { font-family: var(--font-display); font-size: var(--text-hero); line-height: 1.15; letter-spacing: -0.05em; margin-bottom: var(--space-6); padding-bottom: 0.15em; color: var(--text-primary); text-shadow: 0 0 60px rgba(255,107,53,0.2), 0 0 120px rgba(255,45,135,0.1), 0 4px 8px rgba(0,0,0,0.7), 0 16px 48px rgba(0,0,0,0.4); overflow: visible; }
/* Hero desc — ince text-shadow, okunabilirlik */
.hero__desc { font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--text-secondary); max-width: 480px; line-height: 1.7; margin-bottom: var(--space-8); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-12); }

.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
/* Bağımsız yüzen blob'lar — her biri farklı pozisyon, boyut, hız */
.hero__decoration {
    width: 100%; max-width: 500px; aspect-ratio: 1;
    position: relative;
}

.hero__blob {
    position: absolute;
    will-change: transform, border-radius;
    transition: background 1.5s var(--ease-out);
    filter: blur(1px);
    cursor: grab;
}
.hero__blob:active { cursor: grabbing; }

/* Blob 1 — Büyük, sol üst, pembe-mor */
.hero__blob--main {
    width: 180px; height: 180px; top: 0; left: 5%;
    background: linear-gradient(135deg, #FF1493, #BF5AF2);
    animation: blob-float-1 9s ease-in-out infinite;
    opacity: 1;
}

/* Blob 2 — Orta, sağ üst, mavi-cyan */
.hero__blob--secondary {
    width: 130px; height: 130px; top: 10%; right: 5%;
    background: linear-gradient(135deg, #5B7FFF, #00D4FF);
    animation: blob-float-2 11s ease-in-out infinite;
    opacity: 1;
}

/* Blob 3 — Küçük, alt orta, turuncu-pembe */
.hero__blob--accent {
    width: 100px; height: 100px; bottom: 20%; left: 35%;
    background: linear-gradient(135deg, #FF5E1A, #FF1493);
    animation: blob-float-3 7s ease-in-out infinite;
    opacity: 1;
}

/* Blob 4 — Ambient glow, arkada */
.hero__blob--glow {
    width: 300px; height: 300px; top: 15%; left: 15%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 65%);
    border-radius: 50%; filter: blur(50px);
    animation: blob-float-4 12s ease-in-out infinite;
}

/* Her blob kendi yörüngesinde yüzüyor */
@keyframes blob-float-1 {
    0%, 100% {
        border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
        transform: translate(30px, -25px) rotate(8deg);
    }
    50% {
        border-radius: 45% 55% 60% 40% / 60% 45% 55% 40%;
        transform: translate(-15px, 20px) rotate(-5deg);
    }
    75% {
        border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%;
        transform: translate(20px, 10px) rotate(3deg);
    }
}

@keyframes blob-float-2 {
    0%, 100% {
        border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%;
        transform: translate(-25px, 30px) rotate(-10deg);
    }
    66% {
        border-radius: 55% 45% 40% 60% / 60% 40% 60% 40%;
        transform: translate(20px, -15px) rotate(6deg);
    }
}

@keyframes blob-float-3 {
    0%, 100% {
        border-radius: 50% 50% 50% 50%;
        transform: translate(0, 0) rotate(0deg);
    }
    30% {
        border-radius: 60% 40% 45% 55%;
        transform: translate(20px, -20px) rotate(12deg);
    }
    60% {
        border-radius: 40% 60% 55% 45%;
        transform: translate(-15px, 15px) rotate(-8deg);
    }
}

@keyframes blob-float-4 {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    50% { transform: scale(1.15) translate(20px, -10px); opacity: 0.5; }
}

/* ═══════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════ */
.page-header {
    padding-top: calc(var(--header-height) + var(--space-12)); padding-bottom: var(--space-12);
    background: var(--bg-deep); position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 65%);
    top: -200px; right: -100px;
}
/* Page header title — guclu derinlik */
.page-header__title { font-family: var(--font-display); font-size: var(--text-h1); letter-spacing: -0.03em; position: relative; z-index: 1; text-shadow: 0 0 40px rgba(168,85,247,0.1), 0 2px 4px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3); }
.page-header__desc { font-size: var(--text-body); color: var(--text-secondary); max-width: 600px; margin-top: var(--space-4); line-height: 1.7; position: relative; z-index: 1; }

/* ═══════════════════════════════════════
   COLOR DOTS & STAR RATING
   ═══════════════════════════════════════ */
.color-dot { width: 36px; height: 36px; border-radius: var(--radius-full); border: 3px solid transparent; cursor: pointer; transition: all var(--duration-fast) var(--ease-spring); flex-shrink: 0; }
.color-dot:hover { transform: scale(1.2); }
.color-dot--active { border-color: var(--text-primary); transform: scale(1.2); box-shadow: 0 0 0 2px var(--bg-deep), 0 0 0 4px var(--text-primary); }
[data-filter-color] { width: 24px; height: 24px; border-width: 2px; }

.star-rating { display: flex; gap: 4px; direction: rtl; }
.star-rating input { display: none; }
.star-rating label { cursor: pointer; color: var(--text-muted); font-size: 1.5rem; transition: all var(--duration-fast) var(--ease-spring); }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: var(--warning); transform: scale(1.15); }

/* ═══════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════ */
.auth-page {
    min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; justify-content: center;
    padding: var(--space-12) 0; background: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at 30% 30%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
}
.auth-card { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-card__header { text-align: center; margin-bottom: var(--space-8); }
.auth-card__logo { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-6); }
.auth-card__title { font-family: var(--font-display); font-size: var(--text-h2); margin-bottom: var(--space-2); }
.auth-card__desc { font-size: var(--text-sm); color: var(--text-secondary); }
.auth-card__errors { margin-bottom: var(--space-6); }
.auth-form { margin-bottom: var(--space-6); }
.auth-card__footer { text-align: center; font-size: var(--text-sm); color: var(--text-muted); padding-top: var(--space-6); border-top: 1px solid var(--glass-border); }
.auth-link { color: var(--neon-orange); font-weight: 600; }
.auth-link:hover { color: var(--neon-pink); }

/* ═══════════════════════════════════════
   PROFILE
   ═══════════════════════════════════════ */
.profile-grid { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-12); align-items: start; }
.profile-sidebar { text-align: center; position: sticky; top: calc(var(--header-height) + var(--space-8)); }
.profile-avatar__img { width: 120px; height: 120px; border-radius: var(--radius-full); object-fit: cover; margin: 0 auto; border: 3px solid var(--glass-border); }
.profile-avatar__placeholder {
    width: 120px; height: 120px; border-radius: var(--radius-full); color: white;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink), var(--neon-purple), var(--neon-orange));
    background-size: 300% 300%; animation: gradient-shift 5s linear infinite;
    display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; margin: 0 auto;
}
.profile-section { padding: var(--space-8); background: rgba(17, 17, 34, 0.5); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); margin-bottom: var(--space-6); }
.profile-list { display: flex; flex-direction: column; }
.profile-list__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--glass-border); font-size: var(--text-sm); transition: all var(--duration-fast); }
.profile-list__item:last-child { border-bottom: none; }
.profile-list__item:hover { color: var(--neon-orange); transform: translateX(4px); }
.profile-list__dot { width: 12px; height: 12px; border-radius: var(--radius-full); flex-shrink: 0; }
.profile-list__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-list__meta { color: var(--text-muted); font-size: var(--text-xs); flex-shrink: 0; }

/* ═══════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════ */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - var(--header-height)); }
.admin-sidebar { background: linear-gradient(180deg, #08081a 0%, #0c0c22 100%); padding: var(--space-6); position: sticky; top: var(--header-height); height: calc(100vh - var(--header-height)); overflow-y: auto; border-right: 1px solid var(--glass-border); }
.admin-sidebar__title { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: var(--space-4); padding: 0 var(--space-3); }
.admin-nav { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-8); }
.admin-nav__link { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); font-size: var(--text-sm); color: var(--text-muted); border-radius: var(--radius-md); transition: all var(--duration-fast); }
.admin-nav__link:hover { color: var(--text-primary); background: var(--glass); transform: translateX(2px); }
.admin-nav__link--active { color: var(--neon-orange); background: rgba(255, 107, 53, 0.08); }
.admin-nav__link svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.5; }
.admin-nav__link--active svg, .admin-nav__link:hover svg { opacity: 1; }
.admin-nav__badge {
    margin-left: auto; padding: 2px 8px; font-size: var(--text-xs); font-weight: 600; color: white; border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-pink), var(--neon-orange));
    background-size: 200% 100%; animation: gradient-shift 3s linear infinite;
}
.admin-content { background: var(--bg-base); padding: var(--space-8); overflow-x: auto; }
.admin-content__header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-8); }
.admin-content__title { font-family: var(--font-display); font-size: var(--text-h3); }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-bottom: var(--space-8); }
/* Admin stat — inner glow, katmanli hover */
.admin-stat { background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: var(--space-6); transition: box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 2px 8px rgba(0,0,0,0.2); }
.admin-stat:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.3), 0 0 30px rgba(255,107,53,0.04); border-color: var(--glass-border-hover); }
.admin-stat__label { font-size: var(--text-xs); font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-stat__value { font-family: var(--font-display); font-size: var(--text-h3); margin-top: var(--space-2); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead { border-bottom: 1px solid var(--glass-border); }
.admin-table th { padding: var(--space-3) var(--space-4); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); text-align: left; }
.admin-table td { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: middle; }
.admin-table tr { transition: background var(--duration-fast); }
.admin-table tr:hover td { background: var(--glass); }
.admin-table__actions { display: flex; gap: var(--space-2); }
.admin-table__btn { padding: var(--space-1) var(--space-2); font-size: var(--text-xs); font-weight: 500; border-radius: var(--radius-md); transition: all var(--duration-fast); }
.admin-table__btn--edit { color: var(--neon-blue); background: rgba(59, 130, 246, 0.1); }
.admin-table__btn--edit:hover { background: rgba(59, 130, 246, 0.2); transform: translateY(-1px); }
.admin-table__btn--delete { color: var(--error); background: rgba(239, 68, 68, 0.1); }
.admin-table__btn--delete:hover { background: rgba(239, 68, 68, 0.2); transform: translateY(-1px); }
.admin-table__btn--approve { color: var(--success); background: rgba(34, 197, 94, 0.1); }
.admin-table__btn--approve:hover { background: rgba(34, 197, 94, 0.2); transform: translateY(-1px); }

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: var(--space-1) var(--space-3); font-size: var(--text-xs); font-weight: 600; border-radius: var(--radius-full); }
.status-badge--active { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.status-badge--inactive { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.status-badge--pending { background: rgba(250, 204, 21, 0.12); color: var(--warning); }
.status-badge__dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
/* Footer — gradient border-top + ambient glow */
.site-footer {
    background: var(--bg-deep); color: var(--text-muted);
    padding: var(--space-16) 0 var(--space-8); position: relative; overflow: hidden;
    border-top: none;
    box-shadow: 0 -1px 0 0 rgba(168,85,247,0.06), 0 -4px 30px -4px rgba(168,85,247,0.06), 0 -1px 60px -8px rgba(255,45,135,0.04);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(168,85,247,0.06) 0%, transparent 45%),
                       radial-gradient(ellipse at 80% 10%, rgba(255,94,26,0.03) 0%, transparent 35%);
}
/* Gradient border-top — gokkusagi ince cizgi */
.site-footer::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--neon-purple), var(--neon-blue), var(--neon-cyan), var(--neon-orange), transparent 95%);
    opacity: 0.4;
}
.site-footer::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
    bottom: -300px; left: -200px; animation: pulse-glow 6s ease-in-out infinite;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-12); margin-bottom: var(--space-12); position: relative; z-index: 1; }
.footer__brand .nav__logo-icon { width: 56px; height: 56px; }
.footer__brand .nav__logo-text { color: var(--text-primary); font-size: 1.5rem; }
.footer__desc { font-size: var(--text-sm); line-height: 1.7; margin-top: var(--space-4); max-width: 320px; }
.footer__social { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); margin-top: var(--space-4); transition: all var(--duration-fast); }
.footer__social:hover { color: var(--neon-orange); }
.footer__heading { font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); margin-bottom: var(--space-4); text-transform: uppercase; letter-spacing: 0.05em; }
.footer__links a { display: block; font-size: var(--text-sm); padding: var(--space-1) 0; transition: all var(--duration-fast); }
.footer__links a:hover { color: var(--neon-orange); transform: translateX(4px); }
.footer__address { font-size: var(--text-sm); line-height: 1.8; }
.footer__address a:hover { color: var(--neon-orange); }
/* Newsletter abonelik — ince gradient kenarlar */
.footer__newsletter {
    padding: var(--space-8) 0;
    margin-bottom: var(--space-8);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative; z-index: 1;
    background-image: radial-gradient(ellipse at 0% 50%, rgba(255,94,26,0.04) 0%, transparent 50%);
}
.footer__subscribe-form {
    display: flex; gap: var(--space-2); align-items: center;
}
/* Newsletter input focus — tutarli tek katman */
.footer__subscribe-form .form-input:focus {
    border-color: var(--neon-orange);
    box-shadow: 0 0 0 3px rgba(255,94,26,0.25);
}
@media (max-width: 640px) {
    .footer__subscribe-form { flex-direction: column; }
    .footer__subscribe-form .form-input { width: 100%; }
    .footer__subscribe-form .btn { width: 100%; }
}

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-8); border-top: 1px solid var(--glass-border); font-size: var(--text-xs); color: var(--text-muted); position: relative; z-index: 1; }
.footer__credit { display: flex; align-items: center; gap: var(--space-2); }
.footer__credit a:hover { color: var(--neon-orange); }
.footer__dot { color: var(--text-muted); }

main { padding-top: var(--header-height); }

/* ═══════════════════════════════════════
   AWWWARDS — SCROLL PROGRESS BAR
   ═══════════════════════════════════════ */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
    background: var(--grad-rainbow); background-size: 400% 100%;
    animation: gradient-shift 3s ease infinite;
    transform-origin: left; transform: scaleX(0);
    transition: none; will-change: transform;
}

/* ═══════════════════════════════════════
   AWWWARDS — CURSOR GLOW
   ═══════════════════════════════════════ */
.cursor-glow {
    position: fixed; width: 600px; height: 600px;
    border-radius: 50%; pointer-events: none; z-index: 2;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, rgba(168, 85, 247, 0.12) 30%, rgba(6, 182, 212, 0.05) 50%, transparent 65%);
    transform: translate(-50%, -50%);
    transition: opacity 0.5s; opacity: 0;
    will-change: left, top;
}
.cursor-glow--visible { opacity: 1; }

/* ═══════════════════════════════════════
   AWWWARDS — GLOWING SECTION DIVIDERS
   ═══════════════════════════════════════ */
/* Glow divider — daha ince, daha zarif, rafine isik yayilimi */
.glow-divider {
    height: 1px; border: none; position: relative;
    background: linear-gradient(90deg, transparent 5%, rgba(255,107,53,0.4), rgba(255,45,135,0.5), rgba(168,85,247,0.5), rgba(59,130,246,0.4), rgba(20,184,166,0.3), transparent 95%);
    opacity: 0.4;
}
.glow-divider::after {
    content: ''; position: absolute; inset: -4px 20% -4px 20%;
    background: linear-gradient(90deg, transparent, rgba(255,45,135,0.3), rgba(168,85,247,0.25), transparent);
    filter: blur(8px); opacity: 0.4;
}

/* ═══════════════════════════════════════
   AWWWARDS — MAGNETIC BUTTONS
   ═══════════════════════════════════════ */
.btn--magnetic {
    will-change: transform;
    transition: transform var(--duration-normal) var(--ease-spring),
                box-shadow var(--duration-normal) var(--ease-out);
}

/* ═══════════════════════════════════════
   AWWWARDS — SHIMMER / GLINT EFFECT
   ═══════════════════════════════════════ */
.shimmer {
    position: relative; overflow: hidden;
}
.shimmer::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* ═══════════════════════════════════════
   AWWWARDS — TEXT REVEAL ANIMATION
   ═══════════════════════════════════════ */
.text-reveal {
    overflow: hidden; display: inline-block;
}
.text-reveal__inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s var(--ease-out);
}
.text-reveal--visible .text-reveal__inner {
    transform: translateY(0);
}

/* Word-by-word staggered reveal */
.word-reveal .word {
    display: inline-block; overflow: hidden; vertical-align: top;
}
.word-reveal .word-inner {
    display: inline-block; transform: translateY(120%) rotate(5deg);
    transition: transform 0.7s var(--ease-out);
    opacity: 0;
}
.word-reveal--visible .word-inner {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}

/* ═══════════════════════════════════════
   AWWWARDS — 3D TILT CARDS
   ═══════════════════════════════════════ */
.card--tilt {
    perspective: 1000px;
    transform-style: preserve-3d;
    will-change: transform;
}
.card--tilt .card__body {
    transform: translateZ(20px);
}

/* ═══════════════════════════════════════
   AWWWARDS — ANIMATED GRADIENT BORDER
   ═══════════════════════════════════════ */
.gradient-border {
    position: relative; border: none; background: var(--bg-surface);
    border-radius: var(--radius-xl);
}
.gradient-border::before {
    content: ''; position: absolute; inset: -2px; border-radius: inherit;
    background: conic-gradient(from var(--border-angle, 0deg), var(--neon-orange), var(--neon-pink), var(--neon-purple), var(--neon-blue), var(--neon-teal), var(--neon-orange));
    animation: rotate-border 4s linear infinite;
    z-index: -1;
}
.gradient-border::after {
    content: ''; position: absolute; inset: 2px; border-radius: inherit;
    background: var(--bg-surface);
    z-index: -1;
}
@keyframes rotate-border {
    to { --border-angle: 360deg; }
}
/* Fallback: @property desteği olmayan tarayıcılar */
@supports not (background: conic-gradient(red, blue)) {
    .gradient-border::before { background: var(--grad-rainbow); }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ═══════════════════════════════════════
   AWWWARDS — PARALLAX LAYERS
   ═══════════════════════════════════════ */
.parallax-container { position: relative; overflow: hidden; }
.parallax-layer {
    position: absolute; will-change: transform;
    pointer-events: none;
}

/* Floating orbs — ambient light */
.orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(60px); opacity: 0.15;
    animation: float-orb 8s ease-in-out infinite;
}
.orb--1 { width: 300px; height: 300px; background: var(--neon-orange); top: 10%; left: -5%; animation-delay: 0s; }
.orb--2 { width: 250px; height: 250px; background: var(--neon-purple); top: 60%; right: -5%; animation-delay: -3s; }
.orb--3 { width: 200px; height: 200px; background: var(--neon-teal); bottom: 10%; left: 30%; animation-delay: -5s; }
.orb--4 { width: 350px; height: 350px; background: var(--neon-pink); top: 20%; right: 20%; animation-delay: -2s; }

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-15px, 15px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ═══════════════════════════════════════
   AWWWARDS — SCROLL-TRIGGERED REVEALS
   ═══════════════════════════════════════ */
/* Slide from left */
/* Tüm reveal varyantları: sadece opacity — transform JS tilt ile çakışmasın */
.reveal-left { opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); }
.reveal-left--visible { opacity: 1; }

.reveal-right { opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); }
.reveal-right--visible { opacity: 1; }

.reveal-scale { opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); }
.reveal-scale--visible { opacity: 1; }

/* Rotate in */
.reveal-rotate { opacity: 0; transition: opacity 0.7s var(--ease-out); }
.reveal-rotate--visible { opacity: 1; }

/* ═══════════════════════════════════════
   AWWWARDS — HERO ENHANCEMENTS
   ═══════════════════════════════════════ */
/* Hero floating particles */
.hero__particles {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.hero__particle {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: particle-float linear infinite;
}
@keyframes particle-float {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    15% { opacity: 0.8; }
    50% { transform: translateY(-35vh) scale(1); opacity: 0.6; }
    85% { opacity: 0.3; }
    100% { transform: translateY(-70vh) scale(0.3); opacity: 0; }
}

/* Hero title gradient animation */
.hero__title .text-gradient {
    background-size: 200% auto;
    animation: gradient-shift 4s ease infinite;
}

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
    color: var(--text-muted); font-size: var(--text-xs); font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    animation: bounce-scroll 2s ease-in-out infinite;
}
.scroll-indicator__line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--neon-orange), transparent);
}
@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════
   AWWWARDS — STAGGER GRID ANIMATION
   ═══════════════════════════════════════ */
/* Stagger: sadece opacity ile giriş — transform JS'e bırakıldı */
.stagger-grid .card { opacity: 0; }
.stagger-grid--visible .card { opacity: 1; transition: opacity 0.5s var(--ease-out); }
.stagger-grid--visible .card:nth-child(1) { transition-delay: 0.05s; }
.stagger-grid--visible .card:nth-child(2) { transition-delay: 0.12s; }
.stagger-grid--visible .card:nth-child(3) { transition-delay: 0.19s; }
.stagger-grid--visible .card:nth-child(4) { transition-delay: 0.26s; }
.stagger-grid--visible .card:nth-child(5) { transition-delay: 0.33s; }
.stagger-grid--visible .card:nth-child(6) { transition-delay: 0.40s; }

.stagger-grid .note-card { opacity: 0; }
.stagger-grid--visible .note-card { opacity: 1; transition: opacity 0.4s var(--ease-out); }
.stagger-grid--visible .note-card:nth-child(1) { transition-delay: 0.05s; }
.stagger-grid--visible .note-card:nth-child(2) { transition-delay: 0.1s; }
.stagger-grid--visible .note-card:nth-child(3) { transition-delay: 0.15s; }
.stagger-grid--visible .note-card:nth-child(4) { transition-delay: 0.2s; }
.stagger-grid--visible .note-card:nth-child(5) { transition-delay: 0.25s; }
.stagger-grid--visible .note-card:nth-child(6) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════
   AWWWARDS — HOVER GLOW CARDS
   ═══════════════════════════════════════ */
/* card--glow: hover efektleri tamamen JS spring physics tarafından kontrol ediliyor */
.card--glow { position: relative; }

/* ═══════════════════════════════════════
   AWWWARDS — SMOOTH NUMBER COUNTER
   ═══════════════════════════════════════ */
/* Stat glow kaldırıldı — rakamlar temiz gradient */

/* ═══════════════════════════════════════
   AWWWARDS — CURSOR-PROXIMITY EDGE GLOW
   Tüm .glow-target elemanlarının kenarları
   imlece yaklaştıkça parlar
   ═══════════════════════════════════════ */
.glow-target {
    position: relative;
    overflow: hidden;
}
.glow-target::after {
    content: '';
    position: absolute;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    transform: translate(-50%, -50%);
    /* Pozisyon JS ile set edilecek */
    left: var(--glow-x, -100px);
    top: var(--glow-y, -100px);
}

/* ═══════════════════════════════════════
   PRODUCTION POLISH
   ═══════════════════════════════════════ */

/* Empty state */
.empty-state { text-align: center; padding: var(--space-20) var(--space-6); color: var(--text-muted); }
.empty-state__title { font-family: var(--font-display); font-size: var(--text-h4); color: var(--text-secondary); margin-bottom: var(--space-3); }
.empty-state__desc { font-size: var(--text-sm); max-width: 400px; margin: 0 auto var(--space-6); line-height: 1.6; }

/* Section gecisleri — sert border yerine yumusak gradient fade */
.section + .section { border-top: none; position: relative; }
.section + .section::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent); pointer-events: none; }

/* Focus states — gorunur, sade, tutarli */
:focus-visible { outline: 2px solid var(--neon-orange); outline-offset: 3px; border-radius: var(--radius-sm); box-shadow: 0 0 0 3px rgba(255,94,26,0.25); }

/* Scrollbar — daha ince, sik, koyu tema ile uyumlu */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent; }

/* ═══════════════════════════════════════
   PAGE TRANSITIONS — Gradient Bars
   ═══════════════════════════════════════ */
.page-transition {
    position: fixed; inset: 0; z-index: 10000; pointer-events: none;
    display: flex; gap: 0;
}

.page-transition__bar {
    flex: 1; height: 100%;
    transform: scaleY(0); transform-origin: bottom;
    /* Boşluk düzeltme — 1px overlap */
    margin-left: -0.5px; margin-right: -0.5px;
}

/* Her bar gradient — soldan sağa akan renk geçişi */
.page-transition__bar:nth-child(1) { background: linear-gradient(180deg, #FF5E1A 0%, #FF1493 100%); }
.page-transition__bar:nth-child(2) { background: linear-gradient(180deg, #FF1493 0%, #BF5AF2 100%); }
.page-transition__bar:nth-child(3) { background: linear-gradient(180deg, #BF5AF2 0%, #5B7FFF 100%); }
.page-transition__bar:nth-child(4) { background: linear-gradient(180deg, #5B7FFF 0%, #00D4FF 100%); }
.page-transition__bar:nth-child(5) { background: linear-gradient(180deg, #00D4FF 0%, #30D158 100%); }

/* Giriş: barlar alttan yukarı stagger */
.page-transition--enter .page-transition__bar {
    animation: bar-enter 0.4s var(--ease-out) forwards;
}
.page-transition--enter .page-transition__bar:nth-child(2) { animation-delay: 0.04s; }
.page-transition--enter .page-transition__bar:nth-child(3) { animation-delay: 0.08s; }
.page-transition--enter .page-transition__bar:nth-child(4) { animation-delay: 0.12s; }
.page-transition--enter .page-transition__bar:nth-child(5) { animation-delay: 0.16s; }

/* Çıkış: barlar yukarıdan aşağı stagger */
.page-transition--exit .page-transition__bar {
    transform: scaleY(1); transform-origin: top;
    animation: bar-exit 0.35s var(--ease-out) forwards;
}
.page-transition--exit .page-transition__bar:nth-child(2) { animation-delay: 0.03s; }
.page-transition--exit .page-transition__bar:nth-child(3) { animation-delay: 0.06s; }
.page-transition--exit .page-transition__bar:nth-child(4) { animation-delay: 0.09s; }
.page-transition--exit .page-transition__bar:nth-child(5) { animation-delay: 0.12s; }

@keyframes bar-enter {
    0% { transform: scaleY(0); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes bar-exit {
    0% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: top; }
}

/* Sayfa içerik giriş */
main { animation: content-enter 0.5s var(--ease-out) 0.2s both; }
@keyframes content-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Erisilebilirlik — azaltilmis hareket tercihi (ZORUNLU) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .note-grid { columns: 2; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
    /* Nav — tablet'te sikismamasi icin kucult */
    .nav__link { font-size: var(--text-xs); padding: var(--space-2) var(--space-2); }
    .nav__actions { flex-shrink: 0; }
    .nav__actions .btn--ghost { font-size: var(--text-xs); padding: var(--space-2) var(--space-3); }
}

@media (max-width: 768px) {
    /* HEADER — solid bg mobilde */
    .site-header {
        backdrop-filter: none; -webkit-backdrop-filter: none;
        background: #07070e;
    }

    /* NAV MENÜ — JS ile body'e taşınır, fixed overlay olarak çalışır */
    .nav__menu {
        display: none;
        position: fixed;
        top: var(--header-height); left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch;
        padding: var(--space-6); gap: 0;
        background: #07070e;
        overflow-y: auto;
        z-index: 9999;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav__menu--open { display: flex; }
    .nav__link { font-size: 1.125rem; padding: var(--space-4); color: var(--text-primary); border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav__link:last-child { border-bottom: none; }
    .nav__link::after { display: none; }
    .nav__hamburger { display: flex; }
    .nav__actions .btn--ghost { font-size: var(--text-xs); padding: var(--space-2) var(--space-3); }
    .nav__dropdown { position: static; }
    .nav__submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: var(--space-4); background: transparent; display: none; backdrop-filter: none; }
    .nav__submenu--open { display: block; }
    .nav__sublink { padding: var(--space-3) var(--space-4); font-size: var(--text-body); }

    /* GRID — tek sütun */
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .note-grid { columns: 1; }

    /* FILTER PILLS — wrap + küçük boyut (kesilmesin) */
    .filter-pills {
        flex-wrap: wrap;
        gap: var(--space-2);
        margin-bottom: var(--space-6);
    }
    .filter-pill {
        flex-shrink: 0;
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-3);
    }

    /* Genel yan yana buton/link grupları overflow koruması */
    .hero__actions, .card__actions, .admin-content__header,
    .admin-table__actions { flex-wrap: wrap; }

    /* HERO — daha kompakt */
    .hero { min-height: auto; padding-top: calc(var(--header-height) + var(--space-8)); padding-bottom: var(--space-12); }
    .hero__label { font-size: 0.625rem; letter-spacing: 0.15em; margin-bottom: var(--space-4); }
    .hero__title { margin-bottom: var(--space-4); }
    .hero__desc { font-size: 0.9375rem; margin-bottom: var(--space-6); }
    .scroll-indicator { display: none; }

    /* SECTION — azaltılmış dikey boşluk */
    .section { padding: var(--space-12) 0; }
    .section__title { margin-bottom: var(--space-3); }
    .section__desc { font-size: var(--text-sm); }

    /* STATS — mobil 3'lü grid */
    .stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); padding: var(--space-8) var(--space-4); }
    .stat__number { font-size: clamp(1.5rem, 5vw, 2rem); }
    .stat__label { font-size: 0.625rem; letter-spacing: 0.02em; }

    /* FOOTER */
    .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
    .footer__bottom { flex-direction: column; text-align: center; gap: var(--space-3); }

    /* PROFILE & ADMIN */
    .profile-grid { grid-template-columns: 1fr; gap: var(--space-6); }
    .profile-sidebar { position: static; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .admin-stats { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* PAGE HEADER */
    .page-header { padding-bottom: var(--space-8); }
    .page-header__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .page-header__desc { font-size: var(--text-sm); }

    /* CARD — daha sıkı padding */
    .card__body { padding: var(--space-4); }
    .card__title { font-size: clamp(1rem, 3.5vw, 1.25rem); }

    /* FILTER — küçük boyut (wrap 768px'te tanımlı) */
    .filter-pill { font-size: var(--text-xs); padding: var(--space-2) var(--space-3); }

    /* ALERTS — tam genişlik */
    .flash-container { left: var(--space-4); right: var(--space-4); max-width: none; }

    /* NOTE CARDS */
    .note-card { padding: var(--space-4); min-height: 120px; }
    .note-card__text { font-size: 0.875rem; }

    /* CODE VIEW */
    .code-view__body { padding: var(--space-4); }
    .code-view__body pre { font-size: var(--text-xs); }

    /* DATE BADGE */
    .date-badge { width: 48px; height: 48px; }
    .date-badge__day { font-size: 1.25rem; }

    /* BREADCRUMB */
    .breadcrumb__list { font-size: var(--text-xs); }

    /* ORBS — küçült taşmayı önle */
    .orb--1 { width: 150px; height: 150px; }
    .orb--4 { width: 180px; height: 180px; }
    .hero::before { width: 350px; height: 350px; top: -150px; right: -100px; }
    .hero::after { width: 250px; height: 250px; bottom: -100px; left: -80px; }
}

@media (max-width: 640px) {
    .container { padding-inline: var(--space-4); }

    /* HERO — butonlar dikey */
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }

    /* SECTION — daha kompakt */
    .section { padding: var(--space-8) 0; }

    /* STATS — 5 öğe durumunda 3+2 grid */
    .stats-bar { gap: var(--space-3); padding: var(--space-6) var(--space-2); }
    .stat__number { font-size: clamp(1.25rem, 4.5vw, 1.75rem); }
    .stat__label { font-size: 0.5625rem; }

    /* FOOTER — daha sıkı */
    .footer { padding-top: var(--space-12); }
    .footer__newsletter { padding: var(--space-6) 0; margin-bottom: var(--space-6); }

    /* BTN — touch-friendly */
    .btn--lg { padding: var(--space-3) var(--space-6); font-size: var(--text-sm); }

    /* PAGINATION — küçük dokunma hedefleri */
    .pagination__link { min-width: 36px; height: 36px; font-size: var(--text-xs); }
}

@media (max-width: 400px) {
    /* Çok dar ekranlar (iPhone SE vb.) */
    .hero { padding-top: calc(var(--header-height) + var(--space-6)); padding-bottom: var(--space-8); }
    .hero__label { font-size: 0.5625rem; }

    .stats-bar { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); padding: var(--space-4) 0; }
    .stat__number { font-size: 1.25rem; }
    .stat__label { font-size: 0.5rem; white-space: nowrap; }

    .card__body { padding: var(--space-3); }

    .footer__subscribe-form .btn { font-size: var(--text-xs); padding: var(--space-2) var(--space-4); }
}
