/**
 * Theme Name:        Binance Eight
 * Theme URI:         https://host.eight-wp.com
 * Description:       Custom theme description...
 * Version:           1.0.0
 * Author:            xhr
 * Author URI:        http://币安-binance.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); /* 悬停发光 */
    --neon-glow: 0 0 20px rgba(240, 185, 11, 0.4);      /* 币安发光 */

    /* 状态色 */
    --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 rgba(0, 255, 136, 0.25);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 赛博朋克网格背景 */
.sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* 顶部霓虹光条 */
.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 20%, 
        var(--primary-light) 50%, 
        var(--primary) 80%, 
        transparent 100%);
    box-shadow: 0 0 10px var(--primary);
    z-index: 1;
}

/* 侧边栏内容 */
.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 rgba(0, 255, 136, 0.15);
    gap: 0.75rem;
    background: linear-gradient(90deg, rgba(0, 255, 136, 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));
    box-shadow: 0 0 8px var(--primary);
}

/* 侧边栏图标 */
.sidebar-header-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.6));
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.9));
    }
}

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

/* 平台图标包装器 - 通用样式 */
.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 rgba(0, 255, 136, 0.2);
}

.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);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* 鎏金光泽 */
.platform-icon-wrapper.okx::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: metallicShine 4s infinite;
}

@keyframes metallicShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.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);
    box-shadow: 
        0 0 15px rgba(240, 185, 11, 0.2),
        inset 0 1px 0 rgba(240, 185, 11, 0.15);
    position: relative;
    overflow: hidden;
}

/* 鎏金光泽 */
.platform-icon-wrapper.binance::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(240, 185, 11, 0.15), transparent);
    animation: goldenShine 3s infinite;
}

@keyframes goldenShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.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;
    }
}

