/* assets/css/style.css */
:root {
  --navy-dark: #0A192F;
  --navy-card: #112240;
  --gold: #D4AF37;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-light: #F3E5AB;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #996515 100%);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-card: rgba(17, 34, 64, 0.78);
  --glass-border: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(212, 175, 55, 0.35);
  --white: #FFFFFF;
  --muted: #8892B0;
  --radius-3d: 18px;
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%; height: 100%;
  background-color: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
}

/* KUNCI MATI CANVAS PARTIKEL AGAR TIDAK MELAR */
#particleCanvas {
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  width: 100vw !important; height: 100vh !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* WRAPPER TENGAH PRESISI (MOBILE NATIVE & DESKTOP CENTER) */
.index-viewport {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.index-card {
  width: 100%;
  max-width: 440px;
  background: var(--glass-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid var(--border-gold);
  border-radius: 22px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* LOGO DONATUR EMAS MELAYANG */
.brand-logo {
  width: 105px;
  height: auto;
  margin: 0 auto 15px auto;
  display: block;
  filter: drop-shadow(0 0 15px var(--gold-glow));
  animation: gentleFloat 3.5s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* TIPOGRAFI HEADER RESMI */
.title-container {
  margin-bottom: 24px;
}

.main-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.sub-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.sub-1 { font-size: 1.05rem; color: #ffffff; }
.sub-2 { font-size: 0.88rem; color: var(--gold-light); }
.sub-3 { font-size: 0.82rem; color: var(--muted); margin-bottom: 0; }

/* 2 TOMBOL MODERN 3D DALAM KARTU INDEX */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.glass-btn {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 8px;
  text-decoration: none;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: all 0.15s ease-in-out;
}
.glass-btn:active {
  transform: scale(0.96);
  border-color: var(--gold);
}
.glass-btn .btn-icon { font-size: 1.8rem; margin-bottom: 6px; }
.glass-btn .btn-name { font-size: 1rem; font-weight: 700; color: var(--gold); }
.glass-btn .btn-caption { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }

/* FOOTER CREATED BY & DTMA */
.footer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 15px;
}
.created-txt {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.dtma-logo {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}