@font-face {
  font-family: 'Etarick';
  src: url('/assets/media/Etarick.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { 
  box-sizing: border-box; 
} 
html { 
  -webkit-text-size-adjust: 100%; 
  color-scheme: light dark; 
}
/* Media assets responsive */
img, video, canvas, svg { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
}

/* Spacing scale (rem jadi konsisten antar breakpoint) */
:root {
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --wrap: min(1200px, 92vw);
}
/* Utility */
.wrapper { 
  width: var(--wrap); 
  margin-inline: auto; 
  padding-inline: var(--space-3); 
  padding-block: var(--space-5); 
}
.stack > * + * { 
  margin-top: var(--space-3); 
}
.grid { 
  display: grid; 
  gap: var(--space-3); 
}
.flex { 
  display: flex; 
  gap: var(--space-3); 
  flex-wrap: wrap; 
}
.vh-100 { 
  min-height: 100dvh; 
}
* { 
  margin: 0; 
  padding: 0; 
}
/* === Loading Screen === */
#loading {
  position: fixed;
  inset: 0; /* full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* warna background loading */
  z-index: 9999;
  animation: fadeOut 1s ease forwards;
  animation-delay: 5s; /* delay 5 detik baru hilang */
}

#loading img {
  width: 150px;
  height: auto;
}

/* Animasi hilang */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* Hero */
.hero {
  position: relative;
  width: 100%;
}

/* Video (paling belakang) */
#hero-video {
  position: absolute;
  z-index: 1;
}

/* Background di atas video */
.background {
  position: absolute;
  z-index: 2;
}
.background .bg-image img {
  width: 100%;
  height: 100%;
}
/* === CA Widget === */
.ca-text {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;   
  pointer-events: none; 
}
.ca-text * {
  pointer-events: auto;    
}
.ca-widget { 
  max-width: 400px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 20px 0;
  top: 650px;
}
.ca-item { 
  font-family: 'Etarick';
  position: relative;
  border-radius: 12px; 
  padding: 10px; 
  margin: 10px 40px; 
  background: #ffffff00; 
}

.ca-toggle { 
  font-family: 'Etarick';
  width: 100%; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  background: transparent; 
  border: 1px solid #e5e7eb; 
  border-radius: 10px; 
  padding: 12px 14px;
  cursor: pointer; 
  transition: box-shadow .2s, transform .06s; 
  font-weight: 1000;
  font-size: 30px;
  color: #ffffff;
}
.ca-toggle:active { 
  transform: translateY(1px);
}
.ca-toggle:focus-visible { 
  outline: 3px solid #a5b4fc; 
  outline-offset: 2px;
}
.ca-toggle .chevron { 
  width: 18px; 
  height: 18px; 
  transition: transform .2s;
}
.ca-toggle[aria-expanded="true"] .chevron { 
  transform: rotate(180deg);
}

.ca-panel { 
  margin-top: 10px;
}
.ca-copy {
  font-family: 'Etarick';
  width: 100%; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  background: transparent; 
  border: 1px dashed #d1d5db; 
  border-radius: 10px; 
  padding: 12px 14px;
  cursor: pointer; 
  text-align: left; 
  transition: background .2s, border-color .2s;
  color: #ffffff;
}
.ca-copy:hover { 
  background: #000000; 
  border-color: #949aa7;
}
.ca-copy:focus-visible { 
  outline: 3px solid #34d399; 
  outline-offset: 2px;
}
.ca-masked { 
  font-family: 'Etarick';
  font-size: 20px;
  color: #ffffff;
}
.ca-hint { 
  margin-left: auto; 
  font-size: 12px; 
  color: #ffffff;
}
.ca-badge { 
  font-family: 'Etarick';
  font-size: 11px; 
  background: #eef2ff; 
  color: #3730a3; 
  border: 1px solid #c7d2fe; 
  padding: 2px 6px; 
  border-radius: 999px;
}

.ca-toast {
  font-family: 'Etarick';
  position: absolute; 
  right: 12px; 
  bottom: 12px; 
  background: #111827; 
  color: rgb(255, 255, 255); 
  font-size: 12px; 
  padding: 6px 10px; 
  border-radius: 8px; 
  opacity: 0; 
  transform: translateY(6px); 
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.ca-toast.show { 
  opacity: 1; 
  transform: translateY(0); 
}
/* === Akhir CA Widget === */

/* Arc Images */
.arc1 {
  position: absolute;
  top: 1305px;
  left: 48%;
  width: 100%;
  z-index: 2;
}
.arc1 img {
  width: auto;
  height: auto;
}
.arc2 {
  position: absolute;
  top: 2000px;
  left: 10%;
  width: 100%;
  z-index: 2;
}
.arc2 img {
  width: auto;
  height: auto;
}
.arc3 {
  position: absolute;
  top: 2710px;
  left: 42%;
  width: 100%;
  z-index: 2;
}
.arc3 img {
  width: auto;
  height: auto;
}
.arc4 {
  position: absolute;
  top: 3400px;
  left: 5%;
  width: 100%;
  z-index: 2;
}
.arc4 img {
  width: auto;
  height: auto;
}
.arc5 {
  position: absolute;
  top: 4000px;
  left: 20%;
  width: 100%;
  z-index: 2;
}
.arc5 img {
  width: auto;
  height: auto;
}
/* Social Media Buttons */
.socials-buttons {
  position: absolute;
  top: 4900px;
  left: 50%;
  transform: translateX(-50%); 
  display: flex;
  gap: 200px;
  z-index: 3;
}
.socials-buttons a img {
  width: auto;
  height: auto;
  transition: transform 0.3s;
}
.socials-buttons a img:hover {
  transform: scale(1.1);
}
.copyright {
  position: absolute;
  top: 5100px;
  left: 20%;
  z-index: 3;
}