/* ============================================================
   HYUAN2 FORUM - TAM STİL DOSYASI
   Metin2 Teması (Kırmızı - Altın - Siyah)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: radial-gradient(ellipse at top, #3d0a0a 0%, #1a0606 50%, #0a0303 100%);
  background-attachment: fixed;
  color: #f5e6c8;
  line-height: 1.6;
  min-height: 100vh;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

a { color: #d4a04a; text-decoration: none; transition: 0.15s; }
a:hover { color: #ffd700; text-shadow: 0 0 8px rgba(255,215,0,0.6); }
img { max-width: 100%; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

/* ============================= TOPBAR ============================= */
.topbar {
  background: linear-gradient(180deg, #2d0808 0%, #4a0a0a 50%, #2d0808 100%);
  border-bottom: 3px solid #d4a04a;
  box-shadow: 0 4px 25px rgba(0,0,0,0.8);
  position: sticky; top: 0; z-index: 1000;
}
.topbar-ornament {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #d4a04a 20%, #ffd700 50%, #d4a04a 80%, transparent 100%);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 68px;
}
.logo {
  font-size: 22px; font-weight: 800; color: #d4a04a;
  letter-spacing: 1px; display: flex; align-items: center; gap: 10px;
  text-shadow: 0 0 15px rgba(212,160,74,0.6), 2px 2px 4px #000;
}
.logo-icon { font-size: 26px; filter: drop-shadow(0 0 6px #ffd700); }
.logo-text {
  background: linear-gradient(180deg, #ffd700 0%, #d4a04a 50%, #8b6914 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 900;
}
.topbar nav { display: flex; align-items: center; gap: 6px; }
.topbar nav a {
  font-size: 13px; padding: 8px 14px; border-radius: 6px;
  color: #f5e6c8; font-weight: 600;
  border: 1px solid transparent; transition: 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.topbar nav a:hover {
  background: rgba(212,160,74,0.15);
  color: #ffd700;
  border-color: rgba(212,160,74,0.5);
}
.topbar .btn-primary, .btn-primary {
  background: linear-gradient(180deg, #d4a04a 0%, #a67626 50%, #8b6914 100%);
  color: #1a0606 !important;
  padding: 10px 22px; border-radius: 6px; font-weight: 800;
  border: 2px solid #ffd700; cursor: pointer; transition: 0.2s;
  display: inline-block; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.topbar .btn-primary:hover, .btn-primary:hover {
  background: linear-gradient(180deg, #ffd700 0%, #d4a04a 50%, #a67626 100%);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255,215,0,0.6), 0 4px 12px rgba(0,0,0,0.5);
}
.nav-admin { color: #8fdf8f !important; }
.nav-user { color: #ffd700 !important; font-weight: 800 !important; }
.btn-logout {
  background: linear-gradient(180deg, #8b0000 0%, #5c0000 100%) !important;
  color: #ffcccc !important;
  border: 1px solid #c41e3a !important;
}
.btn-logout:hover {
  background: linear-gradient(180deg, #c41e3a 0%, #8b0000 100%) !important;
  color: #fff !important; box-shadow: 0 0 15px rgba(196,30,58,0.6);
}
.menu-toggle { display: none; background: none; border: none; color: #d4a04a; font-size: 26px; cursor: pointer; }

.main { padding: 30px 20px 60px; min-height: calc(100vh - 200px); }

/* ============================= HERO ============================= */
.hero {
  background:
    radial-gradient(ellipse at center, rgba(212,160,74,0.15) 0%, transparent 70%),
    linear-gradient(180deg, #4a0a0a 0%, #2d0808 100%);
  border: 3px solid #6b3f1a;
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  margin-bottom: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212,160,74,0.2), inset 0 0 30px rgba(0,0,0,0.5);
}
.hero::before, .hero::after {
  content: ''; position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #d4a04a, transparent);
}
.hero::before { top: 10px; }
.hero::after { bottom: 10px; }
.hero-ornament {
  height: 2px; width: 200px; margin: 15px auto;
  background: linear-gradient(90deg, transparent, #d4a04a, transparent);
}
.hero h1 {
  color: #ffd700; font-size: 34px; margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255,215,0,0.5), 2px 2px 4px #000;
  font-weight: 900; letter-spacing: 1px;
}
.hero > p { color: #d4a04a; margin-bottom: 28px; font-size: 15px; font-style: italic; }

.stats { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin: 20px 0; }
.stat { text-align: center; min-width: 100px; }
.stat strong {
  display: block; font-size: 32px; color: #ffd700;
  font-weight: 900; text-shadow: 0 0 15px rgba(255,215,0,0.6);
}
.stat span { color: #d4a04a; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.hero-buttons { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 14px 34px; font-size: 15px; }
.btn-outline {
  background: transparent; color: #d4a04a !important;
  border: 2px solid #d4a04a; padding: 12px 32px;
  border-radius: 6px; font-weight: 700; display: inline-block;
  text-transform: uppercase; letter-spacing: 0.5px; font-size: 13px;
}
.btn-outline:hover {
  background: #d4a04a; color: #1a0606 !important;
  box-shadow: 0 0 20px rgba(212,160,74,0.6);
}

/* ============================= SECTIONS ============================= */
.section-title {
  color: #d4a04a; font-size: 20px; margin: 30px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #6b3f1a;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(212,160,74,0.4);
  position: relative;
}
.section-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 80px; height: 2px;
  background: linear-gradient(90deg, #ffd700, transparent);
}

/* ============================= CATEGORIES ============================= */
.category-row {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(180deg, #350808 0%, #250606 100%);
  border: 2px solid #4a1a1a;
  border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
  transition: 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.category-row:hover {
  border-color: #d4a04a;
  transform: translateX(4px);
  box-shadow: 0 0 25px rgba(212,160,74,0.3), 0 4px 16px rgba(0,0,0,0.5);
}
.cat-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(135deg, #d4a04a, #8b6914);
  border: 2px solid #ffd700;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  box-shadow: 0 0 15px rgba(212,160,74,0.4);
}
.cat-info { flex: 1; min-width: 0; }
.cat-name {
  font-size: 17px; font-weight: 800; color: #ffd700;
  display: block; margin-bottom: 3px;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}
.cat-name:hover { color: #fff; text-shadow: 0 0 15px #ffd700; }
.cat-desc { color: #a0876a; font-size: 13px; }
.cat-count { text-align: center; min-width: 80px; }
.cat-count strong { display: block; font-size: 20px; color: #f5e6c8; font-weight: 800; }
.cat-count span { font-size: 11px; color: #a0876a; text-transform: uppercase; letter-spacing: 1px; }
.cat-last { min-width: 240px; text-align: right; font-size: 13px; }
.cat-last a { display: block; color: #f5e6c8; font-weight: 600; margin-bottom: 4px; }
.cat-last a:hover { color: #ffd700; }
.cat-last small { color: #a0876a; font-size: 11px; }
.cat-last em { color: #6b3f1a; font-size: 12px; font-style: italic; }

/* ============================= BREADCRUMB ============================= */
.breadcrumb { font-size: 13px; color: #a0876a; margin-bottom: 20px; padding: 8px 12px; background: rgba(0,0,0,0.3); border-radius: 6px; border-left: 3px solid #d4a04a; }
.breadcrumb a { color: #d4a04a; font-weight: 600; }
.breadcrumb a:hover { color: #ffd700; }
.breadcrumb span { color: #f5e6c8; }

/* ============================= CATEGORY HEADER ============================= */
.cat-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 25px; gap: 20px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 2px solid #4a1a1a;
}
.cat-header h1 {
  color: #ffd700; font-size: 26px; font-weight: 900;
  text-shadow: 0 0 15px rgba(255,215,0,0.5), 2px 2px 4px #000;
}
.cat-header p { color: #a0876a; font-size: 14px; margin-top: 4px; font-style: italic; }

/* ============================= TOPIC LIST ============================= */
.topic-list-header {
  display: grid; grid-template-columns: 1fr 100px 100px 180px; gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #4a0a0a 0%, #2d0808 100%);
  border: 2px solid #6b3f1a; border-bottom: none;
  border-radius: 10px 10px 0 0;
  font-size: 12px; text-transform: uppercase;
  color: #d4a04a; letter-spacing: 1px; font-weight: 800;
}
.topic-row {
  display: grid; grid-template-columns: 1fr 100px 100px 180px; gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #2d0808 0%, #250606 100%);
  border: 2px solid #4a1a1a; border-top: none;
  align-items: center; transition: 0.15s;
}
.topic-row:hover {
  background: linear-gradient(180deg, #350808 0%, #2d0808 100%);
  border-color: #6b3f1a;
}
.topic-row:last-child { border-radius: 0 0 10px 10px; }
.topic-list-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
.topic-list-stat { text-align: center; color: #f5e6c8; font-weight: 700; font-size: 14px; }
.topic-list-last { text-align: right; font-size: 12px; color: #a0876a; }
.topic-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a04a, #8b6914);
  border: 2px solid #ffd700;
  color: #1a0606; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212,160,74,0.5);
}
.topic-title { font-weight: 800; color: #f5e6c8; display: block; font-size: 14px; }
.topic-title:hover { color: #ffd700; text-shadow: 0 0 8px rgba(255,215,0,0.5); }
.topic-meta { color: #a0876a; font-size: 12px; }
.topic-meta strong { color: #d4a04a; }

.tag {
  display: inline-block; font-size: 10px; padding: 3px 9px;
  border-radius: 4px; margin-right: 6px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  border: 1px solid rgba(0,0,0,0.3);
}
.tag-pin { background: linear-gradient(180deg, #ffd700, #d4a04a); color: #1a0606; }
.tag-lock { background: linear-gradient(180deg, #c41e3a, #8b0000); color: #fff; }
.tag-pending {
  background: linear-gradient(180deg, #ffd700, #d4a04a);
  color: #1a0606;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================= TOPIC HEADER ============================= */
.topic-header { margin-bottom: 20px; }
.topic-header h1 {
  color: #ffd700; font-size: 24px; font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(255,215,0,0.4), 2px 2px 4px #000;
}
.topic-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================= POSTS ============================= */
.post {
  display: flex; gap: 18px;
  background: linear-gradient(180deg, #2d0808 0%, #250606 100%);
  border: 2px solid #4a1a1a;
  border-radius: 12px; padding: 20px; margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.post-side {
  min-width: 130px; text-align: center;
  border-right: 2px solid #4a1a1a; padding-right: 16px;
}
.post-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a04a 0%, #8b6914 100%);
  border: 3px solid #ffd700;
  color: #1a0606; font-size: 30px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 0 20px rgba(212,160,74,0.5);
}
.post-author {
  font-weight: 800; color: #ffd700; font-size: 14px;
  word-break: break-word; display: block;
  text-shadow: 0 0 6px rgba(255,215,0,0.4);
}
.post-author:hover { color: #fff; }
.post-role {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 6px; padding: 3px 10px;
  border-radius: 4px; display: inline-block;
  border: 1px solid rgba(0,0,0,0.3);
}
.role-admin {
  background: linear-gradient(180deg, #c41e3a, #8b0000);
  color: #fff; border-color: #ff6b6b;
}
.role-moderator {
  background: linear-gradient(180deg, #2a5b8b, #1a3d5c);
  color: #fff; border-color: #5b9bd5;
}
.role-user {
  background: linear-gradient(180deg, #4a1a1a, #2d0808);
  color: #d4a04a; border-color: #6b3f1a;
}
.post-count { font-size: 11px; color: #a0876a; margin-top: 6px; }
.post-body { flex: 1; min-width: 0; }
.post-date {
  font-size: 12px; color: #a0876a;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid #4a1a1a;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.post-actions a { margin-left: 10px; font-size: 12px; font-weight: 700; }
.link-danger { color: #ff8b7b !important; }
.link-danger:hover { color: #ff6b6b !important; text-shadow: 0 0 8px rgba(255,107,107,0.6); }
.post-content { word-wrap: break-word; line-height: 1.8; color: #f5e6c8; }
.post-content pre {
  background: #0a0303; padding: 14px; border-radius: 8px;
  overflow-x: auto; margin: 10px 0;
  font-family: 'Consolas', 'Monaco', monospace;
  border-left: 4px solid #d4a04a; font-size: 13px;
  color: #ffd700;
}
.post-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; border: 2px solid #4a1a1a; }
.post-content blockquote {
  border-left: 4px solid #d4a04a; padding: 10px 18px;
  margin: 10px 0; background: rgba(212,160,74,0.08);
  border-radius: 4px; color: #d4a04a; font-style: italic;
}

/* ============================= FORMS / CARDS ============================= */
.card {
  background: linear-gradient(180deg, #2d0808 0%, #250606 100%);
  border: 2px solid #4a1a1a;
  border-radius: 12px; padding: 25px; margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.card h3 {
  color: #d4a04a; font-size: 17px; margin-bottom: 15px;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(212,160,74,0.4);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 7px; font-size: 13px;
  color: #d4a04a; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input[type=text], .form-group input[type=password],
.form-group input[type=email], .form-group input[type=number],
.form-group input[type=file],
.form-group textarea, .form-group select {
  width: 100%; padding: 12px 15px;
  background: #0a0303; border: 2px solid #4a1a1a;
  border-radius: 8px; color: #f5e6c8; font-size: 14px;
  font-family: inherit; transition: 0.2s;
  text-shadow: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: #d4a04a;
  box-shadow: 0 0 0 3px rgba(212,160,74,0.2), 0 0 15px rgba(212,160,74,0.3);
  background: #1a0606;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.help { font-size: 12px; color: #a0876a; display: block; margin-top: 6px; font-style: italic; }

/* ============================= BUTTONS ============================= */
.btn-sm {
  font-size: 13px; padding: 6px 14px;
  background: linear-gradient(180deg, #4a1a1a 0%, #2d0808 100%);
  border: 1px solid #6b3f1a;
  border-radius: 6px; color: #d4a04a !important;
  display: inline-block; transition: 0.15s;
  font-weight: 700;
}
.btn-sm:hover {
  background: linear-gradient(180deg, #6b3f1a 0%, #4a1a1a 100%);
  border-color: #d4a04a;
  color: #ffd700 !important;
  box-shadow: 0 0 12px rgba(212,160,74,0.4);
}
.btn-danger {
  background: linear-gradient(180deg, #8b0000 0%, #5c0000 100%) !important;
  color: #ffcccc !important; border-color: #c41e3a !important;
}
.btn-danger:hover {
  background: linear-gradient(180deg, #c41e3a 0%, #8b0000 100%) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(196,30,58,0.6);
}
.btn-block { width: 100%; padding: 13px; font-size: 15px; }

/* ============================= ALERTS ============================= */
.alert {
  padding: 15px 20px; border-radius: 10px;
  margin-bottom: 18px; font-size: 14px;
  border-left: 4px solid;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.alert-error {
  background: linear-gradient(90deg, rgba(139,0,0,0.3) 0%, rgba(139,0,0,0.1) 100%);
  border-color: #c41e3a; color: #ff8b7b;
}
.alert-info {
  background: linear-gradient(90deg, rgba(212,160,74,0.15) 0%, rgba(212,160,74,0.05) 100%);
  border-color: #d4a04a; color: #f5e6c8;
}
.alert-success {
  background: linear-gradient(90deg, rgba(39,174,96,0.2) 0%, rgba(39,174,96,0.05) 100%);
  border-color: #27ae60; color: #8fdf8f;
}

/* ============================= PAGINATION ============================= */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.pagination a {
  display: inline-block; padding: 9px 15px;
  background: linear-gradient(180deg, #350808 0%, #250606 100%);
  border: 1px solid #4a1a1a;
  border-radius: 6px; color: #d4a04a; font-size: 13px;
  transition: 0.2s; font-weight: 800;
}
.pagination a:hover {
  background: linear-gradient(180deg, #4a1a1a 0%, #350808 100%);
  border-color: #d4a04a; color: #ffd700;
}
.pagination a.active {
  background: linear-gradient(180deg, #d4a04a 0%, #8b6914 100%);
  color: #1a0606; border-color: #ffd700;
  box-shadow: 0 0 12px rgba(212,160,74,0.5);
}

/* ============================= AUTH ============================= */
.auth-box {
  max-width: 460px; margin: 50px auto;
  background: linear-gradient(180deg, #2d0808 0%, #1a0606 100%);
  border: 3px solid #6b3f1a;
  border-radius: 14px; padding: 38px 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 40px rgba(212,160,74,0.15);
  position: relative;
}
.auth-box::before, .auth-box::after {
  content: ''; position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #d4a04a, transparent);
}
.auth-box::before { top: 8px; }
.auth-box::after { bottom: 8px; }
.auth-box h1 {
  color: #ffd700; font-size: 26px; text-align: center;
  margin-bottom: 8px; font-weight: 900;
  text-shadow: 0 0 15px rgba(255,215,0,0.5);
  text-transform: uppercase; letter-spacing: 1px;
}
.auth-box .sub { text-align: center; color: #d4a04a; margin-bottom: 28px; font-size: 14px; font-style: italic; }
.auth-box .info { text-align: center; color: #a0876a; font-size: 13px; margin-top: 22px; }

/* ============================= PROFILE ============================= */
.profile-card {
  display: flex; gap: 30px; align-items: flex-start;
  background: linear-gradient(180deg, #2d0808 0%, #250606 100%);
  border: 2px solid #6b3f1a;
  border-radius: 14px; padding: 30px; margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #d4a04a 50%, #8b6914 100%);
  border: 4px solid #ffd700;
  color: #1a0606; font-size: 50px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(255,215,0,0.5);
}
.profile-info p { margin-bottom: 8px; font-size: 14px; }
.profile-info strong { color: #d4a04a; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; }
.banned { color: #ff6b6b; font-weight: 800; }
.role-badge {
  font-size: 11px; padding: 3px 12px; border-radius: 6px;
  font-weight: 800; letter-spacing: 0.5px; display: inline-block;
  border: 1px solid rgba(0,0,0,0.3);
}

/* ============================= LISTS ============================= */
.list-plain { list-style: none; }
.list-plain li { padding: 12px 0; border-bottom: 1px solid #4a1a1a; }
.list-plain li:last-child { border: none; }
.list-plain a { color: #f5e6c8; font-weight: 700; }
.list-plain a:hover { color: #ffd700; text-shadow: 0 0 8px rgba(255,215,0,0.5); }
.list-plain small { color: #a0876a; margin-left: 8px; font-size: 12px; }

/* ============================= SEARCH ============================= */
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-bar input {
  flex: 1; padding: 12px 16px;
  background: #0a0303; border: 2px solid #4a1a1a;
  border-radius: 8px; color: #f5e6c8; font-size: 14px;
}
.search-bar input:focus {
  outline: none; border-color: #d4a04a;
  box-shadow: 0 0 0 3px rgba(212,160,74,0.2);
}
.search-bar button { padding: 12px 26px; }

/* ============================= ADMIN ============================= */
.admin-menu { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 25px; }
.admin-menu a {
  background: linear-gradient(180deg, #350808 0%, #250606 100%);
  border: 2px solid #4a1a1a;
  padding: 11px 20px; border-radius: 8px;
  color: #d4a04a !important; font-size: 13px;
  font-weight: 800; transition: 0.2s;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-menu a:hover, .admin-menu a.active {
  background: linear-gradient(180deg, #d4a04a 0%, #8b6914 100%);
  color: #1a0606 !important; border-color: #ffd700;
  box-shadow: 0 0 15px rgba(212,160,74,0.5);
}
.admin-table {
  width: 100%; border-collapse: collapse;
  background: linear-gradient(180deg, #2d0808 0%, #1a0606 100%);
  border-radius: 12px; overflow: hidden;
  border: 2px solid #4a1a1a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.admin-table th {
  background: linear-gradient(180deg, #4a0a0a 0%, #2d0808 100%);
  padding: 14px 15px; text-align: left;
  font-size: 12px; text-transform: uppercase;
  color: #d4a04a; letter-spacing: 1px; font-weight: 800;
  border-bottom: 2px solid #6b3f1a;
}
.admin-table td {
  padding: 13px 15px; border-top: 1px solid #4a1a1a;
  font-size: 14px; vertical-align: middle;
}
.admin-table tr:hover { background: rgba(212,160,74,0.05); }
.admin-table input[type=text], .admin-table select, .admin-table input[type=number] {
  padding: 7px 10px; font-size: 13px;
  background: #0a0303; border: 1px solid #4a1a1a;
  border-radius: 6px; color: #f5e6c8;
}
.admin-table input[type=checkbox] { width: auto; accent-color: #d4a04a; }

/* ============================= FOOTER ============================= */
.footer {
  background: linear-gradient(180deg, #1a0606 0%, #0a0303 100%);
  border-top: 3px solid #6b3f1a;
  padding: 30px 0 20px; margin-top: 50px;
  color: #a0876a; font-size: 13px;
  position: relative;
}
.footer-ornament {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #d4a04a, transparent);
}
.footer-bottom {
  text-align: center; padding-top: 15px;
  font-size: 12px; color: #6b3f1a;
  letter-spacing: 0.5px;
}

/* ============================================================
   YENİ EKLENEN STİLLER - TAG, AVATAR, ONAY BEKLEYEN
   ============================================================ */

/* Pending badge */
.pending-badge {
  background: #ff6b6b;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 800;
  margin-left: 4px;
  vertical-align: middle;
}

/* Navigation avatar */
.nav-avatar {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  border-radius: 50% !important;
  border: 2px solid #d4a04a !important;
  vertical-align: middle !important;
  margin-right: 6px !important;
  object-fit: cover !important;
  display: inline-block !important;
}

/* Post avatar (resim) */
.post-avatar-img {
  width: 68px !important;
  height: 68px !important;
  max-width: 68px !important;
  max-height: 68px !important;
  border-radius: 50% !important;
  border: 3px solid #ffd700 !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto 10px !important;
  box-shadow: 0 0 20px rgba(212,160,74,0.5) !important;
  background: #1a0606 !important;
}

/* Profile avatar (resim) */
.profile-avatar-img {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  border-radius: 50% !important;
  border: 4px solid #ffd700 !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 30px rgba(255,215,0,0.5) !important;
  background: #1a0606 !important;
}

/* Avatar edit preview */
.avatar-preview {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  max-height: 120px !important;
  border-radius: 50% !important;
  border: 3px solid #d4a04a !important;
  object-fit: cover !important;
  background: #1a0606 !important;
}
.avatar-edit-row {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.avatar-edit-form { flex: 1; min-width: 250px; }

/* Admin small avatar */
.user-admin-avatar {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  border-radius: 50% !important;
  border: 2px solid #d4a04a !important;
  object-fit: cover !important;
  background: #1a0606 !important;
}

/* User tags */
.post-tags, .profile-tags, .user-admin-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.profile-tags { justify-content: flex-start; }
.user-admin-tags { justify-content: flex-start; padding: 10px 0; border-top: 1px solid #4a1a1a; border-bottom: 1px solid #4a1a1a; margin: 10px 0; }

.user-tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid;
  white-space: nowrap;
}

/* Post signature */
.post-signature {
  margin-top: 8px;
  font-size: 11px;
  color: #a0876a;
  font-style: italic;
  border-top: 1px solid #4a1a1a;
  padding-top: 6px;
  word-wrap: break-word;
}

.profile-signature {
  color: #ffd700 !important;
  font-style: italic;
  font-size: 14px;
  margin: 8px 0 !important;
  padding: 6px 12px;
  background: rgba(255,215,0,0.05);
  border-left: 3px solid #d4a04a;
  border-radius: 4px;
}

/* Admin user cards */
.user-admin-card {
  background: linear-gradient(180deg, #2d0808 0%, #250606 100%);
  border: 2px solid #4a1a1a;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}
.user-admin-head {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.user-admin-info { flex: 1; min-width: 200px; }
.user-admin-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffd700;
  display: block;
  margin-bottom: 3px;
}
.user-admin-info small {
  color: #a0876a;
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}
.user-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #a0876a;
}
.user-admin-meta span {
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 4px;
}
.user-admin-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.user-admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }

/* ============================= RESPONSIVE ============================= */
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .topbar nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: linear-gradient(180deg, #2d0808 0%, #1a0606 100%);
    border-bottom: 3px solid #d4a04a;
    flex-direction: column; padding: 15px; gap: 4px; align-items: stretch;
  }
  .topbar nav.open { display: flex; }
  .topbar nav a { text-align: center; }
  .category-row { flex-direction: column; align-items: stretch; text-align: left; }
  .cat-last { text-align: left; min-width: auto; }
  .cat-count { text-align: left; }
  .topic-list-header { display: none; }
  .topic-row { grid-template-columns: 1fr; gap: 6px; }
  .topic-list-stat, .topic-list-last { text-align: left; }
  .post { flex-direction: column; }
  .post-side { border-right: none; border-bottom: 2px solid #4a1a1a; padding-right: 0; padding-bottom: 15px; }
  .profile-card { flex-direction: column; align-items: center; text-align: center; }
  .hero h1 { font-size: 22px; }
  .hero > p { font-size: 13px; }
  .stats { gap: 25px; }
  .search-bar { flex-direction: column; }
  .search-bar button { width: 100%; }
  .auth-box { margin: 20px auto; padding: 25px 20px; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .user-admin-status { align-items: flex-start; }
  .avatar-edit-row { flex-direction: column; align-items: center; text-align: center; }
}