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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 添加常用的通用样式 */
a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input, button, textarea {
    outline: none;
    border: none;
    background: none;
}

/* 防止移动端点击出现蓝色背景 */
a, button, input, textarea {
    -webkit-tap-highlight-color: transparent;
}

.bg {
    width: 100%;
    object-fit: cover;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 120%;
    padding:0 0.875rem 0  0.75rem;
}

.service img{
    width: 2.5rem;
    height: 2.625rem;
    object-fit: cover;
}

.btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    height: 2.375rem;
}

#pwa-btn {
    margin-left: 0.75rem;
    background: linear-gradient(180deg, #71DCBC 0%, #0F8C66 100%);
}

#apk-btn {
    margin-left: 0.5rem;
    position: relative;
    background: linear-gradient(180deg, #78AAF6 0%, #3362CE 100%);
}

.reward-number {
    position: absolute;
    top: -0.75rem;
    right: 1.875rem;
    width: 4.5rem;
}
.reward-box {
    position: absolute;
    top: -1.5rem;
    right: -0.25rem;
    width: 2rem;
    animation: tada 1.5s infinite;
}

@keyframes tada {
    from {
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    to {
        transform: scale3d(1, 1, 1);
    }
}
