:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

/* ===============================
   GLOBAL WIDTH LOCK
   =============================== */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

img,
canvas,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(11, 18, 32, 0.85), rgba(11, 18, 32, 0.85)),
    url("../images/background.jpg") center / cover no-repeat fixed;
}

/* ===============================
   LAYOUT
   =============================== */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===============================
   HEADER
   =============================== */

.site-header {
  background: rgba(11, 18, 32, 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  max-height: 72px;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

/* ===============================
   HERO
   =============================== */

.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.subhead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
  padding: 0 12px;
}

/* ===============================
   MARKET BOX
   =============================== */

.market-box {
  position: relative;
}

.market-box h2 {
  margin-bottom: 6px;
}

.data-disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 10px;
}
