/* --- 1. 核心配色 (Custom Theme) --- */
:root {
    --bg-dark: #282828; /* 深灰背景 */
    --bg-panel: #383838;
    --primary-green: #007b5e;
    --primary-dark: #005c46;
    --accent-yellow: #ffdf1b;
    --text-white: #ffffff;
    --text-grey: #cccccc;
    --btn-glow: 0 0 15px rgba(255, 223, 27, 0.4);
    --card-glow: 0 0 15px rgba(0, 123, 94, 0.5), 0 0 5px rgba(255, 223, 27, 0.3);
    --bg-darker: #1c1c1c;
    --card-bg: #1e1e1e; /* 卡片背景 */
    --gradient-end: #1e1e1e;
    --border-dark: #333333;
    --text-light: #e0e0e0; /* 亮色文本 */
    --text-accent: #00e676; /* 绿色强调色，可以更改 */
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.4);
    /*--glow-color: #00e676; !* 发光颜色 *!*/
    --glow-color: tan;
    --hover-shadow-glow: 0 0 20px var(--glow-color), 0 0 10px var(--glow-color);
}

/* 移除 Bootstrap 默认边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- 2. 基础与自定义背景 (Custom Background) --- */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.bg-header{
    background-color: var(--bg-panel);
}
.bg-footer{
     background-color: var(--bg-panel);
}

.text-gold {
    color: tan;
}

.bg-gold {
    background-color: tan;
}
.btn.border-gold{
    border:1px solid tan;
    font-weight: bolder;
}
.btn.border-gold:hover{
    background-color: black;
    color: tan;
    border: 1px solid tan;
    box-shadow: 0 0 18px tan;
}

.mobile-chat-btn{
    background-color: var(--bg-panel);
    font-weight: bolder;
    color: tan;
}
.mobile-chat-btn:hover{
    background-color: black;
    border: 1px solid tan;
    color: tan;
}


/* --- 3. 导航栏样式 (Custom Navbar Styling) --- */
/* 使用 Bootstrap 的 `fixed-top` 和 `bg-custom`，但自定义颜色和高度 */
.navbar-custom {
    min-height: 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid tan;
    transition: all 0.3s ease;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-yellow);
}
.h1-logo{
    font-weight: 900;
    color: var(--accent-yellow);
}

.footer-logo{
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-yellow);
}


/* 链接和触发器样式 */
.nav-link {
    color: var(--text-white) !important;
    font-weight: bold;
    transition: color 0.3s;
    padding: 5px 0 !important;
}

.nav-link:hover {
    color: var(--accent-yellow) !important;
    border-bottom: 2px solid var(--accent-yellow);
}

#mobileNav li a{
    width: calc(70vw - 50px);;
}

/* -------------------------------------------
   📌 导航栏响应式 (保留自定义 JS 行为)
   ------------------------------------------- */
/* 汉堡包图标样式 */
.burger {
    display: none; /* 默认在桌面端隐藏 *!*/
    cursor: pointer;
    z-index: 1001;
    padding: 5px; /* 增加点击区域 */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 5px;
    transition: all 0.3s ease;
}


.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    display: none;
}

/* 移动端菜单样式 (配合自定义 navSlide JS) */
@media (max-width: 576px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        height: calc(100vh - 120px);
        background-color: var(--bg-panel);
        flex-direction: column;
        align-items: center;
        /*padding: 50px 0;*/
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.5);
        display: flex; /* 强制显示为 flex，覆盖 Bootstrap 默认行为 */
        /*justify-content: center;*/
        justify-items: center;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }

    .burger {
        display: block; /* 显示汉堡图标 */
    }
}

/* === 炫酷按钮样式 (Cool Button) === */
.cool-btn {
    padding: 15px 30px;
    border: none;
    outline: none;
    color: #000;
    background: var(--accent-yellow);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 50px;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 按钮发光与悬停效果 */
.cool-btn:hover {
    box-shadow: var(--btn-glow); /* 黄色霓虹光晕 */
    transform: scale(1.05); /* 轻微放大 */
    color: #000;
}

/* 按钮内部的光泽动画 */
.cool-btn::before {
    content: '';
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: 0.5s;
    transform: skewX(-20deg);
}

.cool-btn:hover::before {
    left: 100%; /* 光泽划过 */
}

.sidenav {
    width: 60px;
    height: 336px;
    background-color: transparent;
    position: fixed;
    top: 52%;
    right: 1%;
    z-index: 999
}

.sidenav button {
    writing-mode: vertical-lr;
    background-color: #000;
    width: 70px;
    height: 150px;
    color: tan;
    text-shadow: 0 0 2px tan;
    border: 3px solid tan;
    box-shadow: 0 0 18px tan;
    font-weight: bolder;
    border-radius: 30px;
    padding: 5px;
    font-size: 22px
}

.sidenav button:hover {
    color: black;
    background-color: tan;
    cursor: pointer;
    border: 3px solid black;
}

.custom-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--gradient-end) 100%);
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.custom-card::before { /* 卡片背景网格 */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 0;
}

.custom-card:hover,.custom-card-hover{
    transform: translateY(-8px) scale(1.02); /* 上浮并略微放大 */
    box-shadow: var(--hover-shadow-glow); /* 发光效果 */
    border-color: var(--glow-color);
    z-index: 10; /* 确保悬停卡片在最上层 */
}

.custom-card .card-icon {
    font-size: 48px; /* 更大的图标 */
    margin-bottom: 15px;
    line-height: 1; /* 保持图标居中 */
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.6); /* 图标发光 */
    position: relative;
    z-index: 1;
}

.custom-card .card-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color:tan;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.custom-card .card-desc {
    font-size: 13px;
    color: tan;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}
#platform-div .custom-card{
    max-width: 300px;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px tan
    }

    50% {
        box-shadow: 0 0 38px #cd7f32
    }

    100% {
        box-shadow: 0 0 5px tan
    }
}

.glowing-div {
    margin: auto;
    background-color: #000;
    width: 280px;
    height: 280px;
    animation: glow 2s infinite alternate;
    border-radius: 50%;
    align-content: center
}

.glowing-div h1 {
    font-size: 30px;
    font-weight: bolder
}

.glowing-div h1 img {
    display: block
}
.glowing-div.brand-div{
    border-radius: 16px;
    width: auto;
    height: auto;
    /*height: 280px;*/
}

.circle {
    position: relative;
    width: 120px;
    height: 120px;
    color: tan;
    border-radius: 50%;
    display: block;
    text-align: center;
    line-height: 120px;
    border: 3px solid tan;
    background-color: rgba(0, 0, 0, .8)

    /*border: 10px solid transparent;*/
}

.pill-btn {
    /*width: px;*/
    min-width: 138px;
    height: 60px;
    border-radius: 30px;
    display: block;
    text-align: center;
    line-height: 60px;
    color: tan;
    border: 2px solid tan;
    background-color: rgba(0, 0, 0, 0)
}
.pill-btn-small{
    min-width: 138px;
    height: 50px;
    border-radius: 25px;
    display: block;
    text-align: center;
    line-height: 50px;
    color: tan;
    border: 2px solid tan;
    background-color: rgba(0, 0, 0, 0)

}

a.pill-btn{
    text-decoration: none;
}

.circle:hover, .pill-btn:hover {
    border: 5px solid tan;
    box-shadow: 0 0 18px tan;
}

.text-gold {
    color: tan
}
.platform h2{
    border-bottom: 1px solid tan;
}
.platform h6 {
    font-size: 18px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 30px;
    border-left: 5px solid #555;
    transition: 0.3s;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: tan;
}

.feature-num {
    font-size: 40px;
    font-weight: 900;
    -webkit-text-stroke: 3px tan;
    opacity: 0.5;
    margin-bottom: 10px;
    display: inline;
}
.feature-title{
     font-size: 40px;
    font-weight: 800;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--bg-panel);
    padding: 30px;
    border-radius: 6px;
    position: relative;
}

.quote-mark {
    font-size: 60px;
    color: tan;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.3;
    font-family: serif;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: tan;
    font-weight: bold;
}

.article-body h2,h3,h4,h5{
    color: tan;
}


.glow-title {
  color: tan;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow-title {
  0% {
    text-shadow:
      0 0 5px tan,
      0 0 10px tan,
      0 0 15px tan;
  }
  50% {
    text-shadow:
      0 0 10px tan,
      0 0 20px tan,
      0 0 30px tan,
      0 0 40px tan;
  }
  100% {
    text-shadow:
      0 0 5px tan,
      0 0 10px tan,
      0 0 15px tan;
  }
}


.platform h2.glow-brand-title{
    background: transparent;
    border: none;
    color:var(--accent-yellow);
    font-size: 38px;
    text-shadow: 0 0 2px tan, 0 0 2px tan, 0 0 2px tan, 0 0 2px tan;
}


.visually-hidden { position: absolute; left: -9999px; }


