html, body {
  background: #525252;
  font-family: 'Ubuntu';
}

* {
  box-sizing: border-box;
}

.box {
  width: 340px;
  min-height: 250px;
  max-height: 90vh;
  background: #2d2d31;
  border-radius: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  overflow-y: auto;
}
.box .box__ghost {
  padding: 15px 25px 25px;
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -30%);
}
.box .box__ghost .symbol:nth-child(1) {
  opacity: .2;
  animation: shine 4s ease-in-out 3s infinite;
}
.box .box__ghost .symbol:nth-child(1):before, .box .box__ghost .symbol:nth-child(1):after {
  content: '';
  width: 12px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  bottom: 65px;
  left: 0;
}
.box .box__ghost .symbol:nth-child(1):before {
  transform: rotate(45deg);
}
.box .box__ghost .symbol:nth-child(1):after {
  transform: rotate(-45deg);
}
.box .box__ghost .symbol:nth-child(2) {
  position: absolute;
  left: -5px;
  top: 30px;
  height: 18px;
  width: 18px;
  border: 4px solid;
  border-radius: 50%;
  border-color: #fff;
  opacity: .2;
  animation: shine 4s ease-in-out 1.3s infinite;
}
.box .box__ghost .symbol:nth-child(3) {
  opacity: .2;
  animation: shine 3s ease-in-out .5s infinite;
}
.box .box__ghost .symbol:nth-child(3):before, .box .box__ghost .symbol:nth-child(3):after {
  content: '';
  width: 12px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  top: 5px;
  left: 40px;
}
.box .box__ghost .symbol:nth-child(3):before {
  transform: rotate(90deg);
}
.box .box__ghost .symbol:nth-child(3):after {
  transform: rotate(180deg);
}
.box .box__ghost .symbol:nth-child(4) {
  opacity: .2;
  animation: shine 6s ease-in-out 1.6s infinite;
}
.box .box__ghost .symbol:nth-child(4):before, .box .box__ghost .symbol:nth-child(4):after {
  content: '';
  width: 15px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  top: 10px;
  right: 30px;
}
.box .box__ghost .symbol:nth-child(4):before {
  transform: rotate(45deg);
}
.box .box__ghost .symbol:nth-child(4):after {
  transform: rotate(-45deg);
}
.box .box__ghost .symbol:nth-child(5) {
  position: absolute;
  right: 5px;
  top: 40px;
  height: 12px;
  width: 12px;
  border: 3px solid;
  border-radius: 50%;
  border-color: #fff;
  opacity: .2;
  animation: shine 1.7s ease-in-out 7s infinite;
}
.box .box__ghost .symbol:nth-child(6) {
  opacity: .2;
  animation: shine 2s ease-in-out 6s infinite;
}
.box .box__ghost .symbol:nth-child(6):before, .box .box__ghost .symbol:nth-child(6):after {
  content: '';
  width: 15px;
  height: 4px;
  background: #fff;
  position: absolute;
  border-radius: 5px;
  bottom: 65px;
  right: -5px;
}
.box .box__ghost .symbol:nth-child(6):before {
  transform: rotate(90deg);
}
.box .box__ghost .symbol:nth-child(6):after {
  transform: rotate(180deg);
}
.box .box__ghost .box__ghost-container {
  background: #fff;
  width: 100px;
  height: 100px;
  border-radius: 100px 100px 0 0;
  position: relative;
  margin: 0 auto;
  animation: upndown 3s ease-in-out infinite;
}
.box .box__ghost .box__ghost-container .box__ghost-eyes {
  position: absolute;
  left: 50%;
  top: 45%;
  height: 12px;
  width: 70px;
}
.box .box__ghost .box__ghost-container .box__ghost-eyes .box__eye-left {
  width: 12px;
  height: 12px;
  background: #2d2d31;
  border-radius: 50%;
  margin: 0 10px;
  position: absolute;
  left: 0;
}
.box .box__ghost .box__ghost-container .box__ghost-eyes .box__eye-right {
  width: 12px;
  height: 12px;
  background: #2d2d31;
  border-radius: 50%;
  margin: 0 10px;
  position: absolute;
  right: 0;
}
.box .box__ghost .box__ghost-container .box__ghost-bottom {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.box .box__ghost .box__ghost-container .box__ghost-bottom div {
  flex-grow: 1;
  position: relative;
  top: -10px;
  height: 20px;
  border-radius: 100%;
  background-color: #fff;
}
.box .box__ghost .box__ghost-container .box__ghost-bottom div:nth-child(2n) {
  top: -12px;
  margin: 0 -0px;
  border-top: 15px solid #2d2d31;
  background: transparent;
}
.box .box__ghost .box__ghost-shadow {
  height: 20px;
  box-shadow: 0 50px 15px 5px #3B3769;
  border-radius: 50%;
  margin: 0 auto;
  animation: smallnbig 3s ease-in-out infinite;
}
.box .box__description {
  text-align: center;
}

/* 图片容器 */

.image-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
}

.hero-img {
    width: 100%;
    display: block;
    border-radius: 10px;
    background: #f2f4f8;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    height: auto;
    object-fit: contain;
}

.image-wrapper:hover .hero-img {
    transform: scale(1.01);
}

.hero-img.error-load {
    opacity: 0.6;
    background: #e5e7eb;
}
.box .box__description .box__description-container {
  color: #fff;
  text-align: center;
  font-size: 15px;
  margin: 0 auto;
}

.box .box__description .box__description-container .box__description-title {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: .5px;
}

.box .box__description .box__description-container2 {
  color: #fff;
  text-align: center;
  font-size: 15px;
  margin: 15px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box .box__description .box__description-container2 .box__description-title {
  font-size: 24px;
  letter-spacing: .5px;
}

.box .box__description .box__button {
  display: block;
  position: relative;
  background: #FF5E65;
  border: 1px solid transparent;
  border-radius: 45px;
  height: 45px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  line-height: 45px;
  font-size: 18px;
  padding: 0 70px;
  white-space: nowrap;
  margin-top: 15px;
  transition: background .5s ease;
  overflow: hidden;
}
.box .box__description .box__button:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 100px;
  background: #fff;
  bottom: -25px;
  left: 0;
  border: 2px solid #fff;
  transform: translateX(-50px) rotate(45deg);
  transition: transform .5s ease;
}
.box .box__description .box__button:hover {
  background: transparent;
  border-color: #fff;
}
.box .box__description .box__button:hover:before {
  transform: translateX(250px) rotate(45deg);
}

@keyframes upndown {
  0% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(5px);
  }
}
@keyframes smallnbig {
  0% {
    width: 90px;
  }
  50% {
    width: 100px;
  }
  100% {
    width: 90px;
  }
}
@keyframes modalZoomIn {
	from {
		transform: scale(0.9);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes shine {
  0% {
    opacity: .2;
  }
  25% {
    opacity: .1;
  }
  50% {
    opacity: .2;
  }
  100% {
    opacity: .2;
  }
}

/* 模态框样式 */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	justify-content: center;
	align-items: center;
}

.video-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #000;
	padding: 10px;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	max-width: 90%;
	max-height: 90vh;
}

.video-container {
	position: relative;
	width: 640px;
	max-width: 100%;
	height: 360px;
	max-height: 70vh;
}

.video-container video {
	width: 100%;
	height: 100%;
	border-radius: 8px;
}

.image-modal-content {
	position: relative;
	max-width: 540px;
	max-height: 85vh;
	width: 90%;
	height: fit-content;
	background: transparent;
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: modalZoomIn 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.close-modal {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 36px;
	height: 36px;
	background: #1a1a1a;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 2.2s cubic-bezier(0.2, 0.8, 0.4, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 0;
	z-index: 10000;
}

.close-modal:hover {
	transform: scale(1.1) rotate(360deg);
	background: #333;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.close-modal:active {
	transform: scale(0.95) rotate(360deg);
}

.image-modal-content .close-modal {
	top: -16px;
	right: -16px;
}

.close-modal svg {
	width: 18px;
	height: 18px;
	stroke: white;
	stroke-width: 2;
	fill: none;
}

.qr-code-container {
	display: flex;
	gap: 10px;
}

.qr-code-item {
	text-align: center;
}

.qr-code-item img {
	width: 100%;
	height: auto;
	max-height: 60vh;
	max-width: 100%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	display: block;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
}

.image-modal-content img {
	width: 100%;
	height: auto;
	max-height: 60vh;
	max-width: 100%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	display: block;
}

.qr-code-label {
	margin-top: 5px;
	font-size: 12px;
	color: #fff;
	background-color: #333;
	padding: 4px 8px;
	display: block;
}

.gap {
    display: inline-block;
    width: 16px;
}
/* 底部版权容器 */
.copyright {
    text-align: center;
    font-size: 0.7rem;
    margin-top: 1rem;
    opacity: 0.6;
    color: #fff;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.copyright a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.copyright a:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 1;
}