/* ============================================
   SOSYALİZİM - Ana Stil Dosyası
   Ay Yıldız Temalı Sosyal Ağ
   ============================================ */

:root {
    --brand-red: #E30A17;
    --brand-red-dark: #B80813;
    --brand-red-light: #FF2D3A;
    --brand-gold: #FFD700;
    --brand-crescent: #FFFFFF;
    --bg-primary: #f0f2f5;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #65676b;
    --text-muted: #8e8e8e;
    --border-color: #e4e6eb;
    --hover-bg: #f2f2f2;
    --online-green: #16a34a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
    overflow-y: scroll;
}

/* ============================================
   ÖZEL SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.hide-scroll::-webkit-scrollbar { display: none; }

/* ============================================
   AY YILDIZ LOGO
   ============================================ */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.crescent-star {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crescent-star .crescent {
    width: 32px;
    height: 32px;
    background: var(--brand-red);
    border-radius: 50%;
    position: relative;
}

.crescent-star .crescent::after {
    content: '';
    position: absolute;
    top: -2px;
    right: 3px;
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
}

.crescent-star .star {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-size: 14px;
    z-index: 2;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', 'Roboto', 'Open Sans', sans-serif;
    letter-spacing: -0.5px;
}

/* Büyük Ay Yıldız (Landing Sayfası) */
.hero-crescent-star {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.hero-crescent-star .hero-crescent {
    width: 180px;
    height: 180px;
    background: var(--brand-red);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 60px rgba(227, 10, 23, 0.3);
}

.hero-crescent-star .hero-crescent::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 15px;
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
}

.hero-crescent-star .hero-star {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-size: 60px;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(227, 10, 23, 0.3));
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 3px solid var(--brand-red);
}

.navbar .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
}

.navbar .nav-link:hover {
    background: var(--hover-bg);
    color: var(--brand-red);
}

.navbar .nav-link.active {
    color: var(--brand-red);
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-red);
    border-radius: 3px 3px 0 0;
}

.navbar .nav-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--brand-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ============================================
   ARAMA KUTUSU
   ============================================ */
.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
}

.search-box input:focus {
    box-shadow: 0 0 0 2px var(--brand-red);
    background: white;
}

.search-box .search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    pointer-events: auto;
}

/* Arama Sonuçları Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-height: 400px;
    overflow-y: auto;
    z-index: 300;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--hover-bg);
}

.search-result-avatar {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.search-result-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.search-result-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.search-result-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
}

.search-result-dot.online {
    background: var(--online-green);
}

.search-result-dot.offline {
    background: #ccc;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-username {
    font-size: 12px;
    color: var(--text-muted);
}

.search-result-city {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.search-result-city i {
    font-size: 10px;
    margin-right: 2px;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.search-empty {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   KARTLAR (CARDS)
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 16px;
}

/* ============================================
   SOL BLOK (MSN STİLİ)
   ============================================ */
.sidebar-left {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-left .friend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-left .friend-item:hover {
    background: var(--hover-bg);
}

.friend-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.friend-avatar-wrapper .online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
}

.friend-avatar-wrapper .online-dot.online {
    background: var(--online-green);
}

.friend-avatar-wrapper .online-dot.offline {
    background: #ccc;
}

/* ============================================
   GÖNDERİ PAYLAŞMA
   ============================================ */
.post-creator textarea {
    width: 100%;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 15px;
    resize: none;
    outline: none;
    transition: all 0.2s;
    min-height: 60px;
}

.post-creator textarea:focus {
    background: #e8eaed;
    box-shadow: inset 0 0 0 1px var(--brand-red);
}

.post-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.post-action-btn:hover {
    background: var(--hover-bg);
}

.post-action-btn.like-btn:hover { color: var(--brand-red); }
.post-action-btn.comment-btn:hover { color: #1877f2; }
.post-action-btn.share-btn:hover { color: #00a884; }

/* ============================================
   GÖNDERİ KARTI
   ============================================ */
.post-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.2s;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-card .post-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 16px 16px 12px;
}

.post-card .post-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-card .post-user-info img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.post-card .post-user-name {
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.post-card .post-user-name:hover {
    color: var(--brand-red);
}

.post-card .post-time {
    font-size: 12px;
    color: var(--text-muted);
}

.post-card .post-content {
    padding: 0 16px 12px;
    white-space: pre-wrap;
    line-height: 1.6;
}

.post-card .post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    cursor: pointer;
}

.post-card .post-location {
    margin: 0 16px 12px;
    padding: 12px;
    background: linear-gradient(135deg, #fff3e0, #fff8e1);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--brand-red);
}

.post-card .post-actions {
    display: flex;
    justify-content: space-around;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
}

.post-card .post-actions button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.post-card .post-actions button:hover {
    background: var(--hover-bg);
}

.post-card .post-actions button.liked {
    color: var(--brand-red);
}

.post-card .post-actions button.liked i {
    animation: likeAnimation 0.3s ease;
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================
   YORUMLAR
   ============================================ */
.comments-section {
    padding: 0 16px 16px;
    border-top: 1px solid var(--border-color);
}

.comment-input-wrapper {
    display: flex;
    gap: 8px;
    padding-top: 12px;
}

.comment-input-wrapper input {
    flex: 1;
    background: var(--bg-primary);
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 13px;
    outline: none;
}

.comment-input-wrapper input:focus {
    box-shadow: 0 0 0 1px var(--brand-red);
}

.comment-item {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.comment-bubble {
    background: var(--bg-primary);
    padding: 8px 12px;
    border-radius: 16px;
    max-width: 85%;
}

.comment-bubble .comment-author {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
}

.comment-bubble .comment-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.comment-bubble .comment-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   SAĞ BLOK
   ============================================ */
.sidebar-right {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item .news-time {
    font-size: 11px;
    color: var(--text-muted);
}

.news-item .news-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-top: 2px;
}

.news-item .news-title:hover {
    color: var(--brand-red);
}

.news-live-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   SOHBET (MSN TARZI)
   ============================================ */
.chat-popup {
    position: fixed;
    bottom: 0;
    right: 40px;
    width: 340px;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    max-height: 450px;
}

.chat-popup.hidden {
    display: none;
}

.chat-header {
    background: var(--brand-red);
    color: white;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f5f5f5;
}

.chat-messages .msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-messages .msg.sent {
    align-self: flex-end;
    background: var(--brand-red);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-messages .msg.received {
    align-self: flex-start;
    background: white;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--border-color);
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
}

.chat-input-area button {
    background: var(--brand-red);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chat-input-area button:hover {
    background: var(--brand-red-dark);
}

/* ============================================
   TOAST BİLDİRİMLERİ
   ============================================ */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--brand-red);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    pointer-events: none;
    max-width: 90vw;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.toast.success { background: #16a34a; }
.toast.warning { background: #f59e0b; }
.toast.error { background: var(--brand-red); }
.toast.info { background: #3b82f6; }

/* ============================================
   BUTONLAR
   ============================================ */
.btn-primary {
    background: var(--brand-red);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 10, 23, 0.3);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--hover-bg);
    border-color: #ccc;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-full);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PROFİL SAYFASI
   ============================================ */
.profile-cover {
    height: 250px;
    background: linear-gradient(135deg, var(--brand-red), #8b0000);
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-avatar-section {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    background: white;
}

.profile-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    padding: 16px 0;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-red);
}

.profile-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   ADMIN PANELİ
   ============================================ */
.admin-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    /* position:fixed KALDIRILDI - admin.php grid layout kullanıyor */
}

.admin-sidebar .admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.admin-sidebar .admin-nav-item:hover,
.admin-sidebar .admin-nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--brand-red);
}

.admin-stat-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--brand-red);
    transition: transform 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
}

.admin-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ============================================
   GİRİŞ / KAYIT FORMU
   ============================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 50%, #fff0f0 100%);
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    padding: 30px;
    text-align: center;
    color: white;
}

.auth-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(227, 10, 23, 0.1);
}

.form-group .form-error {
    color: var(--brand-red);
    font-size: 12px;
    margin-top: 4px;
}

.form-group .form-help {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}

/* ============================================
   TAB SİSTEMİ
   ============================================ */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    gap: 4px;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    transition: color 0.2s;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--brand-red);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-red);
    border-radius: 2px;
}

/* ============================================
   ANIMASYONLAR
   ============================================ */
.fade-in {
    animation: fadeIn 0.3s ease;
}

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

.slide-up {
    animation: slideUp 0.3s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sidebar-left, .sidebar-right {
        display: none;
    }
    
    .chat-popup {
        width: 100%;
        right: 0;
        left: 0;
    }
}

@media (max-width: 768px) {
    .navbar .nav-link span {
        display: none;
    }
    
    .profile-cover {
        height: 180px;
    }
    
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    
    .post-card .post-actions button {
        font-size: 12px;
        padding: 8px 4px;
    }
}

@media (max-width: 480px) {
    .search-box {
        display: none;
    }
    
    .post-creator textarea {
        font-size: 14px;
    }
}

/* ============================================
   YÜKLENİYOR ANİMASYONU
   ============================================ */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--brand-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   BOŞ DURUM
   ============================================ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

/* ============================================
   TABLO STİLLERİ (Admin)
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-primary);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.data-table tr:hover td {
    background: #fafbfc;
}

/* ============================================
   BADGE / ETİKET
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-red { background: #fee2e2; color: var(--brand-red); }
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-blue { background: #dbeafe; color: #2563eb; }
.badge-yellow { background: #fef9c3; color: #ca8a04; }
.badge-gray { background: #f3f4f6; color: #6b7280; }
.badge-purple { background: #f3e8ff; color: #9333ea; }

/* ============================================
   DAVET KUTUSU
   ============================================ */
.invite-banner {
    background: linear-gradient(135deg, var(--brand-red), #ff4757);
    color: white;
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.invite-banner::before {
    content: '🌙⭐';
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 60px;
    opacity: 0.15;
}

.invite-banner h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.invite-banner p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.invite-code-box {
    display: flex;
    gap: 8px;
}

.invite-code-box input {
    flex: 1;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    outline: none;
}

.invite-code-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.invite-code-box button {
    background: white;
    color: var(--brand-red);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.invite-code-box button:hover {
    transform: scale(1.05);
}