﻿* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    /* 背景图 + 深色兜底 */
    background-color: #060a1c;
    background-image: url('/static/user/img/index_all.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    min-height: 100vh;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.main-wrap {
    padding: 0 14px 90px;
    max-width: 640px;
    margin: 0 auto;
}
/* 顶部大标题 */
.page-header-title {
    margin-top: 50px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #f0d18a;
    letter-spacing: 4px;
    padding: 22px 0 18px;
    text-shadow: 0 0 14px rgba(240, 209, 138, 0.55), 0 2px 4px rgba(0,0,0,0.6);
}
/* 顶部说明框 */
.intro-panel {
    background: linear-gradient(180deg, rgba(42,48,74,0.86) 0%, rgba(32,43,71,0.9) 100%);
    /* 修改：金色边框 */
    border: 1px solid rgb(251 216 141);
    border-radius: 12px;
    padding: 14px 16px;
    color: #d2c5b0;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 20px rgba(70, 120, 255, 0.1),
    0 4px 15px rgba(0, 0, 0, 0.2);
}
/* 区域卡片 */
.zone-card {
    background: linear-gradient(135deg, rgba(28, 48, 108, 0.92) 0%, rgba(12, 22, 56, 0.96) 100%);
    /* 修改：金色边框 */
    border: 1px solid rgb(251 216 141);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(70, 120, 255, 0.06);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.zone-card:active {
    transform: scale(0.985);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(70, 120, 255, 0.12);
}
.zone-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #f0d18a, rgba(240, 209, 138, 0.1));
}
.zone-info { flex: 1; padding-right: 12px; min-width: 0; }
.zone-name {
    font-size: 18px;
    font-weight: 700;
    color: #f0d18a;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.zone-line {
    font-size: 13px;
    color: #a8b8dc;
    line-height: 1.9;
}
.zone-line .k { color: #8a9ac0; }
.zone-line .v { color: #dce6ff; font-weight: 500; }
.zone-line.cost .v { color: #f7c66b; }
/* 参与按钮 */
.zone-btn {
    flex-shrink: 0;
    display: inline-block;
    min-width: 76px;
    padding: 9px 0;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7e2a8 0%, #d9b25f 50%, #b98d33 100%);
    color: #4a3208;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 3px 12px rgba(217, 178, 95, 0.4), inset 0 1px 0 rgba(255,255,255,0.6);
    border: none;
    cursor: pointer;
}
/* 池子区域 */
.pool-row {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.pool-item {
    flex: 1;
    border-radius: 12px;
    padding: 14px 14px 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 132px;
    transition: transform 0.2s;
}
.pool-item:active { transform: scale(0.98); }
.pool-item.destroy {
    background: linear-gradient(135deg, #5a1008 0%, #8b2a10 60%, #3a0a04 100%);
    /* 修改：金色边框 */
    border: 1px solid rgb(251 216 141);
    box-shadow: inset 0 0 26px rgba(255, 90, 30, 0.25), 0 4px 16px rgba(0,0,0,0.3);
}
.pool-item.dividend {
    background: linear-gradient(135deg, #0d3a35 0%, #14655a 60%, #06201d 100%);
    /* 修改：金色边框 */
    border: 1px solid rgb(251 216 141);
    box-shadow: inset 0 0 26px rgba(60, 200, 170, 0.2), 0 4px 16px rgba(0,0,0,0.3);
}
.pool-icon {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 40px;   /* 直接控制图片大小 */
    height: 40px;
    object-fit: contain; /* 保持比例 */
}
.pool-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.pool-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
}
.pool-view {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    color: #fff;
    background: rgba(0,0,0,0.32);
    border-radius: 8px;
    padding: 2px 8px;
    line-height: 1.4;
}
.pool-nums {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}
.pool-num-item { flex: 1; min-width: 0; }
.pool-num-val {
    font-size: 15px;
    font-weight: 700;
    color: #ffd9a0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pool-item.dividend .pool-num-val { color: #9ff5dd; }
.pool-num-label {
    font-size: 10px;
    color: rgba(255,255,255,0.62);
    margin-top: 3px;
    white-space: nowrap;
}
.header-center{
    width: 100%;
}
.header {
    background: transparent !important;
    /* 修改：顶部下边框也统一成金色 */
    border-bottom: 1px solid rgb(251 216 141);
}
.header-center { color: #fff !important; font-size: 18px; font-weight: bold; letter-spacing: 2px; }
