:root {
  --bg-primary: #0a0d12;
  --bg-card: rgba(22, 27, 34, 0.75);
  --bg-card-hover: rgba(30, 38, 48, 0.85);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.4);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);
  --accent-blue: #3b82f6;
  
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Background Ambient Glows */
.background-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(90px);
  border-radius: 50%;
  opacity: 0.25;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: var(--accent-green);
  top: -80px;
  right: -80px;
  animation: float 12s ease-in-out infinite alternate;
}

.blob-2 {
  width: 280px;
  height: 280px;
  background: var(--accent-gold);
  bottom: 10%;
  left: -80px;
  animation: float 10s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 240px;
  height: 240px;
  background: var(--accent-blue);
  top: 45%;
  right: -50px;
  opacity: 0.15;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

/* App Container (Mobile-First Frame) */
.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 1. Hero Profile Card */
.profile-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 22px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
}

.avatar-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-gold));
  z-index: 1;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--bg-primary);
  z-index: 2;
}

.status-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  background: #0f172a;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot-anim 1.5s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.profile-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #ffffff;
}

.profile-tagline {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 360px;
}

.profile-tagline strong {
  color: var(--accent-green);
}

/* 2. Stats Section */
.stats-section {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-box-main {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid rgba(245, 158, 11, 0.25);
}

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

.stat-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.text-green { color: var(--accent-green); text-shadow: 0 0 12px var(--accent-green-glow); }
.text-gold { color: var(--accent-gold); text-shadow: 0 0 12px var(--accent-gold-glow); }

.stat-sub {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 3. Primary Massive Action Button */
.primary-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.main-button {
  position: relative;
  width: 100%;
  text-decoration: none;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #10b981, #059669);
  z-index: 1;
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  gap: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.btn-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.btn-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.btn-title {
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11.5px;
  font-weight: 500;
}

.btn-arrow {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.main-button:hover .btn-arrow {
  transform: translateX(4px);
}

.main-button:active {
  transform: translateY(1px);
}

.pulse-btn {
  animation: pulse-border 2.5s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cta-guarantee {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* 4. Security Pillars */
.security-section {
  padding: 18px;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.text-center { text-align: center; }

.security-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.security-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(15, 23, 42, 0.4);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.sec-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sec-text strong {
  font-size: 12.5px;
  color: #f1f5f9;
  display: block;
  margin-bottom: 2px;
}

.sec-text p {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* 5. Links Section */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  gap: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.2s ease;
}

.link-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.tg-icon { background: rgba(0, 136, 204, 0.15); border: 1px solid rgba(0, 136, 204, 0.3); }
.tiktok-icon { background: rgba(254, 44, 85, 0.15); border: 1px solid rgba(254, 44, 85, 0.3); }
.ig-icon { background: rgba(225, 48, 108, 0.15); border: 1px solid rgba(225, 48, 108, 0.3); }
.news-icon { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); }
.dm-icon { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); }

.link-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.link-title {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
}

.link-desc {
  color: var(--text-secondary);
  font-size: 11px;
}

.link-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-green {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.link-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.18);
}

.link-card:active {
  transform: translateY(0);
}

.contact-card {
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.85), rgba(16, 185, 129, 0.08));
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 10px;
  color: var(--text-muted);
}
