/* ===== Font Import (CN domain) ===== */
@import url('https://fonts.googleapis.cn/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
  /* Colors */
  --bg-deep: #050510;
  --accent-cyan: #00f0ff;
  --accent-purple: #7c3aed;
  --accent-teal: #06b6d4;
  --text-primary: #f0f0f0;
  --text-muted: #9ca3af;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(0, 240, 255, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 300ms;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  font-family: 'Inter', system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow: hidden;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Force hide scrollbar on all elements */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ===== Canvas Layer ===== */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Content Layer ===== */
.content-layer {
  position: relative;
  z-index: 10;
}

/* ===== Glass Card ===== */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.08);
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), #3b82f6, var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CTA Button ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-teal), #3b82f6);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
}

.cta-button:hover {
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.3);
  transform: translateY(-1px);
}

/* ===== Scrollbar (hidden everywhere) ===== */
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ===== Loading Page ===== */
#loading-status {
  transition: opacity 0.15s ease;
}

/* ===== Selection ===== */
::selection {
  background: rgba(0, 240, 255, 0.25);
  color: #fff;
}
