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

:root {
    --primary-color: #ff4757;
    --primary-dark: #c0392b;
    --secondary-color: #e74c3c;
    --accent-color: #ff4757;
    --danger-color: #e74c3c;
    --warning-color: #ffa502;
    --dark-color: #0a0e27;
    --dark-secondary: #1a1f3a;
    --dark-tertiary: #2a2f4a;
    --light-color: #ffe0e0;
    --border-color: rgba(255, 71, 87, 0.2);
    --text-color: #ffffff;
    --text-light: #b0b8c8;
    --text-muted: #6c7a89;
    --bg-color: #0f1419;
    --bg-light: #1a1f2e;
    --bg-card: #1e2332;
    --shadow: 0 4px 20px rgba(255, 71, 87, 0.1);
    --shadow-lg: 0 8px 30px rgba(255, 71, 87, 0.2);
    --glow: 0 0 20px rgba(255, 71, 87, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 71, 87, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(231, 76, 60, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 71, 87, 0.05) 0px, transparent 50%);
    min-height: 100vh;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Top Bar */
.header-top-bar {
    background: #262830;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.user-profile-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-avatar-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.username-top {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.username-top:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.top-bar-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    position: relative;
    color: white;
    font-size: 18px;
    text-decoration: none;
    padding: 8px;
    transition: color 0.3s;
}

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

.badge-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

.top-bar-guest {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login-top,
.btn-register-top {
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-login-top {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-login-top:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-register-top {
    color: white;
    background: var(--primary-color);
}

.btn-register-top:hover {
    background: var(--primary-dark);
}

.search-icon-top {
    margin-left: auto;
}

.search-toggle-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.search-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Main Navbar */
.header-main-nav {
    background: #000000;
    padding: 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo-main a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-part {
    color: white;
}

.logo-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
}

.header-search form {
    display: flex;
    gap: 0;
}

.header-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 25px 0 0 25px;
    font-size: 14px;
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

.header-search button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.header-search button:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: background 0.3s;
}

.btn-user:hover {
    background: rgba(255,255,255,0.3);
}

.btn-user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.btn-login, .btn-register, .btn-logout {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-login {
    background: rgba(255,255,255,0.2);
}

.btn-register {
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
}

.btn-logout {
    background: rgba(255,255,255,0.1);
}

.btn-login:hover, .btn-logout:hover {
    background: rgba(255,255,255,0.2);
}

.btn-register:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    background: transparent;
    padding: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
}

.main-nav li a:hover {
    color: var(--primary-color);
}

.main-nav li a i {
    font-size: 14px;
}

/* Hamburger Menu Button */
.hamburger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-menu-btn span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.premium-link {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
}

.premium-link:hover {
    background: linear-gradient(135deg, #764ba2, #667eea) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.search-overlay.active {
    right: 0;
}

.search-overlay-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-overlay-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.search-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 16px;
}

.search-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.search-tab-header {
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-overlay-body {
    padding: 30px;
    flex: 1;
}

.search-overlay-body h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 25px;
}

.search-overlay-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-overlay-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-overlay-form .form-group label {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.search-overlay-form input[type="text"] {
    padding: 12px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.search-overlay-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.search-overlay-form .checkbox-group {
    flex-direction: row;
    align-items: center;
}

.search-overlay-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.search-overlay-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.search-overlay-form .checkbox-label .fa-question-circle {
    color: var(--text-muted);
    font-size: 14px;
    cursor: help;
}

.search-overlay-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.search-overlay-form .btn {
    width: 100%;
    padding: 12px;
    justify-content: center;
}

.search-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.search-overlay-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Header - Hamburger Menu (867px ve altı) */
@media (max-width: 867px) {
    .hamburger-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        overflow-y: auto;
        padding: 80px 0 20px 0;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav li a {
        width: 100%;
        padding: 15px 20px;
        border-radius: 0;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li a:hover {
        color: var(--primary-color);
    }
    
    /* Mobile Menu Backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    
    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .user-profile-top {
        flex: 1;
    }
    
    .top-bar-icons {
        gap: 10px;
    }
    
    .icon-btn {
        font-size: 16px;
        padding: 6px;
    }
    
    .search-icon-top {
        margin-left: 0;
    }
    
    .navbar-content {
        position: relative;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .main-nav {
        width: 280px;
    }
    
    .search-overlay {
        width: 100%;
        right: -100%;
    }
    
    .search-overlay.active {
        right: 0;
    }
}
    
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 30px 0;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.welcome-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.welcome-section p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.welcome-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Categories */
.categories-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.category-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    margin-bottom: 10px;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
    transition: left 0.5s;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    background: var(--bg-light);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.2);
    border-color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

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

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.category-item:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.category-info h3 {
    margin-bottom: 5px;
}

.category-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.category-info h3 a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.category-description {
    color: var(--text-light);
    font-size: 14px;
}

.category-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.category-last-post {
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
}

/* Topics List */
.topics-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.topic-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.topic-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.topic-item:hover::after {
    transform: scaleY(1);
}

.topic-item:hover {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding-left: 16px;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.15);
}

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

.topic-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.topic-content {
    flex: 1;
}

.topic-content h4 {
    margin-bottom: 8px;
}

.topic-content h4 a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
}

.topic-content h4 a:hover {
    color: var(--primary-color);
}

.topic-content h4 .pinned {
    color: var(--warning-color);
    margin-right: 5px;
}

.topic-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.topic-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.topic-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.topic-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.5);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
    background: var(--dark-tertiary);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--dark-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.auth-page {
    max-width: 500px;
    margin: 50px auto;
}

.auth-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.auth-container h1 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-color);
}

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

.auth-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.auth-form input:focus,
.auth-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    background: var(--bg-color);
}

.auth-form small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 12px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(255, 71, 87, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.alert-error {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background: rgba(231, 76, 60, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

/* Topic Page */
.topic-page {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.topic-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.topic-header h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

.topic-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.topic-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Posts */
.posts-list {
    margin-bottom: 30px;
}

.post-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

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

.post-sidebar {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
}

.post-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.author-info {
    text-align: center;
}

.author-name {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 5px;
}

.author-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
}

.badge-admin {
    background: var(--danger-color);
    color: white;
}

.badge-moderator {
    background: var(--warning-color);
    color: white;
}

.author-stats {
    font-size: 12px;
    color: var(--text-light);
}

.author-stats .stat {
    margin-bottom: 5px;
}

.post-content {
    padding-left: 20px;
}

.post-header {
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.post-body {
    line-height: 1.8;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.post-body img,
.post-body .post-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: var(--shadow);
    display: block;
}

.post-body img.post-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: var(--shadow);
    display: block;
}

.post-body p {
    margin-bottom: 10px;
}

.post-body p:last-child {
    margin-bottom: 0;
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 {
    margin: 15px 0 10px 0;
    color: var(--text-color);
}

.post-body ul, .post-body ol {
    margin: 10px 0 10px 20px;
    padding-left: 20px;
}

.post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 15px 0;
    color: var(--text-light);
    font-style: italic;
}

.post-body code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.post-body pre {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid var(--border-color);
}

.post-body pre code {
    background: none;
    padding: 0;
    color: var(--text-color);
}

.post-body a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.post-body a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.post-actions {
    display: flex;
    gap: 15px;
}

.post-actions a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
}

/* Reply Form */
.reply-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.reply-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    background: var(--bg-color);
}

/* Category Page */
.category-page {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.category-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.category-header-info {
    flex: 1;
}

.category-header-info h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.topics-table {
    margin-top: 20px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 150px 100px 100px 200px;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

.topic-row {
    display: grid;
    grid-template-columns: 2fr 150px 100px 100px 200px;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background 0.3s;
}

.topic-row:hover {
    background: var(--bg-light);
}

.topic-row.pinned {
    background: #fff9e6;
}

.topic-icon {
    display: inline-flex;
    margin-right: 10px;
    color: var(--text-light);
}

.topic-title h3 {
    font-size: 16px;
    margin: 0;
}

.topic-title a {
    color: var(--text-color);
    text-decoration: none;
}

.topic-title a:hover {
    color: var(--primary-color);
}

.author-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
}

.author-link img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.last-reply {
    font-size: 12px;
    color: var(--text-light);
}

.last-reply-author a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
.main-footer {
    background: var(--dark-secondary);
    border-top: 1px solid var(--border-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
    }
    
    .header-search {
        max-width: 100%;
        margin: 0;
    }
    
    .category-item {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
    }
    
    .category-stats {
        grid-column: 1 / -1;
        justify-content: center;
    }
    
    .category-last-post {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .post-item {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .post-content {
        padding-left: 0;
    }
    
    .table-header,
    .topic-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .col-author,
    .col-replies,
    .col-views,
    .col-last {
        display: none;
    }
}

/* ============================================
   LANDING PAGE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 50%, var(--dark-color) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 71, 87, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.15) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 14, 39, 0.85) 0%,
        rgba(10, 14, 39, 0.65) 50%,
        rgba(10, 14, 39, 0.9) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.hero-actions .btn-primary {
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 71, 87, 0.8);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.community-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.community-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.community-card ul {
    list-style: none;
    padding: 0;
}

.community-card ul li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.community-card ul li:last-child {
    border-bottom: none;
}

.community-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: var(--dark-color);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
}

.cta-actions .btn-secondary {
    background: var(--dark-color);
    color: white;
    border: none;
}

.cta-actions .btn-secondary:hover {
    background: var(--dark-secondary);
    transform: translateY(-3px);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ADVERTISEMENT SECTION
   ============================================ */

.advertisement-section {
    padding: 40px 0;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ads-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ads-left,
.ads-right {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
}

.ads-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.ads-title i {
    color: var(--primary-color);
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ad-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.ad-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-light);
    text-align: center;
    min-height: 120px;
}

.ad-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0.5;
}

.ad-placeholder span {
    font-size: 0.9rem;
}

/* ============================================
   RECENT TOPICS HOME SECTION
   ============================================ */

.recent-topics-home-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.recent-topics-home-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.recent-topics-home-section .section-header h2 {
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
}

.recent-topics-home-section .section-header h2 i {
    color: var(--primary-color);
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-all-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.recent-topics-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-topic-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.recent-topic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.recent-topic-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.recent-topic-item:hover::before {
    opacity: 1;
}

.topic-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-category-badge i {
    font-size: 10px;
}

.topic-main-content {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 15px;
    align-items: start;
}

.topic-author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s;
}

.recent-topic-item:hover .topic-author-avatar img {
    border-color: var(--primary-color);
}

.topic-info {
    flex: 1;
}

.topic-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.topic-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-info h3 a:hover {
    color: var(--primary-color);
}

.topic-info h3 .pinned {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.topic-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.topic-meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.topic-meta-info i {
    font-size: 11px;
    color: var(--primary-color);
}

.topic-meta-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.topic-meta-info a:hover {
    color: var(--secondary-color);
}

.topic-stats-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-color);
    transition: all 0.3s;
}

.recent-topic-item:hover .stat-badge {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.stat-badge i {
    font-size: 12px;
}

.view-more-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Landing Page */
@media (max-width: 968px) {
    .ads-container {
        grid-template-columns: 1fr;
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
    }
    
    .topic-main-content {
        grid-template-columns: 40px 1fr;
    }
    
    .topic-stats-info {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-topics-home-section .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .topic-main-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .topic-author-avatar {
        display: none;
    }
}

/* ============================================
   NEW TOPIC PAGE STYLES
   ============================================ */

.new-topic-container {
    max-width: 1000px;
    margin: 0 auto;
}

.new-topic-header {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb i.fa-chevron-right {
    font-size: 10px;
    opacity: 0.5;
}

.breadcrumb span {
    color: var(--text-color);
}

.category-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.category-info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.category-name {
    color: var(--text-light);
    font-size: 0.95rem;
}

.category-name strong {
    color: var(--primary-color);
}

.new-topic-form-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.new-topic-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.new-topic-form .form-group {
    margin-bottom: 25px;
}

.new-topic-form label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
}

.new-topic-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.char-count {
    font-size: 12px;
    font-weight: normal;
    color: var(--text-light);
}

.new-topic-form input[type="text"],
.new-topic-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.new-topic-form input[type="text"]:focus,
.new-topic-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    background: var(--bg-color);
}

.new-topic-form textarea {
    resize: vertical;
    min-height: 300px;
    line-height: 1.6;
}

.new-topic-form small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

.btn-large i {
    margin-right: 8px;
}

.form-help {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.form-help h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-help ul {
    list-style: none;
    padding: 0;
}

.form-help ul li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-help ul li:last-child {
    border-bottom: none;
}

.form-help ul li i.fa-check {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   EDIT PROFILE PAGE STYLES
   ============================================ */

.edit-profile-container {
    max-width: 900px;
    margin: 0 auto;
}

.edit-profile-header {
    margin-bottom: 30px;
}

.edit-profile-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.edit-profile-header h1 i {
    color: var(--primary-color);
}

.edit-profile-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.edit-profile-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.profile-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profile-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-section h2 i {
    color: var(--primary-color);
}

.edit-profile-form .form-group {
    margin-bottom: 25px;
}

.edit-profile-form label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
}

.edit-profile-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.edit-profile-form input[type="text"],
.edit-profile-form input[type="email"],
.edit-profile-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.edit-profile-form input:focus,
.edit-profile-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    background: var(--bg-color);
}

.disabled-input {
    background: var(--dark-tertiary) !important;
    color: var(--text-light) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.edit-profile-form textarea {
    resize: vertical;
    line-height: 1.6;
}

.edit-profile-form small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.avatar-upload-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
}

.current-avatar {
    text-align: center;
}

.current-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    margin-bottom: 15px;
}

.current-avatar p {
    color: var(--text-light);
    font-size: 14px;
}

.avatar-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.file-upload-label:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.file-upload-label i {
    font-size: 18px;
}

/* ============================================
   NEW TOPIC PAGE - FIVEMTURK STYLE
   ============================================ */

.new-topic-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-nav i.fa-chevron-right {
    font-size: 10px;
    opacity: 0.5;
}

.breadcrumb-nav span {
    color: var(--text-color);
}

.new-topic-page .page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-topic-page .form-field {
    margin-bottom: 20px;
}

.new-topic-page .form-field input[type="text"] {
    width: 100%;
    padding: 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.3s;
}

.new-topic-page .form-field input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    background: var(--bg-card);
}

.editor-container {
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.editor-container .ql-container {
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 15px;
    min-height: 400px;
}

.editor-container .ql-editor {
    min-height: 400px;
    color: var(--text-color);
}

.editor-container .ql-editor.ql-blank::before {
    color: var(--text-light);
    font-style: normal;
}

.editor-container .ql-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    display: block;
    box-shadow: var(--shadow);
}

.editor-container .ql-toolbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px;
}

.editor-container .ql-toolbar .ql-stroke {
    stroke: var(--text-color);
}

.editor-container .ql-toolbar .ql-fill {
    fill: var(--text-color);
}

.editor-container .ql-toolbar button:hover,
.editor-container .ql-toolbar button.ql-active {
    color: var(--primary-color);
}

.editor-container .ql-toolbar button:hover .ql-stroke,
.editor-container .ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--primary-color);
}

.editor-container .ql-toolbar button:hover .ql-fill,
.editor-container .ql-toolbar button.ql-active .ql-fill {
    fill: var(--primary-color);
}

.form-options-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-options-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-attach {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-attach:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-color);
}

.file-item i.fa-file {
    color: var(--primary-color);
}

.file-item .remove-file {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.file-item .remove-file:hover {
    background: rgba(255, 71, 87, 0.1);
}

.form-options-right {
    flex: 1;
    min-width: 300px;
}

.tags-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tags-section label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.tags-section input {
    width: 100%;
    padding: 10px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.tags-section input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
    background: var(--bg-card);
}

.form-checkboxes {
    margin-bottom: 30px;
}

.form-checkboxes > label {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label:hover {
    color: var(--text-color);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit-topic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-submit-topic:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit-topic:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
    transform: translateY(-2px);
}

.btn-submit-topic i {
    font-size: 18px;
}

/* Quill Editor Dark Theme Override */
.ql-snow .ql-picker {
    color: var(--text-color);
}

.ql-snow .ql-picker-options {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.ql-snow .ql-picker-item {
    color: var(--text-color);
}

.ql-snow .ql-picker-item:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.ql-snow .ql-picker-item.ql-selected {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 968px) {
    .new-topic-form-container {
        grid-template-columns: 1fr;
    }
    
    .form-help {
        position: static;
    }
    
    .avatar-upload-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-options-row {
        flex-direction: column;
    }
    
    .form-options-right {
        width: 100%;
        min-width: auto;
    }
}

/* ============================================
   ADMIN PANEL STYLES
   ============================================ */

.admin-page {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h1 {
    margin: 0;
    color: var(--text-color);
}

.admin-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 30px;
}

.admin-form-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    height: fit-content;
}

.admin-form-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 20px;
}

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

.admin-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.admin-form .form-group label .required {
    color: var(--danger-color);
}

.admin-form .form-group input[type="text"],
.admin-form .form-group input[type="email"],
.admin-form .form-group input[type="password"],
.admin-form .form-group input[type="number"],
.admin-form .form-group input[type="color"],
.admin-form .form-group select,
.admin-form .form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.admin-form .form-group input:focus,
.admin-form .form-group select:focus,
.admin-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.admin-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.admin-list-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
}

.admin-list-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 20px;
}

.admin-table-container {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.admin-table-container::-webkit-scrollbar {
    height: 8px;
}

.admin-table-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.admin-table-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.admin-table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    min-width: 1000px;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.admin-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table td {
    color: var(--text-light);
    position: relative;
    overflow: visible;
}

.admin-table td:first-child {
    white-space: normal;
    min-width: 200px;
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: var(--bg-light);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.topic-title-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.topic-title-cell a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-word;
}

.topic-title-cell a:hover {
    color: var(--primary-color);
}

.topic-title-cell .pinned {
    color: #ffd700;
    font-size: 14px;
    flex-shrink: 0;
}

.topic-title-cell .locked {
    color: var(--warning-color);
    font-size: 14px;
    flex-shrink: 0;
}

.text-center {
    text-align: center;
}

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

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-admin {
    background: var(--primary-color);
    color: var(--dark-color);
}

.badge-moderator {
    background: #3498db;
    color: white;
}

.badge-user {
    background: var(--bg-light);
    color: var(--text-light);
}

.badge-active {
    background: #27ae60;
    color: white;
}

.badge-pending {
    background: #f39c12;
    color: white;
}

.badge-banned {
    background: var(--danger-color);
    color: white;
}

.badge-success {
    background: #27ae60;
    color: white;
}

.badge-warning {
    background: #f39c12;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

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

.admin-filters {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.filter-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.filter-group input::placeholder {
    color: var(--text-muted);
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border-color);
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.pagination a.active,
.pagination .pagination-number.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.pagination-btn {
    padding: 10px 20px !important;
}

.pagination-number {
    min-width: 44px;
}

.pagination-dots {
    padding: 10px 8px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: fixed;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-item i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item.text-danger {
    color: var(--danger-color);
}

.dropdown-item.text-danger:hover {
    background: rgba(231, 76, 60, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

.move-topic-form {
    padding: 10px 0;
    margin-bottom: 10px;
}

.move-topic-form .form-group {
    margin-bottom: 12px;
}

.move-topic-form .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.move-topic-form .form-group select {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 13px;
}

.move-topic-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.move-topic-form .btn {
    width: 100%;
    margin-top: 8px;
}

.topic-title-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-title-cell .pinned {
    color: var(--primary-color);
}

.topic-title-cell .locked {
    color: var(--danger-color);
}

.topic-title-cell a {
    color: var(--text-color);
    text-decoration: none;
}

.topic-title-cell a:hover {
    color: var(--primary-color);
}

/* Edit Topic Page */
.edit-topic-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.edit-topic-page h1 {
    margin-bottom: 30px;
    color: var(--text-color);
}

.delete-topic-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.delete-confirmation {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.delete-confirmation h1 {
    margin-top: 0;
    color: var(--text-color);
}

.topic-preview {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.topic-preview h3 {
    margin-top: 0;
    color: var(--text-color);
}

.topic-preview .topic-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.delete-form .form-group {
    margin: 20px 0;
}

.delete-form .form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    cursor: pointer;
}

.delete-form .form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.delete-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Topic Actions */
.topic-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.btn-topic-action {
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-edit-topic {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-edit-topic:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn-delete-topic {
    background: var(--danger-color);
    color: white;
    border: 1px solid var(--danger-color);
}

.btn-delete-topic:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Admin - General */
@media (max-width: 968px) {
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .admin-page {
        padding: 20px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-form {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-group {
        min-width: 200px;
        flex: 1;
    }
    
    .topic-actions {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    
    .topic-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tablet View (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .admin-topics-mobile {
        display: none !important;
    }
    
    .admin-table-desktop {
        display: block;
    }
    
    .admin-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table {
        min-width: 900px;
        font-size: 13px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 12px 8px;
    }
    
    .admin-table th:first-child,
    .admin-table td:first-child {
        min-width: 200px;
    }
    
    .admin-table th:nth-child(2),
    .admin-table td:nth-child(2) {
        min-width: 120px;
    }
    
    .admin-table th:nth-child(3),
    .admin-table td:nth-child(3) {
        min-width: 120px;
    }
    
    .topic-title-cell {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .topic-title-cell a {
        font-size: 13px;
        word-break: break-word;
    }
    
    .action-buttons .btn-sm {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .filter-form {
        flex-wrap: wrap;
    }
    
    .filter-group {
        min-width: 200px;
        flex: 1;
    }
}

/* Desktop View (1024px+) */
@media (min-width: 1025px) {
    .admin-topics-mobile {
        display: none !important;
    }
    
    .admin-table-desktop {
        display: block;
    }
    
    .admin-table {
        font-size: 14px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 15px;
    }
}

/* Admin Topics Mobile Card View */
.admin-topics-mobile {
    display: none;
}

.topic-card-mobile {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.topic-card-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.15);
    border-color: var(--primary-color);
}

.topic-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.topic-card-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-card-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.3s;
}

.topic-card-title a:hover {
    color: var(--primary-color);
}

.topic-card-title .pinned {
    color: #ffd700;
    font-size: 14px;
}

.topic-card-title .locked {
    color: var(--warning-color);
    font-size: 14px;
}

.topic-card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-card-info .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.topic-card-info .info-item i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.topic-card-info .info-item span {
    font-weight: 500;
    min-width: 70px;
}

.topic-card-info .info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.topic-card-info .info-item a:hover {
    text-decoration: underline;
}

.topic-card-info .info-item strong {
    color: var(--text-color);
}

.topic-card-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.topic-card-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.topic-card-stats .stat-item i {
    color: var(--primary-color);
}

.topic-card-stats .stat-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    /* Hide desktop table, show mobile cards */
    .admin-table-desktop {
        display: none !important;
    }
    
    .admin-topics-mobile {
        display: block;
    }
    
    /* Admin Page */
    .admin-page {
        padding: 15px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .admin-header h1 {
        font-size: 22px;
    }
    
    .admin-header .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Filters */
    .admin-filters {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .filter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group input,
    .filter-group select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .filter-form .btn {
        width: 100%;
        padding: 12px;
    }
    
    /* List Section */
    .admin-list-section {
        padding: 15px 0;
    }
    
    .admin-list-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .dropdown-menu {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) scale(0.95) !important;
        min-width: 90vw !important;
        max-width: 90vw !important;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
        z-index: 10002 !important;
        margin-top: 0;
        display: block !important;
        opacity: 0;
    }
    
    .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    /* Backdrop overlay */
    .dropdown-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 10001;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .dropdown-backdrop.show {
        opacity: 1;
    }
    
    .dropdown-item {
        padding: 15px;
        font-size: 15px;
    }
    
    .move-topic-form {
        padding: 15px 0;
    }
    
    .move-topic-form .form-group select {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    /* Action buttons için daha büyük buton */
    .action-buttons .btn-sm {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .topic-card-header .btn-sm {
        padding: 8px 12px;
        min-width: 40px;
    }
    
    /* Admin filters responsive */
    .admin-filters {
        margin-bottom: 20px;
    }
    
    .filter-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group input,
    .filter-group select {
        width: 100%;
    }
    
    /* Empty state */
    .empty-state {
        text-align: center;
        padding: 40px 20px;
        color: var(--text-light);
    }
    
    .empty-state i {
        font-size: 48px;
        margin-bottom: 15px;
        color: var(--border-color);
        display: block;
    }
    
    .empty-state p {
        font-size: 16px;
        margin: 0;
    }
    
    /* Pagination responsive */
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        margin-top: 20px;
    }
    
    .pagination a,
    .pagination span {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 42px;
    }
    
    .pagination-btn {
        padding: 10px 16px !important;
        font-size: 13px;
    }
    
    /* Admin header responsive */
    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-header h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .admin-header .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Admin list section */
    .admin-list-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* ============================================
   USERS PAGE STYLES
   ============================================ */

.users-page {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    margin: 0 0 10px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header h1 i {
    color: var(--primary-color);
}

.page-subtitle {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.users-filters {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.users-filters .filter-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.users-filters .filter-group {
    flex: 1;
    min-width: 200px;
}

.users-filters .filter-group input,
.users-filters .filter-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.users-filters .filter-group input:focus,
.users-filters .filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.user-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.user-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.user-card-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.user-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    transition: all 0.3s;
}

.user-card:hover .user-card-avatar img {
    border-color: var(--primary-color);
}

.user-role-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--bg-card);
}

.user-card-info {
    text-align: center;
}

.user-card-name {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s;
}

.user-card:hover .user-card-name {
    color: var(--primary-color);
}

.user-card-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 12px;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.stat-item span {
    font-weight: 600;
    color: var(--text-color);
}

.user-card-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-light);
}

.user-joined,
.user-reputation {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-reputation {
    color: var(--primary-color);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--border-color);
}

.empty-state p {
    font-size: 18px;
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-number {
    padding: 10px 15px;
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-number.active {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Users Page */
@media (max-width: 768px) {
    .users-page {
        padding: 20px;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
    }
    
    .users-filters .filter-form {
        flex-direction: column;
    }
    
    .users-filters .filter-group {
        min-width: 100%;
    }
    
    .user-card-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-btn,
    .pagination-number {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ============================================
   HABER SAYFASI STİLLERİ
   ============================================ */

.news-page {
    padding: 30px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.page-header h1 i {
    color: var(--primary-color);
    margin-right: 15px;
}

.page-header p {
    color: var(--text-light);
    font-size: 18px;
}

.news-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--dark-tertiary);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-tertiary), var(--dark-secondary));
    color: var(--text-muted);
    font-size: 48px;
}

.news-badge {
    position: absolute;
    top: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.news-badge.featured {
    left: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.news-badge.category {
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(10px);
}

.news-badge.category-gtav {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.news-badge.category-fivem {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.news-badge.category-manual {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    color: var(--primary-color);
}

/* Haber Detay Sayfası */
.news-detail-page {
    padding: 30px 0;
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 30px;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.news-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.news-breadcrumb a:hover {
    color: var(--primary-dark);
}

.news-breadcrumb span {
    color: var(--text-muted);
}

.news-category-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-category-badge.category-gtav {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.news-category-badge.category-fivem {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.news-category-badge.category-manual {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.news-detail {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.news-detail-title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.news-detail-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
}

.news-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-author-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.news-author-info div {
    display: flex;
    flex-direction: column;
}

.news-author-info strong {
    color: var(--text-color);
    font-weight: 600;
}

.news-author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-detail-meta i {
    color: var(--primary-color);
}

.news-detail-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-content li {
    margin-bottom: 10px;
}

.news-detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: color 0.3s;
}

.news-detail-content a:hover {
    color: var(--primary-dark);
}

.news-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.news-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-color);
}

.tag i {
    color: var(--primary-color);
}

.news-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-share span {
    color: var(--text-light);
    font-size: 14px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 18px;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* İlgili Haberler */
.related-news {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-news h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-news h2 i {
    color: var(--primary-color);
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-news-card {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.related-news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.related-news-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-news-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: var(--dark-tertiary);
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-news-card:hover .related-news-image img {
    transform: scale(1.1);
}

.related-news-content {
    padding: 15px;
}

.related-news-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.related-news-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-news-date i {
    color: var(--primary-color);
}

/* Admin Haber Yönetimi */
.admin-news-form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.admin-news-form h2 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 24px;
}

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

.admin-news-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.admin-news-form input[type="text"],
.admin-news-form input[type="file"],
.admin-news-form select,
.admin-news-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: border-color 0.3s;
}

.admin-news-form input[type="text"]:focus,
.admin-news-form select:focus,
.admin-news-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.admin-news-form textarea {
    resize: vertical;
    min-height: 150px;
}

.current-image {
    margin-bottom: 15px;
}

.current-image img {
    max-width: 200px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.current-image p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--dark-tertiary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.admin-news-list {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.admin-news-list h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-card);
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    color: var(--text-light);
    font-size: 14px;
}

.admin-table tr:hover {
    background: var(--bg-card);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.featured {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    margin-left: 8px;
}

.badge.status-active {
    background: #27ae60;
    color: white;
}

.badge.status-draft {
    background: #95a5a6;
    color: white;
}

.no-image {
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive Haber Sayfası */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-detail {
        padding: 25px;
    }
    
    .news-detail-title h1 {
        font-size: 28px;
    }
    
    .news-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   MODERN GÖRÜNÜM İYİLEŞTİRMELERİ
   ============================================ */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Gelişmiş Animasyonlar */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Glassmorphism Efektleri */
.glass-effect {
    background: rgba(30, 35, 50, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Card Hover Efektleri */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 71, 87, 0.3);
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern span {
    position: relative;
    z-index: 1;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 71, 87, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #ff6b7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Modern Input Focus */
input:focus,
textarea:focus,
select:focus {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

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

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease-out;
}

/* Modern Card Design */
.modern-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
    transition: left 0.5s;
}

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.2);
    border-color: var(--primary-color);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Glow Effect */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.5),
                0 0 40px rgba(255, 71, 87, 0.3),
                0 0 60px rgba(255, 71, 87, 0.1);
}

/* Modern Badge */
.modern-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 71, 87, 0.6);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Modern Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-50%) translateY(-5px);
    margin-bottom: 8px;
}

.tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 35px rgba(255, 71, 87, 0.6);
}

/* Modern Tabs */
.modern-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.modern-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modern-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.modern-tab.active {
    color: var(--primary-color);
}

.modern-tab.active::after {
    width: 100%;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, 
        var(--bg-light) 25%, 
        var(--bg-card) 50%, 
        var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* Modern Dropdown */
.modern-dropdown {
    position: relative;
}

.modern-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modern-dropdown.active .modern-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Better Spacing */
.section-spacing {
    padding: 60px 0;
}

/* Modern Grid */
.modern-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Enhanced Shadows */
.shadow-soft {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shadow-medium {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.shadow-hard {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0a0e27;
        --bg-light: #1a1f2e;
        --bg-card: #1e2332;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .fab,
    .scroll-progress {
        display: none;
    }
}

/* ============================================
   SEARCH PAGE STYLES
   ============================================ */

.search-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.search-header {
    margin-bottom: 30px;
}

.search-header h1 {
    font-size: 32px;
    color: var(--text-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-header h1 i {
    color: var(--primary-color);
}

/* Search Tabs */
.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.search-tab {
    padding: 12px 20px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: -2px;
}

.search-tab:hover {
    color: var(--primary-color);
    background: rgba(255, 71, 87, 0.1);
}

.search-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(255, 71, 87, 0.1);
}

/* Search Form */
.search-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.advanced-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advanced-search-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advanced-search-form label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.advanced-search-form label i {
    color: var(--primary-color);
    width: 18px;
}

.advanced-search-form input[type="text"],
.advanced-search-form input[type="date"] {
    padding: 12px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.advanced-search-form input[type="text"]:focus,
.advanced-search-form input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

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

.checkbox-group {
    flex-direction: row !important;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label .fa-question-circle {
    color: var(--text-muted);
    font-size: 14px;
    cursor: help;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    margin-top: 10px;
}

.btn-search {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    max-width: 200px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Search Results */
.search-results {
    margin-bottom: 40px;
}

.results-title {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-count {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 400;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.result-header h3 {
    flex: 1;
    margin: 0;
}

.result-header h3 a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s;
}

.result-header h3 a:hover {
    color: var(--primary-color);
}

.result-category {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.result-category a {
    color: var(--primary-color);
    text-decoration: none;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.result-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.result-author a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.result-author a:hover {
    text-decoration: underline;
}

.result-stats {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 13px;
}

.result-stats i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Footer Links */
.search-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.footer-link-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.footer-link-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.footer-link-item i {
    font-size: 24px;
    color: var(--primary-color);
    min-width: 30px;
}

.footer-link-item h4 {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-link-item p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

/* Bottom Section */
.search-bottom-section {
    margin-top: 40px;
}

.quote-section {
    text-align: center;
    padding: 30px;
    margin-bottom: 40px;
}

.quote-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.column-title {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Leader Users */
.leader-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leader-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.leader-item:hover {
    background: var(--bg-card);
    transform: translateX(5px);
}

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

.leader-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leader-name {
    color: var(--text-color);
    font-weight: 500;
}

.leader-count {
    color: var(--primary-color);
    font-weight: 600;
}

/* Recent Users */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recent-item:hover {
    background: var(--bg-card);
    transform: translateX(5px);
}

.recent-avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.recent-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recent-name {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

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

/* Leader Topics */
.topics-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.topic-item:hover {
    background: var(--bg-card);
    transform: translateX(5px);
}

.topic-avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.topic-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.topic-title {
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.topic-title:hover {
    color: var(--primary-color);
}

.topic-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* Responsive Search Page */
@media (max-width: 768px) {
    .search-page {
        padding: 20px 15px;
    }
    
    .search-header h1 {
        font-size: 24px;
    }
    
    .search-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .search-tab {
        padding: 10px 15px;
        border-bottom: none;
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }
    
    .search-tab.active {
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }
    
    .search-form-container {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-search {
        width: 100%;
        max-width: none;
    }
    
    .search-footer-links {
        grid-template-columns: 1fr;
    }
    
    .info-columns {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

