.badge-tag {
    position: absolute;
    top: -6px;
    right: -10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    line-height: 1.2;
    pointer-events: none;
    transform: rotate(8deg);
    background: linear-gradient(135deg, #00e676 0%, #00c853 60%, #009624 100%);
    color: #f8fff8;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 6px rgba(0, 200, 83, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.25);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    z-index: 3;
}

.badge-vip {
    background: linear-gradient(135deg, #FFD700 0%, #FFB300 40%, #FF8C00 100%);
    color: #69550d;
    font-weight: 800;
    border: 1px solid rgba(255, 215, 0, 0.7);
    box-shadow: 0 0 6px rgba(255, 200, 50, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.badge-gray {
    background: linear-gradient(135deg, #777 0%, #666 40%, #555 100%);
    color: #e0e0e0;
    font-weight: 700;
    border: 1px solid rgba(180, 180, 180, 0.4);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4), inset 0 0 4px rgba(255, 255, 255, 0.15);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

table.feature-grid {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    max-width: 1400px;
    font-family: "Microsoft YaHei", sans-serif;
    color: #fff;
}

table.feature-grid th,
table.feature-grid td {
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    vertical-align: middle;
}

table.feature-grid th {
    background: rgba(255, 255, 255, 0.1);
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

table.feature-grid td:first-child {
    width: 150px;
    text-align: center;
}

table.feature-grid td:first-child a {
    position: relative;
    display: inline-block;
}

td i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 120px;
    height: 50px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    font-style: normal;
    line-height: 1.4;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

td i:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

table.feature-grid td:first-child a .badge-tag {
    position: absolute;
    top: -6px;
    right: -10px;
    z-index: 10;
}

.small-text {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
}

.small-text.success {
    color: #2ECC71;
}

.small-text.danger {
    color: #E74C3C;
}

.small-text.white {
    color: #ffffff;
}

.cell-panel:empty {
    display: none;
}

.feature-desc {
    margin: 8px 0;
    padding: 8px 20px;
    color: #eaeaea;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.15s ease;
}

.feature-desc:hover {
    background: rgba(91, 127, 255, 0.15);
    border-color: rgba(91, 127, 255, 0.4);
    box-shadow: 0 4px 14px rgba(91, 127, 255, 0.25);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.25s ease;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-wrapper:hover {
    transform: translateY(-4px);
}

.btn-wrapper .btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    min-width: 100px;
    height: 40px;
    background: linear-gradient(135deg, #4d8df5 0%, #3068e8 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.1;
    position: relative;
    overflow: hidden;
}

/* ❌ 删除右侧按钮光影 */

/* ✅ 确保按钮文字在光影上方 */
.btn-wrapper .btn>* {
    position: relative;
    z-index: 2;
}

/* ======= 按钮颜色变体 ======= */
.btn-constant {
    background: linear-gradient(135deg, #7ef57d 0%, #4dd84c 60%, #2eb82e 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-mouse {
    background: linear-gradient(135deg, #7dd8ff 0%, #4db9ff 60%, #2e9cff 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-logic {
    background: linear-gradient(135deg, #d97dff 0%, #c14dff 60%, #a82eff 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-function {
    background: linear-gradient(135deg, #ffe77d 0%, #ffd54d 60%, #ffb82e 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-pink {
    background: linear-gradient(135deg, #ff7dd8 0%, #ff4db9 60%, #ff2e9c 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-plus {
    background: linear-gradient(135deg, #00f5cc 0%, #00e6a7 60%, #00cc88 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-vip {
    background: linear-gradient(135deg, #FFD700 0%, #FFB300 60%, #FF8C00 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

.btn-gray {
    background: linear-gradient(135deg, #777 0%, #555 60%, #333 100%) !important;
    color: #cccccc !important;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.8);
}

td i:hover .badge-tag,
.btn-wrapper:hover .badge-tag {
    transform: rotate(8deg) scale(1.1);
    filter: brightness(1.25);
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.7), 0 0 20px rgba(0, 255, 128, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.3);
}

td i:hover .badge-vip,
.btn-wrapper:hover .badge-vip {
    transform: rotate(8deg) scale(1.1);
    filter: brightness(1.25);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 200, 60, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.4);
}

td i:hover .badge-gray,
.btn-wrapper:hover .badge-gray {
    transform: rotate(8deg) scale(1.1);
    filter: brightness(1.3);
    box-shadow: 0 0 10px rgba(200, 200, 200, 0.6),
        0 0 18px rgba(160, 160, 160, 0.4),
        inset 0 0 6px rgba(255, 255, 255, 0.25);
}

/* ======= 响应式布局 ======= */
@media (max-width: 768px) {

    table.feature-grid,
    table.feature-grid tr,
    table.feature-grid td,
    table.feature-grid th {
        display: block;
        width: 100%;
    }

    table.feature-grid th {
        display: none;
    }

    table.feature-grid td:first-child {
        text-align: center;
        padding-top: 20px;
    }
}