* {margin: 0;padding: 0;box-sizing: border-box;}
ul,li,ol{list-style:none;}
a{text-decoration:none;color:#333;}
body {background: #fff;color: #333;padding:0;min-height: 100vh;font-size:13px;font-family:manrope-regular,manrope-medium,manrope-semibold,manrope-bold,sans-serif,manrope-extrabold,manrope-medium,manrope-thin,Tahoma, Geneva, Verdana, Arial‌,Times New Roman‌;}
@font-face{font-family:manrope-bold;src:url("../fonts/manrope/manrope-bold-2.otf") format("OpenType");}
@font-face{font-family:manrope-extrabold;src:url("../fonts/manrope/manrope-extrabold-3.otf") format("OpenType");}
@font-face{font-family:manrope-light;src:url("../fonts/manrope/manrope-light-4.otf") format("OpenType");}
@font-face{font-family:manrope-medium;src:url("../fonts/manrope/manrope-medium-5.otf") format("OpenType");}
@font-face{font-family:manrope-regular;src:url("../fonts/manrope/manrope-regular-6.otf") format("OpenType");}
@font-face{font-family:manrope-semibold;src:url("../fonts/manrope/manrope-semibold-7.otf") format("OpenType");}
@font-face{font-family:manrope-thin;src:url("../fonts/manrope/manrope-thin-8.otf") format("OpenType");}
input,select{border:0;background:none;outline: none;}
input:focus,select:focus{outline: none;border-color: none;}
.header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 20px;position:relative;min-height:34px;}
.back-icon {font-size: 24px;color: #3498db;width:53px;}
.fa-coins::before{width:18px;height:16px;content:'';background:url(../images/back2.svg) no-repeat center;}
.title-text {flex:1;font-size:18px;color: #fff;text-align:center;text-align:center;width:100%;font-family:manrope-bold;}
.servicetop{width:53px;height:38px;text-align:right;}
.servicetop img{height:38px;float:right;}

/**通用的一些布局和字样**/
.container{padding:20px;max-width:680px;margin:0 auto;}
.bg1{background: linear-gradient(to bottom, #1661f8, #56a6ff);position:absolute;height:380px;width:100%;z-index:-2;border-radius:10px 10px 50px 50px;}
.whitebg{background: white;border-radius: 12px;padding: 10px;margin-bottom:20px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
.buy-btn{display: block;width: 100%;padding: 15px;border: none;border-radius: 12px;cursor: pointer;text-align: center;display: flex;align-items: center;justify-content: center;}
.buy-btn img{margin-right:10px;}
.buy-btn-active{background:#3773E3;color: white;font-size:14px;}
.buy-btn-inactive{background: #979797;color: #fff;cursor: not-allowed;}
.buy-btn-waiting{background: #A0C1FF;color: #333;cursor: not-allowed;}
.buy-btn-outline{border:1px solid #3773E3;color:#3773E3;}
.buy-btn-pay{background:#1ABC7B;color: white;font-family:manrope-semibold;font-size:14px;}
.columns-title{font-size:16px;margin-bottom: 10px;display: flex;justify-content: space-between;align-items: center;color:#212121;font-family:manrope-bold;}
.view-all {font-size: 12px;color: #3773E3;cursor: pointer;text-align:center;}
.red-value{color:#e74c3c;}
.green-value{color:#2ecc71;}
.flex{display: flex;}
.flex-between {display: flex;justify-content: space-between;}
.flex-center-between {display: flex;align-items: center;justify-content: space-between;}
.flex-center{display: flex;align-items: center;}
.single-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/**标题切换**/
.coin-tabs {display: flex;white-space: nowrap;text-transform: capitalize;justify-content:space-between;}
.coin-tab {flex: 1;text-align: center;padding:0 5px;height:35px;position:relative;cursor: pointer;}
.coin-tab.active {color: #000;}
.coin-tab.active:after{width:50%;position:absolute;height:5px;background:#3773E3;content:'';left:25%;bottom:0;}
.coin-list-header {display: flex;background:#f5f5f5;margin-top:10px;display: grid;grid-template-columns: 2fr 1fr 1.5fr;gap: 10px;padding: 10px 10px;font-size: 12px;color: #666;}
.coin-list {display: flex;flex-direction: column;gap: 10px;}
.coin-list-content {display: none;flex-direction: column;gap: 10px;}
.coin-list-content.active {display: flex;}

/**bottom**/
.bottom-nav {position: fixed;z-index:999;border-radius:0;bottom: 0;left: 0;right: 0;background: #fff;display: flex;justify-content: space-around;padding: 12px 0;box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);}
.nav-item {display: flex;flex-direction: column;align-items: center;color: #333;position:relative;width:20%;}
.nav-item.active {color: #3773E3;font-weight:bold;}
.nav-item .fas{width:35px;height:35px;margin-bottom: 4px;}
.nav-item .fas.fa-home{background:url(../images/bottombar1.svg) no-repeat center;background-size:100% 100%;}
.nav-item.active .fas.fa-home{background:url(../images/bottombar1-active.svg) no-repeat center;background-size:100% 100%;}
.nav-item .fas.fa-trade{background:url(../images/bottombar2.svg) no-repeat center;background-size:100% 100%;}
.nav-item.active .fas.fa-trade{background:url(../images/bottombar2-active.svg) no-repeat center;background-size:100% 100%;}
.nav-item .fas.fa-order{background:url(../images/bottombar4.svg) no-repeat center;background-size:100% 100%;}
.nav-item.active .fas.fa-order{background:url(../images/bottombar4-active.svg) no-repeat center;background-size:100% 100%;}
.nav-item .fas.fa-mine{background:url(../images/bottombar5.svg) no-repeat center;background-size:100% 100%;}
.nav-item.active .fas.fa-mine{background:url(../images/bottombar5-active.svg) no-repeat center;background-size:100% 100%;}
.fa-choujiang{margin-top:-35px;background:#fff;border-radius:50%;position:absolute;padding:3px;width:54px;height:54px;}
.fa-choujiang img{width:100%;}
 /* 悬浮窗样式 */
 .floating-window {position: fixed; bottom:15%; right: 10px;z-index: 1000;}
 .buttons-container {display: flex; flex-direction: column; align-items: flex-end; gap: 15px;}
 .floating-btn {display: flex;flex-direction: column;align-items: center;cursor: pointer;}
 .link-btn {width:36px; height:36px;background:#fff; border-radius:50%;display: flex;align-items: center;justify-content: center; }
 .link-btn img{width:30px;}
 .contact-btn img{width:30px;}
 .floating-btn h5{line-height:30px;font-weight:normal;} 
 .contact-btn {width:36px; height:36px;background:#fff;border-radius:50%;display: flex;align-items: center;justify-content: center;}
 .btn-text {opacity: 0; position: absolute; right: 70px; background: white; padding: 8px 15px; border-radius: 20px; font-size: 16px; font-weight: 500; white-space: nowrap; pointer-events: none; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); color: #333;}
 .floating-btn:hover .btn-text {opacity: 1; }
 .link-btn a{height:36px;width:100%;display: flex;align-items: center;justify-content: center;}
 /* 联系信息弹窗 */
 .contact-modal {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: none; align-items: center; justify-content: center; z-index: 2000; transition: all 0.3s ease;}

 .modal-content1 {background: white; padding: 40px; border-radius: 20px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); max-width: 400px; width: 90%; position: relative; transform: translateY(50px); transition: all 0.4s ease;}
 .contact-modal.active .modal-content1 {transform: translateY(0);}
 .close-btn {position: absolute; top: 15px; right: 15px; font-size: 24px; cursor: pointer; color: #999; transition: color 0.3s ease;}
 .close-btn:hover {color: #333;}
 .contact-info {margin-top: 20px;}
 .contact-item {display: flex; align-items: center; margin: 20px 0; padding: 15px; background: #f8f9fa; border-radius: 12px;}
 .contact-item:hover { background: #e9ecef;}
 .contact-icon {width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 15px; color: white;}
 .contact-icon img{width:80%;}
 .email-icon {background: #578ae5;}
 .phone-icon {background: #3773E3;}
 .contact-details {text-align: left;}
 .contact-type {font-size: 12px; color: #777; margin-bottom: 5px;}
 .contact-value {font-size: 14px; font-weight: 600; color: #333;}