/* ══════════════════════════════════════════════════════════════════
   RAXI WEEN • CYBERPUNK CRIMSON TECH LANDING UI
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-black: #060102;
  --text-white: #ffffff;
  --red-neon: #ff2026;
  --red-glow: rgba(255, 32, 38, 0.5);
  --btn-red-start: #e70005;
  --btn-red-end: #a40004;
  --green-dot: #22c55e;
  --text-muted: #94a3b8;
  --cyan-accent: #38bdf8;
}

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

html, body {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-black);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-white);
  cursor: pointer;
  overflow-x: hidden;
  position: relative;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Subtle Technical Grid Background */
.tech-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(220, 20, 25, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 20, 25, 0.065) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Crimson Radial Glow in Center */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-center {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 20, 25, 0.35) 0%, rgba(130, 10, 15, 0.15) 42%, transparent 70%);
  filter: blur(55px);
}

/* 1. Top Header Navigation Bar */
.top-nav-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--red-neon);
  box-shadow: 0 0 10px rgba(255, 32, 38, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.nav-info {
  display: flex;
  flex-direction: column;
}

.nav-name {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.nav-tg-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-tg-icon {
  fill: #38bdf8;
  transform: rotate(-25deg);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-members-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 20px;
  padding: 4px 11px;
}

.pulse-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--green-dot);
  box-shadow: 0 0 8px var(--green-dot);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.25); }
}

.nav-count {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #86efac;
}

/* 2. Main Page Container */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  padding: 1.8rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

/* 3. Central Avatar with Sci-Fi HUD Tech Rings */
.avatar-hud-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 210px;
  margin-bottom: 0.5rem;
}

/* Outer HUD Technical Arc */
.hud-outer-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(220, 38, 38, 0.35);
  pointer-events: none;
}

.hud-outer-arc::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--red-neon);
  border-right-color: var(--red-neon);
  transform: rotate(-35deg);
  filter: drop-shadow(0 0 8px var(--red-neon));
}

.hud-inner-ring {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red-neon) 0%, #8b0004 100%);
  box-shadow: 
    0 0 30px rgba(255, 32, 38, 0.65),
    0 0 60px rgba(220, 20, 25, 0.35);
  position: relative;
}

.avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #000000;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 4. Hero Title */
.hero-title {
  font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.1rem, 8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}

/* 5. Center Members Badge */
.center-members-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 1.8rem;
}

.members-text {
  font-size: 0.84rem;
  font-weight: 500;
  color: #86efac;
}

.members-text strong {
  color: #ffffff;
  font-weight: 800;
}

/* 6. Glowing Crimson CTA Button */
.cta-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-cta-crimson {
  width: 100%;
  max-width: 375px;
  height: 56px;
  background: linear-gradient(180deg, var(--btn-red-start) 0%, var(--btn-red-end) 100%);
  border: 1px solid rgba(255, 70, 75, 0.4);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 
    0 10px 32px rgba(230, 0, 5, 0.55),
    0 2px 8px rgba(230, 0, 5, 0.35);
  color: #ffffff;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  padding: 0 1.25rem;
}

.btn-cta-crimson:active {
  transform: scale(0.975);
  filter: brightness(0.92);
}

.btn-tg-plane {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  transform: rotate(-30deg);
  margin-top: -2px;
}

.btn-text {
  font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

/* 7. Ads Management Box */
.ads-management-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.ads-title {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cyan-accent {
  color: var(--cyan-accent);
  font-weight: 700;
}

.agency-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agency-tg-icon {
  fill: var(--cyan-accent);
  transform: rotate(-25deg);
}

/* 8. Fixed Bottom-Right Badge */
.fixed-bottom-badge {
  position: fixed;
  bottom: 12px;
  right: 14px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(14, 18, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: auto;
}

.fixed-bottom-badge strong {
  color: #ffffff;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 360px) {
  .avatar-hud-wrapper {
    width: 180px;
    height: 180px;
  }
  .hud-inner-ring {
    width: 135px;
    height: 135px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .btn-cta-crimson {
    height: 52px;
  }
  .btn-text {
    font-size: 0.88rem;
  }
}
