/* =============================================
   GAMEDITE — base.css
   Design tokens, reset, tipografia globale
   Palette ufficiale Gamedite (Coolors):
   #FF6700 · #B9BEB4 · #7E8284 · #0A0A0A
   ============================================= */

/* ===== Studio theme (arancione) ===== */
:root {
  /* Brand */
  --accent:        #FF6700;
  --accent-dark:   #CC5200;
  --accent-bg:     rgba(255, 103, 0, 0.08);
  --accent-br:     rgba(255, 103, 0, 0.22);

  /* Background */
  --bg:            #0A0A0A;
  --surface:       #141414;
  --surface2:      #1C1C1C;

  /* Text */
  --text:          #B9BEB4;
  --text-strong:   #F5F5F5;
  --muted:         #7E8284;
  --dimmed:        #3A3A3A;

  /* Borders */
  --border:        rgba(185, 190, 180, 0.08);

  /* Typography */
  --mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Personal theme (tistar) ===== */
.theme-personal {
  --accent:        #C9A84C;
  --accent-dark:   #A8872E;
  --accent-bg:     rgba(201, 168, 76, 0.08);
  --accent-br:     rgba(201, 168, 76, 0.22);
  --bg:            #0F1311;
  --surface:       #161C17;
  --surface2:      #1B2219;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent);
}

/* ===== Layout ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Tipografia ===== */
h1 { font-size: 42px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.05; }
h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.5px; }
h3 { font-size: 18px; font-weight: 600; }

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .container, .container--wide { padding: 0 16px; }
}
