/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --color-white:  #f5f5f5;
  --color-black:  #222222;
  --color-pink:   #FF99DD;
  --color-yellow: #FFFF00;
  --color-blue:   #88DDFF;

  --spacing-edge: 24px;

  /* Roboto Flex axes for condensed cuts */
  --font-family: 'Roboto Flex', sans-serif;
  --font-wdth-condensed: 45;        /* wdth axis */
  --font-weight-regular: 600;
  --font-weight-bold: 900;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* no vertical scroll on desktop */
}

/* ============================================================
   LAYER SYSTEM
   All layers share the same fixed full-viewport footprint.
   z-index order: background (0) → foreground (10)
   ============================================================ */

/* --- Background layer --- */
.layer-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--color-pink);

  /* contain the collision SVG inside this layer */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.collision {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.collision-bg { z-index: 1; }
.collision-fg {
  z-index: 2;
  width: 40%;
  height: 40%;
  top: 50%;
  left: 50%;
  object-fit: contain;
}

/* --- Foreground layer --- */
.layer-foreground {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none; /* pass clicks through to background by default */
}

.layer-foreground > * {
  pointer-events: auto; /* re-enable for actual UI elements */
}

/* ============================================================
   HEADER / LOGOTYPE
   ============================================================ */
.header {
  position: absolute;
  top: var(--spacing-edge);
  left: var(--spacing-edge);
  right: var(--spacing-edge);
}

.logotype {
  width: 100%;
  height: auto;
  display: block;
}

.logotype--mobile  { display: none; }
.logotype--desktop { display: block; }

@media (max-width: 767px) {
  .logotype--desktop { display: none; }
  .logotype--mobile  { display: block; }
}

/* ============================================================
   BOTTOM BAR (info left + 0711 right)
   ============================================================ */
.bottom-bar {
  position: absolute;
  bottom: var(--spacing-edge);
  left: var(--spacing-edge);
  right: var(--spacing-edge);

  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

/* each half takes 50% of the viewport (not just the bar) */
.info,
.footer {
  width: 50%;
}

.footer {
  display: flex;
  justify-content: flex-end;
}

.badge-0711 {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   INFO BLOCK
   ============================================================ */
.info {
  font-family: var(--font-family);
  font-variation-settings: 'wdth' var(--font-wdth-condensed);
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-black);
}

.info__headline {
  font-weight: var(--font-weight-bold);
  font-variation-settings: 'wdth' var(--font-wdth-condensed);
}

.info__detail {
  font-weight: var(--font-weight-regular);
  font-variation-settings: 'wdth' var(--font-wdth-condensed);
  margin-bottom: 0.6em;
}

.info__detail strong {
  font-weight: var(--font-weight-bold);
  font-variation-settings: 'wdth' var(--font-wdth-condensed);
}

/* Mobile: stack info above 0711, both full width */
@media (max-width: 767px) {
  :root {
    --spacing-edge: 16px;
  }
  .bottom-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .info,
  .footer {
    width: 100%;
  }

  .info {
    margin-bottom: var(--spacing-edge);
    font-size: 20px;
  }
}
