/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Updated to dark background with black and white theme */
  --bg-primary: #000000;
  --bg-secondary: #0d0d0d;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-dark: #ffffff;
  --accent-light-gray: #2a2a2a;
  --glow-white: rgba(255, 255, 255, 0.2);
  --glow-dark: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Dark gradient background */
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Subtle white gradients for depth instead of dark */
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.logo-wrapper {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

/* Updated logo image styling for dark theme */
.logo-image {
  width: 150px;        /* bisa disesuaikan */
  height: 150px;       /* harus sama agar benar-benar bulat */
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;      /* biar di tengah */
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  /* White glow for dark background */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

.tagline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.03;
}

/* Section Styles */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 60px;
  /* White text for dark background */
  color: var(--text-primary);
  animation: slideInDown 0.8s ease-out;
}

/* About Section */
.about {
  background-color: var(--bg-secondary);
}

.about-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-secondary);
  line-height: 1.8;
  animation: fadeIn 1s ease-out 0.2s backwards;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.highlight {
  padding: 40px;
  /* Minimal dark styling with white borders */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: slideUp 0.8s ease-out backwards;
}

.highlight:nth-child(1) {
  animation-delay: 0.1s;
}
.highlight:nth-child(2) {
  animation-delay: 0.2s;
}
.highlight:nth-child(3) {
  animation-delay: 0.3s;
}

.highlight:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--accent-dark);
}

.highlight h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.highlight p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Mission Section */
.mission {
  background: linear-gradient(135deg, #000000 0%, #0d0d0d 100%);
}

.mission-text {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.mission-goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.goal-item {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-dark);
  border-radius: 8px;
  animation: slideUp 0.8s ease-out backwards;
  transition: all 0.3s ease;
}

.goal-item:nth-child(1) {
  animation-delay: 0.1s;
}
.goal-item:nth-child(2) {
  animation-delay: 0.2s;
}
.goal-item:nth-child(3) {
  animation-delay: 0.3s;
}

.goal-item:hover {
  border-left-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.05);
}

.goal-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 15px;
}

.goal-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.goal-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Join Section */
.join {
  background-color: var(--bg-secondary);
  text-align: center;
}

.join-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 50px;
  animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.join-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  animation: fadeIn 0.8s ease-out 0.4s backwards;
}

/* Redesigned join buttons as modern cards with glowing edges and smooth hover animations */
.join-btn {
  position: relative;
  padding: 40px 30px;
  width: 280px;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
}

.btn-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.btn-text {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

/* Added CTA span for "Join Now" text */
.join-btn::after {
  content: "Join Now →";
  position: absolute;
  bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
  transition: transform 0.3s ease;
}

/* Discord Button */
.discord-btn {
  border-color: rgba(88, 101, 242, 0.4);
  color: var(--text-primary);
}

.discord-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.discord-btn > * {
  position: relative;
  z-index: 1;
}

.discord-btn:hover {
  border-color: rgba(88, 101, 242, 0.8);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.3), inset 0 0 20px rgba(88, 101, 242, 0.1);
  background: rgba(88, 101, 242, 0.08);
  transform: translateY(-8px);
}

.discord-btn:hover::before {
  opacity: 1;
}

.discord-btn:hover .btn-icon {
  transform: scale(1.15);
}

/* WhatsApp Button */
.whatsapp-btn {
  border-color: rgba(37, 211, 102, 0.4);
  color: var(--text-primary);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.whatsapp-btn > * {
  position: relative;
  z-index: 1;
}

.whatsapp-btn:hover {
  border-color: rgba(37, 211, 102, 0.8);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3), inset 0 0 20px rgba(37, 211, 102, 0.1);
  background: rgba(37, 211, 102, 0.08);
  transform: translateY(-8px);
}

.whatsapp-btn:hover::before {
  opacity: 1;
}

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

/* Telegram Button */
.telegram-btn {
  border-color: rgba(0, 136, 204, 0.4);
  color: var(--text-primary);
}

.telegram-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 136, 204, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.telegram-btn > * {
  position: relative;
  z-index: 1;
}

.telegram-btn:hover {
  border-color: rgba(0, 136, 204, 0.8);
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.3), inset 0 0 20px rgba(0, 136, 204, 0.1);
  background: rgba(0, 136, 204, 0.08);
  transform: translateY(-8px);
}

.telegram-btn:hover::before {
  opacity: 1;
}

.telegram-btn:hover .btn-icon {
  transform: scale(1.15);
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-image {
    max-width: 150px;
  }

  .tagline {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .join-buttons {
    flex-direction: column;
    align-items: center;
  }

  .join-btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }

  .logo-image {
    max-width: 120px;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .about-highlights,
  .mission-goals {
    gap: 20px;
  }

  .highlight,
  .goal-item {
    padding: 25px;
  }

  .join-btn {
    padding: 30px 20px;
  }

  .btn-icon {
    font-size: 2.5rem;
  }

  .btn-text {
    font-size: 1.1rem;
  }
}

