/* ================================================
   FONTS
================================================ */
@font-face {
  font-family: 'Agency FB';
  src: url('../fonts/AgencyFBLight.ttf') format('truetype');
  font-weight: 100 300;
  font-display: swap;
}

@font-face {
  font-family: 'Agency FB';
  src: url('../fonts/AgencyFBRegular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Agency FB';
  src: url('../fonts/Agency_FB_Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Agency FB';
  src: url('../fonts/AgencyFBBlackCondensed.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Neutrons';
  src: url('../fonts/NeutronsRegular.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

/* ================================================
   VARIABLES
================================================ */
:root {
  --color-bg:               #000000;
  --color-brand:            #BF0000;
  --color-text:             #FFFFFF;
  --color-text-secondary:   #999999;
  --color-surface:          #111111;

  --font-heading: 'Neutrons', sans-serif;
  --font-body:    'Agency FB', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* ================================================
   BACK TO TOP BUTTON
================================================ */
.btn-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid #333;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s;
}

.btn-top.visible {
  opacity: 1;
  pointer-events: all;
}

.btn-top:hover {
  background: #222;
}
