:root {
    --bg-color: #08080c;
    --primary: #6C5DD3;
    --primary-glow: #8f7df8;
    --accent: #FFD700;
    --text-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background: var(--bg-color);
    color: var(--text-white);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Giriş Animasyonu */
.intro-overlay {
    position: fixed; inset: 0; background: #000; z-index: 9999;
    pointer-events: none; transition: opacity 2.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.intro-overlay.fade-out { opacity: 0; }

.hidden-on-start { opacity: 0; transform: translateY(50px); transition: opacity 1.5s ease-out, transform 1.5s ease-out; }
.content-visible .hidden-on-start { opacity: 1; transform: translateY(0); }
.nav-brand.hidden-on-start { transition-delay: 0.5s; }
.nav-menu.hidden-on-start { transition-delay: 0.8s; }
.hero-content.hidden-on-start { transition-delay: 1.2s; }

/* Arka Plan */
.parallax-wrapper { position: absolute; inset: -50px; z-index: -1; }
#bgCanvas { position: absolute; width: 100%; height: 100%; z-index: -1; }
.nebula-bg {
    position: absolute; width: 100%; height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(108, 93, 211, 0.2), transparent 60%);
    filter: blur(100px); z-index: -2;
}
.vignette {
    position: absolute; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 30%, #08080c 100%);
    z-index: 0; pointer-events: none;
}

/* Navbar */
.glass-nav {
    position: fixed; top: 0; width: 100%; padding: 25px 60px;
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
    backdrop-filter: blur(5px); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-brand { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; }
.glow-text { color: var(--primary); text-shadow: 0 0 20px rgba(108,93,211,0.6); }
.nav-menu { display: flex; gap: 40px; align-items: center; }
.nav-link { text-decoration: none; color: rgba(255,255,255,0.7); font-weight: 500; transition: 0.3s; position: relative; }
.nav-link:hover { color: white; }
.nav-btn-login { padding: 8px 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; text-decoration: none; color: white; font-weight: 600; transition: 0.3s; cursor: pointer;}
.nav-btn-login:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Hero */
.hero-section { height: 100vh; display: flex; align-items: center; justify-content: flex-start; padding-left: 10%; position: relative; z-index: 10; }
.hero-content { text-align: left; max-width: 600px; }
.hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.text-gradient { background: linear-gradient(135deg, #fff 0%, #aaa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-bottom: 40px; line-height: 1.6; }

/* Butonlar */
.button-group { display: flex; gap: 20px; }
.btn-liquid { position: relative; padding: 18px 40px; text-decoration: none; border-radius: 50px; overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.inner-text { position: relative; z-index: 2; font-weight: 700; color: white; }
.liquid { position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background: var(--primary); border-radius: 50%; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1; }
.btn-liquid:hover { border-color: var(--primary); transform: scale(1.05); box-shadow: 0 0 30px rgba(108,93,211,0.4); }
.btn-liquid:hover .liquid { top: 0; border-radius: 0; }
.btn-glass { padding: 18px 35px; background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); border-radius: 50px; color: var(--accent); font-weight: 700; cursor: pointer; transition: 0.3s; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 10px; }
.btn-glass:hover { background: var(--accent); color: #000; box-shadow: 0 0 30px rgba(255,215,0,0.5); transform: translateY(-3px); }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(15px); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.modal-backdrop.active { opacity: 1; visibility: visible; }
.glass-card { background: rgba(20, 20, 30, 0.6); border: 1px solid rgba(255,255,255,0.1); padding: 40px; border-radius: 30px; width: 420px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: scale(0.8) translateY(50px); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-backdrop.active .glass-card { transform: scale(1) translateY(0); }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; opacity: 0.5; transition: 0.3s; }
.close-modal:hover { opacity: 1; transform: rotate(90deg); }
.modal-title { font-size: 1.8rem; margin-bottom: 25px; text-align: center; }
.input-field { position: relative; margin-bottom: 20px; }
.input-field input { width: 100%; padding: 12px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: white; outline: none; }
.input-field label { position: absolute; top: 12px; left: 0; color: rgba(255,255,255,0.5); transition: 0.3s ease; pointer-events: none; }
.input-field input:focus ~ label, .input-field input:valid ~ label { top: -10px; font-size: 0.8rem; color: var(--primary); }
.input-highlight { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.4s; }
.input-field input:focus ~ .input-highlight { width: 100%; }
.btn-neon { width: 100%; padding: 12px; border-radius: 12px; border: none; background: var(--primary); color: white; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 10px; box-shadow: 0 5px 15px rgba(108,93,211,0.3); }
.btn-neon:hover { background: var(--primary-glow); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(108,93,211,0.5); }
.btn-neon.gold { background: var(--accent); color: black; box-shadow: 0 5px 15px rgba(255,215,0,0.3); }
.btn-neon.gold:hover { background: #ffea00; }
.switch-text { text-align: center; margin-top: 15px; color: rgba(255,255,255,0.5); font-size: 0.9rem; cursor: pointer; }
.switch-text span { color: var(--primary); font-weight: bold; }
.hidden { display: none; }
/* --- KULLANICI PROFİL MENÜSÜ (DROPDOWN) --- */
.nav-user-container { position: relative; display: inline-block; }

.user-btn {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px; border-radius: 50px; transition: 0.3s;
}
.user-btn:hover { background: rgba(108, 93, 211, 0.2); border-color: #6C5DD3; }

.user-avatar {
    width: 30px; height: 30px; background: #6C5DD3; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem;
}

/* Açılır Menü Kutusu */
.dropdown-menu {
    position: absolute; top: 120%; right: 0; width: 200px;
    background: rgba(15, 15, 20, 0.95); backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 1000;
}
.dropdown-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }

/* Menü Linkleri */
.dropdown-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 15px;
    color: #ccc; text-decoration: none; border-radius: 8px; transition: 0.2s; font-size: 0.9rem;
}
.dropdown-item:hover { background: rgba(108, 93, 211, 0.1); color: white; }
.dropdown-item i { width: 20px; text-align: center; }
.dropdown-item.danger:hover { background: rgba(255, 0, 0, 0.1); color: #ff4d4d; }

/* Ayırıcı Çizgi */
.divider { height: 1px; background: rgba(255,255,255,0.1); margin: 5px 0; }