/* 首页动画样式 */
.fade-in { animation: fadeIn 0.8s ease-in-out; }
.slide-in { animation: slideIn 0.8s ease-in-out; }
.zoom-in { animation: zoomIn 0.8s ease-in-out; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#main-content-wrapper {
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}
#logoImageWrapper, #titleImageWrapper, #subtitleImageWrapper, #enterImageWrapper, #themeImageWrapper, #organizerImageWrapper, #timeImageWrapper {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none;
    z-index: 10;
}
#logoImageWrapper img, #titleImageWrapper img, #subtitleImageWrapper img, #enterImageWrapper img, #themeImageWrapper img, #organizerImageWrapper img, #timeImageWrapper img {
    z-index: 11;
    pointer-events: auto;
}
.content-area {
    position: relative;
    z-index: 20;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    background: #f8f9fa;
}

/* 去掉图片按钮的高亮效果和点击变暗效果 */
img, img:active, img:focus {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* 移除按钮的点击变暗效果 */
.lottery-top-btns img,
.lottery-top-btns img:active,
.lottery-top-btns img:focus,
.lottery-top-btns img:hover {
    opacity: 1 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* 移除开始答题按钮的点击变暗效果 */
#enterImageWrapper img,
#enterImageWrapper img:active,
#enterImageWrapper img:focus,
#enterImageWrapper img:hover {
    opacity: 1 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.home-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

#homeSection {
    position: relative;
    min-height: 600px; /* 根据实际高度调整 */
}

.home-section img {
    box-sizing: border-box;
    /* outline: 1px solid #eee; // 调试用 */
}

.home-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 5%;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #222;
    width: 90vw;
    z-index: 20;
}

.home-desc {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 12%;
    text-align: center;
    color: #666;
    margin: 0;
    width: 90vw;
    z-index: 20;
}

.home-btns {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
    display: flex;
    justify-content: center;
    gap: 18px;
    width: 90vw;
    z-index: 30;
}

.home-btn {
    padding: 12px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg,#ffe066,#ffd700);
    color: #b71c1c;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.home-btn:hover {
    background: linear-gradient(90deg,#ffd700,#ffc107);
    color: #b71c1c;
}

#wechat-only-message {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: #fff;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#wechat-only-message p {
    font-size: 1.2rem;
    color: #333;
    margin: 12px 0;
}


.lottery-top-btns {
    position: absolute;
    top: 5vh;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
    right: 0%;
}
.lottery-top-btns img {
    width: 15vw;
    height: auto;
    right: 0%;
    cursor: pointer;
}