/* =============================================
   UPHIX GADGETS — Base Styles
   =============================================*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.hidden { display: none !important; }

.glass {
  background: rgba(4,10,24,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(41,121,212,0.1);
}
[data-theme="light"] .glass {
  background: rgba(238,242,249,0.88);
}
