/* ==========================================================================
   PT NALAR CERDAS TEKNOLOGI (PT NCT) - CLEAN INDUSTRIAL LINKTREE
   Modern, Minimalist Industrial Utilitarian Aesthetic
   Colors: Obsidian Navy (#0B0F17) & Electric Cyber Teal (#00D2B4)
   Geometry: Strict Zero-Radius (0px)
   ========================================================================== */

:root {
  --color-bg: #0B0F17;                  /* Obsidian Navy Black */
  --color-surface: #101624;             /* Dark Navy Card Surface */
  --color-surface-hover: #151d30;       /* Card Hover Surface */
  --color-primary: #00D2B4;             /* Electric Cyber Teal */
  --color-primary-subtle: rgba(0, 210, 180, 0.08);
  --color-border: #1E293B;              /* Slate Steel Dark Border */
  --color-border-hover: #00D2B4;
  --color-steel: #94A3B8;               /* Slate Steel Muted Text */
  --color-white: #FFFFFF;               /* Pure White */
  
  --font-display: 'Chakra Petch', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --max-width: 440px;
}

/* --------------------------------------------------------------------------
   Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Zero-radius geometry */
}

html {
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 1.25rem 3rem;
  line-height: 1.5;
}

/* Top Subtle Brand Bar */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  z-index: 100;
}

/* --------------------------------------------------------------------------
   App Container
   -------------------------------------------------------------------------- */
.app-container {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* --------------------------------------------------------------------------
   Top Bar / Copy Link Button
   -------------------------------------------------------------------------- */
.top-action-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.copy-link-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-steel);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease-in-out;
}

.copy-link-btn svg {
  color: var(--color-steel);
  transition: color 0.15s ease-in-out;
}

.copy-link-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.copy-link-btn:hover svg {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Profile Section
   -------------------------------------------------------------------------- */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.avatar-frame {
  width: 84px;
  height: 84px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 6px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.avatar-frame:hover {
  border-color: var(--color-primary);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.profile-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.profile-tagline {
  font-size: 0.875rem;
  color: var(--color-steel);
  font-weight: 500;
  line-height: 1.45;
  max-width: 360px;
}

/* --------------------------------------------------------------------------
   Links Container
   -------------------------------------------------------------------------- */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.link-card {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.link-card:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.link-card.is-primary {
  border-color: rgba(0, 210, 180, 0.4);
}

.card-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-steel);
  margin-right: 1rem;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.link-card:hover .card-icon {
  color: var(--color-primary);
}

.link-card.is-primary .card-icon {
  color: var(--color-primary);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
  transition: color 0.15s ease;
}

.link-card:hover .card-title {
  color: var(--color-primary);
}

.card-subtitle {
  font-size: 0.75rem;
  color: var(--color-steel);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-arrow {
  color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.link-card:hover .card-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Social Media Row (Bottom Icons like the reference)
   -------------------------------------------------------------------------- */
.socials-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2.5rem;
}

.social-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-steel);
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.social-btn:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.app-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-steel);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  white-space: nowrap;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Mobile Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  body {
    padding: 2rem 1rem 2.5rem;
  }

  .profile-title {
    font-size: 1.25rem;
  }

  .link-card {
    padding: 1rem 1.1rem;
  }

  .social-btn {
    width: 42px;
    height: 42px;
  }
}
