
/* ====== MGM云端科技 - 黑金主题首页样式 ====== */
.hero-banner {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    border-bottom: 2px solid #c9a959;
    padding: 40px 0 30px;
    margin-top: 0;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(201,169,89,0.3);
    margin-bottom: 12px;
}
.text-gold { color: #c9a959; }
.hero-subtitle {
    color: #8a8a9a;
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.feature-badge {
    background: rgba(201,169,89,0.12);
    border: 1px solid rgba(201,169,89,0.3);
    color: #c9a959;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}
.btn-outline-custom {
    color: #c9a959;
    border-color: #c9a959;
    background: transparent;
    margin: 3px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.btn-outline-custom:hover,
.btn-outline-custom.active {
    background: #c9a959;
    color: #0a0a0f;
    border-color: #c9a959;
    box-shadow: 0 0 20px rgba(201,169,89,0.2);
}
.section-title { color: #c9a959; font-weight: 700; font-size: 1.6rem; }
.title-icon { color: #c9a959; font-size: 0.6rem; vertical-align: middle; margin: 0 8px; }
.separator-custom {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a959, transparent);
    margin: 8px auto;
    border-radius: 2px;
}
.section-desc { color: #6a6a7a; font-size: 0.9rem; }
.goods-card {
    background: #141420;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
}
.goods-card:hover {
    transform: translateY(-6px);
    border-color: #c9a959;
    box-shadow: 0 12px 35px rgba(201,169,89,0.15);
}
.card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #0d0d15;
}
.card-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}
.goods-card:hover .card-img-wrapper img { transform: scale(1.05); }
.badge-autodelivery {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(25, 135, 84, 0.88);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
    z-index: 2;
}
.badge-manual {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 193, 7, 0.88);
    color: #000;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
    z-index: 2;
}
.goods-card .card-body { padding: 14px; }
.goods-card .card-title {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.goods-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.goods-price { color: #c9a959; font-size: 1.15rem; font-weight: 700; }
.discount-tag {
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}
.btn-buy {
    background: linear-gradient(135deg, #c9a959, #b8922e);
    color: #0a0a0f;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 0;
    transition: all 0.3s;
}
.btn-buy:hover {
    background: linear-gradient(135deg, #dbb96a, #c9a959);
    color: #0a0a0f;
    box-shadow: 0 4px 20px rgba(201,169,89,0.3);
    transform: scale(1.02);
}
.trust-section {
    background: #0f0f18;
    border-top: 1px solid #2a2a3a;
    padding: 30px 0;
    margin-top: 20px;
}
.trust-item { padding: 10px 0; }
.trust-icon { font-size: 2rem; margin-bottom: 6px; }
.trust-text { color: #8a8a9a; font-size: 0.9rem; font-weight: 500; }
.main-container { background: #0a0a0f; }
body { background: #0a0a0f; }
.card { background: #141420; border-color: #2a2a3a; }
.notice .card { background: #141420; border: 1px solid #2a2a3a; }
.notice .card-body { color: #c0c0d0; }
.notice h4 { color: #c9a959; }
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .card-img-wrapper img { height: 140px; }
}
/* 公告增强 - 大气风格 */
.notice .lead {
    margin-bottom: 0;
    padding: 0;
}
.notice .lead > div {
    box-shadow: 0 8px 32px rgba(15,52,96,0.4) !important;
    border: 1px solid rgba(255,255,255,0.08);
}
.notice .lead > div:hover {
    box-shadow: 0 12px 40px rgba(15,52,96,0.5) !important;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* 优惠券横幅 */
.coupon-banner .card-body {
    position: relative;
    overflow: hidden;
}
.coupon-banner .card-body::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.coupon-banner .card-body::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.02);
    border-radius: 50%;
}

/* 购买页信任增强 */
.card-body.text-center.py-3 span {
    transition: all 0.2s ease;
}
.card-body.text-center.py-3 span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== 公告+优惠合并卡片 ===== */
.promo-card {
    background: linear-gradient(135deg, #1a1a3e 0%, #2a1a4e 50%, #1a1a2e 100%) !important;
    border: 1px solid rgba(201,169,89,0.25) !important;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.promo-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,169,89,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.promo-card .card-body {
    position: relative;
    z-index: 1;
}
.promo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}
.promo-badge {
    background: linear-gradient(135deg, #c9a959, #b8922e);
    color: #0a0a0f;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 12px;
    letter-spacing: 1px;
}
.promo-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(201,169,89,0.2);
}
.promo-coupons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.coupon-tag {
    display: inline-block;
    padding: 5px 16px;
    border: 1.5px solid rgba(201,169,89,0.35);
    border-radius: 20px;
    font-size: 0.82rem;
    color: #e0d0b0;
    transition: all 0.25s;
}
.coupon-tag:hover {
    border-color: #c9a959;
    background: rgba(201,169,89,0.08);
    transform: translateY(-2px);
}
.coupon-tag strong {
    color: #c9a959;
}
.promo-extras {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
}