:root {
  --black:      #000000;
  --teal:       #00BCD4;
  --amber:      #F5A623;
  --white:      #FFFFFF;
  --dim:        rgba(255,255,255,0.45);
  --border:     rgba(255,255,255,0.07);
  --teal-rgb:   0, 188, 212;
  --amber-rgb:  245, 166, 35;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── CANVAS BG ─── */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── LAYOUT ─── */
.page {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── HERO ─── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 0 48px;
  text-align: center;
}

.logo-wrap {
  width: 148px;
  height: 148px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s cubic-bezier(.16,1,.3,1) 0.1s forwards;
}
.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: clamp(0.05em, 0.9vw, 0.18em);
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s cubic-bezier(.16,1,.3,1) 0.25s forwards;
}
h1 .t { color: var(--teal); }
h1 .t::after { content: '\00a0'; } /* spasi antar kata di desktop */
h1 .a { color: var(--amber); }
.mob-br { display: none; }

.tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(.16,1,.3,1) 0.4s forwards;
}

.rule {
  width: 56px;
  height: 1px;
  margin: 32px auto;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  opacity: 0;
  animation: fadein 0.8s ease 0.55s forwards;
}

.bio {
  font-size: 0.97rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dim);
  line-height: 1.9;
  max-width: 500px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(.16,1,.3,1) 0.65s forwards;
}

/* ─── SECTION LABEL ─── */
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--teal);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
}

/* ─── YOUTUBE FEATURE ─── */
.yt-section { padding: 0 0 20px; }

.yt-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(255,60,60,0.22);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  background: rgba(255,30,30,0.04);
  transition: all 0.35s cubic-bezier(.16,1,.3,1);
  opacity: 0;
  transform: translateY(18px);
}
.yt-card.visible {
  animation: rise 0.7s cubic-bezier(.16,1,.3,1) forwards;
}
.yt-card:hover {
  border-color: rgba(255,60,60,0.45);
  background: rgba(255,30,30,0.09);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,0,0,0.12);
}

.yt-icon svg { width: 38px; height: 38px; fill: #FF3232; flex-shrink: 0; }

.yt-text { flex: 1; }
.yt-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.yt-text p {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 3px;
}

.yt-badge {
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FF3232;
  border: 1px solid rgba(255,50,50,0.4);
  padding: 7px 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.yt-card:hover .yt-badge {
  background: #FF3232;
  color: #fff;
  border-color: #FF3232;
}

/* ─── SOCIAL GRID ─── */
.social-section { padding: 44px 0 0; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.s-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  background: rgba(255,255,255,0.018);
  transition: all 0.32s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
}
.s-card.visible {
  animation: rise 0.6s cubic-bezier(.16,1,.3,1) forwards;
}
.s-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--card-glow, rgba(0,188,212,0.12)), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.s-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4);
}
.s-card:hover::after { opacity: 1; }

.s-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.s-icon svg {
  width: 22px; height: 22px;
  fill: var(--card-color, var(--teal));
  transition: transform 0.3s ease;
}
.s-card:hover .s-icon svg { transform: scale(1.18); }

.s-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.s-platform {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}
.s-handle {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 1px;
}
.s-arrow {
  font-size: 0.75rem;
  color: var(--dim);
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative; z-index: 1;
}
.s-card:hover .s-arrow {
  transform: translateX(4px);
  color: var(--card-color, var(--teal));
}

/* ─── FOOTER ─── */
footer {
  padding: 56px 0 48px;
  text-align: center;
  margin-top: 52px;
  border-top: 1px solid var(--border);
}
.f-logo {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.f-domain {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-top: 7px;
}
.f-copy {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  margin-top: 18px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.08em;
}

/* ─── ANIMATIONS ─── */
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadein {
  to { opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 540px) {
  h1 {
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    line-height: 1.25;
  }
  h1 .t::after { content: none; }
  .mob-br { display: block; }
  .tagline {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }
  .social-grid { grid-template-columns: 1fr; }
  .yt-badge { display: none; }
  .logo-wrap { width: 120px; height: 120px; }
}
