/**
 * Theme Name:        Binance Ten
 * Theme URI:         https://host.ten-wp.com
 * Description:       Custom theme description...
 * Version:           1.0.0
 * Author:            xhr
 * Author URI:        https://binancebian.com/
 * Tags:              Binance, 加密货币，区块链
 * Requires PHP:      8.0
 */

/* ==================== 币安风格CSS变量 ==================== */
:root {
    /* 币安主色调 */
    --primary: #F0B90B;                    /* 币安黄 - 主强调色 */
    --primary-dark: #D9A441;               /* 深黄色 */
    --primary-light: #FFD93D;              /* 浅黄色 */

    /* 币安背景色 */
    --theme-black: #0B0E11;                /* 深黑色背景 */
    --theme-black-light: #1A1D22;          /* 次深黑色 */
    --theme-black-lighter: #2A2D32;        /* 浅黑色 */

    /* 背景色 */
    --bg-dark: #0B0E11;                    /* 主背景 */
    --bg-header: #1A1D22;                  /* 头部背景 */
    --bg-section: #14171A;                 /* 区域背景 */
    --bg-card: rgba(240, 185, 11, 0.03);   /* 卡片背景 */
    --bg-card-hover: rgba(240, 185, 11, 0.05); /* 卡片悬停 */
    --bg-light: #f8f9fa;                   /* 浅色背景 */

    /* 文字色 */
    --text-white: #ffffff;                  /* 主文字 */
    --text-light: #f0f0f0;                  /* 亮文字 */
    --text-gray: #848E9C;                   /* 灰文字 */
    --text-muted: #5A6370;                 /*  muted文字 */
    --text-dark: #1E2329;                   /* 深色文字 */

    /* 按钮 - 币安黄底黑字 */
    --btn-bg: #F0B90B;                     /* 按钮背景 */
    --btn-bg-hover: #D9A441;               /* 按钮悬停 */
    --btn-text: #000000;                   /* 按钮文字 */
    --btn-text-hover: #000000;              /* 按钮悬停文字 */
    --btn-secondary-border: #F0B90B;       /* 次按钮边框 */
    --btn-secondary-text: #F0B90B;         /* 次按钮文字 */

    /* 币安特效 */
    --shadow: 0 4px 15px rgba(240, 185, 11, 0.2);      /* 发光阴影 */
    --shadow-hover: 0 8px 25px rgba(240, 185, 11, 0.3); /* 悬停发光 */

    /* 状态色 */
    --success: #10B981;                   /* 成功绿色 */
    --warning: #F59E0B;                   /* 警告橙色 */
    --error: #EF4444;                     /* 错误红色 */
    --info: #3B82F6;                      /* 信息蓝色 */

    /* 边框色 */
    --border-light: rgba(240, 185, 11, 0.1);    /* 浅边框 */
    --border-medium: rgba(240, 185, 11, 0.2);   /* 中边框 */
    --border-dark: rgba(240, 185, 11, 0.3);     /* 深边框 */

    /* 渐变背景 */
    --gradient-primary: linear-gradient(135deg, #F0B90B 0%, #D9A441 100%);
    --gradient-dark: linear-gradient(135deg, #0B0E11 0%, #1A1D22 100%);
    --gradient-card: linear-gradient(135deg, rgba(240, 185, 11, 0.05) 0%, rgba(240, 185, 11, 0.02) 100%);

    /* 圆角 */
    --radius: 8px;                          /* 币安圆角 */
    --radius-sm: 4px;                       /* 小圆角 */
    --radius-lg: 16px;                      /* 大圆角 */

    /* 过渡动画 */
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;

    /* 字体大小 */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-base: 16px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-2xl: 24px;
    --font-3xl: 32px;
    --font-4xl: 48px;

    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
}


a {
    text-decoration: none;
    color: inherit;
    outline: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}


.mat15 {
    margin-top: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb40 {
    margin-bottom: 40px;
}

/* 侧边栏容器 */
.sidebar {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* 侧边栏内容 */
.sidebar-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* 侧边栏头部 */
.sidebar-header {
    display: flex;
    align-items: center;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    gap: 0.75rem;
    background: linear-gradient(90deg, rgba(240, 185, 11, 0.08), transparent);
    position: relative;
}

/* 头部左边框 */
.sidebar-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--primary));
}

/* 侧边栏图标 */
.sidebar-header-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

/* 侧边栏标题 */
.sidebar-header-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* 平台图标包装器 - 通用样式 */
.platform-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.platform-icon-wrapper svg {
    width: 70%;
    height: 70%;
}

/* OKX 平台图标 */
.platform-icon-wrapper.okx {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #1a1a2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.platform-icon-wrapper.okx svg path {
    fill: #ffffff;
}

/* Binance 平台图标 */
.platform-icon-wrapper.binance {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #1a1a2e 100%);
    border: 1px solid rgba(240, 185, 11, 0.3);
}

.platform-icon-wrapper.binance svg path {
    fill: #f0b90b;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .sidebar-header {
        padding: 1rem 1rem;
        gap: 0.625rem;
    }
    
    .sidebar-header-icon {
        width: 18px;
        height: 18px;
    }
    
    .sidebar-header-title {
        font-size: 0.9rem;
    }
}
