/* ========================================
   大操手量化官网 - 公共样式
   金融科技风格 - 深色主题
======================================== */

:root {
    /* 主色调 - 科技蓝 */
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --primary-light: #66e5ff;
    
    /* 辅助色 - 金融金 */
    --accent-color: #ffd700;
    --accent-dark: #cc9900;
    
    /* 成功/上涨 - 绿色 */
    --success-color: #00ff88;
    --success-dark: #00cc6a;
    
    /* 警告/下跌 - 红色 */
    --danger-color: #ff4757;
    --danger-dark: #cc3a47;
    
    /* 背景色 */
    --bg-dark: #0a0e17;
    --bg-darker: #050810;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-card-hover: rgba(20, 30, 50, 0.9);
    
    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* 边框 */
    --border-color: rgba(0, 212, 255, 0.2);
    --border-glow: rgba(0, 212, 255, 0.5);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #050810 100%);
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* 动态背景 */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-dark);
}

.bg-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 网格背景 */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* 导航栏 */
.navbar-dcs {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-dcs.scrolled {
    background: rgba(5, 8, 16, 0.98);
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.1);
}

.navbar-brand-dcs {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand-dcs:hover {
    text-decoration: none;
}

.navbar-brand-dcs img {
    height: 40px;
}

/* 导航栏切换按钮 */
.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-link-dcs {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.nav-link-dcs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-dcs:hover,
.nav-link-dcs.active {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.nav-link-dcs:hover::after,
.nav-link-dcs.active::after {
    width: 80%;
}

/* 导航栏高亮链接（全民量化） */
.nav-link-highlight {
    color: #f59e0b !important;
    font-weight: 600 !important;
}

.nav-link-highlight i {
    margin-right: 0.25rem;
}

.nav-link-highlight:hover,
.nav-link-highlight.active {
    color: #fbbf24 !important;
}

.nav-link-highlight::after {
    background: linear-gradient(90deg, #f59e0b, #ef4444) !important;
}

/* 导航栏初心链接（我们初心） */
.nav-link-mission {
    color: #e04543 !important;
    font-weight: 600 !important;
}

.nav-link-mission i {
    margin-right: 0.25rem;
}

.nav-link-mission:hover,
.nav-link-mission.active {
    color: #e86361 !important;
}

.nav-link-mission::after {
    background: linear-gradient(90deg, #e04543, #c084fc) !important;
}

/* 心跳动画 */
.heart-pulse {
    display: inline-block;
    animation: heartPulse 1.2s ease-in-out infinite;
    color: #e04543;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* 礼物盒摇晃动画 */
.gift-shake {
    display: inline-block;
    animation: giftShake 1.5s ease-in-out infinite;
}

@keyframes giftShake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-12deg); }
    20% { transform: rotate(12deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

/* 导航栏按钮组 */
.nav-buttons {
    display: flex;
    gap: 0.5rem;
}

/* 移动端导航栏样式 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 14, 23, 0.98);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .nav-link-dcs {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin: 0.25rem 0;
    }
    
    .nav-link-dcs:hover,
    .nav-link-dcs.active {
        background: rgba(0, 212, 255, 0.1);
    }
    
    .nav-link-dcs::after {
        display: none;
    }
    
    .nav-buttons {
        flex-direction: column;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }
    
    .nav-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 按钮样式 */
.btn-dcs {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-dcs {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary-dcs:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
    color: var(--bg-dark);
}

.btn-outline-dcs {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-dcs:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-gold-dcs {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-gold-dcs:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

/* 卡片样式 */
.card-dcs {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card-dcs:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

/* 发光效果 */
.glow-text {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.glow-box {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 数字动画 */
.counter-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 表单样式 */
.form-control-dcs {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control-dcs:focus {
    background: rgba(20, 30, 50, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    outline: none;
    color: var(--text-primary);
}

.form-control-dcs::placeholder {
    color: var(--text-muted);
}

/* 页脚 */
.footer-dcs {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 0 0 2rem;
}

.footer-dcs > .container {
    padding-top: 3rem;
}

.footer-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* 页脚社交链接 */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.social-link i {
    font-size: 1.1rem;
    line-height: 1;
}

/* QQ链接特殊样式 */
.social-link.qq-link span {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* 社交链接包装器 */
.social-link-wrapper {
    position: relative;
    display: inline-block;
}

/* QQ群二维码弹出层 */
.qr-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--border-color);
}

.qr-popup img {
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* QQ群二维码 - 正方形图片用小一点 */
.qq-popup img {
    max-width: 150px;
}

.qr-popup p {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}

.social-link-wrapper:hover .qr-popup {
    opacity: 1;
    visibility: visible;
}

/* 页脚联系方式 */
.footer-contact {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 动画类 */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 粒子效果容器 */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 响应式 */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .card-dcs {
        padding: 1.5rem;
    }
    
    /* 防止容器溢出 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 页脚响应式 */
    .footer-dcs {
        padding: 0 0 1.5rem;
        text-align: center;
    }
    
    .footer-dcs > .container {
        padding-top: 2rem;
    }
    
    .footer-dcs .row {
        gap: 1.5rem;
    }
    
    .footer-dcs .col-lg-4,
    .footer-dcs .col-lg-2,
    .footer-dcs .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
    
    .footer-brand .navbar-brand-dcs {
        justify-content: center;
    }
    
    .footer-brand p {
        max-width: 300px;
        margin: 1rem auto 0;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }
    
    .footer-link {
        display: inline-block;
        padding: 0.4rem 0.8rem;
    }
    
    .footer-link:hover {
        padding-left: 0.8rem;
    }
    
    .footer-contact {
        margin-bottom: 0.3rem;
    }
    
    /* 二维码弹出层移动端适配 */
    .qr-popup {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-bottom: 0;
        max-width: 90vw;
    }
    
    .qr-popup::after {
        display: none;
    }
    
    .qr-popup img {
        max-width: 280px;
    }
    
    .qq-popup img {
        max-width: 140px;
    }
}


/* 用户下拉菜单 */
.user-dropdown {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-info:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.user-mobile {
    font-size: 0.9rem;
    font-weight: 500;
}

.user-info .bi-chevron-down {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.user-info[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu-dcs {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    margin-top: 8px !important;
}

.dropdown-menu-dcs .dropdown-item {
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.dropdown-menu-dcs .dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

.dropdown-menu-dcs .dropdown-item i {
    font-size: 1rem;
}

.dropdown-menu-dcs .dropdown-divider {
    border-color: var(--border-color);
    margin: 4px 0;
}

/* 移动端用户下拉 */
@media (max-width: 991px) {
    .user-dropdown {
        width: 100%;
    }
    
    .user-info {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu-dcs {
        width: 100%;
        position: static !important;
        transform: none !important;
        margin-top: 8px !important;
    }
}


/* ========================================
   深色科技风模态框样式
======================================== */
.modal-dcs {
    background: rgba(10, 14, 23, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.modal-dcs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.modal-dcs .modal-body {
    padding: 3rem 2rem;
}

.modal-dcs .modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.modal-dcs .modal-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

@keyframes iconPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 15px rgba(0, 212, 255, 0);
    }
}

.modal-dcs .modal-title-dcs {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-dcs .modal-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-dcs .btn {
    padding: 0.75rem 2rem;
}

/* 模态框背景遮罩 */
.modal-backdrop {
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(5px);
}

.modal-backdrop.show {
    opacity: 1;
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .footer-dcs {
        padding: 0 0 1rem;
    }
    
    .footer-dcs > .container {
        padding-top: 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .qr-popup img {
        max-width: 220px;
    }
    
    .qq-popup img {
        max-width: 120px;
    }
}


/* ========================================
   回到顶部按钮
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.back-to-top i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.back-to-top:hover i {
    color: var(--bg-dark);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .back-to-top i {
        font-size: 1.3rem;
    }
}


/* ========================================
   风险提示组件
======================================== */
.risk-warning-section {
    background: rgba(255, 71, 87, 0.05);
    border-top: 1px solid rgba(255, 71, 87, 0.2);
    border-bottom: 1px solid rgba(255, 71, 87, 0.2);
    padding: 1.5rem 0;
    margin-bottom: 0;
}

.risk-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.risk-link {
    color: var(--danger-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.risk-link:hover {
    color: #ff6b7a;
    text-decoration: underline;
}

.risk-warning-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-warning-icon i {
    font-size: 1.5rem;
    color: var(--danger-color);
}

.risk-warning-content {
    flex: 1;
}

.risk-warning-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--danger-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.risk-warning-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* 风险提示响应式 */
@media (max-width: 767px) {
    .risk-warning-section {
        padding: 1rem 0;
    }
    
    .risk-warning-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .risk-warning-icon {
        width: 40px;
        height: 40px;
    }
    
    .risk-warning-icon i {
        font-size: 1.25rem;
    }
    
    .risk-warning-title {
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .risk-warning-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}
