/* 虚拟现实靶场页面样式 */

.vr-page {
    background-color: #0d1117;
    min-height: 100vh;
}

/* 筛选器样式 */
.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.filter-group-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    color: #8b949e;
    font-weight: 500;
    white-space: nowrap;
}



/* VR网格布局 - 一行5个 */
.vr-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0;
}

/* VR卡片样式 */
.vr-card {
    background-color: #161b22;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #30363d;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    /* Allow badge to overflow */
}

.vr-card:hover {
    transform: translateY(-5px);
    border-color: #888;
}

/* 卡片头部 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    min-height: 20px;
    /* 确保头部有高度 */
}

.card-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    padding: 5px 10px;
    border-radius: 0 8px 0 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.new-badge {
    background-color: #e94560;
    color: white;
}

/* 六边形图标容器 */
.card-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.hexagon-icon {
    width: 80px;
    height: 80px;
    position: relative;
}

.hexagon-svg {
    width: 100%;
    height: 100%;
}

.hexagon-bg {
    fill: #0d1117;
    stroke: #30363d;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.icon-content {
    transition: all 0.3s ease;
}

.vr-card:hover .hexagon-bg {
    stroke: #888;
}

/* 不同图标的颜色主题 */
.shadow-icon .icon-content {
    color: #8b5cf6;
}

.greentiger-icon .icon-content {
    color: #3fb950;
}

.medal-icon .icon-content {
    color: #3fb950;
}

.honeypot-icon .icon-content {
    color: #ffd700;
}

.gear-icon .icon-content {
    color: #8b5cf6;
}

.windmill-icon .icon-content {
    color: #3fb950;
}

.pearl-icon .icon-content {
    color: #8b5cf6;
}

.diamond-icon .icon-content {
    color: #8b5cf6;
}

/* 卡片标题 */
.card-title {
    text-align: center;
    color: #c9d1d9;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}

/* 标签组 */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag {
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    background-color: transparent;
    border: 1px solid;
}

.tag.status-tag {
    color: #f85149;
    border-color: #f85149;
}

.tag.points {
    color: #484f58;
    border-color: #484f58;
}

.tag.difficulty {
    color: #3fb950;
    border-color: #3fb950;
}

/* 挑战按钮 */
.btn-challenge {
    display: block;
    margin: 10px auto;
    width: 80%;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-green-hover), #00aa55);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* border: 1px solid #30363d; */
}

.btn-challenge:hover {
    background: #04911e;
    border-color: #8b949e;
}

/* 卡片底部统计 */
.card-footer {
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding-top: 10px;
    color: #8b949e;
}

.stat {
    display: flex;
    align-items: baseline;
    /* Align text baselines */
}

.stat-label {
    font-size: 12px;
    color: #8b949e;

}

.stat-unit {
    font-size: 12px;
    color: #8b949e;

}



.stat-number {
    font-size: 14px;
    color: #4a90e2;
    /* Blue color for numbers */
    font-weight: normal;
    margin: 0 4px;
    /* Add horizontal margin */
}



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

.page-btn {
    padding: 8px 12px;
    border: 1px solid #30363d;
    background: #0d1117;
    color: #8b949e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: #161b22;
    border-color: #8b949e;
    color: #c9d1d9;
}

.page-btn.active {
    background: #1f6feb;
    color: white;
    border-color: #1f6feb;
}

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