/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    flex: 1 0 auto;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    color: #2980b9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #3498db;
    border-color: #2980b9;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #1f6aa5;
}

.btn-secondary {
    color: #fff;
    background-color: #7f8c8d;
    border-color: #6c7a7b;
}

.btn-secondary:hover {
    background-color: #6c7a7b;
    border-color: #5a6566;
}

.btn-info {
    color: #fff;
    background-color: #2ecc71;
    border-color: #27ae60;
}

.btn-info:hover {
    background-color: #27ae60;
    border-color: #1e8449;
}

.btn-danger {
    color: #fff;
    background-color: #e74c3c;
    border-color: #c0392b;
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #a33025;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-lg {
    padding: 10px 20px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #3498db;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(52,152,219,.6);
}

textarea.form-control {
    height: auto;
}

.form-text {
    display: block;
    margin-top: 5px;
    color: #777;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
    border-top: 1px solid #ddd;
    text-align: left;
}

.table th {
    font-weight: 700;
    background-color: #f9f9f9;
}

.table tr:hover {
    background-color: #f5f5f5;
}

.text-center {
    text-align: center;
}

/* 警告框样式 */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* 分页样式 */
.pagination {
    display: flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination a {
    position: relative;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #3498db;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination a:first-child {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination a:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination a:hover {
    color: #2980b9;
    background-color: #eee;
    border-color: #ddd;
}

.pagination a.active {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #3498db;
    border-color: #3498db;
}

.pagination a.disabled {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/* 状态标签 */
.status-active {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    color: #fff;
    background-color: #2ecc71;
    border-radius: 3px;
}

.status-inactive {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    color: #fff;
    background-color: #e74c3c;
    border-radius: 3px;
}

/* 管理员布局 */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏导航 */
.admin-sidebar {
    width: 250px;
    background-color: #478bcf;
    color: #ecf0f1;
    flex-shrink: 0;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #34495e;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover, 
.sidebar-nav a.active {
    background-color: #34495e;
    color: #3498db;
}

.sidebar-nav .nav-icon {
    margin-right: 10px;
}

/* 主内容区域 */
.admin-main {
    flex: 1;
    padding: 20px;
    margin-left: 250px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.admin-header h1 {
    margin: 0;
    font-size: 24px;
}

.admin-user {
    display: flex;
    align-items: center;
}

.admin-user .logout-btn {
    margin-left: 15px;
}

/* 内容区域 */
.content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.content-header h2 {
    margin: 0;
    font-size: 20px;
}

/* 仪表盘样式 */
.dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    margin: 0 10px 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #777;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.action-card {
    flex: 1;
    min-width: 250px;
    margin: 0 10px 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.action-card h3 {
    margin-top: 0;
    font-size: 18px;
}

.action-card p {
    margin-bottom: 15px;
    color: #777;
}

/* 筛选容器 */
.filter-container {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.filter-container form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    margin-right: 15px;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
}

/* 表单容器 */
.form-container {
    max-width: 800px;
}

/* 登录页面样式 */
.login-page {
    background-color: #f5f5f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    text-align: center;
}

.login-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
}

.login-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #777;
}

/* 前端样式 */
.front-header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    padding: 15px 0;
    margin-bottom: 20px;
}

.front-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.front-logo {
    display: flex;
    align-items: center;
}

.front-logo img {
    height: 40px;
    margin-right: 10px;
}

.front-logo h1 {
    font-size: 20px;
    margin: 0;
}

.front-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.front-nav li {
    margin-left: 20px;
}

.front-nav a {
    color: #333;
    font-weight: 500;
}

.front-nav a:hover {
    color: #3498db;
}

.banner {
    background-color: #ecf0f1;
    padding: 40px 0;
    margin-bottom: 20px;
    text-align: center;
}

.banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.banner p {
    font-size: 16px;
    color: #777;
    margin-bottom: 0;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    overflow: hidden;
}

.category-tab {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: #f5f5f5;
}

.category-tab.active {
    background-color: #3498db;
    color: #fff;
}

.category-tab a {
    color: inherit;
    text-decoration: none;
}

.domain-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.domain-card {
    width: calc(33.333% - 20px);
    margin: 0 10px 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.domain-header {
    background-color: #3498db;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.domain-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.domain-price {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 0;
}

.domain-body {
    padding: 15px;
}

.domain-info {
    margin-bottom: 15px;
}

.domain-info p {
    margin-bottom: 5px;
}

.domain-info .label {
    font-weight: 700;
    color: #777;
}

.domain-footer {
    padding: 0 15px 15px;
    text-align: center;
}

/* 域名详情页 */
.domain-detail {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.domain-detail-header {
    background-color: #3498db;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.domain-detail-name {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}

.domain-detail-price {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.domain-detail-body {
    padding: 30px;
}

.domain-detail-info {
    margin-bottom: 30px;
}

.domain-detail-info h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    width: 120px;
    font-weight: 700;
    color: #777;
}

.info-value {
    flex: 1;
}

.domain-detail-description {
    margin-bottom: 30px;
}

.domain-detail-description h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.domain-detail-actions {
    text-align: center;
    margin-top: 30px;
}

/* 联系弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #777;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.contact-info {
    text-align: center;
    padding: 20px 0;
}

.contact-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-qrcode {
    margin-bottom: 20px;
}

.contact-qrcode img {
    max-width: 200px;
    height: auto;
}

.contact-wechat {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 70px;
        overflow: visible;
    }
    
    .sidebar-header h2 {
        display: none;
    }
    
    .sidebar-nav a span {
        display: none;
    }
    
    .sidebar-nav .nav-icon {
        font-size: 18px;
        margin-right: 0;
    }
    
    .admin-main {
        margin-left: 70px;
    }
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .sidebar-header {
        padding: 10px;
    }
    
    .sidebar-header h2 {
        display: block;
        font-size: 18px;
    }
    
    .sidebar-nav {
        padding: 10px 0;
    }
    
    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    .sidebar-nav li {
        margin: 0;
        flex: 1 0 auto;
    }
    
    .sidebar-nav a {
        padding: 10px;
        text-align: center;
    }
    
    .sidebar-nav a span {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-header .btn {
        margin-top: 10px;
    }
    
    .filter-container form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        margin-right: 0;
    }
    
    .domain-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .front-header .container {
        flex-direction: column;
    }
    
    .front-nav {
        margin-top: 15px;
    }
    
    .front-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .front-nav li {
        margin: 5px 10px;
    }
    
    .domain-card {
        width: 100%;
    }
}

/* ==================== 移动端样式 ==================== */

/* 移动端顶部栏 */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-header.has-category-filter {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mobile-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    height: 50px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 22px;
    height: 3px;
    background-color: #FFD700;
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.back-button {
    flex-direction: row;
    gap: 0;
}

.menu-toggle.back-button span {
    display: none;
}

.mobile-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #9b59b6;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 3px;
    opacity: 0.9;
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 50% 50%, 50% 100%, 0% 100%);
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
}

.mobile-search form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.search-btn {
    padding: 8px 20px;
    background-color: #FFD700;
    color: #333;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}

/* 移动端分类筛选 */
.mobile-category-filter {
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-filter-scroll {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    min-width: max-content;
}

.category-filter-item {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.category-filter-item:hover {
    background-color: #e8e8e8;
}

.category-filter-item.active {
    background-color: #FFD700;
    color: #333;
    font-weight: 600;
    border-color: #FFD700;
}

/* 侧边栏 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.mobile-sidebar.active {
    display: block;
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav {
    padding: 10px 0;
}

.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-nav a:hover {
    background-color: #f5f5f5;
    color: #FFD700;
}

/* 移动端内容区域 */
.mobile-content {
    margin-top: 50px;
    padding-bottom: 70px;
    background-color: #fff;
    min-height: calc(100vh - 120px);
}

.mobile-header.has-category-filter ~ .mobile-content {
    margin-top: 100px;
}

/* 域名列表 - 移动端两列布局 */
.domain-list-mobile {
    padding: 15px;
}

.domain-item-mobile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.domain-item-left,
.domain-item-right {
    flex: 1;
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.domain-item-left:active,
.domain-item-right:active {
    background-color: #f5f5f5;
    transform: scale(0.98);
}

.domain-category-mobile {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    font-weight: 400;
}

.domain-name-mobile {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.domain-price-mobile {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.domain-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background-color: #e0e0e0;
    color: #666;
    font-size: 11px;
    border-radius: 15px;
    margin-top: 5px;
    position: relative;
}

.domain-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #FFD700;
    border-radius: 50%;
    display: inline-block;
}

.domain-arrow {
    color: #999;
    font-size: 20px;
    padding: 0 5px;
}

.domain-item-right:empty {
    display: none;
}

.no-domains {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* 交易流程 */
.transaction-process {
    padding: 20px 15px;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.process-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-bottom: 8px;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #FFD700;
}

.process-more {
    color: #999;
    font-size: 14px;
    text-decoration: none;
}

.process-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.process-image-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.process-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 移动端底部导航栏 */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    text-decoration: none;
    padding: 5px 20px;
    transition: all 0.3s;
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.9);
    opacity: 0.7;
}

.mobile-bottom-nav .nav-item.chat-icon svg {
    width: 40px;
    height: 40px;
}

/* 移动端详情页样式 */
.mobile-detail-content {
    padding-bottom: 80px;
}

.mobile-detail-content .domain-list-mobile {
    padding: 15px;
}

.mobile-detail-content .domain-item-left {
    cursor: default !important;
}

.mobile-detail-content .domain-item-left:active {
    transform: none;
    background-color: #fff;
}

.domain-detail-center {
    text-align: center;
}

.domain-detail-center .domain-category-mobile,
.domain-detail-center .domain-name-mobile,
.domain-detail-center .domain-price-mobile {
    text-align: center;
}

.mobile-domain-info-card {
    background-color: #fff;
    margin: 0 15px 15px 15px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.mobile-info-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mobile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-info-row:last-child {
    border-bottom: none;
}

.mobile-info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mobile-info-value {
    font-size: 14px;
    color: #333;
    text-align: right;
}

.mobile-domain-actions {
    padding: 0 15px 20px 15px;
    display: flex;
    gap: 15px;
}

.mobile-btn-buy {
    flex: 1;
    padding: 14px 20px;
    background-color: #FFD700;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-btn-buy:active {
    background-color: #e6c200;
    transform: scale(0.98);
}

.mobile-btn-back {
    flex: 1;
    padding: 14px 20px;
    background-color: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.mobile-btn-back:active {
    background-color: #e0e0e0;
    transform: scale(0.98);
}

.back-button {
    color: #FFD700;
}

/* 默认：桌面端显示桌面内容，隐藏移动端内容 */
.mobile-header,
.mobile-sidebar,
.mobile-content,
.mobile-bottom-nav {
    display: none;
}

.desktop-content {
    display: block;
}

/* 移动端：隐藏桌面端内容，显示移动端内容 */
@media (max-width: 768px) {
    .front-header,
    .desktop-content,
    .footer {
        display: none !important;
    }
    
    .mobile-header,
    .mobile-content {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        background-color: #fff;
    }
}