/* ============================================================
   OSIA - Forum page
   ============================================================ */

.forum-main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 32px 50px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ===== HERO ===== */

.forum-hero {
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.5s 0.1s ease forwards;
}

.forum-hero .tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--neon-lime);
  border: 1px solid var(--neon-lime);
  border-radius: 100px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.forum-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.forum-hero h1 .accent {
  background: linear-gradient(90deg, #9d4edd, var(--neon-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.forum-hero .subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== LAYOUT 2 COLONNES ===== */

.forum-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  opacity: 0;
  animation: fadeUp 0.5s 0.2s ease forwards;
}

.forum-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-right {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}

/* ===== CARDS LEFT ===== */

.join-card,
.topics-card,
.rules-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 18px 20px;
}

.join-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.08), rgba(255, 0, 245, 0.05));
  border-color: rgba(88, 101, 242, 0.4);
}

.join-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 14px rgba(88, 101, 242, 0.5));
}

.join-card h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.join-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.btn-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(90deg, #9d4edd, #00f0ff);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.3);
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.6);
}

.discord-icon {
  font-size: 18px;
}

.join-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--neon-magenta);
  margin-top: 8px;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

/* TOPICS CARD */

.topics-card h3,
.rules-card h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--neon-lime);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.topics-list,
.rules-list {
  list-style: none;
  padding: 0;
}

.topics-list li,
.rules-list li {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.8;
}

/* ===== WIDGET DISCORD ===== */

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 10px;
  border-bottom: 1px solid var(--border-glow);
  margin-bottom: 12px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-lime);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.discord-widget {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  min-height: 460px;
}

.widget-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
  line-height: 1.6;
  padding: 8px 4px 0;
  border-top: 1px dashed var(--border-glow);
}

.widget-note a {
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px dotted var(--neon-cyan);
}

.widget-note a:hover {
  color: var(--neon-magenta);
  border-bottom-color: var(--neon-magenta);
}

/* ===== CTA FINAL ===== */

.forum-cta {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 22px 24px;
  margin-top: 8px;
  opacity: 0;
  animation: fadeUp 0.5s 0.4s ease forwards;
}

.forum-cta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--neon-cyan);
  margin-bottom: 6px;
  font-weight: 800;
}

.forum-cta p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.6;
}

.forum-cta strong {
  color: var(--neon-lime);
}

.btn-join-secondary {
  display: inline-block;
  padding: 10px 22px;
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-join-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
  .forum-hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 540px) {
  .forum-main {
    padding: 18px 14px 30px;
  }
  .forum-hero h1 {
    font-size: 24px;
  }
}
