/* =================================

   宸浸电竞 CJCM88
   Global Style

================================= */

/* ========== 自定义字体定义 ========== */
@font-face {
  font-family: 'CJCMFont';
  src: url('https://img.cjcm88.cn/cjcm.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.logo {
  font-family: 'CJCMFont', sans-serif;
}

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
}

body {
  user-select: none;
  -webkit-user-select: none;
  cursor: none;

  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
  background: #050816;

  color: #fff;

  overflow-x: hidden;

  position: relative;
}

a,
button,
input,
textarea,
select {
  cursor: none;
}

a {
  text-decoration: none;

  color: inherit;
}

/* ================================
   Canvas 粒子背景
================================ */

#particleCanvas {
  position: fixed;

  left: 0;

  top: 0;

  width: 100%;

  height: 100%;

  z-index: -5;
}

/* ================================
   全局霓虹环境光
================================ */

body::before {
  content: '';

  position: fixed;

  width: 900px;

  height: 900px;

  left: -300px;

  top: -300px;

  background: radial-gradient(circle, rgba(0, 229, 255, 0.28), transparent 65%);

  filter: blur(80px);

  z-index: -4;

  animation: floatBlue 12s infinite alternate;
}

body::after {
  content: '';

  position: fixed;

  width: 800px;

  height: 800px;

  right: -250px;

  bottom: -250px;

  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.35),
    transparent 65%
  );

  filter: blur(100px);

  z-index: -4;

  animation: floatPurple 15s infinite alternate;
}

@keyframes floatBlue {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(120px, 80px) scale(1.3);
  }
}

@keyframes floatPurple {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-100px, -80px) scale(1.25);
  }
}

/* ================================
   Header
================================ */

.header {
  height: 80px;

  padding: 0 8%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 100;

  background: rgba(5, 8, 22, 0.55);

  backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  text-transform: skewX(-5deg);
  transform: skewX(-10deg);
  font-size: 48px;
  letter-spacing: 3px;
}

.logo span {
  font-size: 24px;
  text-transform: skewX(-5deg);
  transform: skewX(-10deg);

  margin-left: 10px;

  color: #a3ceff;

  letter-spacing: 0;
}

nav {
  display: flex;

  gap: 45px;
}

nav a {
  color: #cbd5e1;

  font-size: 15px;

  transition: 0.3s;
}

nav a:hover {
  color: #00e5ff;
}

.mobile-menu {
  display: none;

  font-size: 28px;
}

/* ================================
   Hero 首页
================================ */

.hero {
  min-height: 100vh;

  padding: 160px 8% 80px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  position: relative;
}

.hero::before {
  content: '';

  position: absolute;

  width: 600px;

  height: 600px;

  left: 25%;

  top: 20%;

  background: radial-gradient(circle, rgba(37, 99, 255, 0.35), transparent 65%);

  filter: blur(70px);

  z-index: -1;
}

.hud-circle {
  position: absolute;

  right: 15%;

  top: 25%;

  width: 450px;

  height: 450px;

  border-radius: 50%;

  border: 1px solid rgba(0, 229, 255, 0.25);

  animation: rotateHud 20s linear infinite;
}

.hud-circle::after {
  content: '';

  position: absolute;

  inset: 50px;

  border-radius: 50%;

  border: 1px dashed rgba(139, 92, 246, 0.4);
}

@keyframes rotateHud {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;

  z-index: 2;
}

.tag {
  display: inline-block;

  padding: 8px 20px;

  border-radius: 50px;

  background: rgba(0, 229, 255, 0.12);

  border: 1px solid rgba(0, 229, 255, 0.35);

  color: #00e5ff;

  font-size: 14px;
}

.hero h1 {
  font-size: 72px;

  line-height: 1.25;

  margin: 30px 0;

  font-weight: 900;
}

.hero h1 span {
  background: linear-gradient(120deg, #00e5ff, #8b5cf6);

  -webkit-background-clip: text;

  color: transparent;
}

.hero p {
  font-size: 20px;

  line-height: 2;

  color: #94a3b8;
}

.buttons {
  display: flex;

  gap: 20px;

  margin-top: 40px;
}

button {
  padding: 15px 40px;

  border: none;

  border-radius: 50px;

  cursor: pointer;

  font-size: 16px;

  color: #fff;

  background: linear-gradient(135deg, #2563ff, #8b5cf6);

  box-shadow: 0 0 30px rgba(37, 99, 255, 0.5);

  transition: 0.3s;
}

button:hover {
  transform: translateY(-3px);
}

button.ghost {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: none;
}

/* ================================
 数据面板
================================ */

.hero-panel {
  width: 420px;

  padding: 40px;

  border-radius: 25px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(20px);

  box-shadow: 0 0 50px rgba(0, 229, 255, 0.15);
}

.panel-title {
  color: #00e5ff;

  margin-bottom: 40px;

  letter-spacing: 2px;
}

.data {
  display: flex;

  justify-content: space-between;
}

.data strong {
  font-size: 34px;
}

.data p {
  margin-top: 10px;

  color: #94a3b8;
}

/* ================================
 通用 section
================================ */

.section {
  padding: 100px 8%;
}

.dark {
  background: rgba(0, 0, 0, 0.25);
}

.section h2 {
  font-size: 42px;

  text-align: center;

  margin-bottom: 25px;
}

.desc {
  text-align: center;

  color: #94a3b8;
}

/* ================================
 卡片
================================ */

.cards {
  margin-top: 60px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.card {
  padding: 40px;

  border-radius: 25px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);

  border-color: #00e5ff;

  box-shadow: 0 0 40px rgba(0, 229, 255, 0.25);
}

.card h3 {
  font-size: 24px;

  margin-bottom: 20px;
}

.card p {
  color: #94a3b8;

  line-height: 1.8;
}

.icon {
  font-size: 45px;

  margin-bottom: 20px;
}
/* ================================
   页面 Hero（内页）
================================ */

.page-hero {
  height: 70vh;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  background: radial-gradient(
    circle at center,

    rgba(37, 99, 255, 0.3),
    transparent 55%
  );

  padding-top: 80px;
}

.page-hero h1 {
  font-size: 60px;

  margin-top: 30px;
}

.page-hero p {
  font-size: 20px;

  margin-top: 25px;

  color: #94a3b8;
}

/* ================================
 系统展示区域
================================ */

.system-box {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 60px;
}

.system-box > div {
  flex: 1;
}

.system-box h2 {
  text-align: left;
}

.system-box p {
  color: #94a3b8;

  line-height: 2;

  font-size: 17px;
}

.system-box ul {
  margin-top: 30px;
}

.system-box li {
  list-style: none;

  margin: 15px 0;

  color: #cbd5e1;
}

/* ================================
 后台模拟界面
================================ */

.admin-preview {
  padding: 25px;

  height: 360px;

  border-radius: 25px;

  background: rgba(15, 23, 42, 0.8);

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 0 50px rgba(0, 229, 255, 0.15);
}

.admin-header {
  height: 40px;

  padding: 10px 20px;

  background: rgba(0, 229, 255, 0.15);

  border-radius: 10px;

  color: #00e5ff;

  font-size: 14px;
}

.admin-content {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;

  margin-top: 25px;
}

.admin-card {
  padding: 20px;

  background: rgba(255, 255, 255, 0.06);

  border-radius: 15px;

  font-size: 14px;

  color: #94a3b8;
}

.admin-card span {
  display: block;

  font-size: 28px;

  margin-top: 10px;

  color: white;
}

.admin-chart {
  height: 100px;

  display: flex;

  align-items: flex-end;

  gap: 15px;

  margin-top: 35px;
}

.admin-chart div {
  flex: 1;

  background: linear-gradient(180deg, #00e5ff, #2563ff);

  border-radius: 10px 10px 0 0;
}

.admin-chart div:nth-child(1) {
  height: 40%;
}

.admin-chart div:nth-child(2) {
  height: 70%;
}

.admin-chart div:nth-child(3) {
  height: 55%;
}

.admin-chart div:nth-child(4) {
  height: 90%;
}

/* ================================
 普通 Dashboard
================================ */

.dashboard {
  height: 300px;

  padding: 30px;

  border-radius: 25px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bar {
  width: 70%;

  height: 15px;

  background: #00e5ff;

  border-radius: 10px;
}

.line {
  height: 10px;

  background: #334155;

  margin-top: 25px;

  border-radius: 10px;
}

.chart {
  font-size: 60px;

  text-align: center;

  margin-top: 40px;

  color: #00e5ff;

  font-weight: 900;
}

/* ================================
 游戏服务页
================================ */

.game-list {
  margin-top: 50px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.game-item {
  padding: 35px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: 0.3s;
}

.game-item:hover {
  border-color: #00e5ff;

  transform: translateY(-8px);
}

.game-item h3 {
  font-size: 22px;

  margin-bottom: 15px;
}

.game-item p {
  color: #94a3b8;
}

/* ================================
 查挂扫描效果
================================ */

.security-box {
  height: 350px;

  display: flex;

  align-items: center;

  justify-content: center;
}

.scan-circle {
  width: 220px;

  height: 220px;

  border-radius: 50%;

  border: 2px solid #00e5ff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 35px;

  color: #00e5ff;

  box-shadow: 0 0 60px rgba(0, 229, 255, 0.5);

  animation: scanRotate 5s linear infinite;
}

@keyframes scanRotate {
  0% {
    box-shadow: 0 0 20px #00e5ff;
  }

  50% {
    box-shadow: 0 0 80px #8b5cf6;
  }

  100% {
    box-shadow: 0 0 20px #00e5ff;
  }
}

/* ================================
 优势模块
================================ */

.advantages {
  margin-top: 60px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.advantages div {
  padding: 35px;

  background: rgba(255, 255, 255, 0.06);

  border-radius: 20px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.3s;
}

.advantages div:hover {
  transform: translateY(-8px);

  border-color: #00e5ff;
}

.advantages h3 {
  font-size: 22px;

  margin-bottom: 15px;
}

.advantages p {
  color: #94a3b8;
}

/* ================================
 关于页面
================================ */

.about-container {
  max-width: 900px;

  margin: auto;
}

.about-text {
  font-size: 18px;

  line-height: 2.2;

  color: #cbd5e1;

  margin-bottom: 30px;

  text-align: center;
}

/* ================================
 时间轴
================================ */

.timeline {
  max-width: 800px;

  margin: 60px auto;
}

.timeline-item {
  display: flex;

  gap: 30px;

  align-items: center;

  margin-bottom: 40px;
}

.timeline-item span {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, #2563ff, #8b5cf6);

  font-size: 22px;
}

.timeline-item h3 {
  font-size: 25px;

  margin-bottom: 10px;
}

.timeline-item p {
  color: #94a3b8;
}

/* ================================
 联系页面
================================ */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 400px;

  gap: 60px;

  align-items: center;
}

.contact-info h2 {
  font-size: 40px;

  margin-bottom: 30px;
}

.contact-info p {
  color: #94a3b8;

  line-height: 2;
}

.contact-item {
  display: flex;

  gap: 20px;

  align-items: center;

  margin-top: 35px;
}

.contact-item div:first-child {
  font-size: 35px;
}

.contact-item h3 {
  margin-bottom: 5px;
}

.qrcode-box {
  text-align: center;
}

.qrcode {
  width: 260px;

  height: 260px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 25px;

  border: 1px solid rgba(255, 255, 255, 0.15);
}

.qr-inner {
  width: 180px;

  height: 180px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, #00e5ff, #8b5cf6);

  color: white;

  font-size: 35px;

  font-weight: 900;
}

.qrcode-box p {
  margin-top: 20px;

  color: #94a3b8;
}

/* ================================
 联系 CTA
================================ */

.contact {
  padding: 120px 8%;

  text-align: center;

  background: radial-gradient(circle, rgba(37, 99, 255, 0.35), transparent 55%);
}

.contact h2 {
  font-size: 48px;

  margin-bottom: 25px;
}

.contact p {
  color: #cbd5e1;

  margin: 10px;
}

/* ================================
 页面动画
================================ */

.animate {
  opacity: 0;

  transform: translateY(40px);

  transition: 0.8s;
}

.animate.active {
  opacity: 1;

  transform: translateY(0);
}

/* ================================
 手机端适配
================================ */

@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }

  nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  nav.show {
    display: flex;

    position: absolute;

    top: 80px;

    left: 0;

    width: 100%;

    flex-direction: column;

    padding: 30px;

    background: rgba(5, 8, 22, 0.95);

    backdrop-filter: blur(20px);
  }

  .hero {
    padding: 130px 20px 60px;

    flex-direction: column;

    text-align: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-panel {
    width: 100%;

    margin-top: 50px;
  }

  .hud-circle {
    display: none;
  }

  .section {
    padding: 70px 20px;
  }

  .section h2 {
    font-size: 32px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .system-box {
    flex-direction: column;

    gap: 40px;
  }

  .game-list {
    grid-template-columns: 1fr;
  }

  .advantages {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 60vh;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .admin-content {
    grid-template-columns: 1fr;
  }

  .admin-preview {
    height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact h2 {
    font-size: 32px;
  }

  .timeline-item {
    gap: 15px;
  }
}

.mouse-light {
  position: fixed;

  width: 220px;

  height: 220px;

  border-radius: 50%;

  pointer-events: none;

  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);

  transform: translate(-50%, -50%);

  z-index: -2;
}

/*=========================
  自定义鼠标
==========================*/

.cursor {
  position: fixed;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #00e5ff;

  left: 0;
  top: 0;

  transform: translate(-50%, -50%);

  pointer-events: none;

  z-index: 999999;

  box-shadow:
    0 0 10px #00e5ff,
    0 0 20px #00e5ff,
    0 0 35px #00e5ff;
}

.cursor-ring {
  position: fixed;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  border: 1px solid rgba(0, 229, 255, 0.5);

  left: 0;
  top: 0;

  transform: translate(-50%, -50%);

  pointer-events: none;

  z-index: 999998;

  transition:
    width 0.25s,
    height 0.25s,
    border-color 0.25s;
}

.cursor-ring::before {
  content: '';

  position: absolute;

  inset: 6px;

  border-radius: 50%;

  border: 1px dashed rgba(139, 92, 246, 0.45);

  animation: cursorRotate 8s linear infinite;
}

@keyframes cursorRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cursor.active {
  transform: translate(-50%, -50%) scale(0.7);
}

.cursor-ring.hover {
  width: 70px;
  height: 70px;

  border-color: #00e5ff;

  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

/* 复制文本单独恢复 */
.copy-text {
  user-select: text;
}
