/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #f7f3e3;
  line-height: 1.6;
  padding-top: 100px;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1a1a1a;
  border-bottom: 2px solid #d4af37;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.main-header h1 {
  font-size: 1.8rem;
  color: #d4af37;
  text-shadow: 0 0 6px #b8860b;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #d4af37;
  cursor: pointer;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background-color: #1a1a1a;
}

nav a {
  color: #bba766;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #d4af37;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid #333222;
    background-color: #1a1a1a;
  }

  nav.mobile-active {
    display: flex;
  }

  nav a {
    padding: 0.75rem 1.2rem;
    border-top: 1px solid #333222;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Hero Section with animated neon dots */
.hero {
  position: relative;
  padding: 6rem 2rem 4rem;
  text-align: center;
  background-color: #000000; /* neon black */
  border-bottom: 2px solid #333222;
  color: #ffffff;
  overflow: hidden;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  color: #dddddd;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero .btn {
  display: inline-block;
  padding: 0.9rem 1.7rem;
  background-color: #d4af37;
  color: #121212;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 10px #b8860b;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background-color: #a67c00;
  color: #fff;
}

@media (max-width: 600px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }
}

/* Dynamic Dots Background */
#dynamic-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.dot {
  position: absolute;
  width: 10.9px; /* 9% bigger than 10px */
  height: 10.9px;
  background-color: rgba(255, 255, 255, 0.12); /* neon silver */
  border-radius: 50%;
  animation: floatDot 9.5s linear infinite, fadeGlow 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.6),
              0 0 20px rgba(192, 192, 192, 0.4);
}

@keyframes floatDot {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100vh);
  }
}

@keyframes fadeGlow {
  0%, 100% {
    opacity: 0.1;
    box-shadow: 0 0 2px rgba(192, 192, 192, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.95);
  }
}

/* Articles Section */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 4rem auto 0;
}

article {
  background-color: #1a1a1a;
  border: 1px solid #333222;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.18);
  transition: transform 0.3s ease;
}

.article-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

article h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #d4af37;
}

article p {
  color: #f7f3e3;
  font-size: 0.95rem;
}

article a {
  color: #d4af37;
  text-decoration: none;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #333222;
  background-color: #1a1a1a;
  color: #bba766;
  margin-top: 4rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Chat UI */
.chat-head {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-alert {
  background-color: #d4af37;
  color: #121212;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  display: none;
  box-shadow: 0 0 10px #b8860b;
}

.chat-icon {
  background-color: #d4af37;
  color: #121212;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px #b8860b;
}

.chat-options {
  display: none;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
  background: #1a1a1a;
  padding: 8px 10px;
  border-radius: 10px;
}

.chat-options a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.chat-options a img:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .chat-head {
    bottom: 15px;
    right: 15px;
  }

  .chat-alert {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .chat-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .chat-options a img {
    width: 24px;
    height: 24px;
  }
}
