/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #1a1a1a; /* Warna latar belakang utama gelap murni */
  color: #e2e8f0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   2. HEADER STYLES
   ========================================================================= */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a2a2a; /* Warna header abu-abu gelap murni */
  padding: 16px 24px;
  border-bottom: 3px solid #ff6a00;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-title {
  color: #ff6a00;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}
.logo:hover {
   transform: scale(1.05);
}

/* ==========================================================================
   3. PLATFORM SELECTION LAYOUT (PREMIUM LOOK + ORIGINAL COLOR)
   ========================================================================= */
.platform-select {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: auto;
  padding: 60px 20px;
  flex-grow: 1;
  width: 100%;
  max-width: 900px;
}

.platform-card {
  /* Menggunakan warna asli #2a2a2a dengan opacity 75% agar efek blur bekerja */
  background: rgba(42, 42, 42, 0.75); 
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 24px; /* Desain lengkungan modern */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1.15;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efek Hover dengan Warna Asli Lebih Terang */
.platform-card:hover {
  transform: translateY(-8px);
  background: rgba(42, 42, 42, 0.95); /* Menjadi lebih padat saat di-hover */
  border-color: rgba(255, 106, 0, 0.6); /* Glow oranye asli */
  box-shadow: 0 15px 30px rgba(255, 106, 0, 0.15);
}

.platform-card span {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.platform-card:hover span {
  color: #ff6a00; /* Judul berubah ke warna oranye asli saat di-hover */
}

.platform-card p {
  font-size: 13px;
  color: #aaaaaa;
  margin-top: 10px;
  font-weight: 500;
}

/* Style Gambar Blok Minecraft */
.img {
  border-radius: 20px;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.platform-card:hover .img {
  transform: scale(1.08) translateY(-4px) rotate(4deg);
}

/* ==========================================================================
   4. SITE FOOTER
   ========================================================================= */
.site-footer {
  background-color: #1a1a1a; /* Latar belakang footer gelap murni */
  color: #94a3b8;
  padding: 32px 20px;
  border-top: 1px solid #334155;
  margin-top: auto;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p {
  font-size: 13px;
  margin: 0;
}

.brand-name {
  color: #ffffff;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ff6a00;
}

.footer-separator {
  color: #475569;
  user-select: none;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link i {
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-link:hover i.fa-discord {
  color: #5865F2;
}

.footer-link:hover i.fa-youtube {
  color: #FF0000;
}

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES (OPTIMASI HP)
   ========================================================================= */
@media (max-width: 640px) {
  .platform-select {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    padding: 30px 24px;
  }

  .platform-card {
    max-width: 100%;
    aspect-ratio: auto;
    padding: 32px 24px;
    border-radius: 20px;
  }
  
  .img {
    width: 84px;
    height: 84px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-left { order: 3; }
  .footer-links { order: 1; justify-content: center; }
  .footer-socials { order: 2; justify-content: center; }
}
