/* LBS定位打卡任务平台 - 前端页面样式 */

/* ========== 组队页面样式 ========== */
.team-container {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

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

.team-header h1 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.create-team-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-team-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.team-section {
    margin-bottom: 30px;
}

.my-team-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

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

.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.team-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.status-recruiting {
    background: #fef3c7;
    color: #d97706;
}

.status-full {
    background: #dbeafe;
    color: #1e40af;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    position: relative;
}

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

.member-leader {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
}

.member-name {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.team-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f9fafb;
}

.action-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.action-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

.team-card-info {
    flex: 1;
}

.team-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.team-card-leader {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.team-card-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.join-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* 组队页面模态框 */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.team-modal.active {
    opacity: 1;
    visibility: visible;
}

.team-modal .modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.team-modal.active .modal-content {
    transform: translateY(0);
}

.team-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.team-modal .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.team-modal .form-group {
    margin-bottom: 16px;
}

.team-modal .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.team-modal .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.team-modal .form-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.team-modal .form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    box-sizing: border-box;
}

.team-modal .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.team-modal .modal-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-modal .modal-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.team-modal .modal-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* ========== 登录页 ========== */
.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.login-tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.login-tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

.login-panel {
    display: none;
}

.login-panel.active {
    display: block;
}

.wechat-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #07C160;
    color: #fff;
}

.wechat-login-btn:hover {
    background: #06B054;
}

.tourist-login-btn {
    background: #f0f0f0;
    color: #666;
}

.tourist-login-btn:hover {
    background: #e0e0e0;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0f0f0;
}

.login-divider span {
    padding: 0 15px;
    font-size: 13px;
    color: #999;
}

.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(180deg, #e6f7ff 0%, #fff 100%);
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff, #70b5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #fff;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.login-form {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.login-code-group {
    display: flex;
    gap: 10px;
}

.login-code-group input {
    flex: 1;
}

.login-code-btn {
    padding: 12px 15px;
    border-radius: 8px;
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
}

.login-code-btn.active {
    background: #e6f7ff;
    color: #1890ff;
}

/* ========== 首页 ========== */
.search-bar {
    background: #fff;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-bar-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.location-btn svg {
    width: 16px;
    height: 16px;
}

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

.search-input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #999;
}

.banner-container {
    position: relative;
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
}

.banner-slide {
    width: 100%;
    height: 100%;
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.banner-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.banner-indicator.active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

.category-nav {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-name {
    font-size: 12px;
    color: #333;
}

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

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.section-more {
    font-size: 14px;
    color: #999;
}

.line-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

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

.line-card-title {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.line-card-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.line-card-progress {
    margin-top: 10px;
}

.line-card-progress-bar {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.line-card-progress-inner {
    height: 100%;
    background: linear-gradient(135deg, #1890ff, #70b5ff);
    border-radius: 2px;
    transition: width 0.3s;
}

.line-card-progress-text {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* ========== 支付页面 ========== */
.payment-container {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}

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

.payment-header h1 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.payment-section {
    margin-bottom: 30px;
}

.payment-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

.payment-amount {
    text-align: center;
    margin: 30px 0;
}

.amount-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.amount-value {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.payment-method.selected {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.method-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.method-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.method-wechat {
    background: #07c160;
    color: white;
}

.method-alipay {
    background: #1677ff;
    color: white;
}

.method-card {
    background: #f59e0b;
    color: white;
}

.method-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.method-desc {
    font-size: 12px;
    color: #666;
}

.method-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-radio.selected {
    border-color: #3b82f6;
    background: #3b82f6;
}

.method-radio.selected::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

.pay-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.pay-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.order-info {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.order-info-label {
    color: #666;
}

.order-info-value {
    color: #333;
    font-weight: 500;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

.order-no {
    font-size: 14px;
    color: #666;
}

.order-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-success {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.order-card-body {
    margin-bottom: 12px;
}

.order-amount {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.order-time {
    font-size: 12px;
    color: #666;
}

.order-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.order-action-btn {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-action-btn:hover {
    background: #f9fafb;
}

.order-action-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.order-action-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* ========== 任务卡片 ========== */
.task-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.task-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.task-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.task-card-content {
    flex: 1;
    min-width: 0;
}

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

.task-card-title {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    color: var(--text-color);
}

.task-card-status {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.task-card-status.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.task-card-status.completed {
    background: #f6ffed;
    color: #52c41a;
}

.task-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.task-card-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.task-card-points {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ========== 地图容器 ========== */
#map-container {
    width: 100%;
    height: 400px;
    background: #eaeaea;
}

/* ========== 点位列表 ========== */
.point-list {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.point-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f9f9f9;
}

.point-item.active {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
}

.point-item.completed {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
}

.point-item.locked {
    background: #f5f5f5;
    opacity: 0.6;
}

.point-name {
    font-size: 14px;
    font-weight: 500;
}

.point-distance {
    font-size: 12px;
    color: #999;
}

.point-status {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.point-status.active {
    background: #1890ff;
    color: #fff;
}

.point-status.completed {
    background: #52c41a;
    color: #fff;
}

.point-status.locked {
    background: #d9d9d9;
    color: #fff;
}

/* ========== 答题页面 ========== */
.question-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.question-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #1890ff;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-option {
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.question-option:hover {
    border-color: #1890ff;
    background: #f0f7ff;
}

.question-option.selected {
    border-color: #1890ff;
    background: #e6f7ff;
    color: #1890ff;
}

.question-option.correct {
    border-color: #52c41a;
    background: #f6ffed;
    color: #52c41a;
}

.question-option.incorrect {
    border-color: #ff4d4f;
    background: #fff2f0;
    color: #ff4d4f;
}

/* ========== 通用模态框 ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

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

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    text-align: center;
    padding: 20px 0;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.modal-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.modal-submessage {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* ========== 游戏中心 ========== */
.game-container {
    padding: 15px;
}

.game-header {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
}

.game-header h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.game-header p {
    font-size: 14px;
    opacity: 0.9;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.game-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-2px);
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.game-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.game-desc {
    font-size: 12px;
    color: #999;
}

/* ========== 线路列表 ========== */
.filter-bar {
    background: #fff;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 56px;
    z-index: 80;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-tab {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab.active {
    background: #1890ff;
    color: #fff;
}

.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.filter-modal.active {
    display: flex;
    flex-direction: column;
}

.filter-modal-content {
    background: #fff;
    border-radius: 16px 16px 0 0;
    margin-top: auto;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.filter-modal-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-option.active {
    border-color: #1890ff;
    background: #e6f7ff;
    color: #1890ff;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

#lineList {
    padding: 10px 15px;
}

.line-card-tag {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    background: #f0f0f0;
    color: #666;
}

.loading-more {
    padding: 15px;
    text-align: center;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #d9d9d9;
}

/* ========== 标签页样式 ========== */
.tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.tabs .tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tabs .tab:hover {
    color: #1890ff;
}

.tabs .tab.active {
    color: #1890ff;
    font-weight: 600;
}

.tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #1890ff;
    border-radius: 1px;
}

.tab-content {
    transition: opacity 0.3s;
}

.tab-content.hidden {
    display: none;
}

.line-card-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff4d4f;
}

.line-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

/* ========== 任务详情 ========== */
.task-cover {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1890ff, #70b5ff);
    border-radius: 0 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
    position: relative;
}

.task-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    border-radius: 0 0 16px 16px;
}

.task-info {
    margin-top: -20px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 15px;
}

.task-header {
    margin-bottom: 15px;
}

.task-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.task-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.task-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.task-meta-item svg {
    width: 16px;
    height: 16px;
}

.task-price {
    font-size: 20px;
    font-weight: 600;
    color: #ff4d4f;
    margin-bottom: 15px;
}

.task-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.task-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.task-tag {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    background: #f0f0f0;
    color: #666;
}

.rule-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.rule-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.rule-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.rule-number {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1890ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.action-buttons {
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* ========== 地图页面 ========== */
#map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin: 15px 0;
    overflow: hidden;
}

.map-controls {
    position: absolute;
    top: 160px;
    right: 15px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.map-control-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-control-btn svg {
    width: 24px;
    height: 24px;
    color: #1890ff;
}

.location-status {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.location-status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1890ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.location-status-text {
    flex: 1;
}

.location-status-distance {
    color: #1890ff;
    font-weight: 500;
}

.point-marker {
    position: relative;
}

.point-marker-completed {
    opacity: 0.6;
}

.point-marker-current {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.map-error {
    text-align: center;
    padding: 50px;
    color: #999;
}

.arrival-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e6f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.arrival-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* ========== 首页/落地页 ========== */
.landing-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff, #70b5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 48px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(24, 144, 255, 0.3);
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.hero p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #1890ff, #70b5ff);
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(24, 144, 255, 0.5);
}

.features {
    padding: 30px 0;
}

.features h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    background: #fff;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.feature-icon.blue { background: #e6f7ff; }
.feature-icon.green { background: #f6ffed; }
.feature-icon.orange { background: #fff7e6; }
.feature-icon.purple { background: #f9f0ff; }

.feature-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.feature-item p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.how-it-works {
    padding: 30px 0;
}

.how-it-works h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.step-list {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1890ff, #70b5ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    margin-right: 15px;
}

.step-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.admin-link {
    text-align: center;
    padding: 30px 0;
}

.admin-link a {
    color: #999;
    font-size: 13px;
    text-decoration: none;
}

.admin-link a:hover {
    color: #1890ff;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 480px) {
    .login-container {
        padding: 20px;
    }
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

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

.menu-item .menu-icon {
    font-size: 20px;
    margin-right: 12px;
}

.menu-item .menu-arrow {
    margin-left: auto;
    color: #ccc;
}
