/* =========================================================
   ARENA13 MAIN CSS
   Base Design System
========================================================= */
/* =========================================================
   FONTS
========================================================= */

@font-face {
  font-family: "BlauerNeue";
  src: url("../fonts/BlauerNue-Thin.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("../fonts/HelveticaNeueLTStd-LtEx-2.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adieu-Black";
  src: url("../fonts/Adieu-Black.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* =========================================================
   1. CSS RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* =========================================================
   2. ROOT VARIABLES
========================================================= */

:root {
  /* Colors */
  --bg: #000000;
  --primary: #cc3333;
  --secondary: #00f0ff;
  --text: #ffffff;
  --muted: #999999;
  --line: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-main: "HelveticaNeue", Arial, sans-serif;
  --font-display: "BlauerNeue", Arial, sans-serif;
  --font-bold: "Adieu-Black", Arial, sans-serif;
  /* Layout */
  --container: 1280px;
  --container-fluid: calc(100% - 50px);
  --gap: 24px;
  --radius: 8px;

  /* Motion */
  --fast: 0.3s ease;
  --slow: 0.6s ease;
}

/* =========================================================
   3. BASE ELEMENTS
========================================================= */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.section--dark {
  background: #050505;
}
/* =========================================================
   4. TYPOGRAPHY SYSTEM
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(32px, 42px, 64px);
}

h2 {
  font-size: clamp(28px, 38px, 48px);
}

h3 {
  font-size: 24px;
}

p {
  max-width: 70ch;
  line-height: 1.7;
}

/* =========================================================
   5. LAYOUT CONTAINERS
========================================================= */

.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-fluid {
  max-width: var(--container-fluid);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  padding: 100px 0;
}

@media (max-width: 900px) {
  .section {
    padding: 60px 0;
  }
}

/* =========================================================
   6. UI UTILITIES
========================================================= */

.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted);
}

/* =========================================================
   7. FLEX UTILITIES
========================================================= */

.flex {
  display: flex;
  gap: var(--gap);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================================================
   8. GRID SYSTEM
========================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.col-12 {
  grid-column: span 12;
}
.col-6 {
  grid-column: span 6;
}
.col-4 {
  grid-column: span 4;
}
.col-3 {
  grid-column: span 3;
}

@media (max-width: 900px) {
  .col-6,
  .col-4,
  .col-3 {
    grid-column: span 12;
  }
}
