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

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10 18s-1.5-1.2-3.5-3.2C4 12.3 2 9.5 2 7.5 2 5 4 3 6.5 3c1.4 0 2.7.7 3.5 1.8C10.8 3.7 12.1 3 13.5 3 16 3 18 5 18 7.5c0 2-2 4.8-4.5 7.3C11.5 16.8 10 18 10 18z' fill='%23fff' fill-opacity='0.8'/%3E%3C/svg%3E") 10 10, auto;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'TerminalGrotesque';
  src: url('/fonts/Terminal-Grotesque-master/webspecimen/font/terminal-grotesque-webfont.woff2') format('woff2'),
       url('/fonts/Terminal-Grotesque-master/webspecimen/font/terminal-grotesque-webfont.woff') format('woff'),
       url('/fonts/Terminal-Grotesque-master/webspecimen/font/terminal-grotesque-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TurboDriver';
  src: url('/fonts/turbo-driver/Turbo Driver Italic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'OfficeCodePro';
  src: url('/fonts/office-code-pro/officecodepro-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OfficeCodePro';
  src: url('/fonts/office-code-pro/officecodepro-bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'OfficeCodePro';
  src: url('/fonts/office-code-pro/officecodepro-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'OfficeCodePro';
  src: url('/fonts/office-code-pro/officecodepro-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Iceberg';
  src: url('/fonts/iceberg_5.2.8/webfonts/iceberg-latin-400-normal.woff2') format('woff2'),
       url('/fonts/iceberg_5.2.8/webfonts/iceberg-latin-400-normal.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'OfficeCodePro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #000;
  color: #e0e0e0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Space background canvas */
#space-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'TurboDriver', 'TerminalGrotesque', sans-serif;
}

p {
  font-family: 'OfficeCodePro', sans-serif;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10 18s-1.5-1.2-3.5-3.2C4 12.3 2 9.5 2 7.5 2 5 4 3 6.5 3c1.4 0 2.7.7 3.5 1.8C10.8 3.7 12.1 3 13.5 3 16 3 18 5 18 7.5c0 2-2 4.8-4.5 7.3C11.5 16.8 10 18 10 18z' fill='%23fff' fill-opacity='0.8'/%3E%3C/svg%3E") 10 10, auto;
}

a:hover {
  color: #00d2ff;
}

::selection {
  background: #00d2ff;
  color: #000;
}

/* ── Mobile: disable custom cursor, reduce GPU overhead ── */
@media (pointer: coarse) {
  html {
    cursor: auto;
  }
  a {
    cursor: auto;
  }
  body::after {
    display: none;
  }
}

@media (max-width: 480px) {
  body::after {
    display: none;
  }
}
