/* ==========================================================================
   Dive Theme — Base Styles
   CSS custom properties, fonts, resets, global typography
   ========================================================================== */

/* Google Fonts: Raleway 300-700 loaded via <link> in html.html.twig */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lancelot';
  src: url('../fonts/Lancelot-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Italic.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- CSS Custom Properties (from POC index.css) ---------- */

:root {
  --background: 351 100% 17%;
  --foreground: 0 0% 100%;
  --primary: 328 80% 48%;
  --primary-foreground: 0 0% 100%;
  --accent: 320 70% 72%;
  --accent-foreground: 0 0% 100%;
  --info-bg: 108 17% 14%;
  --highlight: 310 80% 85%;
  --surface-dark: 328 80% 35%;
  --muted-foreground: 0 0% 85%;
  --font-display: 'Raleway', sans-serif;
  --radius: 0.5rem;
}

/* ---------- Global Reset & Body ---------- */

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

html {
  overflow-x: hidden;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-display);
  font-style: normal;
  letter-spacing: 0.04em;
  margin: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  letter-spacing: inherit;
}

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

/* ---------- Desktop: hide default cursor ---------- */

@media (min-width: 1024px) {
  *,
  *:hover {
    cursor: none !important;
  }
}

/* ---------- Scrollbar hide utility ---------- */

.dive-scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.dive-scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ---------- Selection color ---------- */

::selection {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
