:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --dark: #0f172a;
  --darker: #0a0f1c;
  --light: #f8fafc;
  --gray: #64748b;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  color: var(--light);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.3);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

.profile-animate {
  position: relative;
  margin-bottom: 1.5rem;
}

.profile-img-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 
    0 0 30px rgba(99, 102, 241, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: float-profile 6s ease-in-out infinite;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 40px rgba(99, 102, 241, 0.7),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
  transition: filter 0.3s ease;
}

.profile-img-wrapper:hover .profile-img {
  filter: brightness(1.05);
}

@keyframes float-profile {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.community-name {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  text-align: center;
  position: relative;
  display: inline-block;
}

.community-name::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.tagline {
  font-size: 1.2rem;
  color: var(--gray);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 300;
}

.floating-block {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeUp 1s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-block:nth-of-type(1) { animation-delay: 0.8s; }
.floating-block:nth-of-type(2) { animation-delay: 1.1s; }
.floating-block:nth-of-type(3) { animation-delay: 1.4s; }
footer.floating-block { animation-delay: 1.7s; }

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--light);
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray);
  text-align: center;
  margin-bottom: 2rem;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.join-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.join-button.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.join-button.whatsapp:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
}

.join-button.whatsapp-channel {
  background: linear-gradient(135deg, #25D366, #075E54);
}

.join-button.whatsapp-channel:hover {
  background: linear-gradient(135deg, #075E54, #25D366);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
}

.join-button.telegram {
  background: linear-gradient(135deg, #0088cc, #005580);
}

.join-button.telegram:hover {
  background: linear-gradient(135deg, #005580, #0088cc);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
  transform: translateY(-3px);
}

.wa-note {
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  color: #ffaa00;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  background: rgba(255, 170, 0, 0.1);
  padding: 6px 12px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 170, 0, 0.2);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.admin-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.admin-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--light);
}

.admin-note {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
  font-style: italic;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.contact-link:hover {
  background: rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

.social-apps {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--light);
  transition: transform 0.2s ease;
}

.social-app:hover {
  transform: scale(1.05);
}

.app-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease;
}

.social-app:hover .app-icon {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.app-name {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.social-app.tiktok .app-icon {
  background: #000000;
}
.social-app.youtube .app-icon {
  background: #ff0000;
}
.social-app.email .app-icon {
  background: #D14836;
}
.social-app.github .app-icon {
  background: #24292e;
}

footer {
  margin-top: 3rem;
  text-align: center;
}

.footer-content p {
  margin-bottom: 0.5rem;
  color: var(--gray);
}

.footer-note {
  font-size: 0.9rem;
  font-style: italic;
}

#notif-welcome {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  opacity: 0;
  animation: slideNotif 5s ease-out forwards 0.3s;
}

@keyframes slideNotif {
  0% { top: -100px; opacity: 0; }
  15% { top: 40px; opacity: 1; }
  85% { top: 40px; opacity: 1; }
  100% { top: -100px; opacity: 0; }
}

.notif-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
  font-size: 1.2rem;
  color: white;
}

.notif-content {
  flex: 1;
}

.notif-sender {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--light);
}

.notif-message {
  font-size: 0.85rem;
  color: var(--gray);
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .community-name {
    font-size: 2.2rem;
  }
  
  .floating-block {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  
  .admin-grid {
    grid-template-columns: 1fr;
  }
  
  .social-apps {
    gap: 1.5rem;
  }
  
  .app-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .app-name {
    font-size: 0.85rem;
  }
  
  .links {
    flex-direction: column;
    align-items: center;
  }
  
  .join-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  #notif-welcome {
    left: 10px;
    right: 10px;
    max-width: none;
    transform: none;
  }
  
  @keyframes slideNotif {
    0% { top: -100px; opacity: 0; }
    15% { top: 20px; opacity: 1; }
    85% { top: 20px; opacity: 1; }
    100% { top: -100px; opacity: 0; }
  }
}