/* Spirit Forge — Studio landing */

:root {
  --bg-dark: #1A202C;
  --bg-card: #2D3748;
  --accent: #FFCC00;
  --text-primary: #F7FAFC;
  --text-muted: #A0AEC0;
  --font-title: 'Yanone Kaffeesatz', sans-serif;
  --font-body: 'Lato', sans-serif;
  --radius: 8px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.studio {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 480px;
}

.studio__logo {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
}

.studio__name {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.studio__tagline {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.studio__game {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.studio__game h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.studio__game p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.studio__cta {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.15s;
}

.studio__cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 204, 0, 0.3);
}

.studio__footer {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.studio__footer a {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.studio__footer a:hover { color: var(--accent); }

/* ── Sélecteur de langue (ajout) ── */
.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  gap: 0.35rem;
}

.lang-switch button {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--bg-card);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 40px;
  min-width: 40px;
  transition: 0.15s;
}

.lang-switch button.is-active {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}
