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

@media (max-width: 768px) {
    body {
        width: 100%;
        height: 100vh;
        background: #fff;
        overflow: hidden;
    }
}

@media screen and (max-width: 3000px) and (min-width: 768px) {
    body {
        background: #fff;
        overflow: hidden;
        margin: 0 auto;
    }
    #app {
        padding-top: 40px;
        width: 350px;
        height: 100vh;
        background: #fff;
        margin: 50px auto 0;
    }
}

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.ssl_tips_container {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    width: 100%;
}

.ssl_tips {
    display: flex;
    align-items: center;
}

.ssl_logo {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDJMMTIuMDkgNy4yNkwxOCA4LjI3TDE0IDEyLjE0TDE0LjE4IDE4TDEwIDE1Ljc3TDUuODIgMThMNiAxMi4xNEwyIDguMjdMNy45MSA3LjI2TDEwIDJaIiBmaWxsPSIjMDBERjAwIi8+Cjwvc3ZnPgo=') no-repeat;
    background-position: center;
    background-size: contain;
}

.ssl_text {
    flex: 1;
    font-size: 14px;
    color: #999;
}

.jump_gif {
    width: 50%;
    max-width: 200px;
    margin: 50px auto 0;
}

.jump_gif img {
    width: 100%;
    height: auto;
    display: block;
}

.jump_text {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-top: 40px;
}

.jump_button_tips {
    text-align: center;
    color: #ccc;
    margin-top: 10px;
    font-size: 15px;
}

.jump_button {
    width: 200px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #fff;
    background: #0ccf67;
    border-radius: 22px;
    margin: 30px auto 0;
    font-size: 16px;
    font-weight: 500;
    animation: breathe 1.5s ease-in-out infinite;
    transform-origin: center;
    cursor: pointer;
    user-select: none;
}

.a-jump {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255,0,0,0);
    display: block;
}

.jump_button:active {
    opacity: 0.8;
    transform: scale(0.98);
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.powerby {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #ccc;
    font-size: 13px;
    text-align: center;
}

.icon {
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA1MCA1MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI1IDVMMzAuMjI1IDE4LjEyNUw0NSAyMC41TDM1IDEyLjVMNDAgMzBMMjUgMjMuNzVMMTAgMzBMMTUgMTIuNUw1IDIwLjVMMTkuNzc1IDE4LjEyNUwyNSA1WiIgZmlsbD0iIzk5OTk5OSIvPgo8L3N2Zz4K') no-repeat;
    margin: 100px auto 10px;
    background-position: center;
    background-size: 100%;
}

.error {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    padding: 15px 0;
    color: #ff4444;
}

/* 底部横幅样式 */
.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #4a4a4a;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    z-index: 1000;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bottom-banner.hidden {
    transform: translateY(100%);
}

.banner-icon {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    flex-shrink: 0;
}

.banner-icon-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-icon-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px, 15px 15px;
}

.banner-icon-text {
    font-size: 10px;
    color: #333;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    position: relative;
    z-index: 1;
    padding: 2px;
}

.banner-text {
    flex: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.banner-close {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.banner-close:hover,
.banner-close:active {
    opacity: 1;
}

.banner-close:focus {
    outline: none;
}

/* 调整powerby位置，避免与横幅重叠 */
.powerby {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #ccc;
    font-size: 13px;
    text-align: center;
}

@media screen and (max-width: 3000px) and (min-width: 768px) {
    .bottom-banner {
        width: 350px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 12px;
        bottom: 20px;
    }
    
    .bottom-banner.hidden {
        transform: translateX(-50%) translateY(calc(100% + 20px));
    }
    
    .powerby {
        bottom: 100px;
    }
}

