@font-face {
  font-family: 'AcadianRunes';
  src: url('/assets/media/Acadian_Runes-Regular_PERSONAL_USE.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'AcadianRunes';
  background: url('../img/background.png') repeat-y;
  background-size: cover;
  color: #fff;
  scroll-behavior: smooth;
}

/* Header */
.header {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 0;
}

.header .nav-item {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.header img {
  height: 20px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* Kanvas 3D full layar */
.model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 80%;
  z-index: 1;
}

model-viewer {
  width: 100%;
  height: 80%;
  display: block;
  border: none;
  outline: none;
  background: transparent; 
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  place-items: center;
  margin-top: 60vh;
  padding: 24px 0 48px;
}

.hero-image img {
  max-width: 100%; 
  height: 50px;
}

/* ========== CONTRACT SECTION ========== */
.contract {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

.contract-box {
  width: min(900px, 94vw);
  background: transparent;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 28px);
}

.contract-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2px, 1vw, 2px);
}

.contract-head h2 {
  font-size: clamp(40px, 2.6vw, 28px);
  letter-spacing: 0.5px;
}

.contract-body {
  display: grid;
  gap: 14px;
}

.addr-full {
  display: block;
  font-size: clamp(25px, 2.2vw, 18px);
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  word-break: break-all;
  cursor: pointer;
  user-select: all;
}

.contract-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .95; }

.btn-link { text-decoration: none; display: inline-flex; align-items: center; }

/* ========== ABOUT ========== */
.about {
  position: relative;
  min-height: 150vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px; /* jarak antara about-content dan about-mask */
}

.about-content {
  position: relative;
  z-index: 2;
  
  display: grid;
  place-items: center;
}

.about-content img {
  width: 100%;
  height: auto;
}


.about-mask {
  position: relative;       
  z-index: 1;
}

.about-mask img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== TOKENOMIC ========== */
.tokenomic {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 110px 0 60px;
}

.tokenomic-content {
  width: min(1100px, 94vw);
  display: grid;
  place-items: center;
}

.tokenomic-content img {
  width: 100%;
  height: auto;
}

/* ========== GALLERY ========== */
.gallery {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 110px 0 60px;
}

.gallery-content {
  width: min(1100px, 94vw);
  display: grid;
  place-items: center;
}

.gallery-content img {
  width: 100%;
  height: auto;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  width: 100%;
  padding: 36px 0 30px;
}

.footer-content {
  width: min(1100px, 94vw);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.footer-content img {
  height: auto;
  max-width: 560px;
}

.footer-socials {
  width: min(1100px, 94vw);
  margin: 100px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(50px, 2.8vw, 28px);
}

.footer-socials a img {
  width: 70px;
  height: 70px;
  transition: transform .15s ease, opacity .15s ease;
}
.footer-socials a:hover img { 
  transform: translateY(-2px) scale(1.03); opacity: .92; 
}