/* ==========================================================================
   itirafet.NET - Yeni Nesil Birleşik Premium CSS Altyapısı v3.5
   ========================================================================== */

/* 1. KÜRESEL SIFIRLAMALAR VE TEMEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #030712;
    color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* 2. MODERN HEADER (ÜST MENÜ) & LOGO ALANI */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(20, 20, 23, 0.85); 
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 9999;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo a {
    display: block;
}

.logo img {
    max-height: 40px; 
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav ul li a {
    color: #a1a1aa; 
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
    transition: color 0.25s ease, transform 0.2s ease;
    display: inline-block;
}

.main-nav ul li a:hover {
    color: #3b82f6; 
    transform: translateY(-1px);
}

/* 3. ULTRA MODERN SOHBET TERMİNALİ & DASHBOARD */
.app-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.chat-app-login {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.app-login-head {
    margin-bottom: 25px;
}

.app-login-head h2 {
    font-size: 28px; 
    font-weight: 800; 
    margin-bottom: 5px;
}

.app-login-head p {
    color: #a1a1aa; 
    font-size: 15px;
}

.form-group-item {
    margin-bottom: 16px;
}

.form-group-item label {
    display: block; 
    font-size: 14px; 
    color: #a1a1aa; 
    margin-bottom: 8px; 
    font-weight: 500;
}

.gender-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gender-radio {
    position: relative;
}

.gender-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: #1f1f23;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #a1a1aa;
    transition: all 0.2s ease;
}

.gender-radio input[type="radio"]:checked + .gender-btn.male {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #3b82f6;
}

.gender-radio input[type="radio"]:checked + .gender-btn.female {
    background: rgba(236, 72, 153, 0.15);
    border-color: #ec4899;
    color: #ec4899;
}

.room-select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: #1f1f23;
    color: #f4f4f5;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* Çevrimiçi Kullanıcı Listesi Yan Paneli */
.sidebar-users {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 24px;
    height: max-content;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    color: #f4f4f5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.sidebar-title span {
    color: #10b981;
    font-size: 13px;
}

.user-list-sim {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-item-sim {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.user-role {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.role-admin { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.role-vip { background: rgba(245, 158, 11); color: #f59e0b; }
.role-user { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

/* Giriş Elemanları Stilleri */
.login-form-box {
    display: flex;
    flex-direction: column;
}

.nick-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: #1f1f23;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease;
}

.nick-input:focus {
    border-color: #3b82f6;
}

.join-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.join-btn:hover {
    background: #1d4ed8;
}

/* 4. DİĞER GRİD VE KART YAPILARI */
.modern-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 60px; }
.modern-card {
    background: #141417;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.modern-card:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.3); }
.modern-card h3 { font-size: 20px; margin-bottom: 10px; }
.modern-card p { color: #a1a1aa; font-size: 14px; }
.room-badge { background: #1f1f23; padding: 4px 10px; border-radius: 20px; font-size: 12px; color: #3b82f6; font-weight: 600; }

.section-title { font-size: 28px; margin-bottom: 30px; font-weight: 700; }
.stream-box { background: #141417; border: 1px solid rgba(255, 255, 255, .06); border-radius: 20px; padding: 24px; margin-bottom: 60px; }
.stream-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stream-item:last-child { border: none; }
.stream-item .user { color: #3b82f6; font-weight: 600; }

.site-info-section { background: #141417; border: 1px solid rgba(255, 255, 255, 0.06); padding: 40px; border-radius: 24px; margin-bottom: 60px; }
.site-info-section h2 { font-size: 26px; margin-bottom: 16px; font-weight: 700; }
.site-info-section p { color: #a1a1aa; font-size: 16px; margin-bottom: 16px; }
.site-info-section p strong { color: #fff; }

/* 5. FOOTER (ALT BİLGİ) */
.main-footer { border-top: 1px solid rgba(255, 255, 255, .08); padding: 40px 0; background: #050507; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 14px; color: #a1a1aa; }
.footer-links a { color: #a1a1aa; text-decoration: none; margin-left: 15px; }
.footer-links a:hover { color: #3b82f6; }

/* 6. GLOBAL GELİŞMİŞ MOBİL SIKIŞTIRMA SİHİRBAZI */
@media(max-width: 968px) {
    .app-container { grid-template-columns: 1fr; margin-top: 15px; margin-bottom: 15px; }
    .sidebar-users { display: none; } 
    .modern-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-header .container { flex-direction: column; gap: 8px; padding: 8px 0; }
    .main-nav ul { gap: 12px; flex-wrap: wrap; justify-content: center; list-style: none; }
    .main-nav ul li a { font-size: 13px; padding: 2px 4px; }
    .logo img { max-height: 32px; }
}

@media(max-width: 700px) {
    /* Tüm sayfalardaki form kutusunu milimetrik sıkıştırıyoruz */
    .chat-app-login { padding: 18px !important; border-radius: 16px !important; } 
    .app-login-head { margin-bottom: 10px !important; }
    .app-login-head h2 { font-size: 22px !important; }
    .app-login-head p { display: none !important; } /* Telefonda yer kaplayan açıklama yazısını yok eder */
    
    .form-group-item { margin-bottom: 10px !important; }
    .form-group-item label { margin-bottom: 4px !important; font-size: 13px !important; }
    
    .nick-input { padding: 12px 16px !important; font-size: 15px !important; }
    .gender-selector { gap: 10px !important; }
    .gender-btn { padding: 10px !important; font-size: 14px !important; }
    .room-select { padding: 12px 16px !important; font-size: 14px !important; }
    .join-btn { padding: 14px !important; font-size: 15px !important; margin-top: 4px !important; }
    
    .footer-content { flex-direction: column; text-align: center; }
}