/* ========== 博彩平台推荐页面样式 ========== */
/* 代理页面 - 完整版 */
/* 代理页面顶部间距优化 */
.agent-page {
    padding-top: 0;
}

.agent-page .main-content {
    padding-top: 10px;
}


.agent-page {
    background: #f8fafc;
    padding-bottom: 0px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-compact {
    text-align: center;
    padding: 15px 20px 20px;  /* 上15px，其他不变 */
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hero-top {
    margin-bottom: 15px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-top h1 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-top h1 .highlight {
    color: #4f46e5;
}

.hero-top p {
    color: #64748b;
    font-size: 1rem;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 20px 0;
}

.h-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #4f46e5;
    line-height: 1;
}

.h-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

.btn-hero-main {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* 区块通用 */
.section-block {
    margin: 35px 0;
}

.sec-tag {
    display: inline-block;
    background: #e0e7ff;
    color: #4f46e5;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.sec-title {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

/* 4个卡片 */
.features-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.f-card {
    background: white;
    border-radius: 16px;  /* 4个角圆角 */
    padding: 22px 15px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-top: 3px solid transparent;
}

.f-card.green { border-top-color: #10b981; }
.f-card.blue { border-top-color: #3b82f6; }
.f-card.orange { border-top-color: #f59e0b; }
.f-card.purple { border-top-color: #8b5cf6; }

.f-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.f-card h3 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 5px;
    font-weight: 700;
}

.f-card p {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

/* 价格条 */
.price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #1e293b, #334155);
    border-radius: 12px;
    padding: 15px 25px;
    color: white;
    margin: 30px 0;
}

.bar-icon {
    font-size: 1.5rem;
}

.bar-text {
    flex: 1;
    margin: 0 20px;
    font-size: 0.95rem;
}

.bar-text strong {
    color: #fbbf24;
    font-size: 1.1rem;
}

.bar-btn {
    background: white;
    color: #1e293b;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 定制服务 */
.custom-box {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.custom-left {
    flex: 0 0 32%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.c-big-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.custom-left h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.custom-left p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.custom-right {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 25px;
    margin-bottom: 25px;
}

.c-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.9rem;
}

.c-list i {
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-style: normal;
}

.btn-custom {
    display: inline-flex;
    align-self: flex-start;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 三步卡片 */
.steps-cards {
    display: flex;
    gap: 20px;
    position: relative;
}

.step-card-item {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    border: 2px solid transparent;
}

.step-card-item.highlight {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.sc-num {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 0.75rem;
    color: #cbd5e1;
    font-weight: 700;
}

.sc-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.step-card-item h4 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-card-item p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.step-card-item p strong {
    color: #ef4444;
}

.sc-arrow {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
}

.step-card-item:last-child .sc-arrow {
    display: none;
}

/* 为什么选择我们 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.why-check {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 4px;
    font-weight: 600;
}

.why-item p {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

/* 底部CTA - 全宽圆角卡片，降低高度 */
.final-cta-wide {
    margin: 40px -20px 30px;
    padding: 0 20px;
}

.cta-card-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 35px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.cta-price-box {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    background: rgba(251, 191, 36, 0.15);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.cp-label {
    font-size: 0.9rem;
    color: #fbbf24;
}

.cp-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
}

.cp-unit {
    font-size: 1rem;
    color: #fbbf24;
}

.cta-card-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-card-box > p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.cta-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cta-green {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.btn-cta-line {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

/* 手机端 - 减小间距 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;  /* 减小到10px */
    }
    
    .hero-compact {
        padding: 20px 10px;  /* 减小padding */
        border-radius: 16px;
        margin-bottom: 20px;
    }
    
    .hero-top h1 {
        font-size: 1.5rem;
    }
    
    .hero-stats-row {
        gap: 30px;
        margin: 15px 0;
    }
    
    .h-num {
        font-size: 1.4rem;
    }
    
    .section-block {
        margin: 25px 0;
    }
    
    .features-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;  /* 减小间距 */
    }
    
    .f-card {
        padding: 15px 8px;  /* 减小padding */
        border-radius: 12px;
    }
    
    .f-icon {
        font-size: 1.8rem;
    }
    
    .f-card h3 {
        font-size: 0.9rem;
    }
    
    .f-card p {
        font-size: 0.75rem;
    }
    
    .price-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
        margin: 20px 0;
    }
    
    .bar-text {
        margin: 0;
        font-size: 0.85rem;
    }
    
    .custom-box {
        flex-direction: column;
    }
    
    .custom-left {
        flex: none;
        padding: 25px;
    }
    
    .c-big-icon {
        font-size: 3rem;
    }
    
    .custom-right {
        padding: 20px;
    }
    
    .c-list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .c-list span {
        font-size: 0.85rem;
    }
    
    .btn-custom {
        align-self: stretch;
        justify-content: center;
        padding: 12px;
    }
    
    .steps-cards {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-card-item {
        padding: 20px;
    }
    
    .sc-arrow {
        display: none;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 15px;
    }
    
    .final-cta-wide {
        margin: 25px -10px 20px;  /* 匹配新的padding */
        padding: 0 10px;
    }
    
    .cta-card-box {
        padding: 30px 20px;  /* 减小padding */
        border-radius: 16px;
    }
    
    .cta-card-box h2 {
        font-size: 1.4rem;
    }
    
    .cp-value {
        font-size: 1.8rem;
    }
    
    .cta-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cta-green, .btn-cta-line {
        width: 100%;
        padding: 14px;
    }
}
/* 平台卡片 - 竖排一行一个 */
.platform-card-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.platform-card-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* 卡片头部 */
.plat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 20px;
}

.plat-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.plat-logo-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.plat-logo-box.blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.plat-logo-box.purple {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
}

.plat-logo-box.orange {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.plat-name-area h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.plat-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
}

.plat-tag.hot {
    background: #fef2f2;
    color: #dc2626;
}

.plat-tag.new {
    background: #eff6ff;
    color: #2563eb;
}

/* 佣金显示 */
.plat-commission {
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.comm-label {
    display: block;
    font-size: 13px;
    color: #166534;
    margin-bottom: 4px;
}

.comm-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
}

/* 卡片主体 */
.plat-body {
    margin-bottom: 20px;
}

.plat-info {
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.info-label {
    color: #6b7280;
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.info-text {
    color: #374151;
}

/* 特性标签 */
.plat-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pf-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}

/* 卡片底部按钮 */
.plat-footer {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.btn-plat-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-plat-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-plat-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-plat-line:hover {
    border-color: #10b981;
    color: #10b981;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .platform-card-item {
        padding: 20px;
    }
    
    .plat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .plat-commission {
        align-self: flex-start;
    }
    
    .plat-footer {
        flex-direction: column;
    }
    
    .btn-plat-primary,
    .btn-plat-line {
        width: 100%;
    }
}