/* 注意事项页面样式 - 深色科技风格 */

.notice-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.notice-container h2 {
    color: var(--text-color, #e0e0e0);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 500;
    text-shadow: none;
}

.notice-container h2 i {
    color: var(--primary-color, #00c6ff);
    margin-right: 8px;
}

.notice-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.notice-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.notice-section:hover {
    box-shadow: none;
    transform: none;
}

.notice-section h3 {
    color: var(--text-color, #e0e0e0);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: none;
    padding-bottom: 0;
    text-shadow: none;
}

.notice-section h3 i {
    color: var(--primary-color, #00c6ff);
    margin-right: 8px;
}

/* FAQ样式 - 深色科技风格 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    border: none;
    background: transparent;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    user-select: none;
    border: none;
    background: transparent;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 18px;
    align-items: start;
    column-gap: 16px;
    text-align: left;
    font: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.faq-question:hover {
    background: transparent;
}

.faq-index {
    color: var(--text-secondary, #8ea7c2);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
    padding-top: 0.18rem;
}

.faq-question h4,
.faq-question-text {
    margin: 0;
    color: var(--text-color, #e0e0e0);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    min-width: 0;
}

.faq-question .toggle-icon {
    color: var(--text-secondary, #8ea7c2);
    font-size: 0.9rem;
    transition: transform 0.24s ease, color 0.24s ease;
    margin-top: 0.35rem;
}

.faq-item.active .faq-question .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color, #00c6ff);
}

.faq-answer {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.22s ease, padding-bottom 0.22s ease;
    background: transparent;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding-bottom: 8px;
}

.faq-answer-offset {
    min-height: 1px;
}

.faq-answer-inner {
    min-width: 0;
}

.faq-answer p {
    margin: 0 0 12px 0;
    line-height: 1.8;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
}

.faq-answer strong {
    color: var(--text-color, #e0e0e0);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--primary-color, #00c6ff);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.faq-answer a:hover {
    color: var(--text-color, #e0e0e0);
    border-bottom-color: rgba(0, 198, 255, 0.45);
}

.faq-answer .answer-highlight {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 12px 0;
    border-left: none;
    color: var(--text-color, #e0e0e0);
}

.faq-answer .answer-highlight strong {
    color: var(--text-color, #e0e0e0);
    font-weight: 600;
}

/* 重要提醒样式 - 深色科技风格 */
.important-notices {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notice-alert {
    padding: 15px 18px;
    border-radius: 8px;
    border-left: 3px solid var(--danger-color, #ff3860);
    background: rgba(255, 56, 96, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.2s ease;
}

.notice-alert:hover {
    transform: none;
    box-shadow: none;
}

.notice-alert.warning {
    border-left-color: var(--warning-color, #ffb800);
    background: rgba(255, 184, 0, 0.08);
}

.notice-alert.warning:hover {
    box-shadow: none;
}

.notice-alert.info {
    border-left-color: var(--primary-color, #00c6ff);
    background: rgba(0, 198, 255, 0.08);
}

.notice-alert.info:hover {
    box-shadow: none;
}

.notice-alert .alert-icon {
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.notice-alert.danger .alert-icon {
    color: var(--danger-color, #ff3860);
}

.notice-alert.warning .alert-icon {
    color: var(--warning-color, #ffb800);
}

.notice-alert.info .alert-icon {
    color: var(--primary-color, #00c6ff);
}

.notice-alert .alert-content h5 {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-color, #e0e0e0);
}

.notice-alert .alert-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
}

/* 使用技巧样式 - 深色科技风格 */
.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tip-card {
    background: rgba(26, 31, 54, 0.38);
    border: 1px solid rgba(0, 198, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    transition: border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color, #00c6ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    border-color: rgba(0, 198, 255, 0.5);
    box-shadow: none;
    transform: none;
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-card .tip-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-color, #00c6ff);
}

.tip-card h5 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-color, #e0e0e0);
}

.tip-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
}

/* 响应式设计 - 简化版 */
@media (max-width: 768px) {
    .notice-container {
        padding: 15px;
    }
    
    .notice-container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .notice-section {
        padding: 0;
    }
    
    .notice-section h3 {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 8px 0;
        grid-template-columns: 52px minmax(0, 1fr) 16px;
        column-gap: 12px;
    }
    
    .faq-question h4,
    .faq-question-text {
        font-size: 0.98rem;
    }
    
    .faq-answer {
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 12px;
    }
    
    .tips-list {
        grid-template-columns: 1fr;
    }
    
    .tip-card {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .notice-container {
        padding: 10px;
    }
    
    .notice-container h2 {
        font-size: 1.4rem;
    }
    
    .notice-section {
        padding: 0;
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 12px 0;
        grid-template-columns: 44px minmax(0, 1fr) 14px;
        column-gap: 10px;
    }
    
    .faq-index {
        font-size: 0.74rem;
    }

    .faq-question h4,
    .faq-question-text {
        font-size: 0.92rem;
    }

    .faq-answer {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 10px;
    }
    
    .notice-alert {
        padding: 10px;
    }
}

/* 滚动条样式 - 深色科技风格 */
.faq-answer::-webkit-scrollbar {
    width: 6px;
}

.faq-answer::-webkit-scrollbar-track {
    background: rgba(26, 31, 54, 0.5);
    border-radius: 3px;
}

.faq-answer::-webkit-scrollbar-thumb {
    background: rgba(0, 198, 255, 0.35);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.faq-answer::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 198, 255, 0.5);
}
