/* HardcoreZone - Style Forum de Cul Amateur Réaliste */

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

body {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  background: #1a1a1a;
  color: #d0d0d0;
  font-size: 13px;
  line-height: 1.45;
}

a { color: #ff6699; text-decoration: none; }
a:hover { color: #ff99bb; text-decoration: underline; }

/* Header type forum old-school */
.header {
  background: #0d0d0d;
  border-bottom: 4px solid #cc0033;
  padding: 8px 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 900;
  color: #ff0033;
  letter-spacing: -1px;
  text-shadow: 1px 1px 0 #000;
}

.logo span { color: #fff; font-weight: 400; }

.nav a {
  margin-left: 18px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ccc;
}

.nav a:hover { color: #ff6699; }

/* Bannière trash */
.banner {
  background: #330011;
  border-bottom: 1px solid #660022;
  padding: 7px 12px;
  text-align: center;
  font-size: 12px;
  color: #ff99aa;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 15px auto;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 15px;
}

/* Forum main */
.forum-main {
  background: #222;
  border: 1px solid #333;
}

.category-header {
  background: linear-gradient(to bottom, #3a0010, #22000a);
  padding: 8px 12px;
  border-bottom: 2px solid #cc0033;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-header h2 {
  font-size: 13px;
  color: #ff4466;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-header .stats {
  font-size: 11px;
  color: #888;
}

.topic-list { list-style: none; }

.topic-item {
  display: grid;
  grid-template-columns: 1fr 70px 70px 120px;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid #2a2a2a;
  align-items: center;
  background: #1e1e1e;
}

.topic-item:nth-child(even) { background: #1a1a1a; }
.topic-item:hover { background: #252525; }

.topic-title { font-size: 13px; font-weight: bold; }
.topic-title a { color: #eee; }
.topic-title a:hover { color: #ff6699; }

.topic-meta {
  font-size: 11px;
  color: #777;
  margin-top: 2px;
}

.topic-replies, .topic-views {
  text-align: center;
  font-size: 12px;
  color: #999;
}

.topic-replies strong, .topic-views strong {
  display: block;
  color: #ff4466;
  font-size: 14px;
}

.topic-last {
  font-size: 11px;
  color: #777;
  text-align: right;
}

.topic-last .user { color: #ff88aa; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 12px; }

.widget {
  background: #1e1e1e;
  border: 1px solid #333;
}

.widget-header {
  background: #2a0010;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #ff4466;
  text-transform: uppercase;
  border-bottom: 1px solid #440018;
}

.widget-content { padding: 10px; font-size: 12px; }

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #2a2a2a;
}

.stat-row:last-child { border-bottom: none; }

/* Thread */
.thread-header {
  background: #1a0008;
  padding: 14px 16px;
  border-bottom: 2px solid #cc0033;
}

.thread-header h1 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.thread-info { font-size: 12px; color: #999; }

/* Posts style forum réel */
.post {
  border-bottom: 1px solid #333;
  padding: 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  background: #1c1c1c;
}

.post:nth-child(even) { background: #191919; }

.post-author {
  background: #151515;
  border-right: 1px solid #2a2a2a;
  padding: 12px 8px;
  text-align: center;
  font-size: 11px;
}

.post-author .avatar {
  width: 80px;
  height: 80px;
  background: #2a0010;
  border: 2px solid #440018;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ff4466;
  border-radius: 3px;
}

.post-author .name {
  font-weight: bold;
  color: #ff88aa;
  font-size: 12px;
  word-break: break-all;
}

.post-author .rank {
  color: #666;
  margin-top: 3px;
  font-size: 10px;
}

.post-content {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.post-content p { margin-bottom: 10px; }
.post-content h2 {
  font-size: 14px;
  color: #ff6699;
  margin: 12px 0 6px;
}
.post-content ul {
  margin: 8px 0 8px 18px;
}
.post-content li { margin-bottom: 3px; }

.post-meta {
  font-size: 10px;
  color: #555;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #2a2a2a;
}

/* Image amateur style (placeholder réaliste) */
.amateur-photo {
  margin: 12px 0;
  max-width: 320px;
  background: #111;
  border: 1px solid #333;
  padding: 4px;
}

.amateur-photo .photo-frame {
  background: #0a0a0a;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.amateur-photo .photo-frame::before {
  content: "📷 Photo membre";
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  color: #aaa;
  font-size: 10px;
  padding: 2px 6px;
}

.amateur-photo .photo-caption {
  font-size: 11px;
  color: #777;
  padding: 4px 6px;
  background: #151515;
}

/* Bannière catégorie amateur */
.cat-banner {
  background: #1a0008;
  border: 1px solid #440018;
  padding: 10px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 12px;
  color: #ff99aa;
}

/* Footer */
.footer {
  background: #0d0d0d;
  border-top: 3px solid #cc0033;
  padding: 18px 12px;
  text-align: center;
  font-size: 11px;
  color: #555;
  margin-top: 25px;
}

.footer a { color: #ff4466; }

.back-link {
  display: inline-block;
  margin: 10px 12px;
  font-size: 12px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 800px) {
  .container { grid-template-columns: 1fr; }
  .topic-item { grid-template-columns: 1fr 60px 60px; }
  .topic-last { display: none; }
  .post { grid-template-columns: 1fr; }
  .post-author {
    border-right: none;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 8px 12px;
  }
  .post-author .avatar {
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 18px;
  }
}
