/* ==========================================================================
   Ejderhalar Mirası Forum - Dragons Legacy Theme v2
   Görseldeki tasarıma uygun ejder temalı forum
   ========================================================================== */

/* Modern Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');

/* CSS Reset ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Temel Body Ayarları */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #2c1810 0%, #1a0f08 50%, #0d0704 100%);
    background-attachment: fixed;
    color: #8B4513;
    line-height: 1.6;
    min-height: 100vh;
    font-weight: 400;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/forum/assets/images/background.png') center/cover no-repeat;
    z-index: -2;
    pointer-events: none;
}

body::after {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.5em;
}

/* ==========================================================================
   Epic Header - Ejder Temalı Başlık
   ========================================================================== */

.epic-header {
    position: relative;
    height: 280px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.7), rgba(26, 15, 8, 0.6));
    border-bottom: 3px solid #d4af37;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.game-logo {
    text-align: center;
    flex-shrink: 0;
}

.logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: url('/forum/assets/images/logo.png') center/cover;
    background-size: 85px 85px;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.8), inset 0 0 20px rgba(212, 175, 55, 0.4);
    animation: dragonGlow 4s ease-in-out infinite alternate;
    position: relative;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.6);
    animation: rotate 20s linear infinite;
}

@keyframes dragonGlow {
    0% { 
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.3);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.8), inset 0 0 30px rgba(255, 107, 53, 0.4);
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-circle i {
    display: none;
}

.game-logo h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #d4af37;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.main-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.main-navigation a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    font-size: 0.9rem;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.main-navigation a:hover::before {
    opacity: 1;
}

.main-navigation a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.main-navigation a.active::before {
    opacity: 0.7;
}

.user-area {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 10;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.login-btn {
    background: linear-gradient(45deg, #8B4513, #d4af37);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* ==========================================================================
   Ana Container
   ========================================================================== */

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */

.breadcrumb {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumb a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #8B4513;
}

.breadcrumb-separator {
    color: #8B4513;
    margin: 0 0.5rem;
}

/* ==========================================================================
   Sayfa Başlığı
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    color: #2c1810;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><path d="M0,100 Q100,50 200,100 T400,80 L400,200 L0,200 Z" fill="%23d4af37" opacity="0.1"/><circle cx="50" cy="50" r="30" fill="%238B4513" opacity="0.1"/><circle cx="350" cy="150" r="40" fill="%23d4af37" opacity="0.1"/></svg>') center/cover;
    z-index: -1;
}

.page-title {
    font-size: 1.8rem;
    color: #8b4513;
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.page-subtitle {
    color: #a0522d;
    font-size: 1rem;
}

/* ==========================================================================
   Kartlar ve Paneller
   ========================================================================== */

.card {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path d="M0,150 Q75,100 150,150 T300,130 L300,200 L0,200 Z" fill="%23d4af37" opacity="0.05"/><circle cx="250" cy="50" r="25" fill="%238B4513" opacity="0.05"/></svg>') center/cover;
    z-index: -1;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: #000000;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
    color: #2c1810;
}

.card-footer {
    background: rgba(139, 69, 19, 0.1);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #8b4513;
}

/* ==========================================================================
   İstatistik Kartları
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B4513;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #8b4513;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ==========================================================================
   Forum Kategorileri
   ========================================================================== */

.categories-list {
    margin-bottom: 2rem;
}

.category-item {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100"><path d="M0,70 Q100,30 200,70 T400,50 L400,100 L0,100 Z" fill="%23d4af37" opacity="0.05"/></svg>') center/cover;
    z-index: -1;
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.category-header {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: #000000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 0.8rem;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    align-items: center;
    transition: background-color 0.3s ease;
    color: #2c1810;
}

.category-row:hover {
    background: rgba(255, 107, 53, 0.1);
}

.category-row:last-child {
    border-bottom: none;
}

.forum-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.forum-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.forum-details h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    color: #8b4513;
}

.forum-details h4 a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forum-details h4 a:hover {
    color: #8B4513;
}

.forum-details p {
    color: #a0522d;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.3;
}

.forum-stats {
    text-align: center;
    min-width: 70px;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #8B4513;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: #8b4513;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.last-post {
    text-align: right;
    min-width: 160px;
}

.last-topic {
    color: #8b4513;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.last-topic:hover {
    color: #8B4513;
}

.last-post-meta {
    font-size: 0.8rem;
    color: #a0522d;
}

.last-user {
    color: #8B4513;
    font-weight: 600;
}

.no-posts {
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

/* ==========================================================================
   Konu Listesi
   ========================================================================== */

.topics-list {
    margin-bottom: 2rem;
}

.topic-item {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 1.2rem;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.topic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100"><path d="M0,70 Q100,30 200,70 T400,50 L400,100 L0,100 Z" fill="%23d4af37" opacity="0.03"/></svg>') center/cover;
    z-index: -1;
}

.topic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.topic-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topic-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.topic-icon.pinned {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #8b4513;
}

.topic-icon.locked {
    background: linear-gradient(45deg, #6c757d, #495057);
}

.topic-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #8b4513;
}

.topic-details h4 a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topic-details h4 a:hover {
    color: #8B4513;
}

.topic-meta {
    font-size: 0.85rem;
    color: #a0522d;
}

.topic-author {
    color: #8B4513;
    font-weight: 600;
}

.topic-stats {
    text-align: center;
    min-width: 80px;
}

.topic-last-post {
    text-align: right;
    min-width: 180px;
}

.last-post-user {
    color: #8B4513;
    font-weight: 600;
    font-size: 0.9rem;
}

.last-post-time {
    color: #a0522d;
    font-size: 0.8rem;
}

/* ==========================================================================
   Mesaj Kartları
   ========================================================================== */

.posts-container {
    margin-bottom: 2rem;
}

.post-card {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    
left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><path d="M0,150 Q100,100 200,150 T400,130 L400,200 L0,200 Z" fill="%23d4af37" opacity="0.03"/></svg>') center/cover;
    z-index: -1;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.post-header {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: #000000;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.author-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #000000;
}

.author-stats {
    font-size: 0.8rem;
    color: #d4af37;
}

.post-meta {
    text-align: right;
    font-size: 0.85rem;
    color: #d4af37;
}

.post-number {
    font-weight: 600;
    color: #000000;
}

.post-body {
    padding: 1.5rem;
    color: #2c1810;
}

.post-content {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.post-content blockquote.quote {
    background: rgba(139, 69, 19, 0.1);
    border-left: 4px solid #8B4513;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    position: relative;
    line-height: 1.6;
}

.post-content blockquote.quote strong {
    color: #8B4513;
    font-style: normal;
    font-weight: 600;
    margin-right: 0.25rem;
}

.post-content code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9em;
}

.post-content pre {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.post-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    flex-wrap: wrap;
}

.action-btn {
    background: rgba(255, 107, 53, 0.1);
    color: #8B4513;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.action-btn:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.action-btn.delete:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* ==========================================================================
   Formlar
   ========================================================================== */

.form-container {
    background: linear-gradient(135deg, rgba(244, 228, 193, 0.95), rgba(232, 220, 192, 0.9));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><path d="M0,200 Q100,150 200,200 T400,180 L400,300 L0,300 Z" fill="%23d4af37" opacity="0.05"/><circle cx="50" cy="50" r="30" fill="%238B4513" opacity="0.05"/></svg>') center/cover;
    z-index: -1;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #8b4513;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c1810;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 1);
}

.form-control.large {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Butonlar
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #8B4513, #d4af37);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 2px solid rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

/* ==========================================================================
   Yardımcı Sınıflar
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-muted {
    color: #A36B4F;
}

.text-small {
    font-size: 0.85rem;
}

/* Server Status */
.server-online {
    color: #28a745;
    font-weight: 600;
}

.server-offline {
    color: #dc3545;
    font-weight: 600;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ==========================================================================
   Özel Durumlar
   ========================================================================== */

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #8b4513;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8B4513, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #8b4513;
}

.error-message {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
}

.error-message i {
    font-size: 1.5rem;
}

.success-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.info-message {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

/* ==========================================================================
   Quill Editör Tema Uyumu
   ========================================================================== */

.ql-toolbar {
    background: rgba(244, 228, 193, 0.95);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.ql-container {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-top: none;
    border-radius: 0 0 10px 10px;
    color: #2c1810;
}

.ql-editor {
    min-height: 150px;
    color: #2c1810;
}

.ql-editor.ql-blank::before {
    color: #8b4513;
    opacity: 0.7;
}

/* ==========================================================================
   Responsive Tasarım
   ========================================================================== */

@media (max-width: 768px) {
    .epic-header {
        height: 240px;
    }
    
    .header-content {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .game-logo {
        flex-shrink: 0;
    }
    
    .game-logo h1 {
        font-size: 1.5rem;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
        background-size: 65px 65px;
    }
    
    .logo-circle::before {
        width: 90px;
        height: 90px;
        border: 2px solid rgba(212, 175, 55, 0.6);
    }
    
    .logo-circle i {
        font-size: 1.5rem;
    }
    
    .main-navigation {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        flex-shrink: 0;
    }
    
    .main-navigation a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .user-area {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 10;
    }
    
    .user-welcome {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .main-container {
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .category-header,
    .category-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
        padding: 0.6rem;
    }
    
    .topic-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
        padding: 0.8rem;
    }
    
    .post-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .post-actions {
        justify-content: center;
    }
    
    .last-post {
        text-align: center;
        min-width: 120px;
    }
    
    .forum-stats,
    .topic-stats {
        text-align: center;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .epic-header {
        height: 200px;
    }
    
    .header-content {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .game-logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
        background-size: 55px 55px;
        margin-bottom: 0.5rem;
    }
    
    .logo-circle::before {
        width: 80px;
        height: 80px;
        border: 2px solid rgba(212, 175, 55, 0.6);
    }
    
    .logo-circle i {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .main-navigation {
        gap: 0.4rem;
        padding: 0.4rem 0.6rem;
    }
    
    .main-navigation a {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .card-body,
    .form-container {
        padding: 0.8rem;
    }
    
    .post-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8B4513, #d4af37);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #d4af37, #8B4513);
}

/* ==========================================================================
   Animasyonlar
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dragonFly {
    0% { transform: translateX(-100px) translateY(0px); }
    25% { transform: translateX(0px) translateY(-20px); }
    50% { transform: translateX(100px) translateY(0px); }
    75% { transform: translateX(0px) translateY(20px); }
    100% { transform: translateX(-100px) translateY(0px); }
}

.card,
.post-card,
.category-item,
.topic-item,
.stat-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.epic-footer {
    background: linear-gradient(135deg, #1a0f08, #0d0704);
    color: #8B4513;
    margin-top: 4rem;
    border-top: 3px solid #d4af37;
    position: relative;
    overflow: hidden;
}

.epic-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,80 L1200,200 L0,200 Z" fill="%23d4af37" opacity="0.1"/></svg>') center/cover;
    z-index: -1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h5 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4af37;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* ========== KULLANICI ADI LİNKLERİ ========== */
.username-link {
    color: #3498db !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.username-link:hover {
    color: #2980b9 !important;
    text-decoration: underline;
}

/* Header'daki kullanıcı adı linki */
.user-welcome .username-link {
    color: #ffffff !important;
    font-weight: 600;
}

.user-welcome .username-link:hover {
    color: #f39c12 !important;
    text-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}

/* Post author linklerinde özel stil */
.post-author .username-link {
    color: #2c3e50 !important;
    font-weight: 600;
}

.post-author .username-link:hover {
    color: #e74c3c !important;
}

/* Topic meta ve last post linklerinde stil */
.topic-meta .username-link,
.last-post-user .username-link,
.last-post-meta .username-link {
    color: #7f8c8d !important;
    font-size: 0.9em;
}

.topic-meta .username-link:hover,
.last-post-user .username-link:hover,
.last-post-meta .username-link:hover {
    color: #3498db !important;
}

/* ========== OYUN KARAKTERİ LİNKİ ========== */
/* Tüm sayfalarda kullanıcı adlarının yanındaki oyun karakteri linki */
.game-info-link {
    color: #e74c3c !important;
    text-decoration: none;
    margin-left: 5px;
    font-size: 0.8em;
    transition: all 0.3s ease;
    display: inline-block;
}

.game-info-link:hover {
    color: #c0392b !important;
    transform: scale(1.1);
}

.game-info-link i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Profil sayfasındaki oyun karakteri linki */
.profile-name .game-info-link {
    font-size: 0.6em;
    margin-left: 10px;
}

/* Post author linklerindeki oyun karakteri linki */
.post-author .game-info-link,
.topic-meta .game-info-link,
.last-post-user .game-info-link {
    font-size: 0.7em;
    margin-left: 3px;
}

/* =====================================================
   Hiyerarşik Kategori Yapısı Stilleri
   ===================================================== */

/* Alt kategori girintileri */
.category-row.level-0 {
    border-left: none;
}

.category-row.level-1 {
    border-left: 4px solid #C6A982;
    margin-left: 20px;
    background: rgba(198, 169, 130, 0.05);
}

.category-row.level-2 {
    border-left: 4px solid #8B6F47;
    margin-left: 40px;
    background: rgba(139, 111, 71, 0.05);
}

.category-row.level-3 {
    border-left: 4px solid #5B3E2B;
    margin-left: 60px;
    background: rgba(91, 62, 43, 0.05);
}

/* Ana kategori başlıkları */
.category-row.level-0 .forum-details h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #5B3E2B;
}

.category-row.level-0 .forum-icon {
    background: linear-gradient(135deg, #C6A982, #8B6F47);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

/* Alt kategori başlıkları */
.category-row.level-1 .forum-details h4 {
    font-size: 1.1em;
    font-weight: 500;
    color: #6B4E3D;
}

.category-row.level-1 .forum-icon {
    background: rgba(198, 169, 130, 0.2);
    color: #8B6F47;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
}

/* Breadcrumb geliştirmeleri */
.breadcrumb {
    background: rgba(245, 232, 208, 0.9);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #C6A982;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #8B6F47;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #5B3E2B;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #C6A982;
    margin: 0 8px;
    font-weight: 500;
}

/* Kategori dropdown stilleri */
.form-control select {
    background: white;
    border: 2px solid #C6A982;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1em;
    color: #5B3E2B;
    transition: all 0.3s ease;
}

.form-control select:focus {
    border-color: #8B6F47;
    box-shadow: 0 0 0 3px rgba(198, 169, 130, 0.2);
    outline: none;
}

.form-control select option {
    padding: 8px 12px;
    color: #5B3E2B;
}

/* Form yardım metni */
.form-text {
    font-size: 0.85em;
    color: #8B6F47;
    margin-top: 5px;
    font-style: italic;
}

/* Alt kategori listesi başlıkları */
.categories-list .page-header h2 {
    color: #5B3E2B;
    font-size: 1.5em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.categories-list .page-header h2::before {
    content: '📁';
    font-size: 1.2em;
}

/* Kategori istatistikleri geliştirmeleri */
.forum-stats {
    min-width: 120px;
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 1.2em;
    font-weight: 600;
    color: #5B3E2B;
    display: block;
}

.stat-label {
    font-size: 0.8em;
    color: #8B6F47;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Son mesaj alanı geliştirmeleri */
.last-post {
    min-width: 200px;
    padding: 10px;
    font-size: 0.9em;
}

.last-topic {
    color: #8B6F47;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.last-topic:hover {
    color: #5B3E2B;
    text-decoration: underline;
}

.last-post-meta {
    color: #A0826D;
    font-size: 0.85em;
    line-height: 1.4;
}

.last-post-meta a {
    color: #8B6F47;
    text-decoration: none;
}

.last-post-meta a:hover {
    color: #5B3E2B;
    text-decoration: underline;
}

/* Boş durum mesajları */
.no-posts {
    color: #A0826D;
    font-style: italic;
    font-size: 0.9em;
}

/* Responsive tasarım geliştirmeleri */
@media (max-width: 768px) {
    .category-row.level-1 {
        margin-left: 10px;
    }
    
    .category-row.level-2 {
        margin-left: 20px;
    }
    
    .category-row.level-3 {
        margin-left: 30px;
    }
    
    .breadcrumb {
        font-size: 0.8em;
        padding: 8px 12px;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
    }
    
    .forum-stats {
        min-width: 80px;
    }
    
    .last-post {
        min-width: 150px;
    }
}

/* Kategori hover efektleri */
.category-row {
    transition: all 0.3s ease;
}

.category-row:hover {
    background: rgba(245, 232, 208, 0.3) !important;
    transform: translateX(2px);
}

.category-row.level-0:hover {
    box-shadow: 0 4px 12px rgba(91, 62, 43, 0.15);
}

.category-row.level-1:hover {
    box-shadow: 0 2px 8px rgba(198, 169, 130, 0.2);
}

/* Kategori ikonları için özel renkler */
.forum-icon .fa-bullhorn { color: #e74c3c; }
.forum-icon .fa-users { color: #3498db; }
.forum-icon .fa-book { color: #2ecc71; }
.forum-icon .fa-sword { color: #e67e22; }
.forum-icon .fa-calendar-alt { color: #9b59b6; }
.forum-icon .fa-exchange-alt { color: #f39c12; }
.forum-icon .fa-lightbulb { color: #f1c40f; }
.forum-icon .fa-comments { color: #95a5a6; }
.forum-icon .fa-dragon { color: #c0392b; }
.forum-icon .fa-shield-alt { color: #34495e; }
.forum-icon .fa-hat-wizard { color: #8e44ad; }
.forum-icon .fa-coins { color: #f39c12; }

/* ==========================================================================
   Admin Kontrolleri
   ========================================================================== */

.admin-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.admin-controls form {
    margin: 0;
}

.admin-controls .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.admin-controls .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.admin-controls .btn:hover::before {
    left: 100%;
}

.admin-controls .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.admin-controls .btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.admin-controls .btn-warning:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.admin-controls .btn-info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.admin-controls .btn-info:hover {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    color: white;
}

.admin-controls .btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.admin-controls .btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    color: white;
}

.admin-controls .btn i {
    margin-right: 4px;
}

.admin-controls .btn-sm {
    padding: 5px 10px;
    font-size: 0.75rem;
}

/* Badge stilleri */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    margin-left: 0.5rem;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
    color: #000 !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
}

.badge.text-dark {
    color: #000 !important;
}

.badge.ms-2 {
    margin-left: 0.5rem !important;
}

/* Alert stilleri */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
    color: #155724;
}

.alert-success i {
    color: #28a745;
    font-size: 1.2rem;
}

/* Konu durumu ikonları */
.text-warning {
    color: #f39c12 !important;
}

.text-danger {
    color: #e74c3c !important;
}

/* Admin kontrolleri responsive */
@media (max-width: 768px) {
    .admin-controls {
        flex-direction: column;
        width: 100%;
        gap: 6px;
        margin-top: 12px;
    }
    
    .admin-controls .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .page-header .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-header .d-flex > div:last-child {
        width: 100%;
    }
}

/* Sayfa başlığı düzeni geliştirmeleri */
.page-header .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.page-header .d-flex > div:first-child {
    flex: 1;
}

.page-header .d-flex > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Buton grubu stilleri */
.d-flex.gap-2 {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Justify content sınıfları */
.justify-content-between {
    justify-content: space-between !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-center {
    align-items: center !important;
}