@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap');

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
  color: white;
  font-size: 9px;
  background: #000;
}

#magic {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: block;
  top: 0;
  left: 0;
  z-index: 1;
}

.playground {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  z-index: 5;
}

.bottomPosition {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 50px;
}

.centerContent {
  text-align: center;
  user-select: none;
}

a {
  color: white;
  font-size: 12px;
  text-decoration: none;
}

.logo {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  cursor: pointer;
  pointer-events: auto;
}

.centerContent a {
  pointer-events: auto;
  cursor: pointer;
}

h1 {
  margin: 0;
  line-height: 1.5;
  user-select: none;
  text-align: center;
}

.sideText {
  position: relative;
  z-index: 1;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(135deg, rgba(248, 211, 71, 0.02) 0%, rgba(0, 0, 0, 0.3) 100%);
  padding: 15px 25px;
  border: 2px solid rgba(248, 211, 71, 0.5);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: all 0.4s ease;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 0 10px rgba(248, 211, 71, 0.3), inset 0 0 20px rgba(248, 211, 71, 0.1);
}

.sideText:hover {
  background: linear-gradient(135deg, rgba(248, 211, 71, 0.06) 0%, rgba(0, 0, 0, 0.5) 100%);
  transform: scale(1.02);
}

/* 仅保留极细的装饰线 */
.leftText {
  text-align: left;
  border-left: 1.5px solid rgba(248, 211, 71, 0.3);
}

.rightText {
  text-align: right;
  border-right: 1.5px solid rgba(248, 211, 71, 0.3);
}

/* 边角装饰改为淡黄色 */
.sideText::before, .sideText::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: rgba(248, 211, 71, 0.2);
  border-style: solid;
  z-index: 2;
}

.textLine {
  font-size: 16px;
  font-weight: 700;
  margin: 3px 0;
  color: #fff;
  text-shadow: 0 0 8px rgba(248, 211, 71, 0.4);
  position: relative;
  z-index: 3;
  animation: textGlitch 10s step-end infinite;
}

@keyframes textGlitch {
  0%, 95%, 100% { transform: translate(0); text-shadow: 0 0 8px rgba(248, 211, 71, 0.4); }
  96% { transform: translate(-1px, 1px); text-shadow: 1px 0 #fff, -1px 0 #f8d347; }
  97% { transform: translate(1px, -1px); text-shadow: -1px 0 #fff, 1px 0 #f8d347; }
  98% { transform: translate(-1px, -1px); }
  99% { transform: translate(1px, 1px); }
}


/* 扫描线动画 */
.scanner {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(248, 211, 71, 0.1),
    transparent
  );
  animation: scan 4s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* 闪烁指示灯 */
.textLine::before {
  content: '■';
  font-size: 10px;
  vertical-align: middle;
  margin-right: 12px;
  animation: blink 1s infinite;
  display: inline-block;
  color: #f8d347;
}

.rightText .textLine::before {
  content: none;
}
.rightText .textLine::after {
  content: '■';
  font-size: 10px;
  vertical-align: middle;
  margin-left: 12px;
  animation: blink 1s infinite;
  display: inline-block;
  color: #f8d347;
}

@keyframes blink {
  0%, 100% { opacity: 1; text-shadow: 0 0 5px #f8d347; }
  50% { opacity: 0.2; }
}

.textLine.chinese {
  font-size: 10px;
  letter-spacing: 3px;
  opacity: 0.6;
  color: #fff;
  text-shadow: none;
  font-weight: 300;
  margin-top: 8px;
}


/* 底部装饰小字 */
.decorText {
  font-size: 8px;
  letter-spacing: 2px;
  opacity: 0.5;
  color: #f8d347;
  margin-top: 15px;
  font-family: monospace;
  position: relative;
  z-index: 3;
  user-select: none;
}


.leftText .decorText {
  padding-left: 0;
}

.rightText .decorText {
  text-align: right;
}

@media (max-width: 768px) {
  .sideText {
    display: none;
  }
}
