/* ==========================================================================
   INENSIS — Coming Soon
   ========================================================================== */

:root {
  /* Color tokens (dark theme) */
  --color-primary-fixed: #b2f700;
  --color-background: #121314;
  --color-on-background: #e3e2e2;
  --color-secondary: #c6c6c6;
  --color-surface-variant: #343535;
  --color-surface-container-low: #1b1c1c;
  --color-surface-container-lowest: #0d0e0f;
  --color-on-tertiary-container: #636565;

  /* Spacing tokens */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-margin-mobile: 16px;
  --space-gutter: 24px;
  --container-max: 1280px;

  /* Radius tokens */
  --radius-default: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Font families */
  --font-headline: "Zen Dots", cursive;
  --font-body: "Poppins", sans-serif;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Grid background
   -------------------------------------------------------------------------- */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(184, 255, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184, 255, 0, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(18, 19, 20, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-surface-variant);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 var(--space-margin-mobile);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header-logo img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 var(--space-xl);
  }
  .header-logo img {
    height: 64px;
  }
}

/* --------------------------------------------------------------------------
   Main content
   -------------------------------------------------------------------------- */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 96px var(--space-margin-mobile) var(--space-xl);
  margin-top: 64px;
  min-height: 80vh;
}

@media (min-width: 768px) {
  .main-content {
    padding: 96px var(--space-xl) var(--space-xl);
  }
}

.content-wrap {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 10;
}

/* Monolith area */
.monolith-area {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 0;
}

.glow-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  max-width: 100vw;
  background-color: rgba(178, 247, 0, 0.05);
  border-radius: var(--radius-full);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-line-h {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 1px;
  background-color: rgba(178, 247, 0, 0.2);
  pointer-events: none;
  z-index: 0;
}

.glow-line-v {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 100%;
  background-color: rgba(178, 247, 0, 0.2);
  pointer-events: none;
  z-index: 0;
}

/* Status pill */
.status-pill {
  color: var(--color-primary-fixed);
  font-family: var(--font-headline);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(178, 247, 0, 0.5);
  padding: var(--space-sm) var(--space-md);
  background-color: rgba(18, 19, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.status-dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary-fixed);
  border-radius: var(--radius-full);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Monolith logo */
.monolith-logo {
  position: relative;
  z-index: 10;
  margin: var(--space-lg) 0;
}

.monolith-logo img {
  height: 192px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(178, 247, 0, 0.3)) drop-shadow(0 0 30px rgba(184, 255, 0, 0.4));
}

@media (min-width: 768px) {
  .monolith-logo img {
    height: 256px;
  }
}

/* Title */
.hero-title {
  font-family: var(--font-headline);
  color: var(--color-primary-fixed);
  text-shadow: 0 0 20px rgba(184, 255, 0, 0.6);
  letter-spacing: -0.02em;
  margin-top: var(--space-md);
  position: relative;
  z-index: 10;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
    line-height: 1.1;
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-secondary);
  max-width: 42rem;
  margin: var(--space-md) auto 0;
  position: relative;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   Countdown timer
   -------------------------------------------------------------------------- */
.timer-row {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
  margin: var(--space-md) 0;
}

@media (min-width: 768px) {
  .timer-row {
    gap: var(--space-xl);
  }
}

.arch-timer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-surface-variant);
  background-color: var(--color-surface-container-low);
}

.arch-timer::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(184, 255, 0, 0.2);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .arch-timer {
    width: 128px;
    height: 128px;
  }
}

.arch-timer .value {
  font-family: var(--font-headline);
  color: var(--color-primary-fixed);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
}

.arch-timer .label {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-top: var(--space-xs);
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .arch-timer .value {
    font-size: 40px;
  }
  .arch-timer .label {
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-surface-container-lowest);
  border-top: 1px solid var(--color-surface-variant);
  width: 100%;
  padding: var(--space-xl) 0;
  z-index: 20;
  position: relative;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-margin-mobile);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 0 var(--space-xl);
    flex-direction: row;
    align-items: center;
  }
}

.footer-logo img {
  height: 72px;
  width: auto;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 100px;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-gutter);
}

.footer-nav a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-on-tertiary-container);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-primary-fixed);
  transform: translateX(4px);
}

.footer-copy {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-on-tertiary-container);
  text-align: center;
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .footer-copy {
    text-align: right;
    margin-top: 0;
  }
}
