/* =============================================
   Game Play Tracker Pro — Shared Stylesheet
   ============================================= */

:root {
  --bg:           #0A0D14;
  --surface:      #12151F;
  --card:         #1A1D27;
  --border:       #2A2D37;
  --accent:       #D4945A;
  --accent-dark:  #B8763C;
  --accent-glow:  rgba(212, 148, 90, 0.15);
  --text:         #F0EDE8;
  --text-sec:     #9B9589;
  --text-muted:   #5C574F;
  --success:      #4CAF50;
  --danger:       #FF4646;
  --radius:       12px;
  --radius-lg:    20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand .crown {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.nav-brand span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; text-decoration: none !important; }

/* ── Page wrapper ── */
.page { max-width: 800px; margin: 0 auto; padding: 64px 24px 80px; }
.page-wide { max-width: 1100px; margin: 0 auto; padding: 64px 24px 80px; }

/* ── Typography ── */
.page-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 17px;
  color: var(--text-sec);
  margin-bottom: 48px;
  max-width: 600px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}

p { color: var(--text-sec); margin-bottom: 14px; font-size: 15px; line-height: 1.7; }

ul, ol { padding-left: 20px; color: var(--text-sec); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }

.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-glow);
  border: 1px solid rgba(212, 148, 90, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s;
}

.btn:hover { opacity: 0.9; text-decoration: none; }

.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-dark)); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-sec);
  text-decoration: none;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-links li:not(:last-child) { display: none; }
  .page, .page-wide { padding: 40px 16px 60px; }
}
