

body {
    background-color: #f2f2f2;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.arrow {
    margin-left: 8px;
    width: 12px; height: 12px;
    transition: transform 0.3s ease;
    font-size: 12px;
}

/* 当菜单激活时箭头向上 */
.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-btn {
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 6px 14px;
    height: 32px;
    /*line-height: 20px;*/
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    transition: background-color 0.3s;
    color: #3b4861;
}
.dropdown-btn .text {
    line-height: 20px;
}

.dropdown-btn:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
    opacity: 0;
    right: 0;
    top: 40px;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown-content a {
    color: #333;
    padding: 12px 18px;
    text-decoration: none;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}
.dropdown-content a .active-dot {
    width: 6px;
    height: 6px;
    background-color: #1a202c;
    border-radius: 3px;
}
.dropdown-content a.active {
    font-weight: bold;
}
.dropdown-content a:first-child {
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.dropdown-content a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-content a:hover {
    background-color: #f5f7fa;
}

/* 点击显示下拉菜单 */
.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.page {
    height: 100vh;
    min-height: 800px;
}

.page1 {
    background-position: 0% 50%;
    background: linear-gradient(45deg, #3ac8f8, #92dbe8, #92b7e8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.page1 .logo {
    padding: 10px;
    background-color: white;
    border-radius: 20px;
}

.page1 .logo img {
    width: 120px;
    height: 120px;
}

.page1 header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 25px;
    display: flex;
    justify-content: end;
}

.page1 .brand {
    padding: 50px 30px;
    color: white;
    font-size: 46px;
}
@media (max-width: 768px) {
    .page1 .brand {
        padding: 50px 30px;
        color: white;
        font-size: 46px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.page1 .brand .app-name {
    font-family: "RpbotoBold", sans-serif;
}

.page1 .brand .text {
    font-size: 34px;
    font-family: sans-serif;
}
.page1 .update-history {
    font-size: 14px;
    color: #2a3237;
    padding: 0 30px;
    margin-bottom:50px;
}
.page1 .update-history span {
    font-weight: bold;
}
.page1 .to-download:link, .page1 .to-download:active, .page1 .to-download:visited {
    text-decoration: none;
    color: white;
}
.page1 .download {
    display: block;
    padding: 0 26px;
    background-color: #222222;
    color: #ffffff;
    font-size: 16px;
    border-radius: 26px;
    border: 0;
    height: 50px;
    line-height: 50px;
    min-width: 150px;
    outline: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color .5s;
}
.page1 .download:hover {
    background-color: rgba(10, 16, 19, 0.55);
    transition: background-color .5s;
}
.page2 {
    background-color: #f9f9fa;
}
.page2 .content{
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    align-items: center;
    align-self: center;
    max-width: 1200px;
    /*min-width: 800px;*/
    height: 100vh;
    min-height: 800px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.slide{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: contain;
    animation: fade 20s infinite;
    display: flex;
    justify-content: space-evenly;
    transition: opacity 1s ease-in-out;  /* 这里控制淡入淡出效果 */
}
.slide .text h2 {
    font-size: 28px;
}
.slide .text span {
    font-size: 20px;
    color: #444444;
}
@media (max-width: 768px) {
    .slide {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .carousel {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .slide img{
        max-width: 350px;
    }
    .slide .text h2 {
        font-size: 24px;
    }
    .slide .text span {
        font-size: 16px;
        color: #444444;
    }
}

.slide.active {
    opacity: 1;
}
.slide .text {
    /*min-width: 400px;*/
    max-width: 600px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: #f9f9fa;
    align-items: center;
    justify-content: center;
    font-family: 'RpbotoMedium', sans-serif;
    color: #1a202c;
}

.page3 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.page3 .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.page3 .content .download-text {
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.page3 .content .download-text .title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
    font-family: 'RpbotoMedium', sans-serif;
}
.page3 .content .download-text .text {
    font-size: 18px;
    color: #2d3748;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .page3 .content .download-text .title {
        font-size: 24px;
    }
    .page3 .content .download-text .text {
        font-size: 16px;
    }
}

.page3 .content .download-area {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page3 .content .download-area a:link, .page3 .content .download-area a:visited, .page3 .content .download-area a:active {
    text-decoration: none;
    color: white;
}
@media (max-width: 768px) {
    .page3 .content .download-area {
        padding: 50px 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .page3 .content .download-area div:first-child {
        margin-bottom: 30px;
    }
}
.page3 .content .download-area span {
    font-size: 12px;
    display: inline-block;
    margin-left: 6px;
}
.page3 .content .download-area .download-btn {
    background-color: #1a202c;
    height: 50px;
    color: white;
    display: flex;
    font-size: 17px;
    min-width: 200px;
    align-items: center;
    border-radius: 30px;
    padding: 0 12px;
    cursor: pointer;
    opacity: 1;
    border: none;
    transition: opacity .5s;
}
.page3 .content .download-area .download-btn .download {
    flex: 1;
    font-size: 17px;
}
.page3 .content .download-area .by-google {
    padding: 0;
    height: 50px;
    width: 200px;
    cursor: pointer;
    opacity: 1;
    transition: opacity .5s;
}
.page3 .content .download-area .by-google:hover {
    opacity: 0.8;
    transition: opacity .5s;
}
.page3 .content .download-area button:hover {
    opacity: 0.8;
    transition: opacity .5s;
}
.page3 .content .download-area button img {
    width: 26px; height: 26px;
    margin-right: 8px;
}
.page3 .content .download-area div {
    margin: 0 20px;
}
.page3 footer {
    height: 180px;
    background-color: #373b42;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: white;
}
.page3 footer .link a:active, .page3 footer .link a:link, .page3 footer .link a:visited {
    text-decoration: none;
    color: white;
    font-size: 14px;
    padding: 0 5px;
}
