﻿body {
    background: #f7f9fc;
}

.promo-hero {
    background: linear-gradient(135deg, #0b2b6b 0%, #1a4a8a 100%);
    color: #fff;
    padding: 90px 0 50px;
}

    .promo-hero .hero-title {
        font-size: 36px;
        font-weight: 800;
        letter-spacing: .5px;
        margin: 0 0 12px;
        text-align: center;
    }

    .promo-hero .hero-sub {
        opacity: .92;
        margin: 0;
        text-align: center;
        font-size: 16px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.promo-section {
    padding: 30px 0 50px;
}

.promo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-filter-section {
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
}

    .search-input .el-input__inner {
        height: 45px;
        font-size: 15px;
        padding: 0 20px;
    }

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
}

    .filter-tab:hover {
        border-color: #0b2b6b;
        color: #0b2b6b;
    }

    .filter-tab.active {
        background: #0b2b6b;
        color: white;
        border-color: #0b2b6b;
    }

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.promo-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

    .promo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .promo-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0b2b6b, #1a4a8a);
    }

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4f;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.promo-header {
    margin-bottom: 20px;
}

.tld-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.pro-name-label {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-left: 8px;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    vertical-align: middle;
}

.registrar-name {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.registrar-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

    .registrar-icon.alibaba {
        background: #FF6A00;
    }

    .registrar-icon.tencent {
        background: #1890FF;
    }

    .registrar-icon.xinnet {
        background: #E53935;
    }

    .registrar-icon.namecheap {
        background: #4a9eff;
    }

.price-section {
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.promo-price {
    font-size: 28px;
    font-weight: 700;
    color: #0b2b6b;
}

.price-currency {
    font-size: 16px;
    color: #666;
    margin-left: 4px;
}

.discount-badge {
    background: #e6f2ff;
    color: #0b2b6b;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.promo-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

    .info-item i {
        color: #4a9eff;
        width: 16px;
    }

.promo-description {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-actions {
    display: flex;
    gap: 10px;
}

.register-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #0b2b6b, #1a4a8a);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .register-btn:hover {
        background: linear-gradient(135deg, #1a4a8a, #2a5a9a);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(11, 43, 107, 0.4);
    }

.detail-btn {
    padding: 12px 20px;
    background: white;
    color: #0b2b6b;
    border: 1px solid #0b2b6b;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

    .detail-btn:hover {
        background: #e6f2ff;
    }

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #e6f2ff;
    color: #0b2b6b;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

    .time-badge.urgent {
        background: #ffebee;
        color: #e53935;
    }

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #999;
    background: white;
    border-radius: 8px;
}

    .empty-state i {
        font-size: 48px;
        margin-bottom: 20px;
        color: #ddd;
    }

    .empty-state p {
        font-size: 16px;
        margin: 0;
    }

.pagination-section {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-actions {
        flex-direction: column;
    }
}
