@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;600;700&family=Outfit:wght@300;400;500;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #030305; color: #ffffff; font-family: 'Outfit', sans-serif; overflow-x: hidden; position: relative; }

.orb { position: absolute; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.6; animation: orbFloat 20s infinite alternate; }
.orb-1 { width: 50vw; height: 50vw; background: #8b5cf6; top: -10%; left: -10%; }
.orb-2 { width: 40vw; height: 40vw; background: #06b6d4; bottom: 10%; right: -5%; animation-delay: -5s; }
@keyframes orbFloat { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 100px) scale(1.2); } }

.glass-nav { position: fixed; top: 30px; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 50px; display: flex; align-items: center; justify-content: space-between; padding: 12px 30px; width: 90%; max-width: 1100px; z-index: 100; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; background: linear-gradient(to right, #fff, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; letter-spacing: -1px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: #94a3b8; text-decoration: none; font-weight: 500; font-size: 14px; transition: 0.3s; padding: 8px 14px; border-radius: 20px; }
.nav-links a:hover:not(.nav-profile) { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-links a.active { background: #8b5cf6; color: #fff; box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }

.nav-admin { color: #fbbf24 !important; background: rgba(245, 158, 11, 0.1) !important; border: 1px solid rgba(245, 158, 11, 0.3); display: flex; align-items: center; gap: 8px; font-weight: 600 !important; }
.nav-admin:hover { background: #fbbf24 !important; color: #000 !important; box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4); transform: translateY(-2px); }

/* PROFİL MENÜ BUTONU (ARKA PLANI FOTOĞRAF OLABİLİR) */
.nav-profile { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #06b6d4); color: #ffffff !important; font-weight: 700; font-size: 14px; text-decoration: none; border: 2px solid rgba(255,255,255,0.15); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); margin-left: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); background-size: cover; background-position: center; }
.nav-profile:hover { transform: scale(1.15) translateY(-2px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6); border-color: #ffffff; }

.nav-exit { color: #ef4444 !important; background: rgba(239, 68, 68, 0.1) !important; border: 1px solid rgba(239, 68, 68, 0.3); display: flex; align-items: center; gap: 8px; font-weight: 600 !important; }
.nav-exit:hover { background: #ef4444 !important; color: #fff !important; box-shadow: 0 10px 20px rgba(239, 68, 68, 0.4); transform: translateY(-2px); }

/* --- GLOBAL TOAST (BİLDİRİM) SİSTEMİ --- */
#toast { position: fixed; bottom: 40px; right: 40px; background: rgba(16, 185, 129, 0.95); color: #fff; padding: 16px 24px; border-radius: 16px; font-weight: 600; font-size: 15px; transform: translateX(200%); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1000; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4); display: flex; align-items: center; gap: 12px; }
#toast.show { transform: translateX(0); }
#toast.error { background: rgba(239, 68, 68, 0.95); box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4); }

.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; position: relative; }
.hero-badge { background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.3); color: #06b6d4; padding: 8px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 30px; animation: fadeInDown 1s ease-out; }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 80px; font-weight: 700; line-height: 1.1; margin-bottom: 24px; background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -3px; animation: fadeInUp 1s ease-out 0.2s both; max-width: 900px; }
.hero p { font-size: 20px; color: #94a3b8; max-width: 600px; line-height: 1.6; margin-bottom: 50px; animation: fadeInUp 1s ease-out 0.4s both; }

.btn-group { display: flex; gap: 20px; animation: fadeInUp 1s ease-out 0.6s both; }
.btn-primary { background: linear-gradient(135deg, #8b5cf6, #3b82f6); color: #fff; text-decoration: none; padding: 16px 40px; border-radius: 30px; font-weight: 600; font-size: 16px; transition: 0.3s; box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4); }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); padding: 16px 40px; border-radius: 30px; font-weight: 600; font-size: 16px; transition: 0.3s; backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.showcase { max-width: 1200px; margin: -50px auto 100px auto; padding: 0 20px; z-index: 10; position: relative; }
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bento-card { background: rgba(20, 20, 25, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.05); border-radius: 30px; padding: 40px; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.bento-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); transform: skewX(-25deg); transition: 0.5s; }
.bento-card:hover::before { left: 200%; }
.bento-card:hover { transform: translateY(-10px); border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.5); background: rgba(30, 30, 40, 0.8); }

.card-icon { width: 60px; height: 60px; border-radius: 20px; background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.05); }
.card-icon svg { stroke: #06b6d4; width: 30px; height: 30px; }
.bento-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.bento-card p { color: #94a3b8; font-size: 15px; line-height: 1.6; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* PROFİL ÖZEL EKLENTİLERİ */
.profile-container { max-width: 1000px; margin: 120px auto 50px auto; padding: 0 20px; z-index: 10; position: relative; animation: fadeInUp 0.5s ease-out; }
.profile-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 30px; }
.profile-card { background: rgba(20, 20, 25, 0.6); backdrop-filter: blur(25px); border: 1px solid rgba(255,255,255,0.05); border-radius: 30px; padding: 40px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* SOL KART DEV AVATAR (Fotoğraf Gelince Uyum Sağlar) */
.profile-avatar-lg { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #06b6d4); color: #fff; font-size: 45px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; border: 4px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4); position: relative; cursor: pointer; transition: 0.3s; background-size: cover; background-position: center; }
.profile-avatar-lg::after { content: '📸'; position: absolute; bottom: 0; right: 0; background: #050508; font-size: 20px; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid #06b6d4; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.5); z-index: 2; }
.profile-avatar-lg:hover { transform: scale(1.05); box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6); }
.profile-avatar-lg:hover::after { transform: scale(1.15); background: #8b5cf6; border-color: #fff; }

.profile-info { text-align: center; }
.profile-info h2 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; color: #fff; margin-bottom: 5px; }
.profile-info p { color: #06b6d4; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0; }

.profile-form-group { margin-bottom: 25px; }
.profile-form-group label { display: block; margin-bottom: 10px; font-size: 13px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.profile-input { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 16px 20px; border-radius: 16px; color: #fff; font-family: 'Outfit', sans-serif; font-size: 15px; transition: 0.3s; outline: none; }
.profile-input:focus { border-color: #06b6d4; box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); background: rgba(0,0,0,0.5); transform: translateY(-2px); }

.btn-save { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; padding: 18px 40px; border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3); display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; }
.btn-save:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5); }

@keyframes pulsePurple { 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); } }

@media (max-width: 768px) { .hero h1 { font-size: 48px; letter-spacing: -1px; } .glass-nav { flex-direction: column; gap: 15px; padding: 20px; border-radius: 25px; } .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px; } .profile-grid { grid-template-columns: 1fr; } }


/* =========================================
   YENİ: GLOBAL STİL VE KORUMA ZIRHI
========================================= */

/* KUSURSUZ KAYDIRMA VE ESNEME (OVERSCROLL) KORUMASI */
html, body {
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: none !important; /* Aşağı çekerek yenilemeyi ve yukarı sekmeyi kilitler */
    overscroll-behavior-x: none !important; /* Sağa sola esnemeyi kilitler */
}

/* TÜM SAYFALAR İÇİN YUMUŞAK GİRİŞ (FADE-IN) ANİMASYONU */
body {
    animation: globalFadeIn 0.6s ease-out forwards !important;
}

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

/* SİBERPUNK SCROLLBAR (KAYDIRMA ÇUBUĞU) TASARIMI */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.95);
}

::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}