/* 基础样式重置 */

body {
    overflow: hidden; /* 初始状态禁止滚动 */
}

@font-face {
	font-family: pangmen;
	src: url(/wp-content/uploads/et-fonts/PangMen.TTF);
}

/* 遮挡层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prize-social {
    display: none;
	padding: 6.51vw 0 5.99vw 0;
	text-align: center;
	background: url('/wp-content/uploads/2025/07/BT200_42.webp') no-repeat top center;
	background-size: cover;
}
.prize-social.show {
    display: block;
}
.socialImg1 {
	width: 25.31vw;
}
.socialImg2 {
	width: 6.66vw;
	margin-left: 1.3vw;
    animation: bounce 2s ease-in-out infinite;
}
/* 弹框基础样式 */
.modal {
    position: absolute;
    border-radius: 15px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* A弹框样式 */
.modal-a {
    background: transparent;
    color: white;
}

/* A弹框容器样式 */
.modal-a-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* A弹框背景图片样式 */
.modal-a-bg-image {
    position: relative;
    max-width: 50vw;
    height: auto;
    display: block;
}

.welcome-gif {
    position: absolute;
    top: 5.2vw;
    bottom: 7.29vw;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    max-width: calc(100% - 10.41vw);
    max-height: calc(100% - 12.49vw);
    object-fit: contain;
}

.start-btn {
    background: url('/wp-content/uploads/2025/07/BT200_20.webp') no-repeat center center;
    background-size: contain;
    color: white;
    border: none;
    width: 23.7vw;
    height: 8.85vw;
    font-size: 3.9vw;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
}

.start-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 弹框B容器样式 */
.modal-b-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 弹框B背景图片样式 */
.modal-b-image {
    position: relative;
    max-width: 50vw;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 弹框B表单覆盖层样式 */
.modal-b-form {
    position: absolute;
    top: 7.5vw;
    left: 8vw;
    right: 8.8vw;
    bottom: 9.53vw;
    display: flex;
    flex-direction: column;
    font-family: PoppinsRegular;
    z-index: 10;
}

.form-group-title {
    font-size: 1.56vw;
    line-height: 1.56vw;
    margin-bottom: 0.93vw;
    font-family: PoppinsRegular;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.verification-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.verification-group input {
    flex: 1;
}

.modal-b input {
    font-family: pangmen;
    height: 3.75vw;
    padding: 0 2.08vw;
    background-color: transparent;
    border: 1px solid #8a47ce;
    border-radius: 8px;
    font-size: 1.56vw;
    color: #fff;
    transition: border-color 0.3s ease;
}

.email {
    margin: 2.44vw 0;
}

.modal-b input:focus {
    outline: none;
    border-color: #667eea;
}

input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus {
    color: #fff;
}

.modal-b input.error {
    border-color: #e74c3c;
}

.modal-b input.success {
    border-color: #27ae60;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    display: none;
    line-height: 15px;
}

.error-message.show {
    display: block;
}

.send-code-btn {
    background: url('/wp-content/uploads/2025/07/BT200_19.webp') no-repeat center center;
    background-size: cover;
    color: white;
    border: none;
    width: 8.33vw;
    height: 3.75vw;
    font-size: 1.04vw;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.send-code-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.send-code-btn:disabled {
    filter: grayscale(1) brightness(0.7);
    cursor: not-allowed;
    transform: none;
}

.send-code-btn.countdown {
    filter: grayscale(0.5) brightness(0.8);
    cursor: not-allowed;
    transform: none;
}

/* 弹框B提交按钮样式 - 位于图片外部 */
.modal-b-submit-btn {
    background: url(/wp-content/uploads/2025/07/BT200_20.webp) no-repeat center center;
    background-size: contain;
    color: white;
    border: none;
    font-family: pangmen;
    font-size: 3.9vw;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 16vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-b-submit-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.modal-b-submit-btn:disabled {
    filter: grayscale(1) brightness(0.7);
    cursor: not-allowed;
    transform: none;
}

/* 废弃的C弹框样式已移除 */

/* 中奖弹框样式 */
.win-modal {
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.win-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.win-prize-image {
    width: 35vw;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.claim-btn {
    background: transparent url(/wp-content/uploads/2025/07/BT200_20.webp) no-repeat center;
    background-size: contain;
    color: #fff;
    border: none;
    width: 20vw;
    height: 8vw;
    font-family: 'pangmen';
    font-size: 2.5vw;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.claim-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* 地址表单样式 */
.address-modal {
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.address-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}

.address-container {
    position: relative;
    display: inline-block;
}

.address-bg-image {
    width: 35vw;
}

.address-form {
    position: absolute;
    top: 6.5vw;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1vw;
    z-index: 2;
}

.address-form input {
    font-family: pangmen;
    height: 2.05vw;
    padding: 0 2.08vw;
    background-color: transparent;
    border: 1px solid #8a47ce;
    border-radius: 8px;
    font-size: 1.25vw;
    color: #fff;
    transition: border-color 0.3s ease;
}

.address-form input:focus {
    outline: none;
    border-color: #667eea;
}

.address-form input.error {
    border-color: #e74c3c;
}

.address-form input.success {
    border-color: #27ae60;
}

.address-rules {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    color: #333;
    font-size: 0.7vw;
    line-height: 0.7vw;
    text-align: center;
    z-index: 2;
    color: #84e4ff;
    font-family: PoppinsBold;
}

.address-rules div {
    margin-bottom: 0.5vw;
}

.address-submit-btn {
    background: transparent url('/wp-content/uploads/2025/07/BT200_20.webp') no-repeat center;
    background-size: contain;
    color: #fff;
    font-family: 'pangmen';
    font-size: 2.5vw;
    border: none;
    width: 20vw;
    height: 8vw;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 20px;
}

.address-submit-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* 废弃的成功弹框样式已移除 */

/* 弹框动画 */
.modal-scale-in {
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-scale-out {
    animation: scaleOut 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

@keyframes scaleIn {
    from {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    to {
        transform: scale(0.3);
        opacity: 0;
    }
}

/* 主要内容区域 */

/* 游戏区样式 */
.game-section {
    position: relative;
    text-align: center;
    min-height: 32.76vw; /* 固定最小高度，基于产品图片的padding计算 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 背景图片样式 */
/* 背景图片和视频通用样式 */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* 背景视频特定样式 */
video.background-image {
    background-color: #000;
}



/* 确保产品容器在背景图片和视频之上 */
.game-section .product-container {
    position: relative;
    z-index: 1;
}

.product-container {
    position: relative;
    display: inline-block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
}

.product-image {
    padding: 4.01vw 0 0 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 产品图片拼接网格布局 */
.product-image-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.product-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    line-height: 0;
}

.product-part {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* 确保第一行（单张图片）居中 */
.product-row.row-1 {
    justify-content: center;
}

/* 确保其他行（两张图片）紧密排列 */
.product-row.row-2,
.product-row.row-3,
.product-row.row-4 {
    justify-content: flex-start;
    align-items: flex-start;
}
.product-row.row-3 {
    margin: -3.021vw 0 -1.458vw -0.573vw;
}
.product-row.row-4 {
    margin-left: -0.573vw;
}
.part27 {
    margin-bottom: -0.156vw;
    width: 5.833vw;
}
.part28 {
    margin-right: -0.729vw;
    width: 7.083vw;
}
.part29 {
    margin-left: -0.729vw;
    width: 6.25vw;
}
.part30 {
    margin-right: -0.677vw;
    width: 5.521vw;
}
.part31 {
    margin-left: -0.677vw;
    padding-top: 1.667vw;
    width: 7.083vw;
}
.part32 {
    margin-right: -0.573vw;
    width: 6.771vw;
}
.part33 {
    margin-left: -0.573vw;
    width: 5.625vw;
}

/* 废弃的产品图片disabled状态样式已移除，使用clicked-part替代 */

/* 已点击的产品图片部分样式 */
.product-part.clicked-part {
    opacity: 0.6;
    filter: grayscale(100%);
    pointer-events: none;
    cursor: default;
}

/* 产品图片悬停光标效果 */
.product-part:hover {
    cursor: url('/wp-content/uploads/2025/07/BT200_37.webp'), auto;
}

/* 已点击的产品图片部分不显示悬停光标 */
.product-part.clicked-part:hover {
    cursor: default;
}

/* 预加载自定义光标图片 */
body::after {
    content: '';
    position: absolute;
    left: -9999px;
    background-image: url('/wp-content/uploads/2025/07/BT200_37.webp');
    width: 1px;
    height: 1px;
}

/* 已点击的产品图片部分不显示自定义光标 */
.product-part.clicked-part:hover {
    cursor: default;
}

/* 预加载自定义光标图片 */
body::after {
    content: '';
    position: absolute;
    left: -9999px;
    background: url('/wp-content/uploads/2025/07/BT200_37.webp');
    width: 1px;
    height: 1px;
}

/* D图样式 */
.d-image-container {
    display: flex;
    justify-content: center;
    padding: 0 0 6.4vw 22vw;
}

.d-image {
    width: 8.23vw;
    height: auto;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

/* D图跳动动画 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 废弃的游戏动画样式已移除 */

/* 卖点卡片遮挡层 */
.selling-point-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    z-index: 1000;
    display: none;
}

/* 禁止滚动样式 */
.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

/* 卖点卡片样式 */
.selling-point-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1001;
    animation: cardAppear 0.5s ease-out;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 卡片图片样式 */
.card-image {
    max-width: 30vw;
    margin-bottom: 1vw;
}

/* NEXT按钮样式 */
.next-btn {
    background: url('/wp-content/uploads/2025/07/BT200_18.webp') no-repeat center center;
    background-size: contain;
    color: white;
    border: none;
    padding: 5vw;
    font-size: 1.9vw;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.next-btn:hover {
    transform: scale(1.05);
}

/* 奖品展示区样式 */
.prize-section {
    padding: 5.72vw 0 7.55vw 0;
    background: url("/wp-content/uploads/2025/07/BT200_02.webp") top center;
    background-size: cover;
    text-align: center;
}

.prizes-container {
    display: flex;
    justify-content: center;
}
.mPrizes-container {
    display: none;
}
.prizeImg0 {
	width: 30.52vw;
}
.prizeImg1 {
	width: 30.83vw;
}
.prizeImg {
    width: 34.58vw;
	margin: 0.83vw -7.04vw 0 -6.56vw;
}

/* 获奖者名单样式 */
.winners-section {
    text-align: center;
    background: url(/wp-content/uploads/2025/07/BT200_03.webp) no-repeat top center;
    background-size: cover;
    padding: 5.72vw 0 4.94vw 0;
}

.winnersPos {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	/*min-height: 400px;*/
}
.winnersAbs {
	position: absolute;
	top: 5.2vw;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: calc(100% - 10.4vw);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.winners-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #828bc7;
    flex-shrink: 0;
    font-family: PoppinsMedium;
    font-size: 1.45vw;
    line-height: 2.03vw;
}

.header-item {
	flex: 1;
	text-align: center;
}

.winners-container {
	width: 100%;
	margin-bottom: 10px;
	flex-shrink: 0;
}

.winners-rule {
    font-family: PoppinsMedium;
    font-size: 1.25vw;
    line-height: 2.08vw;
	flex-shrink: 0;
    color: #83e3ff;
}

/* 获奖名单滚动模式样式 */
.winnersAbs.scroll-mode {
    height: calc(100% - 15.4vw);
    display: flex;
    flex-direction: column;
}

.winnersAbs.scroll-mode .winners-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.winnersAbs.scroll-mode .winners-rule {
    flex-shrink: 0;
    padding: 10px;
    margin-top: 10px;
}

.winners-scroll-content {
    animation: scrollUp 30s linear infinite;
    display: flex;
    flex-direction: column;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 响应式滚动模式 */
@media (max-width: 768px) {
    .winnersAbs.scroll-mode .winners-rule {
        font-size: 2vw;
        line-height: 3vw;
        padding: 15px 10px;
    }
    
    .winners-scroll-content {
        animation-duration: 25s;
    }
}

.winner-item {
    font-family: PoppinsRegular;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3vw;
    line-height: 1.3vw;
    background-color: #4b1983;
    margin-bottom: 0.93vw;
    color: #fff;
}

.winner-email {
    flex: 1;
    text-align: center;
    padding: 0 8px;
}

.winner-level {
    flex: 1;
    text-align: center;
    background-image: url(/wp-content/uploads/2025/07/BT200_11.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    height: 4.47vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner-prize {
    flex: 1;
    text-align: center;
    padding: 0 8px;
}

/* 消息提示样式 */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.message-toast.show {
    transform: translateX(0);
}

.message-toast.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.message-toast.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.message-toast.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.message-toast.info {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 允许滚动 */
.allow-scroll {
    overflow: auto !important;
}
/* 响应式设计 */
@media (max-width: 768px) {
    /* 废弃的决赛圈弹框响应式样式已移除 */
    .modal-b-image {
        max-width: 90vw;
    }
    #verification_code {
        width: 40vw;
    }
    .email {
        margin: 0;
    }
    .win-prize-image {
        width: 90vw;
    }
    .prize-social {
        padding: 16.5vw 0 16vw 0;
    }
    .socialImg1 {
        width: 50vw;
    }
    .socialImg2 {
        width: 15vw;
    }
    .prizes-container {
        display: none;
    }
    .mPrizes-container {
        display: grid;
        justify-items: center;
    }
    .prizes-container img {
        width: 100% !important;
    }
    .claim-btn {
        width: 30vw;
        height: 12vw;
    }
    .address-bg-image {
        width: 95vw;
    }
    .address-form {
        gap: 2vw;
        width: 80%;
        top: 17vw;
    }
    .address-form input {
        height: 6vw;
        padding: 0 4vw;
        font-size: 3vw;
    }
    .address-rules {
        font-size: 1.8vw;
        line-height: 2.5vw;
        width: 80%;
    }
    .address-submit-btn {
        width: 30vw;
        height: 12vw;
    }
    .product-image {
        width: 60vw;
    }
    .d-image {
        width: 10vw;
    }
    .d-image-container {
        margin: 0 0 0 2.5vw; /* 移动端自适应间距 */
        padding: 0 0 5.4vw 22vw;
    }
    .modal-a-bg-image {
    	max-width: 90vw;
    }
    .winner-item {
        font-size: 2.1vw;
        line-height: 2.1vw;
    }
    /* 废弃的游戏动画响应式样式已移除 */
    .card-image {
        max-width: 90vw;
    }
    .message-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    .message-toast.show {
        transform: translateY(0);
    }
    .modal-b-form {
        top: 15vw;
        left: 15vw;
        right: 15vw;
        bottom: 15vw;
        gap: 10px;
    }
    .form-group-title {
        font-size: 3vw;
        line-height: 3vw;
        margin-bottom: 2vw;
    }
    .modal-b input {
        height: 6vw;
        font-size: 3vw;
        padding: 0 3vw;
    }
    .send-code-btn {
        width: 16.67vw;
        height: 6vw;
        font-size: 2.5vw;
    }
    .modal-b-submit-btn, .next-btn {
        width: 40vw;
        padding: 3vw;
        font-size: 4vw;
        margin-top: 15px;
    }
}