* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.app-info {
    margin-top: 100px;
    margin-bottom: 150px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

p {
    color: #666;
    font-size: 16px;
}

.download-section {
    max-width: 280px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #8A70FF;  /* 使用紫色主题 */
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.platform-icon {
    width: 24px;
    height: 24px;
}

.download-btn:hover {
    background-color: #7559FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 112, 255, 0.2);
}

.wave-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.wave-bg svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(1);  /* 增大缩放比例 */
}

.sub-download-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.sub-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #666;
    border: none;
    padding: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.sub-download-btn .platform-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.sub-download-btn:hover {
    color: #333;
}

.sub-download-btn:hover .platform-icon {
    opacity: 1;
}

.region-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    opacity: 0; /* 默认隐藏 */
    transition: opacity 0.3s;
}

.region-switch.visible {
    opacity: 1;
}

.region-btn {
    background: transparent;
    border: 1px solid #8A70FF;
    color: #8A70FF;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.region-btn:hover {
    background: rgba(138, 112, 255, 0.1);
}

.region-btn.active {
    background: #8A70FF;
    color: white;
}

.wechat-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    /* display: flex; */
    justify-content: right;
    /* align-items: center; */
}

.guide-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.guide-main {
    width: 90%;
    max-width: 300px;
}

.guide-know {
    width: 120px;
    cursor: pointer;
}

/* 替换加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.gradient-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1.5s linear infinite;
}

.gradient-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #8A70FF 0%,
        #B4A0FF 25%,
        #D5C8FF 50%,
        #B4A0FF 75%,
        #8A70FF 100%
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}

.loading-text {
    color: #8A70FF;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
} 