/* ============================================================
   UNDERCOOP — Ultra-Minimalist Developer Site
   Single Viewport / No-Scroll Experience
   ============================================================ */

/* Local Typography: Helvetica Neue LT Std */
@font-face {
  font-family: 'Helvetica Neue LT Std';
  src: url('helvetica-neue-lt-std-font/HelveticaNeueLTStd-Roman-BF6a4c33b83638f.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue LT Std';
  src: url('helvetica-neue-lt-std-font/HelveticaNeueLTStd-Md-BF6a4c33b821273.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue LT Std';
  src: url('helvetica-neue-lt-std-font/HelveticaNeueLTStd-Bd-BF6a4c33b64bd77.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Design Tokens */
:root {
  --font-heading: 'Helvetica Neue LT Std', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Helvetica Neue LT Std', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --color-bg: #06070a;
  --color-primary: #ffffff;
  --color-body: #e2e8f0;
  --color-muted: #94a3b8;
  --color-subtle: #94a3b8;
  --color-accent: #38bdf8;
  --color-status: #10b981;
}

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

html {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  font-family: var(--font-text);
  color: var(--color-body);
  line-height: 1.6;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden; /* Scrollsuz: fits within the viewport */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 32px;
}

/* ============================================================
   Background Layer (Visible & Atmospheric)
   ============================================================ */
.bg-media {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('BadassBaboon-ea80abe9e122be70e8f22c1ab0bb5712.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: brightness(0.48) contrast(1.05) saturate(0.9);
  transform: scale(1.02);
  pointer-events: none;
}

.bg-dim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 50% 25%, rgba(6, 7, 10, 0.25) 0%, rgba(6, 7, 10, 0.65) 75%, rgba(4, 5, 8, 0.88) 100%),
    linear-gradient(to bottom, rgba(4, 5, 8, 0.2) 0%, rgba(4, 5, 8, 0.78) 100%);
  pointer-events: none;
}

/* ============================================================
   Container (Wider Horizontal Area to Fit in Viewport)
   ============================================================ */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================================================
   Header & Logo
   ============================================================ */
.header {
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.logo {
  display: block;
  max-width: 520px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.14));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover {
  transform: scale(1.015);
  filter: drop-shadow(0 6px 36px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 28px rgba(255, 255, 255, 0.22));
}

/* ============================================================
   Lead & Paragraphs
   ============================================================ */
.lead-section {
  margin-bottom: 18px;
  width: 100%;
}

.lead-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.description {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  width: 100%;
}

.description p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-body);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.95);
}

/* ============================================================
   Status & Discord
   ============================================================ */
.status-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-status);
  box-shadow: 0 0 10px var(--color-status);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--color-status);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
    box-shadow: 0 0 4px var(--color-status);
  }
}

.discord-note {
  font-size: 0.98rem;
  color: var(--color-body);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.link-discord {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
  transition: all 0.2s ease;
}

.link-discord:hover {
  color: #7dd3fc;
  border-bottom-color: #7dd3fc;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.copyright {
  font-size: 0.8rem;
  color: var(--color-subtle);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* ============================================================
   Adaptive / Responsive
   ============================================================ */
/* Small height screens (laptops with small viewports or zoom) */
@media (max-height: 720px) {
  body {
    padding: 12px 24px;
  }

  .header {
    margin-bottom: 14px;
  }

  .logo {
    max-width: 440px;
  }

  .lead-section {
    margin-bottom: 12px;
  }

  .lead-text {
    font-size: 1.2rem;
  }

  .description {
    gap: 8px;
    margin-bottom: 14px;
  }

  .description p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .status-section {
    gap: 6px;
    margin-bottom: 14px;
  }

  .footer {
    padding-top: 12px;
  }
}

/* Mobile Devices */
@media (max-width: 768px), (max-height: 520px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    padding: 40px 20px;
    justify-content: flex-start;
  }

  .logo {
    max-width: 100%;
  }

  .lead-text {
    font-size: 1.15rem;
  }

  .description p {
    font-size: 0.95rem;
  }
}
