/* 基础样式重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    padding: 5px;
}

/*表格*/
table,td,th {border: 1px #999 solid;table-layout: auto;text-align: center;}
/*常见问题内容页悬浮*/
.tableAid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tableAid a {
    border: 1px solid #999;
    color: #222;
    padding: 2px 2px;
    border-radius: 4px;
    margin: 4px;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
}

.tableAid a:hover,
.tableAid a.active {
    background-color: #f45864;
    border: 1px solid #f45864;
    color: #fff;
}
.tableAidTop {
    position: sticky;
    top: 0px;
    border-radius: 4px;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0 0 5px rgba(0,0,0, .2);
    padding: 20px 0 0 !important;
}
/* 头部居中样式 */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
}

.logo-frame img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-frame img:hover {
    transform: scale(1.05) rotate(5deg);
}

.header-caption h1 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.header-caption h2 {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* 币种信息块样式 */
.coin-data,
.risk-notice,
.faq-section,
.alt-coins,
.site-footer {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.8rem;
    color: #3498db;
    font-weight: 700;
}

.value {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
}

.change-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.up {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.down {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.stat-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-pair:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-pair dt {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.stat-pair dd {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* 动态按钮效果 */
.action-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin-top: 1.5rem;
	width: 50%;
    margin: auto;
}

.action-menu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #000, #333);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.action-menu li:nth-child(2) a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #000, #333);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.action-menu li:nth-child(3) a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #f7a901, #ab7809);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.action-menu li:nth-child(4) a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #f7a901, #ab7809);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.action-menu li:nth-child(5) a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #0d6efd, #094193);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.action-menu li:nth-child(6) a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #0d6efd, #094193);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.action-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.action-menu li a:hover::before {
    left: 100%;
}

.action-menu li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

/* 风险提示样式 */
.risk-notice {
    display: flex;
    gap: 1rem;
    border-left: 4px solid #e74c3c;
    padding: 1.2rem;
    background: #fff8f8;
}

.risk-notice i {
    color: #e74c3c;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.risk-notice p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 常见问题样式 */
.faq-section .section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.faq-section .section-header i {
    font-size: 1.8rem;
    color: #3498db;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.faq-item strong {
    color: #e50707;
}


.faq-item h3 a {
    color: #000;
    font-size: 18px;
    margin-bottom: 0.8rem;
    text-decoration: none;
    font-weight: bold;
}

.faq-item h3 a:hover {
    color: #3498db;
}


.faq-item p {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-art-tit {
    position: relative;
    background-color: #f45864;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}
.faq-item .titles {
    display: flex;
    align-items: center;
}

.faq-art-tit::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #f45864;
}

.faq-item .titles h3 {
    font-size: 18px;
    flex: 1;
    color: #333333;
    font-weight: bold;
    text-align: left;
    margin: auto;
}

.faq-item .titles h3 span {
    color: #f26470;
}

.faq-item-art h3 {
    color: #2c3e50;
    font-size: 30px;
    margin-bottom: 0.8rem;
	text-align: center;
    font-weight: bold;
}

/* 表格样式 */
.alt-coins .section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.alt-coins .section-header i {
    font-size: 1.8rem;
    color: #3498db;
}

.coins-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.coins-table thead {
    background: #f8f9fa;
}

.coins-table th {
    padding: 1rem;
    text-align: left;
    color: #7f8c8d;
    font-weight: 600;
}

.coins-table td {
    padding: 1rem;
    vertical-align: middle;
}

.coins-table tr {
    border-bottom: 1px solid #eaecef;
    transition: background 0.3s ease;
}

.coins-table tr:hover {
    background: #f8f9fa;
}

.coins-table td:first-child a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.coins-table td:first-child img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.coin-actions {
    display: flex;
    gap: 1rem;
}

.coin-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #3498db;
    transition: all 0.3s ease;
}

.coin-actions a:hover {
    background: #3498db;
    color: white;
    transform: scale(1.1);
}

/* 底部样式 */
.site-footer {
    text-align: center;
    padding: 1.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.site-footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .page-header,
    .coin-data,
    .risk-notice,
    .faq-section,
    .alt-coins,
    .site-footer {
        padding: 1.2rem;
        margin: 1.5rem auto;
        font-size: 0.85rem;
    }

    .price-container {
        flex-direction: column;
        gap: 1rem;
    }

    .action-menu li a {
        padding: 10px 10px !important;
        font-size: 12px;
    }


    .value {
        font-size: 2.2rem;
    }

    .market-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-menu {
        min-width: calc((100% - 10px) / 2);
		width:100%;
    }

    .coins-table {
        font-size: 0.8rem;
    }

    .coins-table th:nth-child(3),
    .coins-table td:nth-child(3),
    .coins-table th:nth-child(5),
    .coins-table td:nth-child(5) {
        display: none;
    }

    .coins-table th,
    .coins-table td {
        width: 33.33%;
        padding: 0.8rem;
    }

    .coins-table td:first-child img {
        width: 24px;
        height: 24px;
    }
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.page-header {
    animation: float 6s ease-in-out infinite;
}

.material-icons {
    vertical-align: middle;
}
/* 手机悬浮按钮样式 */
#floatButton {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: #07C160;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 13px;
	transition: all 0.3s;
	top: 80%;
	visibility: hidden;
}

#floatButton:hover {
	background-color: #06AD56;
	transform: scale(1.1);
}

/* 客服对话框样式 */
#customerServiceBox {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 320px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding: 20px;
	z-index: 1001;
	display: none;
	transform-origin: bottom right;
	animation: fadeInUp 0.3s;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-header {
	text-align: center;
	margin-bottom: 15px;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

/* 下载按钮样式 */
.download-buttons {
	/*display: flex;
	gap: 10px;*/
	margin-top: 20px;
}

.download-btn {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  min-width: 0;
  margin: 10px;
}
.oy-apple-btn,.oy-android-btn {
  background: linear-gradient(45deg, #000, #333);
  color: white;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 50px;
}
.ba-apple-btn,.ba-android-btn {
  background: linear-gradient(45deg, #f7a901, #ab7809);
  color: white;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 50px;
}
.hb-apple-btn,.hb-android-btn {
  background: linear-gradient(45deg, #0d6efd, #094193);
  color: white;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 50px;
}

/* 关闭按钮 */
.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	background: #f0f0f0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 14px;
	color: #666;
}

.close-btn:hover {
	background: #e0e0e0;
}
/* 移动端优化 */
@media (max-width: 768px) {
	#customerServiceBox {
		right: 10px;
		bottom: 80px;
		width: calc(100% - 40px);
		max-width: 320px;
	}
	#floatButton{visibility: visible;}
        .faq-item p img {
    width: 90% !important;
  height: auto !important;
        }
.tableAidTop {
    position: sticky;
    top: 0px;
    border-radius: 4px;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0 0 5px rgba(0,0,0, .2);
    padding: 20px 0 0 !important;
}
.faq-item {
  padding: 0px;
}
}