/**
 * Pre-launch section styles – same look as pre-launch-section.html
 * All selectors use pls-* prefix to avoid conflicts with main.css
 * Colors from maintenance app (landing-section.module.css + globals.css)
 */

/* Wrapper – shared gradient variable so IQF Mining and Pre Launch use exact same colors */
.pls-wrap {
  --pls-text-gradient: linear-gradient(135deg, #f472b6 0%, #e879f9 20%, #c084fc 45%, #a78bfa 65%, #38bdf8 100%);
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
}

/* Icon – same bounce as before */
@keyframes pls-icon-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.pls-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.35), 0 0 24px rgba(34, 211, 238, 0.2);
  animation: pls-icon-bounce 3.5s ease-in-out infinite;
  transform-origin: center;
}

.pls-icon-svg {
  width: 40px;
  height: 40px;
}

@media (min-width: 640px) {
  .pls-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
  }
  .pls-icon-svg {
    width: 48px;
    height: 48px;
  }
}

/* IQF Mining heading – exact same as maintenance .preMiningText (mining block) */
.pls-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
  color: transparent;
  background: var(--pls-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .pls-heading {
    font-size: clamp(0.85rem, 3.2vw, 1rem);
    letter-spacing: 0.05em;
  }
}

/* Pre-launch start subtitle – same as before (14px) */
.pls-sub {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(226, 232, 240, 0.9);
  margin: 0;
}

/* Date – same size as before */
.pls-date {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #22d3ee;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
  margin: 0.75rem 0 1rem;
}

@media (min-width: 640px) {
  .pls-date {
    font-size: 1.875rem;
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .pls-date {
    font-size: 2.25rem;
  }
}

/* Pre Launch / Join Now button */
.pls-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 640px;
  margin: 2.5rem auto 0;
  min-height: 100px;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0.08) 30%, rgba(139, 92, 246, 0.12) 70%, rgba(168, 85, 247, 0.18) 100%);
  border: 2px solid rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5), 0 0 60px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.pls-btn,
.pls-btn-line2 {
  color: #fff;
}

.pls-btn:hover {
  transform: scale(0.98);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.8), 0 0 80px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0.12) 30%, rgba(139, 92, 246, 0.18) 70%, rgba(168, 85, 247, 0.24) 100%);
}

/* Pre Launch line (inside button) */
.pls-btn-line1 {
  display: block;
  margin: 0 0 0.25rem;
}

/* Pre Launch text – exact same as maintenance PrelaunchCta (text-lg sm:text-xl md:text-2xl) */
.pls-btn-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem; /* text-lg */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em; /* tracking-[0.15em] */
  margin: 0;
  position: relative;
  z-index: 1;
  color: transparent;
  background: var(--pls-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Join Now – exact same as maintenance PrelaunchCta (text-xl sm:text-2xl md:text-3xl lg:text-4xl) */
.pls-btn-line2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; /* text-xl */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em; /* tracking-[0.08em] */
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.5);
}

.pls-btn:hover .pls-btn-line2 {
  text-shadow: 0 0 32px rgba(34, 211, 238, 0.7);
}

@media (min-width: 640px) {
  .pls-btn {
    min-height: 120px;
    padding: 2rem 2rem;
    border-radius: 1.25rem;
  }
  .pls-btn-title {
    font-size: 1.25rem; /* sm:text-xl */
  }
  .pls-btn-line2 {
    font-size: 1.5rem; /* sm:text-2xl */
  }
}

@media (min-width: 768px) {
  .pls-btn-title {
    font-size: 1.5rem; /* md:text-2xl */
  }
  .pls-btn-line2 {
    font-size: 1.875rem; /* md:text-3xl */
  }
}

@media (min-width: 1024px) {
  .pls-btn {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }
  .pls-btn-line2 {
    font-size: 2.25rem; /* lg:text-4xl */
  }
}
