﻿* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Standard syntax */
    margin: 0;
    padding: 0;
}
body {
    background-color: #fff;
}

a {
    color: #fff;
    text-decoration: none;
}

#div_container {
    position: relative;
    margin: 0 auto;
    width: 500px;
    font-size: 1em;
}

.div_pure_words {
    position: relative;
    display: none;
}

.div_pure_words_bg {
    width: 500px;
    min-height: 500px;
    background-size: 100%;
    background-repeat: repeat;
    background-attachment: fixed;
}

.div_pure_words_height {
    visibility: hidden;
    padding: 30px;
    color: #fff;
    text-align: justify;
    white-space: pre-wrap;
    font-size: 1.1em;
    font-family: "Microsoft YaHei", Arial;
}
/* 在 theme.css 文件的底部添加或修改以下代码 */
#heart-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 确保心形不会干扰其他元素的交互 */
    z-index: 1000;
}

.heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    transform: rotate(-45deg);
    animation: fall 5s linear infinite;
}

.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    border-radius: 50%;
}

.heart::before {
    top: -15px;
    left: 0;
}

.heart::after {
    top: 0;
    left: -15px;
}

@keyframes fall {
    0% {
        top: -50px;
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }
    25% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
        transform: rotate(-45deg) scale(1);
    }
}

/* 在 theme.css 文件的底部添加或修改以下代码 */
#heart-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 确保心形不会干扰其他元素的交互 */
    z-index: 1000;
}

.heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    transform: rotate(45deg); /* 调整为竖向 */
    animation: fall 5s ease-in-out infinite; /* 使用 ease-in-out 使下落更自然 */
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.8),
        0 0 40px rgba(255, 107, 107, 0.6),
        0 0 50px rgba(255, 107, 107, 0.4),
        0 0 60px rgba(255, 107, 107, 0.2); /* 增加多个层次的发光效果 */

}

.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ff6b6b;
    border-radius: 50%;
}

.heart::before {
    top: -15px;
    left: 0;
}

.heart::after {
    top: 0;
    left: -15px;
}

@keyframes fall {
    0% {
        top: -50px;
        opacity: 0;
        transform: rotate(45deg) scale(0.5) translateX(0);
    }
    25% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
        transform: rotate(45deg) scale(1) translateX(100vw);
    }
}
.div_pw_typed {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px;
    width: 500px;
    background: rgba(0, 0, 0, 0.562);
    text-align: justify;
}

#span_pw_typed {
    width: 100%;
    white-space: pre-wrap;
    font-size: 1.1em;
    font-family: "Microsoft YaHei", Arial;
    color: #e1f0ff;   
    text-shadow: 0 0 30px #0080ff, 0 0 30px #0080ff, 0 0 30px #0080ff;
    line-height: 2;
    text-decoration: underline;
    text-underline-offset: 10px;
}

#div_start_bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 44;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

#div_btn_inner {
    padding-left: 430px;
    width: 500px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

.div_btn {
    position: fixed;
    z-index: 999;
    width: 42px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 1em;
    line-height: 40px;
    cursor: pointer;
}

#div_music {
    top: 30px;
    border: none;
}


.div_record_tips {
    position: fixed;
    top: 140px;
    z-index: 999;
}

.div_btn_big {
    position: fixed;
    z-index: 999;
    padding: 10px 0;
    width: 52px;
    border-radius: 5px;
    background-color: rgba(0, 128, 255, 0.6);
    text-align: center;
    font-size: 1.1em;
    line-height: 1.3em;
    cursor: pointer;
}

#div_s_upload {
    top: 360px;
}


#div_s_choose {
    top: 520px;
}

#div_s_qa {
    top: 600px;
}

#div_onlyyou {
    position: relative;
    z-index: 666;
    display: none;
    width: 100%;
    background-size: 100%;
    background-repeat: repeat;
}

#div_oy_inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12% 10% 0 10%;
    width: 100%;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.511);
    text-align: center;
}

.div_oy_text {
    margin: 0 auto 60px auto;
    text-align: left;
    font-weight: 300;
    font-size: 1.1em;
}

.div_oy_text h1 {
    margin: 14px 0;
    font-size: 1.8em;
}

.div_oy_text p {
    margin: 14px 0;
}

.div_oy_text img {
    width: 100%;
    border-radius: 5px;
}

#ul_oy_benefit li {
    display: none;
    margin: 14px 0;
    color: #fff;
}

#ul_oy_benefit,
#ul_oy_btn {
    list-style: none;
}

#ul_oy_btn li {
    display: inline;
    margin: 20px 40px;
    padding: 10px 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 1.4em;
}

#div_oy_note,
#div_oy_yes {
    position: relative;
    display: none;
    margin: -60px auto;
    padding: 5% 0;
    width: 400px;
    height: 300px;
    border-radius: 5px;
    background-color: #fff;
    color: gray;
    text-align: center;
    font-size: 1.4em;
}
/* 在 theme.css 文件中找到 #div_oy_note img 选择器 */
#div_oy_note img {
    width: 220px; /* 设置你想要的宽度 */
    height: 220px; /* 设置你想要的高度 */
}
#div_oy_yes img {
    width: 240px; /* 设置你想要的宽度 */
    height: 240px; /* 设置你想要的高度 */
}
#div_oy_note_close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
}