/* 仅保留栅格行、列、工具类，删除全部自定义container宽度，复用Ripro原生container */

 :root {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0;
}

.term-bar {
	display: none;
}

details,
main {
	display: block;
	margin-top: -60px;
}

.site-content {
	padding-top: 0;
}

.lang__4 {
	display: none;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-top: calc(-1 * var(--bs-gutter-y));
	margin-right: calc(-.5 * var(--bs-gutter-x));
	margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row>* {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	/*padding-right: calc(var(--bs-gutter-x) * .5);*/
	/*padding-left: calc(var(--bs-gutter-x) * .5);*/
	margin-top: var(--bs-gutter-y);
}


/* 移动端默认全部100%宽度 */

.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-3,
.col-lg-4,
.col-lg-6 {
	width: 100%;
}


/* md断点 ≥768px */

@media (min-width: 768px) {
	.col-md-3 {
		flex: 0 0 auto;
		width: 25%;
	}
	.col-md-4 {
		flex: 0 0 auto;
		width: 33.33333333%;
	}
	.col-md-6 {
		flex: 0 0 auto;
		width: 50%;
	}
}


/* lg断点 ≥992px */

@media (min-width: 992px) {
	.col-lg-3 {
		flex: 0 0 auto;
		width: 25%;
	}
	.col-lg-4 {
		flex: 0 0 auto;
		width: 33.33333333%;
	}
	.col-lg-6 {
		flex: 0 0 auto;
		width: 50%;
	}
}


/* mb间距类 */

.mb-4 {
	margin-bottom: 1.5rem !important;
}


/* me-2 图标右间距 */

.me-2 {
	margin-right: 0.2rem !important;
}

.mt-2 {
	margin-top: 0.5rem !important;
}


/* ========== 下方为原有整合精简CSS 完全未改动 ========== */

body[class*="page-template-page-s1"] .site-content,
body[class*="page-template-page-S1"] .site-content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

html {
	scroll-behavior: smooth;
}

.s1-page {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: #1a1a2e;
	line-height: 1.6;
	/* 全局样式变量统一管理 */
	--s1-primary: #4361ee;
	--s1-secondary: #3a0ca3;
	--s1-gradient: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
	--s1-radius: 16px;
	--s1-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	--s1-transition: all 0.3s ease;
}


/* 按钮通用样式 */

.s1-btn {
	display: inline-block;
	padding: .8rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: var(--s1-transition);
	cursor: pointer;
	border: 2px solid transparent;
	text-align: center;
	line-height: 1.4;
}

.s1-btn-primary {
	background: var(--s1-primary);
	color: #fff;
	box-shadow: 0 6px 20px rgba(67, 97, 238, .25);
}

.s1-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(67, 97, 238, .35);
	color: #fff;
}

.s1-btn-ghost {
	background: transparent;
	color: var(--s1-primary);
	border-color: var(--s1-primary);
}

.s1-btn-ghost:hover {
	background: var(--s1-primary);
	color: #fff;
	transform: translateY(-3px);
}

.s1-btn-lg {
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
}


/* 顶部四大权益卡片 */

.s1-hero {
	padding: 2rem 0 .5rem;
}

.s1-benefit-card {
	background: #fff;
	border-radius: var(--s1-radius);
	padding: 2rem 1.5rem;
	text-align: center;
	border: 1px solid #eef0f5;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
	transition: var(--s1-transition);
	height: 100%;
}

.s1-benefit-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .07);
}

.s1-benefit-icon {
	font-size: 1.8rem;
	color: var(--s1-primary);
	margin-bottom: .75rem;
	opacity: .75;
}

.s1-benefit-card h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: .4rem;
}

.s1-benefit-card p {
	font-size: .85rem;
	color: #888;
	margin: 0;
	line-height: 1.5;
}


/* 通用区块间距 */

.s1-section {
	padding: 2.5rem 0;
}

.s1-section-light {
	background: transparent;
}

.s1-section-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.s1-section-header h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: .5rem;
	color: #1a1a2e;
}


/* 三种开通方式卡片 */

.s1-method-card {
	background: #fff;
	border-radius: var(--s1-radius);
	padding: 2.25rem 1.5rem 2rem;
	text-align: center;
	border: 1px solid #eef0f5;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
	transition: var(--s1-transition);
	height: 100%;
	position: relative;
}

.s1-method-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--s1-shadow);
	border-color: rgba(67, 97, 238, .2);
}

.s1-method-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f0f3ff;
	color: var(--s1-primary);
	font-weight: 700;
	font-size: .88rem;
	margin-bottom: .75rem;
}

.s1-method-icon {
	font-size: 2rem;
	color: var(--s1-primary);
	margin-bottom: .75rem;
	opacity: .8;
}

.s1-method-card h4 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.s1-method-card p {
	font-size: .9rem;
	color: #666;
	margin-bottom: 1.25rem;
}

.s1-method-tag {
	display: inline-block;
	font-size: .75rem;
	font-weight: 600;
	padding: 3px 12px;
	border-radius: 20px;
	margin-bottom: 1rem;
}

.s1-method-tag-fast {
	background: #fff3e0;
	color: #e65100;
}

.s1-method-tag-free {
	background: #e8f5e9;
	color: #2e7d32;
}

.s1-method-tag-earn {
	background: #fce4ec;
	color: #c62828;
}


/* 推广佣金模块 */

.s1-commission-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.s1-commission-badge {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	background: linear-gradient(135deg, #ff416c, #ff4b2b);
	color: #fff;
	padding: .9rem 2.8rem;
	border-radius: 50px;
	font-size: 1.3rem;
	font-weight: 600;
	animation: s1GlowPulse 1.5s ease-in-out infinite;
}

.s1-commission-badge i {
	font-size: 1.2rem;
}

.s1-comm-label {
	opacity: .9;
	font-weight: 500;
}

.s1-comm-amount {
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -.5px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.s1-earn-inline {
	display: flex;
	gap: .6rem;
	align-items: center;
}

.s1-earn-mini {
	background: #fff;
	border-radius: 10px;
	padding: .6rem 1rem;
	text-align: center;
	border: 1px solid #eef0f5;
	transition: var(--s1-transition);
	min-width: 80px;
}

.s1-earn-mini:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.s1-earn-mini-count {
	font-size: .72rem;
	color: #888;
	margin-bottom: .1rem;
}

.s1-earn-mini-amount {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--s1-primary);
}


/* 推广四步流程 */

.s1-steps {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: 3rem 0;
	flex-wrap: wrap;
}

.s1-step {
	text-align: center;
	flex: 1;
	min-width: 140px;
	max-width: 190px;
	padding: 0 .5rem;
}

.s1-step-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #f0f3ff;
	color: var(--s1-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	margin: 0 auto .75rem;
}

.s1-step h5 {
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: .25rem;
}

.s1-step p {
	font-size: .82rem;
	color: #888;
	margin: 0;
}

.s1-step-arrow {
	display: flex;
	align-items: center;
	padding-top: 1rem;
	color: #c5cae9;
	font-size: 1.1rem;
	flex-shrink: 0;
}


/* 实时推广滚动 */

.s1-live-feed {
	max-width: 420px;
	margin: 1.5rem auto 0;
	height: 40px;
	overflow: hidden;
	position: relative;
}

.s1-live-feed-inner {
	position: relative;
	height: 100%;
}

.s1-live-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	height: 40px;
	font-size: .85rem;
	color: #666;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .5s ease, transform .5s ease;
}

.s1-live-active {
	opacity: 1;
	transform: translateY(0);
}

.s1-live-out {
	opacity: 0;
	transform: translateY(-20px);
}

.s1-live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4caf50;
	animation: s1DotPulse 1.5s ease-in-out infinite;
	flex-shrink: 0;
}

.s1-live-user {
	font-weight: 600;
	color: #333;
}

.s1-live-amount {
	font-weight: 700;
	color: var(--s1-primary);
}

.s1-live-rate {
	color: #ff4b2b;
	font-weight: 500;
}

.s1-live-total {
	color: #2e7d32;
	font-weight: 500;
}


/* 底部信任标签 */

.s1-trust-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 3rem;
}

.s1-trust-badge {
	background: #f0f3ff;
	color: #444;
	padding: .6rem 1.4rem;
	border-radius: 50px;
	font-size: .88rem;
	font-weight: 500;
	transition: var(--s1-transition);
}

.s1-trust-badge i {
	color: var(--s1-primary);
	margin-right: 6px;
}

.s1-trust-badge:hover {
	background: var(--s1-gradient);
	color: #fff;
}

.s1-trust-badge:hover i {
	color: #fff;
}


/* FAQ常见问题 */

.s1-faq {
	max-width: 820px;
	margin: 0 auto;
}

.s1-faq h3 {
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1rem;
}

.s1-faq-item {
	background: #f9fafb;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: .75rem;
	border: 1px solid #eef0f5;
	transition: var(--s1-transition);
}

.s1-faq-item:hover {
	border-color: rgba(67, 97, 238, .2);
}

.s1-faq-item h5 {
	font-size: .95rem;
	font-weight: 700;
	margin-bottom: .4rem;
	color: #1a1a2e;
}

.s1-faq-item h5 i {
	color: var(--s1-primary);
}

.s1-faq-item p {
	font-size: .9rem;
	color: #666;
	margin: 0;
}


/* 入场动画 */

.s1-animate {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
}

.s1-animate.s1-visible {
	opacity: 1;
	transform: translateY(0);
}

.s1-delay-1 {
	transition-delay: .1s;
}

.s1-delay-2 {
	transition-delay: .2s;
}

.s1-delay-3 {
	transition-delay: .3s;
}


/* 全局动画定义 */

@keyframes s1GlowPulse {
	0% {
		box-shadow: 0 0 8px rgba(255, 65, 108, .4), 0 0 0 0 rgba(255, 65, 108, .35);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 20px rgba(255, 65, 108, .6), 0 0 0 10px rgba(255, 65, 108, 0);
		transform: scale(1.03);
	}
	100% {
		box-shadow: 0 0 8px rgba(255, 65, 108, .4), 0 0 0 0 rgba(255, 65, 108, .35);
		transform: scale(1);
	}
}

@keyframes s1DotPulse {
	0%,
	100% {
		opacity: .4;
	}
	50% {
		opacity: 1;
	}
}


/* 移动端适配 */

@media(max-width:767px) {
	.s1-hero {
		padding: 1.5rem 0 0;
	}
	.s1-section {
		padding: 2rem 0;
	}
	.s1-section-header h2 {
		font-size: 1.5rem;
	}
	.s1-steps {
		flex-direction: column;
		align-items: center;
	}
	.s1-step {
		max-width: 260px;
		margin-bottom: .5rem;
	}
	.s1-step-arrow {
		transform: rotate(90deg);
		padding: 0;
		margin: .25rem 0;
	}
	.s1-commission-row {
		flex-direction: column;
		gap: 1rem;
	}
	.s1-earn-inline {
		flex-wrap: wrap;
		justify-content: center;
	}
}