/* ═══════════════════════════════════════════
   ESO OS — Launchpad CSS
   Serveur : /css/style.css
   Palette : bleu marine #0d1535 + jaune #FFD04F
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:           #0d1535;
  --surface:      #111d45;
  --surface-hover:#162058;
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,208,79,0.3);
  --text:         #f0f4ff;
  --text-muted:   #7a8ab8;
  --text-sub:     #a0aecf;

  --jaune:  #FFD04F;
  --bleu:   #2E6BC4;
  --cyan:   #4db8ff;
  --amber:  #f0a030;
  --warm:   #3a4570;

  --radius: 16px;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Syne', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 40px;
}

/* ── Fond — reflet boussole subtil ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(46,107,196,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(255,208,79,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ── */
.header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 0 48px;
}

.header-logo {
  font-family: var(--font-mono);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.logo-eso { color: var(--text); }
/* .logo-os remplacé par img */

.header-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
  mix-blend-mode: normal;
}

.header-logo-img {
  height: 280px;
  width: auto;
  max-width: 680px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.header-slogan {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--jaune);
  font-family: var(--font-sans);
}

.header-sub {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── Launchpad Grid ── */
.launchpad {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 800px;
}

/* ── Module Card ── */
.module-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
}

.module-trading::before { background: var(--cyan); }
.module-builder::before { background: var(--amber); }
.module-auto::before    { background: var(--bleu); }
.module-immo::before    { background: var(--warm); }

a.module-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.module-soon { opacity: 0.4; cursor: default; }

/* ── Icône ── */
.module-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ── Contenu ── */
.module-content { flex: 1; min-width: 0; }

.module-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.module-trading .module-tag { color: var(--cyan); }
.module-builder .module-tag { color: var(--amber); }
.module-auto    .module-tag { color: var(--bleu); }
.module-tag-soon            { color: var(--warm) !important; }

.module-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.module-desc {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.4;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-arrow, .module-lock {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s, color 0.2s;
}

a.module-card:hover .module-arrow {
  transform: translateX(4px);
  color: var(--jaune);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .launchpad { grid-template-columns: 1fr; }
  .header { padding: 40px 0 32px; }
  .module-desc { display: none; }
  .module-title { font-size: 18px; }
}


/* styles boussole déplacés dans helm.js */