/* === Global === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #0d1117, #0b0e14);
  color: #f0f6fc;
}

/* === Loader === */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #0d1117;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 6px solid #1f1f1f;
  border-top: 6px solid #b80000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#mainContent { display: none; }

/* === Navbar === */
.navbar {
  background: #161b22;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.navbar .logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: #b80000;
}
.navbar .logo img {
  margin-right: 10px;
  height: 40px;
  vertical-align: middle;
}
.navbar nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #8b949e;
  font-weight: 500;
}
.navbar nav a.active,
.navbar nav a:hover {
  color: #f0f6fc;
  border-bottom: 2px solid #b80000;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 4rem 1rem 2.5rem;
  background: linear-gradient(to right, #0d1117, #161b22);
}
.main-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.3;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: #c9d1d9;
  margin-bottom: 2rem;
}
.cta-button {
  background: linear-gradient(to right, #b80000, #830158);
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  margin: 0.4rem 0.4rem;
}
.cta-button:hover {
  opacity: 0.9;
}

/* === Gradient Text === */
.gradient-text {
  background: linear-gradient(90deg, #b80000, #830158);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* === Section Title === */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 3rem;
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff22;
}

/* === Status Page === */
.content {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
}
h1 {
  color: #f0f6fc;
  text-align: center;
  margin-bottom: 2rem;
}
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.category-card {
  background: linear-gradient(145deg, #161b22, #1c1f26);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-card h2 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid #b80000;
  padding-left: 10px;
}
.status-section {
  margin-bottom: 1rem;
}
.status-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-title.safe {
  color: #00ff00;
}
.status-title.danger {
  color: #ff4d4d;
}
.status-title i {
  font-size: 1.2rem;
}
ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
}
li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #2c2f36;
}

/* === Support Page === */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.option {
  background-color: #161b22;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.option h3 {
  margin-top: 1rem;
  color: #f0f6fc;
}
.option p {
  color: #8b949e;
}

/* === About Section === */
.about-section {
  background-color: #12161d;
  padding: 2.5rem 1rem;
  margin-top: 2rem;
}
.founder {
  background-color: #161b22;
  padding: 2rem;
  border-radius: 1rem;
  color: #f0f6fc;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  text-align: center;
}
.founder img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #b80000;
  margin-bottom: 1rem;
}
.name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.description {
  font-size: 1rem;
  color: #c9d1d9;
  text-align: center;
}
.contact-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  margin: 5px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.3s, opacity 0.3s;
  width: 100%;
  max-width: 250px;
  box-sizing: border-box;
}
.btn-contact i {
  margin-right: 8px;
  font-size: 1.2rem;
}
.btn-contact.whatsapp {
  background-color: #25D366;
}
.btn-contact.youtube {
  background-color: #FF0000;
}
.btn-contact:hover {
  opacity: 0.85;
}

/* === Product Category === */
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}
.category h2 {
  font-size: 1.8rem;
  color: #f0f6fc;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px #ffffff;
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}
.product-card {
  background: #1c1f26;
  padding: 1.5rem;
  border-radius: 12px;
  color: #fff;
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 180px;
}
.product-card ul {
  text-align: left;
  margin: 1rem 0;
  padding-left: 1rem;
  flex-grow: 1;
}
.status {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid #00ff00;
  display: inline-block;
  border-radius: 1rem;
  color: #00ff00;
  font-weight: bold;
  align-self: flex-end;
}
.status.maintenance {
  background-color: #f39c12;
  color: white;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
}
.buy-button {
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, #ff0000, #b80000);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  text-decoration: none;
}
.buy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 2rem;
  background-color: #161b22;
  color: #8b949e;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* === Page Transition === */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-transition.show {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 600px) {
  .main-title { font-size: 2rem; }

  .cta-button,
  .btn-contact {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .navbar .logo {
    font-size: 1.2rem;
  }
  .navbar .logo img {
    height: 32px;
    margin-right: 8px;
  }

  .navbar nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 0.5rem;
    border-top: 1px solid #2c2f36;
  }

  .navbar nav a {
    margin-left: 0;
    font-size: 0.95rem;
  }
}

