* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #000;
    overflow: hidden;
    color: white;
    position: relative;
    height: 100vh;
}



.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: none;
}

.bg-video.active {
    display: block;
}

.footer-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer-image img {
    width: 100%;
    height: auto;
    display: block;
}

.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 2;
}

.draggable-btn {
    position: absolute;
    z-index: 100;
    cursor: move;
    user-select: none;
    transition: transform 0.2s ease;
}

.draggable-btn:hover {
    transform: scale(1.1);
}

.draggable-btn.dragging {
    transform: scale(1.2);
    z-index: 1000;
}

.draggable-btn img {
    width: 6vw;
    height: 6vw;
    min-width: 40px;
    min-height: 40px;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

#btn1 {
    top: 30.5%;
    left: 45.2%;
}

#btn2 {
    top: 49.4%;
    left: 49.1%;
}

#btn3 {
    top: 74.8%;
    left: 37.6%;
}

#btn4 {
    top: 73.4%;
    left: 46.9%;
}

.position-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 12px;
    z-index: 2000;
    backdrop-filter: blur(10px);
    display: none;
}

.position-info.show {
    display: block;
}


.header {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 100;
}

.logo img {
    height: 60px;
}

.enter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.enter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.main-content {
    text-align: center;
    z-index: 10;
}

.version-info {
    margin-bottom: 20px;
}

.version-text {
    background: linear-gradient(45deg, #ff6b9d, #c471ed, #12c2e9);
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.version-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}


.main-title h1 {
    font-size: 72px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    letter-spacing: 2px;
}

.main-title h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: titleShine 3s infinite;
    pointer-events: none;
}

@keyframes titleShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


.download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.download-btn {
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.download-btn img {
    width: 20px;
    height: 20px;
}


.download-buttons-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 1500;
}


.download-image-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

#download-btn-1 {
    margin-top: -20px;
}

#download-btn-1 img {
    width: auto;
    height: 70px;
    display: block;
    transition: all 0.3s ease;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

/* #download-btn-2 {
    margin-left: 20px;
} */

/* #download-btn-3 {
    margin-left: 20px;
} */

.download-image-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.download-image-btn img {
    width: auto;
    height: 48px;
    display: block;
    transition: all 0.3s ease;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.review-button-container {
    position: absolute;
    bottom: 40px;
    right: 160px;
    z-index: 1500;
}

.review-gift-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-gift-icon:hover {
    transform: scale(1.1);
}

.review-gift-icon img {
    height: 120px;
    border-radius: 50%;
}

.avatar-toggle-group {
    position: absolute;
    right: 200px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.avatar-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 3px;
    background: transparent;
    border: 2px solid transparent;
    opacity: 0.8;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-item:hover {
    transform: scale(1.1);
    opacity: 1;
}

.avatar-item.active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    opacity: 1;
}

.avatar-item.active img {
    transform: translateX(-10px) scale(1.33);
    max-height: 75px;
}

.avatar-item img {
    border-radius: 8px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
    max-height: 75px;
}

.avatar-item.active img {
    filter: brightness(1.1) saturate(1.2);
}

.character-display {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 3;
}

.character-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

.character-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.character-info-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

.character-info {
    max-height: 35vh;
    max-width: 20vw;
    object-fit: contain;
}

/* 壁纸图片样式 */
.character-skin-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-skin {
    max-height: 25vh;
    max-width: 20vw;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.character-skin:hover {
    transform: scale(1.05);
}

.skin-modal {
    z-index: 4000;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

.skin-modal-container {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.skin-modal-image {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    display: block !important;
    margin: 0 auto !important;
    transition: opacity 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.skin-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none;
    outline: none;
}

.skin-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.skin-nav-prev {
    left: 20px;
    top: 50% !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
}

.skin-nav-next {
    right: 20px;
    top: 50% !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
}

.skin-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}




.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.video-modal {
    z-index: 9998 !important;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    pointer-events: auto;
}

/* 专门为壁纸模态框优化的样式 */
.skin-modal .modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
}

.modal-image-container {
    position: relative;
    display: inline-block;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.gift-modal-close-btn {
    position: absolute;
    top: 80px;
    right: 135px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3001;
    transform: translate(50%, -50%);
}

.gift-modal-close-btn:hover {
    transform: translate(50%, -50%) scale(1.1);
}

.message-modal-close-btn {
    position: absolute;
    top: 60px;
    right: 125px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3001;
    transform: translate(50%, -50%);
}

.message-modal-close-btn:hover {
    transform: translate(50%, -50%) scale(1.1);
}

.video-modal-container {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 80vh;
    pointer-events: auto;
}

.video-modal-container video {
    width: 100%;
    height: auto;
    max-width: 1200px;
    max-height: 80vh;
    object-fit: contain;
    background: #000;
}

.video-close-btn {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-close-btn:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.review-modal-container {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.review-modal-container h3 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

.review-modal-container textarea {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    padding: 12px;
    font-size: 14px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    resize: vertical;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.review-modal-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.review-modal-container textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.review-buttons {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    margin-top: 20px;
    position: relative;
    bottom: 85px;   
    left: -25px;
}

.review-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 80px;
}

.review-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.review-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.review-btn.primary {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.review-btn.primary:hover {
    background: linear-gradient(45deg, #5b52e6, #8b5cf6);
}

.review-btn-image {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.review-btn-image:hover {
    transform: scale(1.05);
}

.review-btn-image img {
    width: auto;
    height: auto;
    object-fit: contain;
}

#reviewMessage {
    display: none;
}

.review-message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

.review-message.success {
    color: #4ade80;
}

.review-message.error {
    color: #f87171;
}

.gift-icon {
    cursor: pointer;
}

.gift-icon:hover {
    transform: scale(1.1);
}


.side-elements {
    position: absolute;
    right: 180px;
    bottom: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 50;
}

.gift-icon, .event-banner {
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

.gift-icon:hover, .event-banner:hover {
    transform: scale(1.05);
}

.gift-icon img {
    /* width: 100px; */
    height: 120px; 
    border-radius: 50%;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
}

.event-banner {
    position: relative;
}

.event-banner img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.event-text {
    color: white;
    font-size: 10px;
    margin-top: 8px;
    text-align: center;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.bottom-left-info {
    position: absolute;
    bottom: 30px;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 50;
    /* background: rgba(0, 0, 0, 0.3); */
    padding: 15px;
    border-radius: 8px;
    /* backdrop-filter: blur(10px); */
}

.age-rating {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.age-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.age-badge {
    height: 100px;
    margin-bottom: 8px;
}

.play-button {
    display: flex;
    align-items: flex-start;
    margin-left: 0;
    /* margin-top: 20px; */
}

.play-button img {
    width: 120px;
    height: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.play-button img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.age-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.app-info {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-width: 350px;
}

.app-info p {
    margin-bottom: 4px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.continue-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.continue-hint p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

.legal-links-small {
    margin-top: 6px;
}

.legal-links-small a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-right: 4px;
    font-size: 10px;
    transition: color 0.3s ease;
}

.legal-links-small a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}


.footer {
    padding: 15px 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.legal-links {
    margin-bottom: 10px;
    font-size: 11px;
    opacity: 0.7;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 2px;
}

.legal-links a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    font-size: 10px;
    opacity: 0.6;
    line-height: 1.4;
}


.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.main-container {
    animation: fadeInUp 1s ease-out;
}

.orientation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.orientation-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 300px;
}

.orientation-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: rotate 2s ease-in-out infinite;
}

.orientation-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.orientation-content p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.8;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
}


@media (orientation: portrait) {
    .main-container {
        display: none !important;
    }
    
    .orientation-modal {
        display: flex !important;
    }
}

@media (min-width: 1800px) {
    .download-image-btn img {
        height: 55px; /* 大屏幕稍大一些 */
    }
}

@media (max-width: 1200px) {
    .download-image-btn img {
        height: 45px; /* 中等屏幕 */
    }
    
    .skin-modal .modal-content {
        max-width: 90vw;
        max-height: 90vh;
    }
    
    .skin-modal-image {
        max-width: 85vw;
        max-height: 85vh;
    }
}

@media (max-width: 900px) {
    .download-image-btn img {
        height: 42px; /* 小屏幕 */
    }
    
    .download-buttons-container {
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .main-title h1 {
        font-size: 48px;
    }
    
    .side-elements {
        right: 20px;
    }
    
    .bottom-left-info {
        left: 20px;
        bottom: 60px;
        flex-direction: column;
        gap: 10px;
    }
    
    .continue-hint {
        bottom: 6px;
    }
    
    .continue-hint p {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .skin-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .skin-nav-prev {
        left: 15px;
    }
    
    .skin-nav-next {
        right: 15px;
    }
    
    .skin-indicator {
        bottom: 15px !important;
        font-size: 13px !important;
        padding: 6px 14px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        -webkit-transform: translateX(-50%) !important;
        -moz-transform: translateX(-50%) !important;
        -ms-transform: translateX(-50%) !important;
        position: absolute !important;
        margin: 0 !important;
        right: auto !important;
    }
    
    .footer {
        padding: 15px 20px;
    }
    
    
    .download-btn {
        min-width: 150px !important;
        font-size: 12px !important;
    }
    
         .draggable-btn img {
        width: 8vw;
        height: 8vw;
        min-width: 35px;
        min-height: 35px;
        max-width: 40px;
        max-height: 40px;
    }
    
    
    .download-buttons-container {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 12px;
    }

    .download-image-btn img {
        height: 38px; /* 平板尺寸 */
    }

    .avatar-toggle-group {
        right: 160px;
        gap: 10px;
    }

    .avatar-item img {
        max-height: 75px;
    }

    .avatar-item.active img {
        transform: translateX(-6px) scale(1.33);
        max-height: 75px;
    }

    .character-display {
        left: 25%;
        gap: 15px;
    }

    .character-info {
        max-height: 28vh;
        max-width: 18vw;
    }

    .character-skin {
        max-height: 22vh;
        max-width: 18vw;
    }
}

@media (max-width: 480px) {
    .main-title h1 {
        font-size: 36px;
    }
    
    .download-btn {
        min-width: 140px !important;
        font-size: 11px !important;
    }
    
         .draggable-btn img {
        width: 10vw;
        height: 10vw;
        min-width: 30px;
        min-height: 30px;
        max-width: 30px;
        max-height: 30px;
    }
    
    
        .download-buttons-container {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
    }

    .download-image-btn img {
        height: 35px; /* 手机尺寸 */
    }

    .avatar-toggle-group {
        right: 120px;
        gap: 10px;
    }

    .avatar-item img {
        max-height: 75px;
    }

    .avatar-item.active img {
        transform: translateX(-5px) scale(1.33);
        max-height: 75px;
    }

    .character-display {
        left: 30%;
        flex-direction: column;
        gap: 10px;
    }

    .character-info {
        max-height: 25vh;
        max-width: 35vw;
    }

    .character-skin {
        max-height: 20vh;
        max-width: 35vw;
    }
    
    .skin-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .skin-nav-prev {
        left: 10px;
    }
    
    .skin-nav-next {
        right: 10px;
    }
    
    .skin-indicator {
        bottom: 10px !important;
        font-size: 12px !important;
        padding: 6px 12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        -webkit-transform: translateX(-50%) !important;
        -moz-transform: translateX(-50%) !important;
        -ms-transform: translateX(-50%) !important;
        position: absolute !important;
        margin: 0 !important;
        right: auto !important;
    }
    
    .continue-hint {
        bottom: 4px;
    }
    
    .continue-hint p {
        font-size: 10px;
        padding: 2px 6px;
    }
}

.message-board-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    padding: 120px 180px 80px 120px;
    box-sizing: border-box;
    pointer-events: auto;
}

.message-list-section {
    position: relative;
    top: -30px;
    left: 50px;
    flex: 0.6;
    display: flex;
    flex-direction: column;
    /* background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.15) 0%, 
        rgba(138, 43, 226, 0.1) 50%, 
        rgba(255, 215, 0, 0.05) 100%); */
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* backdrop-filter: blur(10px); */
    padding: 15px;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); */
}

.message-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding-right: 8px;
}

.message-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(240, 248, 255, 0.85) 100%);
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.1), 
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}





.message-item:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(235, 245, 255, 0.9) 100%);
    transform: translateY(-2px);
    border-color: rgba(74, 144, 226, 0.5);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.message-username {
    color: #635edb;
    font-weight: bold;
    font-size: 14px;
}

.message-text {
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    padding-right: 20px;
}

.message-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 6px;
    border-radius: 4px;
}

.action-button:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: scale(1.05);
}

.action-button img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.action-count {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    min-width: 12px;
}

.message-list::-webkit-scrollbar {
    display: none;
}

.message-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.message-input-section {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    left: 50px;
    top: 70px;
    padding: 20px;
    background: transparent;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
}



.message-input-section h3 {
    color: #2c3e50;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(74, 144, 226, 0.1);
    background: linear-gradient(135deg, #4a90e2 0%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.message-input-section textarea {
    flex: 1;
    padding: 16px 18px;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    line-height: 3;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
    background: transparent;
    min-height: 100px;
    max-width: 450px;
    font-family: inherit;
    box-shadow: none;
    color: #5b5c78;
}

.message-input-section textarea:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.message-input-section textarea::placeholder {
    color: #5b5c78;
}

@media (max-width: 768px) {
    .message-board-overlay {
        flex-direction: column;
        gap: 15px;
        padding: 80px 50px 60px 50px;
    }
    
    .message-list-section,
    .message-input-section {
        flex: none;
    }
    
    .message-list-section {
        height: 50%;
    }
    
    .message-input-section {
        height: 40%;
    }
}

@media (max-width: 480px) {
    .message-board-overlay {
        padding: 60px 40px 50px 40px;
        gap: 10px;
    }
    
    .message-list-section h3,
    .message-input-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .message-item {
        padding: 8px 10px;
        font-size: 13px;
        margin-bottom: 6px;
    }
}

.pages-container {
    height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: none;
}

.pages-container::-webkit-scrollbar {
    display: none;
}

.page {
    width: 100vw;
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
}

.page:not(.page-5) {
    height: 100vh;
    overflow: hidden;
}

.page-1 {
}

.page-2 {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-3 {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-4 {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-5 {
    background: #000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    min-height: auto;
    height: auto;
    overflow: visible;
}

.page-bg-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.page-5 footer {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 30px 0;
    box-sizing: border-box;
}

.page-5 .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.skin-modal * {
    box-sizing: border-box !important;
}

.skin-modal .skin-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    -webkit-transform: translateY(-50%) !important;
    -moz-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.skin-modal .skin-nav-prev {
    left: 20px !important;
    right: auto !important;
}

.skin-modal .skin-nav-next {
    right: 20px !important;
    left: auto !important;
}

.skin-modal .skin-indicator {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    -webkit-transform: translateX(-50%) !important;
    -moz-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* 强制重置可能的浏览器默认样式 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .skin-modal .skin-indicator {
        -webkit-transform: translateX(-50%) !important;
    }
    .skin-modal .skin-nav-btn {
        -webkit-transform: translateY(-50%) !important;
    }
}

/* Firefox 特定修复 */
@-moz-document url-prefix() {
    .skin-modal .skin-indicator {
        -moz-transform: translateX(-50%) !important;
    }
    .skin-modal .skin-nav-btn {
        -moz-transform: translateY(-50%) !important;
    }
}

/* IE/Edge 特定修复 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .skin-modal .skin-indicator {
        -ms-transform: translateX(-50%) !important;
    }
    .skin-modal .skin-nav-btn {
        -ms-transform: translateY(-50%) !important;
    }
}

/* Footer 样式 */
footer {
    background: #000;
    color: #fff;
    padding: 40px 0;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.footer-logo-images {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    margin-right: 15px;
}

.footer-logo h1 {
    margin: 0;
    display: inline-block;
}

.footer-logo .game-logo {
    height: 40px;
}

.footer-info {
    flex: 1;
    text-align: left;
}

.footer-info > div {
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-protocol a {
    color: #ccc;
    text-decoration: none;
    margin: 0 2px;
    font-size: 12px;
}

.footer-protocol a:hover {
    color: #fff;
}

.advice-info {
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.inline-info {
    display: inline;
}

.footer-filing-content {
    display: inline;
}

.footer-filing-item {
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
}

.footer-filing-item:hover {
    color: #fff;
}

.split-line {
    color: #ccc;
    margin: 0 5px;
}

.footer-filing-tip span {
    color: #ccc;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.footer-tip,
.guanai-phone,
.mihoyo-copyright,
.complaint-phone {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.mihoyo-copyright {
    font-weight: bold;
}

.social-media {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}

.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calendar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.calendar-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.calendar-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.4));
}

.calendar-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.calendar-modal-container {
    position: relative;
    display: inline-block;
    max-width: 95vw;
    max-height: 95vh;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.calendar-modal-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.calendar-modal-close-btn {
    position: fixed;
    top: 170px;
    right: 360px;
    width: auto;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 5001;
}

.calendar-modal-close-btn:hover {
    transform: scale(1.1);
}

.page-3 .calendar-nav {
    position: absolute;
    left: 120px;
    top: 35%;
    transform: translateY(-50%) scale(0.5);
    width: auto;
    height: auto;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.page-3 .calendar-nav:hover {
    transform: translateY(-50%) scale(0.5);
}

.page-2 .character-nav {
    position: absolute;
    left: 120px;
    top: 35%;
    transform: translateY(-50%) scale(0.5);
    width: auto;
    height: auto;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.page-2 .character-nav:hover {
    transform: translateY(-50%) scale(0.5);
}

.page-4 .feature-nav {
    position: absolute;
    left: 120px;
    top: 35%;
    transform: translateY(-50%) scale(0.5);
    width: auto;
    height: auto;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.page-4 .feature-nav:hover {
    transform: translateY(-50%) scale(0.5);
}

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gallery-main {
    position: relative;
    display: inline-block;
}

.gallery-image {
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
    display: block;
}

.gallery-sub-image {
    position: absolute;
    top: calc(50% + 240px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    z-index: 3;
    display: block;
    opacity: 1;
}

.gallery-buttons {
    position: absolute;
    top: calc(50% + 340px);
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    z-index: 4;
}

.gallery-btn {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.gallery-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.gallery-nav-btn {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    z-index: 10;
}

.gallery-prev-btn {
    left: calc(50% - 500px);
}

.gallery-next-btn {
    right: calc(50% - 500px);
}

.gallery-nav-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-5 footer {
        padding: 20px 0;
    }
    
    .footer-logo img {
        height: 28px;
        margin-right: 10px;
    }
    
    .footer-logo .game-logo {
        height: 32px;
    }
    
    .footer-protocol a {
        font-size: 11px;
        margin: 0 1px;
    }
    
    .advice-info,
    .footer-filing-item,
    .footer-filing-tip span,
    .footer-tip,
    .guanai-phone,
    .mihoyo-copyright,
    .complaint-phone {
        font-size: 11px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .calendar-image {
        width: auto;
        height: auto;
        max-width: 90%;
        max-height: 70vh;
    }
    
    .calendar-modal-close-btn {
        width: auto;
        height: auto;
        top: 70px;
        right: -30px;
    }
    
    .calendar-modal-image {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .calendar-modal-container {
        max-width: 95vw;
        max-height: 85vh;
        background: none !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .page-3 .calendar-nav {
        left: 40px;
        top: 30%;
        transform: translateY(-50%) scale(0.45);
    }
    
    .page-3 .calendar-nav:hover {
        transform: translateY(-50%) scale(0.45);
    }
    
    .page-2 .character-nav {
        left: 40px;
        top: 30%;
        transform: translateY(-50%) scale(0.45);
    }
    
    .page-2 .character-nav:hover {
        transform: translateY(-50%) scale(0.45);
    }
    
    .page-4 .feature-nav {
        left: 40px;
        top: 30%;
        transform: translateY(-50%) scale(0.45);
    }
    
    .page-4 .feature-nav:hover {
        transform: translateY(-50%) scale(0.45);
    }
    
    .gallery-sub-image {
        position: absolute;
        top: calc(50% + 180px);
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
    }
    
    .gallery-buttons {
        top: calc(50% + 260px);
        gap: 15px;
    }
    
    .gallery-btn {
        width: 60px;
        height: 60px;
    }
    
    .gallery-btn:hover {
        transform: scale(1.1);
    }
    
    .gallery-image {
        width: auto;
        height: auto;
        max-width: 90vw;
        max-height: 60vh;
    }
    
    .gallery-sub-image {
        width: auto;
        height: auto;
        max-width: 80vw;
        max-height: 20vh;
    }
    
    .gallery-nav-btn {
        width: auto;
        height: auto;
        max-width: 30px;
        max-height: 30px;
    }
    
    .gallery-prev-btn {
        left: calc(50% - 150px);
    }
    
    .gallery-next-btn {
        right: calc(50% - 150px);
    }
}


