/* 广西阳光信息科技有限公司 · 门面（挂机界面）· 深色紫蓝光效 */
:root {
  --bg: #08080f;
  --violet: #8b6cff;
  --violet-soft: #a58bff;
  --blue: #4d8bff;
  --cyan: #43d9ff;
  --text: #e9ecff;
  --text-dim: #9aa2c9;
  --text-faint: #6b7299;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-y: auto;
  overflow-x: hidden;
}

#bg-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: .95; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(1300px 760px at 50% -8%, rgba(90, 60, 220, .20), transparent 60%),
    radial-gradient(1000px 640px at 10% 110%, rgba(40, 140, 255, .14), transparent 60%),
    radial-gradient(1200px 700px at 50% 50%, transparent 40%, rgba(0,0,0,.46) 100%);
}

.facade {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px 40px;
  text-align: center;
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .62s cubic-bezier(.2,.8,.2,1), filter .62s ease, opacity .62s ease;
}
.facade.zooming {
  transform: scale(1.6);
  filter: blur(20px) brightness(.7);
  opacity: 0;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 状态条 */
.status {
  position: absolute; top: 24px; left: 28px;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: 1px; color: var(--text-dim);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(67,217,255,.6);
  animation: blink 2.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* 主视觉 */
.hero { display: flex; flex-direction: column; align-items: center; }
.logo {
  position: relative;
  width: 152px; height: 152px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.logo:hover { transform: scale(1.16); }
.logo-img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(90, 60, 200, .5));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.company {
  font-size: clamp(26px, 4.4vw, 46px); font-weight: 800; letter-spacing: 2px;
  margin: 0; text-shadow: 0 0 30px rgba(140,120,255,.55), 0 2px 10px rgba(0,0,0,.6);
}
.company-en {
  font-size: clamp(11px, 1.4vw, 14px); color: var(--text-dim); letter-spacing: 1px;
  margin: 12px 0 0;
}
.slogan {
  font-size: 14px; color: var(--violet-soft); letter-spacing: 6px; margin: 16px 0 0;
}

/* 两个入口 */
.entries {
  display: grid; grid-template-columns: repeat(2, minmax(240px, 340px)); gap: 22px;
  margin-top: 40px;
}
.entry {
  position: relative; text-decoration: none; text-align: left;
  padding: 22px 24px 20px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(24,26,52,.72), rgba(14,15,32,.72));
  border: 1px solid rgba(150,130,255,.26);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.entry::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(140,120,255,.22), transparent 65%);
}
.entry:hover { transform: translateY(-5px); border-color: rgba(180,160,255,.5); box-shadow: 0 20px 50px rgba(60,40,160,.4); }
.entry.dr { --accent: #43d9ff; }
.entry.qc { --accent: #8b6cff; }
.entry-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  background: linear-gradient(160deg, var(--accent), rgba(120,90,255,.5));
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 50%, transparent);
  margin-bottom: 14px;
}
.entry-name { font-size: 17px; font-weight: 800; }
.entry-desc { font-size: 12px; color: var(--text-dim); margin-top: 7px; line-height: 1.5; }
.entry-go { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent); }
.entry-go .arrow { display: inline-block; transition: transform .2s ease; }
.entry:hover .arrow { transform: translateX(5px); }

/* 底部 */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 34px;
}
.clock { font-size: 22px; font-weight: 300; color: var(--text); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.clock-date { font-size: 12px; color: var(--text-dim); margin-left: 10px; font-weight: 400; }
.hint { font-size: 12px; color: var(--text-faint); letter-spacing: .5px; }

.intro {
  font-size: 13px; color: var(--text-dim); margin: 14px 0 0; max-width: 560px;
  line-height: 1.6;
}
.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px;
}
.chips span {
  font-size: 12px; color: var(--text-dim); padding: 5px 13px; border-radius: 20px;
  background: rgba(140,120,255,.08); border: 1px solid var(--line);
}

/* 公司简介入口（第二个入口） */
.about-entry {
  display: flex; align-items: center; gap: 18px;
  margin-top: 22px; padding: 16px 22px; width: min(720px, 92vw);
  border-radius: 16px; text-decoration: none;
  background: linear-gradient(100deg, rgba(139,108,255,.12), rgba(67,217,255,.06));
  border: 1px solid rgba(160,140,255,.28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.about-entry:hover { transform: translateY(-3px); border-color: rgba(180,160,255,.5); box-shadow: 0 16px 40px rgba(60,40,160,.35); }
.ae-main { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.ae-main b { font-size: 15px; font-weight: 800; color: #fff; }
.ae-main span { font-size: 12px; color: var(--text-dim); }
.ae-go { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--violet-soft); white-space: nowrap; }
.ae-go .arrow { display: inline-block; transition: transform .2s ease; }
.about-entry:hover .ae-go .arrow { transform: translateX(5px); }

@media (max-width: 640px) {
  .entries { grid-template-columns: 1fr; }
}
