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

body {
  font-family: system-ui, sans-serif;
  background: #050814;
  color: #f5f5f5;
  min-height: 100vh;
}

/* APP CONTAINER */
.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
}

header h1 {
  font-family: 'Uncial Antiqua', serif;
  color: #fef3c7;
}

/* BANNER */
.ai-banner {
  position: relative;
  width: 100%;
  height: 200px;
  margin: 1rem 0;
  overflow: hidden;
}

.banner-main,
.banner-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-glow {
  filter: blur(12px) brightness(1.8);
  opacity: 0.6;
}

.signal {
  position: absolute;
  top: -100%;
  left: 50%;
  width: 6px;
  height: 300%;
  background: linear-gradient(to bottom, transparent, #ffcc00, transparent);
  transform: translateX(-50%);
  animation: beam 6s ease-in-out infinite;
}

@keyframes beam {
  0% { top: -100%; }
  50% { top: 50%; }
  100% { top: 200%; }
}

/* CTA */
.cta-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  border-radius: 8px;
  background: #9df2ff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

/* SPREADSHOP FULL WIDTH */
.spreadshop-section {
  width: 100%;
  background: #0e0e1c;
  padding: 3rem 1rem;
  text-align: center;
}

.spreadshop-frame {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
  display: block;
  margin-top: 1.5rem;
}

/* FOOTER */
.ai-footer {
  background: #000;
  padding: 2.5rem 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.footer-btn {
  padding: 0.7rem 1.4rem;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
}










/* LORE LOADING */
#lore-loading {
  position: fixed;
  inset: 0;
  background: #050814;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lore-loading.hidden {
  opacity: 0;
  pointer-events: none;
}


.ai-logo-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.ai-logo {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}


  /* ORBIT RING */
  .orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    animation: spin 12s linear infinite;
    z-index: 1;
  }

  /* MINI GLYPHS */
  .glyph {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #ffcc66, #ff6600);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 10px #ff9900;
  }

  .g1 { top: -5px; left: 50%; transform: translateX(-50%); }
  .g2 { bottom: -5px; left: 50%; transform: translateX(-50%); }
  .g3 { left: -5px; top: 50%; transform: translateY(-50%); }
  .g4 { right: -5px; top: 50%; transform: translateY(-50%); }

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

  /* CENTER GLYPH (NEW DESIGNS PULSE) */
  .center-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #ffffff, #ffcc00, #ff6600);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 20px #ff9900;
    animation: pulse 6s ease-in-out infinite;
    z-index: 3;
  }

  @keyframes pulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    40% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    60% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  }
.footer {
  text-align: center;
}

.ai-footer {
  padding: 2.5rem 0;
  text-align: center;
  background: #000;
  color: #fff;
}

.ai-logo-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto; /* this centers the logo block */
}

.ai-logo {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* ORBIT RING */
.orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  animation: spin 12s linear infinite;
  z-index: 1;
}

/* MINI GLYPHS */
.glyph {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #ffcc66, #ff6600);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 10px #ff9900;
}

.g1 { top: -5px; left: 50%; transform: translateX(-50%); }
.g2 { bottom: -5px; left: 50%; transform: translateX(-50%); }
.g3 { left: -5px; top: 50%; transform: translateY(-50%); }
.g4 { right: -5px; top: 50%; transform: translateY(-50%); }

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

/* CENTER GLYPH (NEW DESIGNS PULSE) */
.center-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #ffffff, #ffcc00, #ff6600);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 20px #ff9900;
  animation: pulse 6s ease-in-out infinite;
  z-index: 3;
}

@keyframes pulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  40%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}

.footer-logo img {
  width: 140px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-btn {
  padding: 0.7rem 1.4rem;
  border: 2px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #4B0082;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.footer-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* -------------------- SNOW -------------------- */

.emoji-snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  overflow: hidden;
}

.emoji-snow span {
  position: absolute;
  top: -10%;
  font-size: 24px;
  animation-name: snowFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(120vh) rotate(360deg); opacity: 0.3; }
}