/* --- TEMEL AYARLAR & DEĞİŞKENLER --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary-orange: #ff7b00;
    --primary-blue: #4e5af2;
    --dark-bg: #020817;
    --card-bg: #ffffff;
    --text-main: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #94a3b8;
    --transition: 0.3s ease-in-out;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

/* --- TEMEL AYARLAR & DEĞİŞKENLER --- */
/* ... (diğer değişkenler aynı kalacak) ... */

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    
    /* --- YENİ ARKA PLAN AYARLARI --- */
    background-color: #020817; /* Görsel yüklenmezse diye varsayılan koyu renk */
    background-image: url('hero-bg.png'); /* Görselin klasör yolu (aynı klasördeyse böyle kalabilir) */
    background-position: center; /* Görseli merkeze al */
    background-size: cover; /* Görseli tüm ekrana kapla (boşluk kalmasın) */
    background-repeat: no-repeat; /* Görseli tekrar ettirme */
    background-attachment: fixed; /* Sayfa kaydıkça arka plan sabit kalsın (bu çok şık durur) */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('hero-bg.png') no-repeat center center fixed;
    background-size: cover;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- NAVBAR --- */
.navbar {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(2, 8, 23, 0.85);
    backdrop-filter: blur(12px);
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 26px; 
    font-weight: 800; 
    color: white; 
    text-decoration: none; 
    letter-spacing: -1px;
}

.logo span { 
    color: var(--primary-orange); 
}

.menu {
    list-style: none;
    display: flex;
}

.menu a { 
    color: var(--text-muted); 
    text-decoration: none; 
    margin: 0 18px; 
    font-size: 14px; 
    font-weight: 500;
    transition: var(--transition); 
}

.menu a:hover { 
    color: white; 
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-nav { 
    background: var(--primary-orange); 
    padding: 12px 28px; 
    border-radius: 12px; 
    color: white; 
    text-decoration: none; 
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.3);
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

/* --- HERO BÖLÜMÜ --- */
.hero { padding: 100px 0; }

.hero-flex { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
}

.badge {
    background: rgba(255, 123, 0, 0.1);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-left h1 { 
    font-size: 58px; 
    line-height: 1.1; 
    font-weight: 800;
    margin-bottom: 25px; 
}

.hero-left h1 span { 
    color: var(--primary-orange); 
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-buttons { 
    display: flex; 
    gap: 15px; 
}

.btn { 
    padding: 16px 35px; 
    border-radius: 14px; 
    text-decoration: none; 
    font-weight: 700; 
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition); 
}

.btn-primary { 
    background: var(--primary-orange); 
    color: white; 
}

.btn-secondary { 
    background: rgba(255,255,255,0.05); 
    color: white; 
    border: 1px solid rgba(255,255,255,0.1); 
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* --- GÖRSEL & LİDERLİK --- */
.visual-wrapper { position: relative; }

.floating-img { 
    width: 100%; 
    max-width: 450px; 
    animation: float 6s infinite ease-in-out; 
}

.leaderboard-card {
    position: absolute; 
    right: -30px; 
    bottom: -10px; 
    width: 280px;
    background: rgba(15, 23, 42, 0.8); 
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 24px; 
    padding: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}

.card-header i { color: #ffd700; }

.leader-item { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-top: 18px; 
}

.leader-item img { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    border: 2px solid var(--primary-orange); 
}

.user-info strong { display: block; font-size: 14px; }
.user-info span { font-size: 12px; color: var(--text-muted); }

/* --- HİZMETLER --- */
.services { padding: 100px 0; background: rgba(255,255,255,0.02); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); }

.service-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px; 
}

.card { 
    background: var(--card-bg); 
    color: var(--text-dark); 
    padding: 40px 30px; 
    border-radius: 24px; 
    text-align: center; 
    transition: var(--transition); 
}

.card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.icon-box { 
    font-size: 45px; 
    margin-bottom: 20px; 
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: #f8fafc;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
}

.icon-box.instagram { color: #E1306C; }
.icon-box.youtube { color: #FF0000; }
.icon-box.tiktok { color: #000000; }
.icon-box.twitter { color: #1DA1F2; }

.card h3 { margin-bottom: 15px; font-weight: 700; }
.card p { font-size: 14px; color: #64748b; }

/* --- GİRİŞ & KAYIT SAYFASI ÖZEL (BOZUKLUĞU DÜZELTEN KISIM) --- */

.login-page-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-form-box {
    background: var(--card-bg); 
    padding: 50px 40px; 
    border-radius: 30px;
    width: 100%; 
    max-width: 440px; /* Form genişliğini burada sabitledik */
    text-align: center; 
    color: var(--text-dark);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left; /* Etiketlerin sola yaslı olması için */
}

.auth-form .input-group {
    display: flex;
    flex-direction: column; /* Etiket ve Input'u alt alta dizer */
    gap: 8px;
    position: relative;
}

.auth-form label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 2px;
}

.auth-form input {
    width: 100%; 
    padding: 16px 20px; 
    border-radius: 15px; 
    border: 2px solid #e2e8f0;
    background: #f1f5f9; /* Hafif mavi-gri tonu */
    color: var(--text-dark); 
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.auth-form input:focus {
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.1);
}

.btn-submit {
    background: var(--primary-orange); 
    color: white; 
    padding: 16px; 
    border: none; 
    border-radius: 15px; 
    font-weight: 700; 
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(255, 123, 0, 0.2);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 123, 0, 0.3);
}

/* --- FOOTER --- */
.main-footer { 
    padding: 60px 0; 
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 13px;
}

/* --- ANİMASYONLAR --- */
@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-25px); } 
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-left h1 { font-size: 42px; }
    .hero-buttons { justify-content: center; }
    .leaderboard-card { position: relative; right: 0; bottom: 0; margin: 40px auto 0; }
}

@media (max-width: 768px) {
    .menu-wrapper { display: none; }
    .hero { padding: 60px 0; }
    .login-form-box { padding: 40px 25px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}