/* R10.net Benzeri Forum Tasarımı - Gerçek R10.net Görünümü */
:root {
    --r10-header-dark: #1e3a8a;
    --r10-header-darker: #1e293b;
    --r10-nav-white: #ffffff;
    --r10-banner-red: #dc2626;
    --r10-banner-orange: #ea580c;
    --r10-banner-purple: #7c3aed;
    --r10-content-bg: #f8fafc;
    --r10-card-white: #ffffff;
    --r10-text-dark: #1f2937;
    --r10-text-gray: #6b7280;
    --r10-text-light: #9ca3af;
    --r10-border: #e5e7eb;
    --r10-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --r10-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --r10-green: #10b981;
    --r10-blue: #3b82f6;
    --r10-yellow: #f59e0b;
}

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--r10-content-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--r10-text-dark);
    line-height: 1.6;
}

/* Üst Header Bar - Koyu Mavi */
.top-header {
    background-color: var(--r10-header-dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.top-header .logo-subtitle {
    font-size: 12px;
    color: #cbd5e1;
}

.top-header .search-section {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.top-header .search-bar {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
}

.top-header .user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header .btn-premium {
    background-color: var(--r10-blue);
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-header .icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

/* İkincil Navigasyon - Beyaz */
.secondary-nav {
    background-color: var(--r10-nav-white);
    border-bottom: 1px solid var(--r10-border);
    padding: 12px 0;
}

.secondary-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.secondary-nav .nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.secondary-nav .nav-link {
    color: var(--r10-text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.secondary-nav .nav-link:hover {
    color: var(--r10-blue);
    border-bottom-color: var(--r10-blue);
}

/* Reklam Banner Alanı - Kırmızı */
.banner-section {
    background-color: var(--r10-banner-red);
    padding: 15px 0;
}

.banner-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.banner-item {
    background-color: var(--r10-banner-red);
    color: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.banner-item.orange {
    background-color: var(--r10-banner-orange);
}

.banner-item.purple {
    background-color: var(--r10-banner-purple);
}

.banner-item .banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-item .banner-icon {
    font-size: 24px;
}

.banner-item .banner-text {
    font-size: 14px;
    font-weight: 500;
}

.banner-item .banner-btn {
    background-color: var(--r10-yellow);
    color: var(--r10-text-dark);
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Ana İçerik Alanı */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Forum Tab Navigasyonu */
.forum-tabs {
    background-color: var(--r10-header-dark);
    border-radius: 8px 8px 0 0;
    padding: 0;
    margin-bottom: 0;
}

.forum-tabs .nav-tabs {
    border: none;
    display: flex;
    gap: 0;
}

.forum-tabs .nav-item {
    margin: 0;
}

.forum-tabs .nav-link {
    background: none;
    border: none;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.forum-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.forum-tabs .nav-link.active {
    background-color: var(--r10-card-white);
    color: var(--r10-text-dark);
    border-radius: 8px 8px 0 0;
}

/* Forum İçerik Kartı */
.forum-content-card {
    background-color: var(--r10-card-white);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--r10-shadow);
    overflow: hidden;
}

/* Forum Konuları Tablosu */
.forum-topics-table {
    width: 100%;
    border-collapse: collapse;
}

.forum-topics-table th {
    background-color: #f8fafc;
    color: var(--r10-text-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--r10-border);
}

.forum-topics-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.forum-topics-table tr:hover {
    background-color: #f8fafc;
}

/* Konu Başlığı */
.topic-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.topic-icon {
    width: 8px;
    height: 8px;
    background-color: var(--r10-green);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.topic-link {
    color: var(--r10-text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.topic-link:hover {
    color: var(--r10-blue);
}

.topic-meta {
    font-size: 12px;
    color: var(--r10-text-light);
    margin-top: 5px;
}

/* Özel Konu Stilleri */
.topic-sticky {
    background-color: #fef3c7;
    border-left: 4px solid var(--r10-yellow);
}

.topic-announcement {
    background-color: #dbeafe;
    border-left: 4px solid var(--r10-blue);
}

.topic-special {
    background-color: #f3e8ff;
    border-left: 4px solid var(--r10-banner-purple);
}

/* İstatistikler */
.topic-stats {
    text-align: center;
    font-size: 13px;
    color: var(--r10-text-gray);
}

.topic-stats .replies {
    color: var(--r10-blue);
    font-weight: 600;
}

.topic-stats .views {
    color: var(--r10-text-light);
}

/* Son Cevap */
.last-reply {
    font-size: 13px;
    color: var(--r10-text-gray);
}

.last-reply .username {
    color: var(--r10-blue);
    font-weight: 500;
}

/* İstatistik Kartları */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--r10-card-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--r10-shadow);
    text-align: center;
}

.stat-card .stat-icon {
    font-size: 32px;
    color: var(--r10-blue);
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--r10-text-dark);
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--r10-text-gray);
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--r10-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    color: white;
}

.btn-success {
    background-color: var(--r10-green);
    color: white;
}

.btn-success:hover {
    background-color: #059669;
    color: white;
}

.btn-warning {
    background-color: var(--r10-yellow);
    color: var(--r10-text-dark);
}

.btn-warning:hover {
    background-color: #d97706;
    color: white;
}

/* Rank Stilleri */
.rank-admin {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    animation: adminGlow 2s ease-in-out infinite alternate;
}

.rank-moderator {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
    animation: moderatorGlow 2s ease-in-out infinite alternate;
}

.rank-super_admin {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    animation: superAdminGlow 2s ease-in-out infinite alternate;
}

/* R10.net VIP Rankları */
.rank-r10_vip {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: vipGlow 2s ease-in-out infinite alternate;
}

.rank-r10_premium {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    animation: premiumGlow 2s ease-in-out infinite alternate;
}

.rank-r10_platinum {
    background: linear-gradient(45deg, #e5e4e2, #f7f7f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(229, 228, 226, 0.3);
    animation: platinumGlow 2s ease-in-out infinite alternate;
}

.rank-r10_gold {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: goldGlow 2s ease-in-out infinite alternate;
}

.rank-r10_silver {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    animation: silverGlow 2s ease-in-out infinite alternate;
}

.rank-r10_bronze {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
    animation: bronzeGlow 2s ease-in-out infinite alternate;
}

/* Kurumsal Rankları */
.rank-kurumsal_bronze {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
    animation: kurumsalBronzeGlow 2s ease-in-out infinite alternate;
}

.rank-kurumsal_silver {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    animation: kurumsalSilverGlow 2s ease-in-out infinite alternate;
}

.rank-kurumsal_gold {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: kurumsalGoldGlow 2s ease-in-out infinite alternate;
}

.rank-kurumsal_platinum {
    background: linear-gradient(45deg, #e5e4e2, #f7f7f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(229, 228, 226, 0.3);
    animation: kurumsalPlatinumGlow 2s ease-in-out infinite alternate;
}

.rank-kurumsal_diamond {
    background: linear-gradient(45deg, #b9f2ff, #e6f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(185, 242, 255, 0.5);
    animation: kurumsalDiamondGlow 2s ease-in-out infinite alternate;
}

/* Özel Durum Rankları */
.rank-banned {
    color: #ef4444;
    font-weight: bold;
    text-decoration: line-through;
}

.rank-warned {
    color: #f59e0b;
    font-weight: bold;
}

.rank-bot {
    color: #8b5cf6;
    font-weight: bold;
    font-style: italic;
}

/* Animasyonlar */
@keyframes adminGlow {
    0% { text-shadow: 0 0 10px rgba(255, 107, 107, 0.3); }
    100% { text-shadow: 0 0 20px rgba(255, 107, 107, 0.6); }
}

@keyframes moderatorGlow {
    0% { text-shadow: 0 0 10px rgba(78, 205, 196, 0.3); }
    100% { text-shadow: 0 0 20px rgba(78, 205, 196, 0.6); }
}

@keyframes superAdminGlow {
    0% { text-shadow: 0 0 10px rgba(102, 126, 234, 0.3); }
    100% { text-shadow: 0 0 20px rgba(102, 126, 234, 0.6); }
}

@keyframes vipGlow {
    0% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
}

@keyframes premiumGlow {
    0% { text-shadow: 0 0 10px rgba(192, 192, 192, 0.3); }
    100% { text-shadow: 0 0 20px rgba(192, 192, 192, 0.6); }
}

@keyframes platinumGlow {
    0% { text-shadow: 0 0 10px rgba(229, 228, 226, 0.3); }
    100% { text-shadow: 0 0 20px rgba(229, 228, 226, 0.6); }
}

@keyframes goldGlow {
    0% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
}

@keyframes silverGlow {
    0% { text-shadow: 0 0 10px rgba(192, 192, 192, 0.3); }
    100% { text-shadow: 0 0 20px rgba(192, 192, 192, 0.6); }
}

@keyframes bronzeGlow {
    0% { text-shadow: 0 0 10px rgba(205, 127, 50, 0.3); }
    100% { text-shadow: 0 0 20px rgba(205, 127, 50, 0.6); }
}

@keyframes kurumsalBronzeGlow {
    0% { text-shadow: 0 0 10px rgba(205, 127, 50, 0.3); }
    100% { text-shadow: 0 0 20px rgba(205, 127, 50, 0.6); }
}

@keyframes kurumsalSilverGlow {
    0% { text-shadow: 0 0 10px rgba(192, 192, 192, 0.3); }
    100% { text-shadow: 0 0 20px rgba(192, 192, 192, 0.6); }
}

@keyframes kurumsalGoldGlow {
    0% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
}

@keyframes kurumsalPlatinumGlow {
    0% { text-shadow: 0 0 10px rgba(229, 228, 226, 0.3); }
    100% { text-shadow: 0 0 20px rgba(229, 228, 226, 0.6); }
}

@keyframes kurumsalDiamondGlow {
    0% { text-shadow: 0 0 15px rgba(185, 242, 255, 0.5); }
    100% { text-shadow: 0 0 25px rgba(185, 242, 255, 0.8); }
}

/* Çoklu Rank Sistemi */
.user-ranks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rank-badge.achievement {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: white;
}

.rank-badge.special {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
    color: white;
}

.rank-badge.corporate {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.rank-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bot Arayüzü */
.bot-interface {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
}

.bot-message {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin: 5px 0;
    border-left: 3px solid #fbbf24;
}

.bot-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.bot-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bot-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .top-header .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .top-header .search-section {
        order: 3;
        max-width: 100%;
        margin: 0;
    }
    
    .secondary-nav .nav-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .banner-section .container {
        grid-template-columns: 1fr;
    }
    
    .forum-tabs .nav-tabs {
        flex-wrap: wrap;
    }
    
    .forum-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .forum-topics-table {
        font-size: 13px;
    }
    
    .forum-topics-table th,
    .forum-topics-table td {
        padding: 10px 8px;
    }
    
    .topic-title {
        flex-direction: column;
        gap: 5px;
    }
    
    .stats-section {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }
    
    .top-header .logo {
        font-size: 20px;
    }
    
    .top-header .logo-subtitle {
        font-size: 11px;
    }
    
    .secondary-nav .nav-links {
        gap: 10px;
    }
    
    .secondary-nav .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .banner-item {
        padding: 10px;
        min-height: 50px;
    }
    
    .banner-item .banner-text {
        font-size: 12px;
    }
    
    .banner-item .banner-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .forum-tabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .forum-topics-table th,
    .forum-topics-table td {
        padding: 8px 5px;
    }
    
    .topic-link {
        font-size: 13px;
    }
    
    .topic-meta {
        font-size: 11px;
    }
    
    .topic-stats {
        font-size: 12px;
    }
    
    .last-reply {
        font-size: 12px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card .stat-icon {
        font-size: 24px;
    }
    
    .stat-card .stat-number {
        font-size: 20px;
    }
    
    .stat-card .stat-label {
        font-size: 13px;
    }
}

/* Login ve Register Sayfaları için Özel Stiller */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--r10-content-bg) 0%, #e2e8f0 100%);
    padding: 20px;
}

.auth-card {
    background-color: var(--r10-card-white);
    border-radius: 12px;
    box-shadow: var(--r10-shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--r10-border);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--r10-header-dark);
    margin-bottom: 10px;
}

.auth-header .subtitle {
    color: var(--r10-text-gray);
    font-size: 16px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--r10-text-dark);
}

.auth-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--r10-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--r10-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: var(--r10-blue);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-header .logo {
        font-size: 28px;
    }
    
    .auth-header .subtitle {
        font-size: 14px;
    }
    
    .auth-form .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .auth-form .btn {
        padding: 10px;
        font-size: 14px;
    }
}