* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #e8f1f8;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 38px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  text-align: center;
}

.card h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.card .sub {
  font-size: 13px;
  color: #9fb8c9;
  margin-bottom: 28px;
}

.ip-display {
  font-size: 22px;
  font-weight: 600;
  padding: 18px;
  background: rgba(0,0,0,0.25);
  border-radius: 14px;
  margin-bottom: 26px;
  word-break: break-all;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7fe3ff;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.info-item {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px 14px;
}

.info-item .label {
  font-size: 11px;
  color: #8faabe;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.info-item .value {
  font-size: 14px;
  font-weight: 600;
  color: #e8f1f8;
}

.btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  letter-spacing: 1px;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,114,255,0.4); }
.btn:active { transform: translateY(0); }

/* 弹窗 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show { display: flex; }

.modal video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,198,255,0.3);
}

.modal .close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}
.modal .close:hover { opacity: 1; }
