:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --gold-color: #ffd700;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --ai-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ai-glow: rgba(102, 126, 234, 0.3);
}

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

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 通用样式 */
.card-bg {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    transition: all 0.3s ease;
}

.card-bg:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    border-radius: 8px;
    margin-right: 10px;
}

.section-icon i {
    color: var(--primary-color);
    font-size: 1rem;
}

.section-title {
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--highlight-color), #ff6b8a);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    color: var(--primary-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--gold-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* 背景动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g"><stop offset="0%" stop-color="rgba(255,255,255,0.03)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="50" cy="50" r="40" fill="url(%23g)"/></svg>');
    animation: float 20s infinite linear;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px var(--shadow-dark);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-color);
    text-decoration: none;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--gold-color);
    background: var(--glass-bg);
}

/* 主容器 */
.main-container {
    margin-top: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    position: relative;
}

/* AI助手固定位置 */
.ai-assistant {
    position: fixed;
    top: 50%;
    right: 380px; /* You can adjust this if still too far right/left */
    transform: translateY(-50%);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; /* Added for centering children */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
}

.ai-assistant:hover {
    transform: translateY(-50%) scale(1.1); /* Hover on the whole block */
}

.ai-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-name {
    text-align: center;
    margin-top: 8px;
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 800;
}

.ai-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* 气泡提示 */
.bubble-tip {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    margin-bottom: 15px; 
    background: linear-gradient(45deg, var(--highlight-color), #ff6b8a);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    animation: bubbleShow 30s infinite; 
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.bubble-tip::after {
    content: '';
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%); 
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--highlight-color); 
}

@keyframes bubbleShow {
    0%, 20%, 100% { 
        opacity: 0;
        transform: translate(-50%, 10px) scale(0.95); 
    }
    5% { 
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    15% { 
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

/* AI助手弹窗 */
.ai-chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.ai-chat-content {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--gold-color), #ffed4e);
    color: var(--primary-color);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    position: relative;
}

.ai-chat-header .ai-avatar {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.ai-chat-header .ai-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.ai-chat-header .ai-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.ai-chat-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.ai-chat-close:hover {
    transform: scale(1.1);
}

.ai-chat-body {
    padding: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.ai-answer-area {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.ai-answer-area.show {
    display: block;
    animation: slideInUp 0.5s ease;
}

.ai-answer-title {
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.ai-answer-title i {
    margin-right: 8px;
}

.ai-answer-content {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.ai-loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    flex-direction: column;
}

.ai-loading.show {
    display: flex;
}

.ai-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--gold-color);
    margin-bottom: 15px;
}

.ai-input-area {
    margin-top: auto;
}

.ai-input-container {
    position: relative;
}

.ai-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 1rem;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s ease;
    resize: none;
    min-height: 50px;
    max-height: 120px;
}

.ai-input::placeholder {
    color: var(--text-muted);
}

.ai-input:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.ai-send-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.ai-send-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 侧边栏 */
.sidebar {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 300px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 1000;
    text-align: center;
}

.sidebar-section {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

/* 二维码区域 */
.qr-container {
    text-align: center;
}

.qr-code-image {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 12px;
    margin: 0 auto 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.qr-code-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-description {
    color: var(--gold-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.qr-subtitle {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* 课程推荐 */
.course-item {
    display: block;
    text-decoration: none;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.course-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-color);
    transform: translateY(-2px);
}

.course-content {
    display: flex;
    align-items: center;
}

.course-info {
    flex: 1;
}

.course-title {
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* AI 专家卡片 */
.expert-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expert-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.expert-name {
    color: var(--gold-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.expert-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 15px;
}

.expert-link {
    display: block;
    background: linear-gradient(45deg, var(--highlight-color), #ff6b8a);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s ease;
}

.expert-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* 主内容区域 */
.content-area {
    margin-right: 320px;
    min-height: calc(100vh - 100px);
}

/* 头部区域 */
.hero-section {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: -20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* 搜索区域 */
.search-section {
    padding: 40px;
    margin-bottom: 10px;
    position: relative; /* ADDED */
    z-index: 10;      /* ADDED */
}

.search-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.search-input {
    width: 100%;
    padding: 20px 70px 20px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; 
    font-size: 1.1rem;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 62px; 
    box-sizing: border-box; 
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--highlight-color), #ff6b8a);
    border: none;
    border-radius: 50px;
    width: 55px;
    height: 55px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

/* 结果区域 */
.results-section {
    padding: 40px;
    min-height: 600px;
    position: relative; /* ADDED */
    z-index: 5;       /* ADDED */
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-count {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.results-count .highlight {
    color: var(--gold-color);
}

.search-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 卡片网格布局 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-dark);
    border-color: rgba(255, 215, 0, 0.3);
}

.result-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.result-card-title {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
    margin-right: 15px;
}

.score-badge {
    background: linear-gradient(45deg, var(--highlight-color), #ff6b8a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.result-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 6px;
    width: 14px;
    color: var(--gold-color);
}

.result-card-body {
    color: var(--text-light);
    line-height: 1.5;
    margin: 15px 0;
    font-size: 0.9rem;
    max-height: 60px;
    overflow: hidden;
    position: relative;
}

.result-card-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.8));
}

.result-card-body mark {
    background: rgba(255, 215, 0, 0.3);
    color: var(--gold-color);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.result-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.state-open {
    background: rgba(40, 167, 69, 0.2);
    color: #40a745;
    border: 1px solid rgba(64, 167, 69, 0.3);
}

.tag.state-closed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* 无结果页面 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.no-results h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.no-results p {
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.no-results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
}

.action-btn i {
    margin-right: 8px;
}

/* 加载和错误状态 */
.loading {
    text-align: center;
    padding: 80px 20px;
}

.loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--gold-color);
    border-radius: 50%;
    margin: 0 auto 30px;
}

.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b8a;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
}

/* 弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 30px;
    max-width: 1200px;
    max-height: 100vh;
    overflow-y: auto;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    min-width: 800px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

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

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

.modal-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.truncatable-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.truncatable-content.collapsed {
    max-height: 120px;
}

.truncatable-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, var(--secondary-color));
    pointer-events: none;
}

.read-more-btn {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold-color);
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: background 0.2s ease;
}

.read-more-btn:hover {
    background: rgba(255, 215, 0, 0.25);
}

/* AI 智能诊断建议区域 */
.llm-conclusion-section {
    position: relative;
    margin: 35px 0;
    padding: 35px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.25) 0%,
        rgba(118, 75, 162, 0.2) 25%,
        rgba(64, 224, 208, 0.15) 50%,
        rgba(102, 126, 234, 0.2) 75%,
        rgba(138, 43, 226, 0.25) 100%
    );
    border: 2px solid transparent;
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.4),
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: aiGlow 3s ease-in-out infinite alternate;
    background-clip: padding-box;
}

.llm-conclusion-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #667eea,
        #764ba2,
        #40e0d0,
        #667eea,
        #8a2be2
    );
    border-radius: 20px;
    z-index: -1;
    animation: borderRotate 6s linear infinite;
}

@keyframes aiGlow {
    0% { 
        box-shadow: 
            0 0 30px rgba(102, 126, 234, 0.4),
            0 10px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 0 50px rgba(102, 126, 234, 0.8),
            0 15px 60px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.llm-conclusion-section .section-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
    background: linear-gradient(45deg, #667eea, #764ba2, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 15px;
}

.llm-conclusion-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2, #40e0d0);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.llm-conclusion-section .section-title i {
    margin-right: 15px;
    font-size: 2rem;
    animation: brainPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.7));
}

@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.7));
    }
    50% { 
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 1));
    }
}

.llm-conclusion-section .ai-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    animation: badgeFloat 2s ease-in-out infinite alternate;
}

@keyframes badgeFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}

.llm-conclusion-section .truncatable-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.llm-conclusion-section .truncatable-content strong {
    color: #40e0d0;
    font-weight: 700;
}

.llm-conclusion-section .truncatable-content code {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #40e0d0;
    padding: 4px 8px;
    font-size: 0.95rem;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.llm-conclusion-section .truncatable-content pre {
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.llm-conclusion-section .truncatable-content.collapsed::after {
    background: linear-gradient(transparent, 
        rgba(102, 126, 234, 0.25) 30%,
        rgba(118, 75, 162, 0.2) 100%);
}

.llm-conclusion-section .read-more-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.llm-conclusion-section .read-more-btn:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* 答案和评论区域 */
.answers-section {
    margin-top: 20px;
}

.answers-title {
    color: var(--gold-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.answers-title i {
    margin-right: 10px;
}

.answer-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid var(--gold-color);
}

.answer-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.answer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.answer-user-info {
    flex: 1;
}

.answer-username {
    color: var(--gold-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.answer-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.answer-body {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.answer-body code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.answer-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 10px 0;
    border-left: 3px solid var(--highlight-color);
}

.loading-answers {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination button {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pagination button.active {
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    color: var(--primary-color);
    border-color: var(--gold-color);
}

.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 帮助弹窗特殊样式 */
.help-modal .modal-content {
    max-width: 400px;
    text-align: center;
}

.help-qr-code {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 12px;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.help-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .sidebar {
        width: 260px;
        right: 15px;
    }
    
    .ai-assistant {
        right: 285px;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-bottom: 30px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-height: none;
    }

    .content-area {
        margin-right: 0;
    }

    .main-container {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .ai-assistant {
        right: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .search-section,
    .results-section {
        padding: 25px;
        margin-bottom: 25px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-content {
        margin: 10px;
        padding: 20px;
        max-height: 90vh;
        min-width: auto;
    }

    .llm-conclusion-section {
        margin: 20px 0;
        padding: 25px;
    }

    .llm-conclusion-section .section-title {
        font-size: 1.25rem;
    }

    .llm-conclusion-section .section-title i {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    .result-card-meta {
        flex-direction: column;
        gap: 8px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .pagination button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .ai-assistant {
        right: 15px;
        bottom: 15px;
    }
    
    .ai-avatar {
        width: 60px;
        height: 60px;
    }
    
    .ai-chat-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .bubble-tip {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}


/* Search Filters */
.search-filters {
    flex-shrink: 0; 
    display: flex; 
    justify-content: flex-start;
}

.repo-selector-container {
    position: relative;
    min-width: 180px; 
    max-width: 250px; 
}

.repo-selector {
    position: relative; /* ADDED / ENSURED */
}

.repo-selected {
    display: flex;
    align-items: center; 
    padding: 0 15px; 
    height: 62px; 
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: 0.9rem; 
    gap: 8px;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.repo-selected #selectedRepoText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1; 
}


.repo-selected:hover {
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.15);
}

.repo-selected.active {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.repo-selected i:first-child {
    color: var(--gold-color);
}

.repo-selected i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0; 
}

.repo-selected.active i:last-child {
    transform: rotate(180deg);
}

.repo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    /* right: 0; */ /* Let width control this */
    width: 100%; 
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    backdrop-filter: blur(20px);
    z-index: 1000; /* This ensures it's on top of other elements WITHIN its STACKING CONTEXT PARENT (.search-section) */
    margin-top: 5px;
    max-height: 300px;
    overflow: hidden; /* This is fine for vertical scrolling, but not the cause of the issue */
    display: none;
}


.repo-dropdown.show {
    display: block;
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.repo-search-box {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.repo-search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.repo-search-box input:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.repo-search-box i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.repo-options {
    max-height: 200px;
    overflow-y: auto;
}

.repo-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.repo-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.repo-option.no-results {
    color: var(--text-muted);
    cursor: default;
    font-style: italic;
}

.repo-option.clear-selection {
    color: var(--highlight-color);
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.repo-option.clear-selection:hover {
    background: rgba(233, 69, 96, 0.1);
}

.repo-option i {
    color: var(--gold-color);
    width: 16px;
}

.search-input-container {
    position: relative;
    flex-grow: 1; 
}

/* LLM 回退结果样式 */
.llm-fallback-result {
    position: relative; /* ADDED */
    z-index: 5;       /* ADDED - if it's a direct sibling of .search-section */
    margin-bottom: 30px;
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.3) 0%,
        rgba(118, 75, 162, 0.25) 25%,
        rgba(64, 224, 208, 0.2) 50%,
        rgba(102, 126, 234, 0.25) 75%,
        rgba(138, 43, 226, 0.3) 100%
    );
    border: 2px solid transparent;
    border-radius: 25px;
    box-shadow: 
        0 0 40px rgba(102, 126, 234, 0.6),
        0 15px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: aiResultGlow 3s ease-in-out infinite alternate;
    background-clip: padding-box;
    overflow: hidden;
}

.llm-fallback-result::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #667eea,
        #764ba2,
        #40e0d0,
        #667eea,
        #8a2be2
    );
    border-radius: 25px;
    z-index: -1;
    animation: borderRotate 8s linear infinite;
}

.llm-fallback-result::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatingOrb 4s ease-in-out infinite alternate;
}

@keyframes aiResultGlow {
    0% { 
        box-shadow: 
            0 0 40px rgba(102, 126, 234, 0.6),
            0 15px 50px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    100% { 
        box-shadow: 
            0 0 60px rgba(102, 126, 234, 1),
            0 20px 70px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
}

@keyframes floatingOrb {
    0% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    100% { 
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
}

.llm-fallback-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.llm-fallback-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.llm-fallback-title .ai-icon {
    font-size: 2.2rem;
    animation: brainPulse 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 1));
}

.llm-fallback-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
}

.llm-expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--gold-color), #ffed4e);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    animation: badgeFloat 3s ease-in-out infinite alternate;
}

.llm-fallback-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.llm-answer-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.llm-answer-text strong {
    color: #40e0d0;
    font-weight: 700;
}

.llm-answer-text code {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #40e0d0;
    padding: 4px 8px;
    font-size: 1rem;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.llm-answer-text pre {
    background: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow-x: auto;
}

/* Responsive adjustment for search */
@media (max-width: 768px) {
    .search-container { 
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .repo-selector-container {
        max-width: none;
        min-width: 0; 
    }

    .repo-selected {
        font-size: 0.9rem; 
    }
    
    .search-input {
        font-size: 1rem; 
    }

    .llm-fallback-result {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .llm-fallback-title {
        font-size: 1.4rem;
    }
    
    .llm-fallback-subtitle {
        font-size: 1rem;
    }
    
    .llm-answer-text {
        font-size: 1rem;
    }
}


/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-color), var(--highlight-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffed4e, #ff6b8a);
}
/* ... (所有现有CSS) ... */

/* 贡献排行榜 */
.ranking-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 5px;
}

.ranking-tab {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    flex: 1;
}

.ranking-tab.active {
    background: linear-gradient(45deg, var(--highlight-color), #ff6b8a);
    color: white;
    box-shadow: 0 3px 10px rgba(233, 69, 96, 0.3);
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

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

.rank-item:hover {
    background: rgba(255, 215, 0, 0.05);
}

.rank-position {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-position {
    color: #ffd700; /* Gold */
}
.rank-item:nth-child(2) .rank-position {
    color: #c0c0c0; /* Silver */
}
.rank-item:nth-child(3) .rank-position {
    color: #cd7f32; /* Bronze */
}

.rank-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 0 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.rank-name {
    flex-grow: 1;
    font-weight: 600;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-count {
    font-size: 0.9rem;
    color: var(--gold-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 投稿弹窗的文本域样式 */
#submissionModal textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
    margin-bottom: 15px;
    min-height: 100px;
}
#submissionModal textarea:focus,
#submissionModal input:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}
#submissionModal input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}
