/* Global Styles for PrimaxCoin */
:root {
  --primary-bg: #070707;
  --primary-gradient: linear-gradient(135deg, #141414 0%, #070707 100%);
  --glow: 0 0 32px 8px rgba(255,255,255,0.08);
  --text-main: #fff;
  --text-secondary: #b3b3b3;
  --text-muted: #888;
  --btn-bg: #191919;
  --btn-hover: #222;
  --btn-active: #111;
  --btn-border: #333;
  --btn-blue: #2176ff;
  --btn-blue-hover: #1a5dcc;
  --btn-blue-active: #174ea6;
  --divider: #222;
  --footer-muted: #666;
  --focus: #2176ff;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--primary-gradient);
  color: var(--text-main);
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  box-sizing: border-box;
  transition: background 0.5s;
}

body.fade-in {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.5em 0;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.25rem; }

p, li {
  color: var(--text-secondary);
  line-height: 1.7;
}

ul {
  padding-left: 1.2em;
}

a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover, a:focus {
  color: var(--text-main);
  outline: none;
}

button, .btn {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 24px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--text-main);
  padding: 0.65em 2.2em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin: 0.4em 0.3em;
  box-shadow: none;
  outline: none;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

button:focus, .btn:focus {
  box-shadow: 0 0 0 2px var(--focus);
}

.btn.primary {
  background: var(--btn-bg);
  color: var(--text-main);
}

.btn.secondary {
  background: #111;
  color: var(--text-secondary);
  border: 1px solid var(--divider);
}

.btn.blue {
  background: var(--btn-blue);
  color: #fff;
  border: none;
}

.btn.blue:hover, .btn.blue:focus {
  background: var(--btn-blue-hover);
}

.btn.primary:hover, .btn.primary:focus {
  background: var(--btn-hover);
}

.btn.secondary:hover, .btn.secondary:focus {
  background: #181818;
  color: var(--text-main);
}

.btn:active {
  background: var(--btn-active);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

footer {
  width: 100%;
  text-align: center;
  color: var(--footer-muted);
  font-size: 0.95em;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  align-items: center;
  margin-bottom: 0.2em;
}

.footer-link {
  color: var(--footer-muted);
  font-size: 0.97em;
  opacity: 0.86;
  transition: color 0.18s, opacity 0.18s;
}

.footer-link:hover, .footer-link:focus {
  color: var(--text-main);
  opacity: 1;
}

.footer-divider {
  color: var(--divider);
  font-size: 1.1em;
}

.footer-note {
  color: var(--footer-muted);
  font-size: 0.92em;
  margin-top: 0.7em;
}

@media (max-width: 600px) {
  html, body {
    font-size: 15px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.07rem; }
}
