/* 内容区域使用flex-grow填充剩余空间 */
.content {
    /* 移除背景色，确保背景图片可见 */
    background-image: url('./img/bg-5.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    /* 如果页面有输入框，建议改用`position: fixed`布局*/
}

/* 中国结动态*/
.knot {
    position: absolute;
    top: 134.3333vw;
    left: 67.5667vw;
    width: 10vw;
    /* height: 30vw; */
    overflow: hidden;
    z-index: 100;
}

.knot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 输入框样式 */
.input-text-ai {
    position: absolute;
    top: 120.5333vw;
    left: 42.1333vw;
    width: 21.2667vw;
    height: 9.2667vw;
    background: transparent;
    border: none;
    outline: none;
    overflow: hidden;
    z-index: 100;
    color: #fff;
}

.input-text-ai input {
    width: 100%;
    height: 100%;
    font-size: 5.6667vw;
    font-family: 'STXINGKA', 'Microsoft YaHei', Arial, sans-serif;
    outline: none;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    /* 文本间隔 */
    letter-spacing: -0.2vw;
    text-align: right;
}

.input-text-ai input::placeholder {
    color: #fff;
    /* 文本间隔 */
    letter-spacing: -0.4vw;
    text-align: right;
    font-size: 5.33333vw;
}

/* 音乐控制按钮样式 */
.music-control {
    position: absolute;
    top: 5.3333vw;
    right: 5.3333vw;
    width: 11.7333vw;
    height: 11.7333vw;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 5.3333vw;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    user-select: none;
    transition: all 0.3s ease;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.music-control:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.music-control.paused {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 返回重选按钮样式 */
.back-button {
    position: absolute;
    top: 148vw;
    left: 35%;
    transform: translateX(-50%);
    padding: 2vw 5vw;
    background-color: rgba(255, 255, 255, 0.8);
    color: #c40f18;
    font-size: 4vw;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    border-radius: 25px;
    cursor: pointer;
    z-index: 200;
    transition: all 0.3s ease;
    user-select: none;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 分享按钮样式 */
.share-button {
    position: absolute;
    top: 148vw;
    right: 35%;
    transform: translateX(50%);
    padding: 2vw 5vw;
    background-color: rgba(255, 255, 255, 0.8);
    color: #c40f18;
    font-size: 4vw;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    border-radius: 25px;
    cursor: pointer;
    z-index: 200;
    transition: all 0.3s ease;
    user-select: none;
}

.share-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateX(50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}