/* ==========================================================================
   2xAviator Official Telegram Landing Page
   Exact Visual Replication of Reference Cyber-Navy Landing Page
   ========================================================================== */

:root {
  --bg-page: #060b13;
  --bg-card: #0a1322;
  --bg-card-bottom: #080f1b;
  --bg-stat-box: #0d1726;
  --border-card: rgba(0, 180, 255, 0.14);
  --border-stat: rgba(255, 255, 255, 0.06);
  --border-badge: rgba(0, 180, 255, 0.3);
  --neon-blue: #00c2ff;
  --neon-blue-dark: #0077b6;
  --neon-glow: rgba(0, 194, 255, 0.55);
  --neon-glow-soft: rgba(0, 140, 255, 0.15);
  --btn-gradient: linear-gradient(90deg, #00a8ff 0%, #007cf8 100%);
  --btn-glow: rgba(0, 132, 255, 0.55);
  --green-online: #00e676;
  --text-white: #ffffff;
  --text-muted: #8da2bc;
  --text-subtle: #62758d;
  --text-footer: #4e6177;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

/* Background Cyber Grid with Ambient Radial Glow */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 50% 25%, #0e223d 0%, #060b13 70%),
    linear-gradient(rgba(0, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 38px 38px, 38px 38px;
  background-attachment: fixed;
}

/* Mobile-First Centered Container */
.page-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Main Cyber Slate Glass Card */
.card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-bottom) 100%);
  border: 1px solid var(--border-card);
  border-radius: 32px;
  padding: 40px 24px 34px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 40px var(--neon-glow-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Concentric Neon Glowing Avatar Circle */
.avatar-wrapper {
  position: relative;
  width: 164px;
  height: 164px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer Glowing Cyan Ring */
.avatar-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid var(--neon-blue);
  box-shadow: 
    0 0 26px var(--neon-glow),
    inset 0 0 16px rgba(0, 194, 255, 0.25);
  animation: pulse-ring 4s ease-in-out infinite alternate;
}

/* Inner Navy/Blue Ring */
.avatar-inner-ring {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 2px solid var(--neon-blue-dark);
  background-color: #060e1a;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Profile / Logo Image */
.avatar-image {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.45), inset 0 0 12px rgba(0, 194, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 32px rgba(0, 194, 255, 0.75), inset 0 0 20px rgba(0, 194, 255, 0.35);
  }
}

/* Official Community Pill Badge */
.badge-official {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background-color: #081a2e;
  border: 1px solid var(--border-badge);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Glowing Green Indicator Dot */
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-online);
  box-shadow: 0 0 10px var(--green-online), 0 0 4px #ffffff;
  display: inline-block;
}

/* Community Title */
.title {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--text-white);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: inherit;
}

/* Subtitle Description */
.description {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto 26px;
}

/* 3 Mini-Cards Grid (Official / Secure / Direct) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}

.stat-card {
  background-color: var(--bg-stat-box);
  border: 1px solid var(--border-stat);
  border-radius: 16px;
  padding: 16px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
}

/* Primary CTA Button Container */
.cta-container {
  margin-bottom: 22px;
}

/* Glowing Electric Blue Telegram Button */
.btn-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 16px 24px;
  background: var(--btn-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 
    0 8px 30px var(--btn-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  user-select: none;
}

.btn-telegram:hover {
  box-shadow: 
    0 10px 36px rgba(0, 132, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-telegram:active {
  transform: scale(0.98);
  box-shadow: 0 4px 18px var(--btn-glow);
}

.telegram-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Sub-CTA Status & Security Note */
.status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #7b91a8;
  margin-bottom: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-online);
  box-shadow: 0 0 8px var(--green-online);
  display: inline-block;
}

.security-link-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-footer);
}

/* Small mobile responsiveness (< 380px) */
@media (max-width: 379px) {
  .card {
    padding: 32px 18px 26px;
    border-radius: 24px;
  }

  .avatar-wrapper {
    width: 144px;
    height: 144px;
    margin-bottom: 18px;
  }

  .avatar-image {
    width: 122px;
    height: 122px;
  }

  .title {
    font-size: 21px;
  }

  .description {
    font-size: 13px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat-card {
    padding: 13px 4px;
  }

  .stat-title {
    font-size: 13px;
  }

  .stat-label {
    font-size: 11px;
  }

  .btn-telegram {
    min-height: 52px;
    font-size: 15px;
  }
}
