* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: linear-gradient(135deg, #0f141f 0%, #1a2035 100%);
  font-family: "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  padding: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(30, 144, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(30, 144, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 768px) {
  body {
    padding: 32px;
  }
  body::before {
    background-size: 30px 30px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(30, 144, 255, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
  filter: blur(30px);
}

.title-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 0;
  position: relative;
}
.title-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #1e90ff, transparent);
}
.title-section h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: #1e90ff;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.5),
    0 0 20px rgba(30, 144, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.title-section h1 i {
  animation: pulse 2s infinite alternate;
  margin-right: 12px;
}
.title-section p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #a0a0c0;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.search-section {
  max-width: 800px;
  margin: 0 auto 30px;
  display: flex;
  gap: 12px;
  padding: 0 16px;
}
.search-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(20, 28, 48, 0.7);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 12px;
  color: #e0e0e0;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.search-input:focus {
  border-color: rgba(30, 144, 255, 0.8);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.2);
}
.search-input::placeholder {
  color: #8080a0;
  opacity: 0.7;
}
.search-btn {
  padding: 14px 32px;
  background: linear-gradient(45deg, #1e90ff, #4169e1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-btn:hover {
  background: linear-gradient(45deg, #4169e1, #1e90ff);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.4);
  transform: translateY(-2px);
}
.search-btn:active {
  transform: translateY(0);
}
.search-btn i {
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .search-section {
    flex-direction: column;
  }
  .search-btn {
    width: 100%;
  }
}

.card {
  background: rgba(20, 28, 48, 0.7);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.1),
    inset 0 0 10px rgba(30, 144, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(45deg, #1e90ff, #7b68ee, #1e90ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: borderGlow 4s linear infinite;
}
@media (min-width: 768px) {
  .card {
    padding: 36px;
  }
}
.card:hover {
  box-shadow: 0 0 30px rgba(30, 144, 255, 0.2),
    inset 0 0 15px rgba(30, 144, 255, 0.1);
  transform: translateY(-2px);
}

.status-container {
  text-align: center;
  padding: 80px 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.status-container i {
  font-size: 4.5rem;
  margin-bottom: 20px;
  position: relative;
}
.loading i {
  color: #1e90ff;
  text-shadow: 0 0 15px rgba(30, 144, 255, 0.6);
  animation: spin 1.5s linear infinite, pulse 2s infinite alternate;
}

.loading i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, #1e90ff 0%, transparent 70%);
  animation: glow 2s infinite alternate;
}
.no-data i {
  color: #606080;
  text-shadow: 0 0 10px rgba(96, 96, 128, 0.3);
}
.status-container p {
  font-size: 1.1rem;
  color: #a0a0c0;
  max-width: 400px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.info-container {
  display: none;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .info-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.info-item {
  padding: 16px;
  background: rgba(30, 40, 65, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

  padding-left: 24px;
}

.info-item:hover {
  border-color: rgba(30, 144, 255, 0.5);
  background: rgba(30, 40, 65, 0.6);
  transform: translateX(5px);
}

.info-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 12px;
  background: linear-gradient(to bottom, #1e90ff, #7b68ee, #1e90ff);
  border-radius: 6px 0 0 6px;
  box-shadow: 0 0 8px rgba(30, 144, 255, 0.4);
  animation: stripeGlow 3s linear infinite;
}
.label {
  font-size: 0.9rem;
  color: #8ab4f8;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}
.value {
  font-size: 1.1rem;
  color: #f0f0f0;
  font-weight: 500;
  letter-spacing: 0.3px;
}
@media (min-width: 768px) {
  .label {
    font-size: 0.95rem;
  }
  .value {
    font-size: 1.2rem;
  }
  .info-item {
    padding-left: 28px;
  }
  .info-item::before {
    width: 14px;
    border-radius: 7px 0 0 7px;
  }
}

.valid-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 255, 127, 0.1);
  color: #00ff7f;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 127, 0.3);
  text-shadow: 0 0 8px rgba(0, 255, 127, 0.4);
}
.valid-tag i {
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
@keyframes glow {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}
@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes stripeGlow {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}
