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

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colors */
  --card-background: rgba(238, 238, 238, 0.8);
  --ink: rgba(20, 17, 15, 1);
  --page-background: rgba(221, 221, 221, 1);
  --shadow: rgba(0, 0, 0, 0.6);
  --link-hover: rgba(102, 102, 102, 1);
  --card-border: var(--ink);

  /* typography */
  --font-display: 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Montserrat', -apple-system, system-ui, sans-serif;
  --font-size-display: 32px;
  --font-size-body: 14px;
  --line-height-display: 0.9;

  /* products */
  --card-size: 200px;
}

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

html, body {
  height: 100%;
  background: var(--page-background);
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

#pit {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.skull {
  position: absolute;
  left: 0; top: 0;
  width: 92px;
  height: 92px;
  will-change: transform;
}

.skull img { width: 100%; height: 100%; display: block; }

#ui {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 48px;
  pointer-events: none;
  text-align: center;
}

#brand {
  flex-shrink: 0;
  z-index: 70;
  width: 360px;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px var(--shadow));
}

#brand img {
  width: 100%;
  height: auto;
  display: block;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, var(--card-size));
  justify-content: center;
  align-content: center;
  gap: 32px;
  width: 80%;
  margin: auto 0;
  padding: 32px 0;
}

.product-card {
  pointer-events: auto;
  width: var(--card-size); 
  height: var(--card-size);
  display: grid;
  place-items: center;
  padding: 14px;
  border: 2px solid var(--brand, var(--card-border));
  border-radius: 50%;
  background: var(--card-background);
  backdrop-filter: blur(4px);
}

.card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-soon-text {
  font-family: var(--font-display);
  font-size: var(--font-size-display);
  line-height: var(--line-height-display);
  text-transform: uppercase;
  color: var(--ink);
}

.contact {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-background);
  pointer-events: auto;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  backdrop-filter: blur(4px);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .15s ease;
}

.contact-email-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.contact-email:hover {
  color: var(--link-hover);
}

/* ── Responsive breakpoints  ──
   Mobile:  < 576px
   Tablet:  576px – 991px
   Desktop: 992px+
   ────────────────────────────────────────── */

@media (max-width: 991px) {
  :root {
    --card-size: 170px;
    --font-size-display: 28px;
    --font-size-body: 13px;
  }

  #ui {
    padding: 32px;
  }

  .products {
    gap: 24px;
  }

  .contact {
    gap: 20px;
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  :root {
    --card-size: 170px;
    --font-size-display: 24px;
    --font-size-body: 12px;
  }

  #ui {
    padding: 20px;
  }

  #brand {
    width: 62.5%;
  }

  .products {
    gap: 16px;
    width: 90%;
  }

  .contact {
    gap: 14px;
    padding: 10px 16px;
  }
}