/* 云帆验证码系统 - 开发者社区样式 */
/* 科技感深色主题风格 */
:root {
    --primary: #6366f1;
    --primary-dark: #5558e3;
    --primary-light: #a5b4fc;
    --bg-dark: #030014;
    --bg-darker: #05001a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* 背景效果 */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-effects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(168, 85, 247, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(99, 102, 241, 0.2), transparent);
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Header */
.comm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: rgba(3, 0, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.comm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comm-logo {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.comm-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.comm-logo span:last-child {
    font-weight: 600;
}

.comm-nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}

.comm-nav a {
    color: var(--text-secondary);
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.comm-nav a:hover, .comm-nav a.active {
    color: var(--text-primary);
}

.comm-nav a:hover::after, .comm-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.comm-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.comm-search {
    position: relative;
}

.comm-search input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    padding: 10px 16px 10px 42px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary);
    width: 220px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.comm-search input:focus {
    width: 280px;
    border-color: rgba(99, 102, 241, 0.4);
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.comm-search input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.comm-search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

/* Main Layout */
.comm-main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 112px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

/* Banner */
.comm-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    animation: fadeInUp 0.6s ease;
}

.comm-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.comm-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
}

.comm-banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.comm-banner p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.comm-banner-img {
    position: absolute;
    right: 48px;
    bottom: 10px;
    font-size: 80px !important;
    opacity: 0.15;
    z-index: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* User Card */
.user-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.user-info-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

.user-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.stat-item strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    font-variant-numeric: tabular-nums;
}

.stat-item span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tabs */
.comm-tabs {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 6px;
    margin: 28px 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.comm-tab {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comm-tab i {
    font-size: 12px;
    opacity: 0.7;
}

.comm-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.comm-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.comm-tab.active i {
    opacity: 1;
}

/* Post List */
.post-list {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    min-height: 400px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.post-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.post-item:hover {
    background: var(--bg-card-hover);
}

.post-item:hover .post-title {
    color: var(--primary-light);
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.post-snippet {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.post-meta i {
    margin-right: 4px;
    color: var(--primary-light);
    opacity: 0.7;
}

.post-tag {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Badge */
.badge-pinned {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { 
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(165deg, #0f0f25 0%, #0a0a1a 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    width: 560px;
    max-width: 100%;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(99, 102, 241, 0.1);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Form Controls */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: #0a0a1a;
    color: var(--text-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Sidebar widgets */
.sidebar-widget {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.sidebar-widget h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.sidebar-widget ul {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 2;
}

.sidebar-widget ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-light);
}

/* Tech tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    color: var(--primary-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Detail page overrides */
.comm-main .content-col > div {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px;
}

.comm-main .content-col a[style*="display: inline-block"] {
    color: var(--primary-light);
    font-weight: 500;
}

.comm-main .content-col h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.comm-main .content-col .post-meta {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.comm-main .content-col button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comm-main .content-col button:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary-light);
}

.reply-form {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 16px !important;
    padding: 28px !important;
}

.reply-form h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.reply {
    border-bottom: 1px solid var(--glass-border) !important;
}

.reply:last-child {
    border-bottom: none !important;
}

/* Detail Page */
.detail-card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    position: relative;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-light);
}

.back-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-4px);
}

.detail-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.5px;
    color: var(--text-primary) !important;
}

.detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 48px;
    min-height: 200px;
    padding: 28px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.comments-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary) !important;
}

.comments-title i {
    color: var(--primary-light);
}

.like-btn {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.like-btn:hover {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.4);
    transform: scale(1.05);
}

.reply {
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.reply:last-child {
    border-bottom: none;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reply-header strong {
    color: var(--primary-light);
    font-size: 14px;
}

.reply-time {
    color: var(--text-muted);
    font-size: 12px;
}

.reply-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.no-replies {
    color: var(--text-muted);
    text-align: center;
    padding: 32px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 24px;
    opacity: 0.5;
    color: var(--primary-light);
}

.empty-state p {
    color: var(--text-muted);
    font-size: 15px;
}

/* User Card Additions */
.signin-form {
    margin-left: auto;
}

.signin-btn {
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.signin-btn:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}

.signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.enterprise-badge {
    font-size: 11px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.rep-title {
    margin-left: 6px;
    color: var(--primary-light);
}

.user-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-btn i {
    font-size: 12px;
}

.action-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-1px);
}

.action-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
}

.add-btn {
    border: none;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-btn:hover {
    background: rgba(99, 102, 241, 0.2);
}

/* Widget Sections */
.widget-section {
    margin-top: 20px;
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
}

.widget-section h4 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.exchange-link {
    font-size: 12px;
    color: var(--primary-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.exchange-link:hover {
    opacity: 0.8;
}

.score-display {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.score-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-light);
}

.score-label {
    font-size: 12px;
    color: var(--text-muted);
}

.score-rules {
    font-size: 12px;
    color: var(--text-muted);
}

.score-rules div {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-rules i {
    color: var(--primary-light);
    width: 16px;
}

.cert-approved {
    color: #34d399;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-pending {
    color: #fbbf24;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-btn {
    width: 100%;
    padding: 10px;
    border: 1px dashed rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.cert-btn:hover {
    border-color: rgba(99, 102, 241, 0.5);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

.activity-list li,
.tool-list li {
    padding: 6px 0;
}

.activity-list a,
.tool-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.activity-list a:hover,
.tool-list a:hover {
    color: var(--primary-light);
}

.activity-icon {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
}

.tool-list i {
    color: var(--primary-light);
    width: 18px;
}

/* Footer */
.comm-footer {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .comm-main {
        grid-template-columns: 1fr;
        padding: 100px 24px 60px;
    }
    
    .comm-container {
        padding: 0 24px;
    }
    
    .comm-nav {
        display: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .comm-banner {
        padding: 28px;
        min-height: 140px;
    }
    
    .comm-banner h2 {
        font-size: 22px;
    }
    
    .comm-banner-img {
        display: none;
    }
    
    .comm-search input {
        width: 140px;
    }
    
    .comm-search input:focus {
        width: 180px;
    }
}
