:root {
  --primary-color: #0088cc;
  --secondary-color: #00aced;
  --accent-color: #ff6b6b;
  --text-color: #333;
  --bg-color: #f5f7fa;
  --card-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

.dark-theme {
  --primary-color: #2ca3d1;
  --secondary-color: #1da1f2;
  --accent-color: #ff8787;
  --text-color: #f0f0f0;
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.theme-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

#theme-toggle {
  background: var(--card-bg);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

#theme-toggle i {
  position: absolute;
  font-size: 1.2rem;
  transition: var(--transition);
}

#theme-toggle .fa-moon {
  color: #f1c40f;
}

#theme-toggle .fa-sun {
  color: #f39c12;
  opacity: 0;
  transform: rotate(90deg);
}

.dark-theme #theme-toggle .fa-moon {
  opacity: 0;
  transform: rotate(90deg);
}

.dark-theme #theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0deg);
}

.container {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 15px 30px var(--shadow-color);
  position: relative;
  z-index: 10;
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
  text-align: center;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

.image-container {
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
}

.logo_1 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0, 136, 204, 0.3);
}

.status-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background-color: #4CAF50;
  border-radius: 50%;
  border: 3px solid var(--card-bg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icons i {
  position: absolute;
  color: var(--primary-color);
  font-size: 1.2rem;
  opacity: 0.7;
  animation: float 6s infinite ease-in-out;
}

.floating-icons i:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
  top: 70%;
  left: 80%;
  animation-delay: 1s;
}

.floating-icons i:nth-child(3) {
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
      transform: translateY(0) rotate(0deg);
  }
  50% {
      transform: translateY(-20px) rotate(10deg);
  }
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.subheading {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 1rem;
  font-weight: 400;
}

.description {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-theme .stats-container {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-color);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button-container {
  position: relative;
  margin: 2rem 0 1.5rem;
}

.tg-button {
  text-decoration: none;
  width: 200px;
  height: 50px;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.tg-button i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.tg-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.6);
}

.tg-button:active {
  transform: translateY(1px);
}

.ripple-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
}

.tg-button:hover .ripple-effect {
  animation: ripple 1.5s infinite;
}

@keyframes ripple {
  0% {
      transform: scale(0.8);
      opacity: 0.6;
  }
  100% {
      transform: scale(1.4);
      opacity: 0;
  }
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.shine:hover::before {
  left: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icon {
  color: var(--text-color);
  font-size: 1.2rem;
  opacity: 0.7;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: translateY(-3px);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  filter: blur(40px);
}

.element-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation: float-element 15s infinite ease-in-out;
}

.element-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -50px;
  animation: float-element 12s infinite ease-in-out reverse;
}

.element-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 20%;
  animation: float-element 10s infinite ease-in-out 2s;
}

@keyframes float-element {
  0%, 100% {
      transform: translate(0, 0);
  }
  25% {
      transform: translate(50px, 50px);
  }
  50% {
      transform: translate(0, 100px);
  }
  75% {
      transform: translate(-50px, 50px);
  }
}

.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Animations */
.animate-delay-1 {
  animation-delay: 0.5s;
}

.animate-delay-2 {
  animation-delay: 1s;
}

.animate-delay-3 {
  animation-delay: 1.5s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
      padding: 1.5rem;
  }
  
  h1 {
      font-size: 1.5rem;
  }
  
  .avatar-wrapper {
      width: 120px;
      height: 120px;
  }
  
  .tg-button {
      width: 180px;
      height: 45px;
      font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 1.2rem;
      width: 95%;
  }
  
  h1 {
      font-size: 1.3rem;
  }
  
  .description {
      font-size: 0.8rem;
  }
  
  .stats-container {
      margin: 1rem 0;
  }
  
  .stat-value {
      font-size: 1.1rem;
  }
  
  .tg-button {
      width: 160px;
      height: 42px;
      font-size: 0.8rem;
  }
}
/* Add these styles for the counters */
.stat-value {
  transition: all 0.3s ease;
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-value.animate__pulse {
  color: #FF0000; /* YouTube red */
  transform: scale(1.1);
}