﻿.pcgh-home-ai-search-section {
	position: relative;
	min-height: var(--pcgh-home-ai-search-height,520px);
	padding: 0;
	margin-bottom: 28px;
	background: #050806 var(--pcgh-home-ai-search-bg) center/cover no-repeat;
	overflow: visible
}

.pcgh-home-ai-search-section.has-search-cards {
	margin-bottom: clamp(64px,5vw,78px)
}

.pcgh-home-ai-search-section::before {
	content: "";
	position: absolute;
	inset: 0;
	display: none;
	background: none;
	pointer-events: none
}

.pcgh-home-ai-search-section::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(255,255,255,.08)
}

.pcgh-home-ai-search__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none
}

.pcgh-home-ai-search-section .pcgh-container {
	position: relative;
	z-index: 1;
	width: min(100%,var(--pcgh-container-w));
	height: 100%
}

.pcgh-home-ai-search {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: var(--pcgh-home-ai-search-height,520px);
	margin: 0;
	text-align: left
}

.pcgh-home-ai-search__content {
	position: relative;
	z-index: 2;
	width: min(100%,728px)
}

.pcgh-home-ai-search h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(36px,4.45vw,56px);
	font-weight: 900;
	line-height: 1.28;
	letter-spacing: .02em;
	text-shadow: 0 14px 34px rgba(0,0,0,.42)
}

.pcgh-home-ai-search h1 span {
	color: var(--pcgh-primary);
	text-shadow: 0 0 28px rgba(var(--pcgh-primary-rgb),.35)
}

.pcgh-home-ai-search p {
	margin: 16px 0 0;
	color: rgba(255,255,255,.78);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em
}

.pcgh-home-ai-search__form {
	display: grid;
	grid-template-columns: minmax(0,1fr) 112px;
	align-items: center;
	max-width: 728px;
	height: 68px;
	margin: 30px 0 0;
	border-radius: 8px;
	background: #fff;
	border: 1px solid rgba(var(--pcgh-primary-rgb),.28);
	box-shadow: 0 22px 58px rgba(0,0,0,.34),0 0 0 1px rgba(var(--pcgh-primary-rgb),.12);
	overflow: hidden;
	padding: 8px
}

.pcgh-home-ai-search__form input {
	width: 100%;
	height: 100%;
	padding: 0 20px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #111827;
	font-size: 17px
}

.pcgh-home-ai-search__form input::placeholder {
	color: #9ca3af
}

.pcgh-home-ai-search__form button {
	height: 100%;
	border: 0;
	border-radius: 7px;
	background: linear-gradient(135deg,var(--pcgh-primary),#2563eb);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
	transition: none;
	-webkit-tap-highlight-color: transparent;
	user-select: none
}

.pcgh-home-ai-search__form button svg,
.pcgh-home-ai-search__form button i {
	width: 22px;
	height: 22px;
	color: currentColor
}

.pcgh-home-ai-search__form button:hover {
	background: linear-gradient(135deg,var(--pcgh-primary),#2563eb)
}

.pcgh-home-ai-search__form button:focus-visible,
.pcgh-home-ai-search__form button:active {
	outline: none;
	box-shadow: none;
	filter: none
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search__form {
	background: rgba(15,23,42,.9);
	border-color: rgba(148,163,184,.22);
	box-shadow: 0 22px 58px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.06);
	backdrop-filter: blur(14px)
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search__form input {
	color: #f8fafc;
	caret-color: var(--pcgh-primary)
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search__form input::placeholder {
	color: rgba(203,213,225,.72)
}

.pcgh-home-ai-search__hot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 9px 18px;
	margin-top: 18px;
	color: rgba(255,255,255,.72);
	font-size: 14px
}

.pcgh-home-ai-search__hot span {
	font-weight: 800
}

.pcgh-home-ai-search__hot a {
	color: rgba(255,255,255,.72)
}

.pcgh-home-ai-search__hot a:hover {
	color: var(--pcgh-primary)
}

.pcgh-home-ai-search-cards {
	position: absolute;
	left: 50%;
	bottom: -40px;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(clamp(190px,18vw,232px),1fr));
	gap: clamp(10px,1vw,14px);
	width: min(calc(100% - 32px),var(--pcgh-container-w));
	transform: translateX(-50%)
}

.pcgh-home-ai-search-card {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	min-height: 70px;
	padding: 14px 18px;
	border: 1px solid rgba(226,232,240,.88);
	border-radius: 10px;
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(12px);
	transition: transform .2s ease,border-color .2s ease,background .2s ease
}

.pcgh-home-ai-search-card:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--pcgh-primary-rgb),.32);
	box-shadow: none
}

.pcgh-home-ai-search-card:focus-visible,
.pcgh-home-ai-search-card:active {
	box-shadow: none
}

.pcgh-home-ai-search-card__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: #f59e0b
}

.pcgh-home-ai-search-card__icon svg,
.pcgh-home-ai-search-card__icon i {
	width: 28px;
	height: 28px
}

.pcgh-home-ai-search-card__icon img {
	width: 30px;
	height: 30px;
	object-fit: contain
}

.pcgh-home-ai-search-card--1 .pcgh-home-ai-search-card__icon {
	color: #fb923c
}

.pcgh-home-ai-search-card--2 .pcgh-home-ai-search-card__icon {
	color: #f97316
}

.pcgh-home-ai-search-card--3 .pcgh-home-ai-search-card__icon {
	color: #ec4899
}

.pcgh-home-ai-search-card--4 .pcgh-home-ai-search-card__icon {
	color: #0ea5e9
}

.pcgh-home-ai-search-card__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0
}

.pcgh-home-ai-search-card__title {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	color: #1f2937;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.2
}

.pcgh-home-ai-search-card__title em {
	flex: 0 0 auto;
	padding: 1px 5px;
	border-radius: 999px;
	background: linear-gradient(135deg,#ff7a45,#ffb020);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 900;
	line-height: 1.25
}

.pcgh-home-ai-search-card--3 .pcgh-home-ai-search-card__title em {
	background: linear-gradient(135deg,#ff5ca8,#ff7a7a)
}

.pcgh-home-ai-search-card--4 .pcgh-home-ai-search-card__title em {
	background: linear-gradient(135deg,#2f80ed,#56ccf2)
}

.pcgh-home-ai-search-card__desc {
	overflow: hidden;
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search-card {
	border-color: rgba(148,163,184,.18);
	background: rgba(18,24,38,.86);
	box-shadow: none
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search-card:hover {
	border-color: rgba(var(--pcgh-primary-rgb),.38);
	background: rgba(25,34,52,.92)
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search-card__title {
	color: #f8fafc
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search-card__desc {
	color: rgba(226,232,240,.68)
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-ai-search-card__icon {
	box-shadow: none
}

html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search-section {
	background-color: #f5f7f1
}

html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search-section::before {
	background: none
}

html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search__form {
	box-shadow: 0 18px 44px rgba(15,23,42,.12);
	border: 1px solid rgba(15,23,42,.08)
}

@media (max-width: 1080px) {
	.pcgh-home-ai-search {
		padding-left: clamp(12px,4vw,36px);
		padding-right: clamp(12px,4vw,36px)
	}

	.pcgh-home-ai-search-cards {
		grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
		bottom: -82px;
		width: min(calc(100% - 32px),920px)
	}

	.pcgh-home-ai-search-section.has-search-cards {
		margin-bottom: 104px
	}
}

@media (max-width: 768px) {
	.pcgh-home-ai-search-section {
		min-height: auto;
		padding: 0;
		margin-bottom: 22px
	}

	.pcgh-home-ai-search-section.has-search-cards {
		margin-bottom: 96px
	}

	.pcgh-home-ai-search-section::before {
		background: none
	}

	.pcgh-home-ai-search {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: auto;
		gap: 20px;
		padding: 34px 12px 48px;
		text-align: left
	}

	.pcgh-home-ai-search__content {
		order: 0
	}

	.pcgh-home-ai-search h1 {
		font-size: 31px;
		line-height: 1.25
	}

	.pcgh-home-ai-search p {
		margin-top: 12px;
		font-size: 14px;
		line-height: 1.7
	}

	.pcgh-home-ai-search__form {
		grid-template-columns: minmax(0,1fr) 86px;
		height: 52px;
		margin: 22px 0 0;
		border-radius: 9px;
		padding: 6px
	}

	.pcgh-home-ai-search__form input {
		font-size: 13px;
		padding: 0 10px
	}

	.pcgh-home-ai-search__form button {
		gap: 5px;
		font-size: 14px
	}

	.pcgh-home-ai-search__form button svg,
	.pcgh-home-ai-search__form button i {
		width: 17px;
		height: 17px
	}

	.pcgh-home-ai-search__hot {
		justify-content: flex-start;
		gap: 8px 12px;
		margin-top: 14px;
		font-size: 12px;
		text-align: left
	}

	.pcgh-home-ai-search__hot span {
		width: auto
	}

	.pcgh-home-ai-search-cards {
		left: 0;
		right: 0;
		bottom: -72px;
		display: flex;
		grid-template-columns: none;
		width: auto;
		padding: 0 16px 12px;
		transform: none;
		overflow-x: auto;
		scrollbar-width: none
	}

	.pcgh-home-ai-search-cards::-webkit-scrollbar {
		display: none
	}

	.pcgh-home-ai-search-card {
		flex: 0 0 220px;
		min-height: 66px;
		padding: 13px 15px
	}

	html[data-pcgh-theme-resolved="light"] .pcgh-home-ai-search-section::before {
		background: none
	}
}

@media (max-width: 480px) {
	.pcgh-home-ai-search {
		padding-top: 28px
	}

	.pcgh-home-ai-search h1 {
		font-size: 27px
	}

	.pcgh-home-ai-search__hot a:nth-of-type(n+5) {
		display: none
	}
}
