/* Custom CSS for Zhang Guoshu Portfolio */

/* Custom smooth dark scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #080c14;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glassmorphism helpers */
.glass-card {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.2);
}

/* Print CSS */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  header,
  footer,
  #electric-canvas,
  .no-print,
  #hero,
  #awards,
  #projects,
  #patents,
  #skills,
  #timeline,
  #contact,
  .ambient-blob,
  #toast {
    display: none !important;
  }

  #print-modal {
    position: static !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    max-height: none !important;
  }

  #print-modal > div {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  #printable-resume {
    display: block !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }

  @page {
    margin: 1.5cm;
    size: A4 portrait;
  }
}
