@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Inter.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ArchivoBlack.woff2') format('woff2');
}


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

:root {
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0f2027;
  color: #fff;
  overflow: hidden;
}

main {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ---- background ---- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #1a0e05 0%, #170f06 40%, #1e150a 100%);
}

.bg-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
}

.bg-1 {
  width: 60vmax;
  height: 60vmax;
  left: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(210, 130, 20, 0.5) 0%, transparent 70%);
  animation: drift1 30s ease-in-out infinite alternate;
}

.bg-2 {
  width: 50vmax;
  height: 50vmax;
  right: -15%;
  top: -15%;
  background: radial-gradient(circle, rgba(190, 70, 30, 0.35) 0%, transparent 70%);
  animation: drift2 23s ease-in-out infinite alternate;
}

.bg-3 {
  width: 40vmax;
  height: 40vmax;
  left: 30%;
  top: 20%;
  background: radial-gradient(circle, rgba(230, 160, 50, 0.2) 0%, transparent 70%);
  animation: drift3 27s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.8; }
  33%  { transform: translate(8%, -12%) scale(1.1); opacity: 1; }
  66%  { transform: translate(-5%, -8%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(12%, -5%) scale(1.05); opacity: 0.9; }
}

@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  33%  { transform: translate(-10%, 8%) scale(1.05); opacity: 0.9; }
  66%  { transform: translate(-6%, 15%) scale(1.1); opacity: 0.8; }
  100% { transform: translate(5%, 10%) scale(0.95); opacity: 1; }
}

@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33%  { transform: translate(10%, 5%) scale(1.15); opacity: 0.8; }
  66%  { transform: translate(-8%, -10%) scale(0.9); opacity: 0.5; }
  100% { transform: translate(-12%, 8%) scale(1.1); opacity: 0.7; }
}

/* ---- grain texture ---- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ---- hero ---- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.logo {
  font-family: 'Archivo Black', var(--font);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
}

.tagline {
  margin-top: 0.75rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- footer ---- */

footer {
  padding: 2rem 2rem 2.5rem;
  text-align: center;
}

.details {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.details a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.details a:hover {
  color: #fff;
}

.sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 1rem;
  flex-shrink: 0;
}

.copy {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- responsive ---- */

@media (max-width: 480px) {
  .details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sep {
    display: none;
  }

  footer {
    padding: 1.5rem 1.5rem 2rem;
  }
}
