/* ==========================================================================
   TEAM SNICKY / LOVABLE THEME STYLESHEET
   Accurate 1:1 Recreation of suvo-earn-together.lovable.app
   ========================================================================== */

:root {
  --night: #130a1c;
  --night-card: rgba(22, 13, 33, 0.75);
  --night-line: rgba(168, 85, 247, 0.12);
  --glow-pink: #ec4899;
  --glow-violet: #a855f7;
  --glow-blue: #3b82f6;
  --cream: #fbf9f5;
  --cream-dim: rgba(251, 249, 245, 0.45);
  --font-body: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main Screen Wrapper */
.main-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2.5rem 1rem;
}

/* Geometric Grid Background Pattern */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--night-line) 1px, transparent 1px), 
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Glowing Blur Orbs */
.glow-orb {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 2;
}

.glow-top {
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38rem;
  max-width: 95vw;
  height: 24rem;
  background: rgba(168, 85, 247, 0.28);
  filter: blur(120px);
}

.glow-bottom-left {
  bottom: 0;
  left: 0;
  width: 18rem;
  height: 18rem;
  background: rgba(236, 72, 153, 0.22);
  filter: blur(110px);
}

.glow-bottom-right {
  bottom: 0;
  right: 0;
  width: 18rem;
  height: 18rem;
  background: rgba(59, 130, 246, 0.22);
  filter: blur(110px);
}

/* Center Content Stage Box */
.content-box {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.5rem;
}

/* Avatar / Channel Sticker Badge */
.avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--glow-pink), var(--glow-violet), var(--glow-blue));
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  margin-bottom: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-wrap:hover {
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.7);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #1a0f26;
  background-image: url('avatar.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 3px solid var(--night);
}

.avatar-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.tick-icon {
  width: 100%;
  height: 100%;
  display: block;
}

/* Eyebrow / Sub-badge */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--glow-violet);
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.85);
  margin-bottom: 0.5rem;
  padding-left: 0.5em; /* optical alignment for tracking */
  line-height: 1.2;
}

/* Main Glowing Title */
.main-title {
  position: relative;
  margin-top: 0.35rem;
  font-size: clamp(2.5rem, 8.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-align: center;
}

.title-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--glow-pink), var(--glow-violet), var(--glow-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(26px);
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
  display: block;
}

.title-gradient {
  position: relative;
  background: linear-gradient(to right, var(--glow-pink), var(--glow-violet), var(--glow-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

/* CTA Button */
.cta-btn {
  margin-top: 2.85rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: 1.15rem;
  background: linear-gradient(to right, var(--glow-pink), var(--glow-violet), var(--glow-blue));
  padding: 0.55rem 1.4rem 0.55rem 0.55rem;
  box-shadow: 0 0 42px rgba(168, 85, 247, 0.48);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  user-select: none;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 0 55px rgba(168, 85, 247, 0.72);
}

.cta-btn:active {
  transform: translateY(0px) scale(0.985);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.cta-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  background: rgba(19, 10, 28, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.send-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--cream);
  transform: translate(1px, -1px);
}

.cta-text {
  flex: 1;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: uppercase;
  font-family: var(--font-body);
}

.arrow-icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--cream);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cta-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Footer Copyright */
.footer-text {
  margin-top: 2.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cream-dim);
  text-transform: uppercase;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .main-wrapper {
    padding: 2rem 1.2rem;
  }
  .content-box {
    max-width: 100%;
  }
  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.4em;
  }
  .main-title {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }
  .cta-btn {
    margin-top: 2.4rem;
    padding: 0.5rem 1.1rem 0.5rem 0.5rem;
  }
  .cta-icon-box {
    width: 3rem;
    height: 3rem;
  }
  .cta-text {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
  }
  .footer-text {
    margin-top: 2.2rem;
    font-size: 0.7rem;
  }
}
