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

	text-align: center;
}
section{
	margin: 0;
	padding: 0;
	line-height: 0;
}
.container{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	position: relative;
	width: 100%;
	max-width: 750px;
	left: 50%;
	transform: translateX(-50%);
	overflow: hidden;
}

.container h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem); /* 使用clamp确保响应式字体大小 */
  margin-bottom: 15px;
  background: linear-gradient(to right, #00f0ff, #8a2be2, #ff00cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.content{
    width: 100%;
    text-align: center;
    top: 37%;
    position: absolute;
}

.content img{
	width: 80%;
}
.content_result{
    width: 100%;
    text-align: center;
    top: 37%;
    position: absolute;
	display : none;
}

.content_result img{
	width: 80%;
	margin: 10px;
	cursor: pointer;
}

.content2{
    width: 100%;
    text-align: center;
    top: 67%;
    position: absolute;
}

.content2 img{
	width: 95%;
	margin: 10px;
}
#small-img{
	width: 100%;
	margin-top: 10%;
}
#small-img2{
	width: 100%;
	margin-top: 2%;
}

.inputbox {
  font-size: 17px;
  width: 95%;
  height: 53px;
  text-align: center;
  margin-top: 10px;
  border-radius: 15px;
  padding: 0 10px;

  /* 渐变边框核心 */
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image: 
    linear-gradient(#fff, #fff),  /* 输入框内部背景 */
    linear-gradient(135deg, #00f0ff, #8a2be2, #ff00cc); /* 边框渐变 */

  color: black;
}
.inputbox:focus {
  outline: none; /* 去掉默认黑边 */
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.6); /* 发光效果，科技感提升 */
}


.inputbox::-webkit-input-placeholder {
	color: #8e8d8f;;
}



/* 遮罩层 */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.modal {
	padding: 20px;
	border-radius: 8px;
	width: 100%;
	max-width: 620px;
	text-align: center;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	position: relative;
}
.close-btn {
	position: absolute;
	top: 6px;
	right: 14px;
	cursor: pointer;
	font-size: 38px;
	font-weight: bold;
	color: red;
}

.errorbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	display: flex;
	z-index: 9999999;
	align-items: center;
	justify-content: center;
	display: none;
	z-index: 9999;
}

.error-content {
	padding: 20px;
	line-height: 18px;
	word-break: break-all;
	overflow: hidden;
	font-size: 18px;
	color: #fff;
	background: rgba(0, 0, 0, 0.8);
}

.fxbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	display: flex;
	z-index: 9999999;
	align-items: center;
	justify-content: center;
	display: none;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.8);
}

.fx-content {
	background: white;
	padding: 20px;
	line-height: 18px;
	word-break: break-all;
	overflow: hidden;
	font-size: 18px;
	color: #fff;
	border-radius: 10px;
    width: 80%;
	max-width: 700px;
}
.pressed {
  transform: scale(0.9);
}