/* ==========================================================================
   KING PRO 2XMP - Custom Premium Theme & Layout
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
  --bg-primary: #08090d;
  --bg-secondary: rgba(16, 18, 27, 0.6);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  
  --whatsapp-color: #25d366;
  --whatsapp-hover: #1ed760;
  --whatsapp-glow: rgba(37, 211, 102, 0.45);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-tactile: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* 2. Premium Ambient Background Graphics */
.ambient-light {
  position: fixed;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
}

.glow-1 {
  top: -10%;
  left: 5%;
  background: var(--whatsapp-color);
  animation: float-glow-1 25s infinite alternate ease-in-out;
}

.glow-2 {
  bottom: -15%;
  right: 5%;
  background: #10b981;
  animation: float-glow-2 30s infinite alternate-reverse ease-in-out;
}

@keyframes float-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes float-glow-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-50px, -60px) scale(0.9); }
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 3. Container Layout */
.container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  min-height: 100vh;
}

/* 4. Profile Header Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.profile-image-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.profile-glowing-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(37, 211, 102, 0.4);
  z-index: 1;
  animation: rotate-ring 15s linear infinite;
  transition: var(--transition-smooth);
}

.profile-image-wrapper:hover .profile-image {
  transform: scale(1.03);
  border-color: var(--whatsapp-color);
}

.profile-image-wrapper:hover .profile-glowing-ring {
  border-color: var(--whatsapp-hover);
  border-style: solid;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.25);
  animation-duration: 6s;
}

.title-container {
  width: 100%;
}

.profile-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--whatsapp-color);
  animation: pulse-verified 3s infinite ease-in-out;
}

.profile-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  max-width: 85%;
  margin: 0 auto;
}

/* 5. Links Section & Buttons */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  opacity: 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #1fa851 0%, #157e3c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.25),
    0 8px 32px rgba(37, 211, 102, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.btn-whatsapp .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition-tactile);
}

.btn-whatsapp .btn-text {
  flex-grow: 1;
  text-align: center;
  margin-right: 12px;
  letter-spacing: -0.1px;
}

/* Live Pulsing Indicator Dot */
.btn-indicator {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.btn-indicator::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: pulse-dot 1.8s infinite ease-out;
}

/* Shine Reflection Slide Effect */
.btn .shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent
  );
  transform: skewX(-20deg);
  animation: shine-slide 6s infinite ease-in-out;
}

/* Hover / Focus / Active Tactile States */
.btn-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, #23bd5c 0%, #179144 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 16px 40px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover .btn-icon {
  transform: rotate(10deg) scale(1.15);
}

.btn-whatsapp:active {
  transform: translateY(-1px) scale(0.985);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 6px 18px rgba(37, 211, 102, 0.2);
  transition: var(--transition-tactile);
}

.btn-whatsapp:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* 6. Footer Section */
.footer {
  text-align: center;
  width: 100%;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
  margin-top: auto;
}

.footer-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(37, 211, 102, 0.6);
  text-transform: uppercase;
}

/* 7. Keyframes & Animations */
@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-verified {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(37, 211, 102, 0)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.3)); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes shine-slide {
  0% { left: -150%; }
  15%, 100% { left: 150%; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 8. Media Queries for High-Res Displays */
@media (max-width: 480px) {
  .container {
    padding: 32px 16px;
  }
  .profile-section {
    margin-bottom: 32px;
  }
}