/* =========================================
   OXYM — Landing Page Styles
   Pixel Perfect Design Match
   ========================================= */

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

:root {
  --white: #ffffff;
  --black: #050505;
  --red: #eb0c0c;
  --gray-light: #f0f0f0;
  --gray-text: #777777;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

::selection {
  background-color: var(--black);
  color: var(--white);
}

/* --- Background Circles --- */
.bg-circles {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(30%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--gray-light);
  border-radius: 50%;
}

.circle-1 { width: 300px; height: 300px; }
.circle-2 { width: 600px; height: 600px; }
.circle-3 { width: 900px; height: 900px; }

/* --- Top Nav --- */
.top-nav {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) 1s forwards;
}

.store-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.red-dot {
  width: 5px;
  height: 5px;
  background-color: var(--red);
  border-radius: 50%;
  display: inline-block;
}

/* --- Page Container --- */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  margin-top: -2rem; /* vertically centering compensation */
}

/* --- Logo --- */
.logo-container {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.logo-image {
  width: clamp(200px, 32vw, 400px);
  height: auto;
  user-select: none;
  display: block;
}

/* --- Tagline --- */
.tagline {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5em; /* Extremely wide tracking based on image */
  color: var(--black);
  text-transform: uppercase;
  margin-left: 0.5em; /* Offset for letter-spacing to center correctly */
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.5s forwards;
}

/* --- Red Dash --- */
.red-dash {
  width: 24px;
  height: 2px;
  background-color: var(--red);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) 0.7s forwards;
}

/* --- Join Action --- */
.join-action {
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s var(--ease-out-expo) 0.75s forwards;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 2rem;
  background-color: var(--black);
  color: var(--white);
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  transform: scale(1.02);
}

.btn-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.btn-icon {
  display: flex;
  align-items: center;
}

/* --- Status Lines --- */
.status {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease-out-expo) 1s forwards;
}

.status-line {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-text);
}

/* --- Footer --- */
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out-expo) 1.3s forwards;
}

.footer-col {
  flex: 1;
  display: flex;
}

.footer-col.left { justify-content: flex-start; }
.footer-col.center { justify-content: center; }
.footer-col.right { justify-content: flex-end; }

.footer-link, .copyright {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ig-icon {
  width: 16px;
  height: 16px;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }
  .page {
    padding: 6rem 1.5rem 2rem;
    margin-top: 0;
    min-height: calc(100vh - 120px);
  }
  .footer {
    position: relative;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }
  .footer-col.left, .footer-col.right { justify-content: center; }
  .bg-circles {
    transform: translate(50%, -50%);
    opacity: 0.2;
  }
}
