:root {
  --bg: #070b14;
  --bg-soft: #0f1629;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 55%, #c084fc 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.onccg-home {
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--text);
  background-color: #001232;
  background-image: url("/template/mizhi-five/loginbg.gif");
  line-height: 1.6;
  overflow-x: hidden;
}

body.onccg-home a {
  color: inherit;
  text-decoration: none;
}

.onccg-bg {
  display: none;
}

.onccg-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.onccg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 12px;
}

.onccg-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.onccg-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #04111d;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.onccg-brand-text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.onccg-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.onccg-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: 0.2s ease;
}

.onccg-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.onccg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.onccg-btn-primary {
  background: var(--gradient);
  color: #061018;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.22);
}

.onccg-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.onccg-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--card-border);
  color: var(--text);
}

.onccg-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.onccg-hero {
  padding: 56px 0 36px;
  text-align: center;
}

.onccg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #bae6fd;
  font-size: 13px;
  margin-bottom: 22px;
}

.onccg-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.onccg-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.onccg-hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.onccg-hero p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 16px;
}

.onccg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.onccg-btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.onccg-parse {
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.onccg-parse form {
  display: flex;
  gap: 10px;
}

.onccg-parse input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.72);
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.onccg-parse input::placeholder {
  color: #64748b;
}

.onccg-parse button {
  min-width: 120px;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: var(--gradient);
  color: #061018;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.onccg-parse-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.onccg-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 10px;
}

.onccg-platforms span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: #cbd5e1;
  font-size: 13px;
}

.onccg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}

.onccg-stat {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  text-align: center;
}

.onccg-stat strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.onccg-stat span {
  color: var(--muted);
  font-size: 14px;
}

.onccg-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.onccg-feature {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--card-border);
}

.onccg-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-size: 20px;
}

.onccg-feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.onccg-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.onccg-notice {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.18);
  color: #fde68a;
  font-size: 13px;
  text-align: left;
}

.onccg-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.onccg-footer a {
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .onccg-stats,
  .onccg-features {
    grid-template-columns: 1fr;
  }

  .onccg-parse form {
    flex-direction: column;
  }

  .onccg-parse button {
    width: 100%;
  }

  .onccg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .onccg-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .onccg-hero-actions .onccg-btn {
    width: 100%;
  }

  .onccg-nav {
    width: 100%;
    flex-wrap: wrap;
  }
}
