/**
 * TrustPlay About block styles.
 *
 * @package TrustPlay_Partners
 */

.tp-about {
	position: relative;
	overflow: hidden;
}

.tp-about__glow {
	position: absolute;
	top: 50%;
	left: 0;
	width: 400px;
	height: 400px;
	background: hsl(280, 60%, 45%, 0.05);
	border-radius: 50%;
	filter: blur(120px);
	transform: translateY(-50%);
	pointer-events: none;
}

/* Header */
.tp-about__header {
	text-align: center;
	margin-bottom: 4rem;
}

.tp-about__heading {
	font-family: var(--tp-font-display);
	font-size: clamp(2rem, 5vw, 3.75rem);
	color: var(--tp-fg);
	margin: 0 0 1rem;
}

.tp-about__subheading {
	font-family: var(--tp-font-body);
	font-size: 1.125rem;
	color: var(--tp-muted);
	max-width: 40rem;
	margin: 0 auto;
}

/* Advantage grid */
.tp-about__grid {
	display: grid;
	gap: 1.5rem;
	max-width: 64rem;
	margin: 0 auto 4rem;
}

@media (min-width: 768px) {
	.tp-about__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.tp-about__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Card */
.tp-about__card {
	padding: 1.5rem;
	border-radius: 1rem;
	text-align: center;
	transition: border-color 0.5s ease;
}

.tp-about__card:hover {
	border-color: hsl(43, 74%, 49%, 0.3);
}

.tp-about__icon-wrap {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1rem;
	border-radius: 1rem;
	background: var(--tp-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.tp-about__card:hover .tp-about__icon-wrap {
	background: hsl(43, 74%, 49%, 0.1);
}

.tp-about__icon {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--tp-gold);
}

.tp-about__card-title {
	font-family: var(--tp-font-display);
	font-size: 1rem;
	color: var(--tp-fg);
	margin: 0 0 0.5rem;
}

.tp-about__card-desc {
	font-family: var(--tp-font-body);
	font-size: 0.875rem;
	color: var(--tp-muted);
	line-height: 1.6;
	margin: 0;
}

/* Footer CTA area */
.tp-about__footer {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
}

.tp-about__body {
	font-family: var(--tp-font-body);
	color: var(--tp-muted);
	line-height: 1.7;
	margin: 0 0 2rem;
}

/* Telegram links */
.tp-about__telegram {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

@media (min-width: 640px) {
	.tp-about__telegram {
		flex-direction: row;
		justify-content: center;
	}
}

.tp-about__tg-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem;
	border-radius: 9999px;
	font-family: var(--tp-font-body);
	font-size: 0.875rem;
	color: var(--tp-fg);
	text-decoration: none;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.tp-about__tg-link:hover {
	border-color: hsl(43, 74%, 49%, 0.4);
	color: var(--tp-gold);
}

.tp-about__tg-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--tp-gold);
	flex-shrink: 0;
}

/* CTA button */
.tp-about__cta {
	letter-spacing: 0.15em;
	border-radius: 9999px;
	padding: 1rem 2.5rem;
}
