/* ===========================
   Reset & Base
=========================== */
@font-face{
  font-family: 'Orange Gummy';
  src: url('/assets/media/Orange\ Gummy.ttf') format('truetype'),
       url('/assets/media/Orange\ Gummy.otf') format('otf');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #0f0f11;
  --fg: #ffffff;
  --muted: #a6a8ad;
  --card: #15151800;
  --ink: #0e0e11;
  --border: #2a2a2f;
  --accent: #4dd0e1;
}

html {
  height: 100%;
  background: #000; /* fallback kalau video belum kebuka */
  color: var(--fg);
}

body{
  height: 100%;
  background: transparent; /* penting: jangan nutupi video */
  color: var(--fg);
  font-family: 'Orange Gummy', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== Video Background Wrapper + Overlay ====== */
.bg-video{
  position: absolute;       /* wrapper normal, bukan fixed */
  width: 100%;
  background: #000;         /* letterbox */
}

/* Videonya jadi layer paling belakang, tidak mengganggu klik */
.bg-video > video{
  position: absolute;
  inset: 0;
  object-fit: contain;      
  pointer-events: none;     
}


.bg-overlay{
  position: relative;       
  z-index: 1;
  display: grid;
  gap: 48px;               
  padding: 24px 20px 48px;
}

/* OPTIONAL: center-kan semua section di overlay */
.bg-overlay > section{
  width: 100%;
}

img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }

/* A11y: focus ring */
:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===========================
   ABOUT
   (jangan styling selector "section" umum)
=========================== */
section.about{
  display: grid;
  position: relative;
  place-items: center;
  top: 1200px;
}

section.about > .about{
  width: min(1500px, 92vw);
}

section.about .about-content{
  text-align: center;
  display: grid;
  gap: 16px;
}

section.about .about-content h1{
  font-size: 150px;
  letter-spacing: 1px;
}

section.about .about-content p{
  color: var(--fg);
  line-height: 1.65;
  font-size: 24px;
  max-width: 1500px;
  margin: 0 auto;
}

/* ===========================
   CA (Contract Address)
=========================== */
.ca{
  display: grid;
  position: relative;
  place-items: center;
  top: 1400px;
  padding: 24px 20px 48px;
}

.ca-card{
  width: min(220px, 95vw);
  background: var(--card);
  border: none;               /* tidak ada border di card */
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.ca-text{
  font-family: 'AcadianRunes', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  letter-spacing: .3px;
  user-select: text;
  white-space: nowrap;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--ink);
  color: var(--fg);
  cursor: pointer;
  display: inline-block;

  transition: border-color .12s ease, transform .12s ease, opacity .12s ease;
}

.ca-text:hover{
  border-color: var(--accent);
  transform: translateY(-1px);
  opacity: .95;
}

.ca-hint{
  font-size: 13px;
  opacity: .75;
  min-height: 1.2em;
  text-align: center;
  color: var(--fg);
}

.ca-toast{
  display: inline-block;
  margin-left: 8px;
  font-weight: 600;
  color: var(--accent);
}

/* ===========================
   SOCIAL
=========================== */
.social{
  display: grid;
  position: relative;
  place-items: center;
  padding: 48px 20px 80px;
  top: 1400px;
}

.social .socials-buttons{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
}

.social .socials-buttons a img{
  height: 74px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
  transition: transform .12s ease, opacity .12s ease;
}

.social .socials-buttons a:hover img{
  transform: translateY(-2px) scale(1.03);
  opacity: .95;
}

/* ===========================
   Preferences
=========================== */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}