/* Coquille visuelle alignée sur templates/index.html (fond noir, nav, Three.js, footer) */
@import url("site_nav.css");

:root {
  --primary-color: #00d4ff;
  --secondary-color: #ff6b6b;
  --accent-color: #00ff88;
  --dark-bg: rgba(11, 21, 83, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000;
  min-height: 100vh;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.logo,
a.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  font-family: "Orbitron", "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.logo-image {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
}

.logo-image:hover {
  filter: brightness(1.3) contrast(1.2);
  transform: scale(1.05);
}

.main-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 60px;
}

.main-wrapper.articles-hub {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 96px 24px 140px;
}

.main-wrapper.articles-hub .articles-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  z-index: 100;
}

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

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 400;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-color);
}

@media (max-width: 768px) {
  .main-wrapper.articles-hub {
    padding: 100px 16px 130px;
  }
}

@media (max-width: 480px) {
  .logo,
  a.logo {
    font-size: 1.1rem;
  }
  .main-wrapper.articles-hub {
    padding: 90px 12px 120px;
  }
}
