/* ===== СПЕЦИФИЧНЫЕ СТИЛИ ДЛЯ ТЕСТА СОВМЕСТИМОСТИ ===== */

/* Начальная страница */
.test-start {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

.test-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin: 40px 0;
}

.test-info .info-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 77, 141, 0.2);
	border-radius: 15px;
	padding: 25px;
	text-align: center;
	transition: transform 0.3s ease;
}

.test-info .info-card:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 77, 141, 0.4);
}

.test-info .info-card i {
	font-size: 2.5rem;
	color: #FF4D8D;
	margin-bottom: 15px;
}

.test-info .info-card h3 {
	font-size: 1.3rem;
	margin: 10px 0;
}

.test-info .info-card p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

/* Выбор пола */
.gender-selection {
	margin: 40px 0;
	text-align: center;
}

.gender-selection h3 {
	margin-bottom: 30px;
	font-size: 1.5rem;
}

.gender-options {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 40px;
}

.gender-option {
	cursor: pointer;
	text-align: center;
}

.gender-option input {
	display: none;
}

.gender-icon {
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
	transition: all 0.3s ease;
}

.gender-option input:checked+.gender-icon {
	background: rgba(255, 77, 141, 0.1);
	border-color: #FF4D8D;
	transform: scale(1.1);
}

.gender-icon i {
	font-size: 2.5rem;
	color: rgba(255, 255, 255, 0.7);
}

.gender-option input:checked+.gender-icon i {
	color: #FF4D8D;
}

.gender-option input:checked+.gender-icon.male-icon {
	background: rgba(66, 133, 244, 0.1);
	border-color: #4285F4;
}

.gender-option input:checked+.gender-icon.female-icon {
	background: rgba(255, 77, 141, 0.1);
	border-color: #FF4D8D;
}

.gender-option input:checked+.gender-icon.male-icon i {
	color: #4285F4;
}

.gender-option input:checked+.gender-icon.female-icon i {
	color: #FF4D8D;
}

.gender-option span {
	font-size: 1.1rem;
	font-weight: 600;
}

/* Кнопка начала */
.start-button-container {
	text-align: center;
	margin-top: 40px;
}

.btn-start {
	background: var(--gradient-passion);
	color: white;
	border: none;
	padding: 18px 50px;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: var(--radius-md);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	transition: var(--transition-smooth);
}

.btn-start:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(255, 77, 141, 0.3);
}

/* Страница "Поделиться" */
.share-page {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

.share-header {
	text-align: center;
	margin-bottom: 40px;
}

.success-icon {
	font-size: 5rem;
	color: #4CAF50;
	margin-bottom: 20px;
}

.share-header h1 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	background: var(--gradient-passion);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.share-subtitle {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.8);
}

/* Кнопки поделиться */
.share-options {
	margin-bottom: 40px;
}

.share-options h3 {
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 25px;
	color: #FF4D8D;
}

.share-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.btn-share-social {
	padding: 20px;
	border-radius: 12px;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	transition: var(--transition-smooth);
	border: none;
	color: white;
}

.btn-share-social.whatsapp {
	background: #25D366;
}

.btn-share-social.telegram {
	background: #0088cc;
}

.btn-share-social.link {
	background: var(--gradient-passion);
}

.btn-share-social:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Инструкции */
.instructions {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 77, 141, 0.2);
	border-radius: 15px;
	padding: 25px;
	margin: 40px 0;
}

.instructions h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	color: #FF4D8D;
}

.instructions ul {
	list-style: none;
	padding: 0;
}

.instructions li {
	margin-bottom: 10px;
	padding-left: 25px;
	position: relative;
}

.instructions li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #FF4D8D;
}

/* Футер страницы поделиться */
.share-footer {
	text-align: center;
	margin-top: 40px;
}

.btn-back {
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 15px 30px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: var(--transition-smooth);
}

.btn-back:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

/* Страница партнера */
.partner-page {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

.partner-header {
	text-align: center;
	margin-bottom: 40px;
}

.partner-header h1 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	background: var(--gradient-passion);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.partner-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.8);
}

.partner-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 40px 0;
}

.test-code {
	font-family: monospace;
	background: rgba(0, 0, 0, 0.3);
	padding: 5px 10px;
	border-radius: 5px;
	color: #FF4D8D;
}

/* Результаты */
.results-page {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px;
}

.results-header {
	text-align: center;
	margin-bottom: 50px;
}

.results-subtitle {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.8);
}

/* Счет по категориям */
.category-scores h3 {
	font-size: 1.8rem;
	margin-bottom: 30px;
	text-align: center;
	color: #FF4D8D;
}

.category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.category-header h4 {
	font-size: 1.2rem;
	margin: 0;
}

.category-percent {
	font-size: 1.8rem;
	font-weight: 700;
	color: #FF4D8D;
}

.category-progress {
	margin: 15px 0;
}

.category-progress .progress-bar {
	height: 8px;
}

.category-progress .progress-fill {
	background: var(--gradient-passion);
}

.category-tip {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 10px;
}

.category-tip i {
	color: #FF4D8D;
}

/* Кнопки действий */
.results-actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 40px 0;
}

.btn-back-home {
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 15px 30px;
	border-radius: 12px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: var(--transition-smooth);
}

.btn-back-home:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.test-code-display {
	text-align: center;
	margin-top: 40px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.test-code-display p {
	margin: 10px 0;
}

.test-code-display strong {
	color: #FF4D8D;
	font-size: 1.2rem;
}

.expiry-info {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	margin-top: 10px;
}

.expiry-info i {
	color: #FF4D8D;
	margin-right: 5px;
}

/* Тест не найден */
.test-not-found {
	text-align: center;
	padding: 100px 20px;
}

.test-not-found h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: #FF4D8D;
}

.test-not-found p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	color: rgba(255, 255, 255, 0.8);
}

.btn-retry {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--gradient-passion);
	color: white;
	padding: 15px 30px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition-smooth);
}

.btn-retry:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 77, 141, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
	.gender-options {
		flex-direction: column;
		align-items: center;
	}

	.share-buttons {
		grid-template-columns: 1fr;
	}

	.partner-info {
		grid-template-columns: 1fr;
	}

	.results-actions {
		flex-direction: column;
	}

	.btn-back-home {
		width: 100%;
		justify-content: center;
	}
}

/* ===== СТИЛИ ДЛЯ SEO-ЭЛЕМЕНТОВ ===== */
/* Скрытые семантические элементы для SEO */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Бейджи для популярности в соцсетях */
.social-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255, 77, 141, 0.1);
	border: 1px solid rgba(255, 77, 141, 0.3);
	border-radius: 20px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	margin: 10px 0;
}

.social-badge i {
	color: #FF4D8D;
}

/* Микроразметка для рейтингов */
.rating-microdata {
	display: none;
}

.stars-rating {
	display: flex;
	gap: 2px;
	color: #FFD700;
	margin: 10px 0;
}

.stars-rating i {
	font-size: 16px;
}

/* Стили для сниппетов FAQ */
.faq-snippet {
	background: rgba(255, 255, 255, 0.05);
	border-left: 4px solid #FF4D8D;
	padding: 20px;
	margin: 20px 0;
	border-radius: 0 8px 8px 0;
}

.faq-question {
	font-weight: 600;
	margin-bottom: 10px;
	color: white;
}

.faq-answer {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
}

/* Оптимизированные заголовки */
.h1-optimized {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #FF4D8D 0%, #A855F7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.h2-optimized {
	font-size: 1.8rem;
	line-height: 1.3;
	margin: 30px 0 15px;
	color: white;
}

/* Улучшенные CTA кнопки для конверсий */
.cta-button {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(255, 77, 141, 0.4);
}

.cta-button:active {
	transform: translateY(-1px);
}

/* Стили для отзывов/рекомендаций */
.testimonial-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 77, 141, 0.2);
	border-radius: 15px;
	padding: 25px;
	margin: 20px 0;
	position: relative;
}

.testimonial-card:before {
	content: "❝";
	position: absolute;
	top: 10px;
	left: 15px;
	font-size: 2rem;
	color: rgba(255, 77, 141, 0.3);
}

.testimonial-text {
	font-style: italic;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin-bottom: 15px;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: white;
}

.author-avatar {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #FF4D8D, #A855F7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
}

/* Стили для статей/пояснений */
.content-explanation {
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.05), rgba(168, 85, 247, 0.05));
	border-radius: 12px;
	padding: 25px;
	margin: 30px 0;
}

.explanation-title {
	display: flex;
	align-items: center;
	gap: 10px;
	color: white;
	margin-bottom: 15px;
}

.explanation-title i {
	color: #FF4D8D;
}

/* Стили для списков преимуществ */
.benefits-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.benefit-item {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s ease;
}

.benefit-item:hover {
	transform: translateY(-5px);
	background: rgba(255, 77, 141, 0.05);
}

.benefit-icon {
	font-size: 2.5rem;
	color: #FF4D8D;
	margin-bottom: 15px;
}

.benefit-title {
	font-weight: 600;
	color: white;
	margin-bottom: 10px;
}

/* Оптимизация скорости загрузки */
.lazy-load {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-load.loaded {
	opacity: 1;
	transform: translateY(0);
}

/* Стили для мобильных SEO элементов */
@media (max-width: 768px) {
	.h1-optimized {
		font-size: 2rem;
	}

	.h2-optimized {
		font-size: 1.5rem;
	}

	.benefits-list {
		grid-template-columns: 1fr;
	}

	.content-explanation {
		padding: 20px;
	}

	.testimonial-card {
		padding: 20px;
	}
}

/* Анимации для вовлечения пользователей */
@keyframes pulse-cta {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}

.pulse-animation {
	animation: pulse-cta 2s infinite;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease forwards;
}

/* ===== СТИЛИ ДЛЯ ТЕСТА ===== */
.test-start {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px 20px 40px;
}

.test-header {
	text-align: center;
	margin-bottom: 50px;
}

.test-description {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.6;
}

/* Стили для скрытия/показа вопросов */
.question-block {
	display: none;
	opacity: 0;
	transform: translateX(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.question-block.active {
	display: block;
	opacity: 1;
	transform: translateX(0);
}

/* Стили для формы */
#testForm {
	max-width: 800px;
	margin: 0 auto;
}

.navigation-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	padding: 30px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-prev,
.btn-complete {
	padding: 16px 32px;
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	transition: var(--transition-smooth);
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	min-width: 180px;
	justify-content: center;
	height: 56px;
}

.btn-prev {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.1);
	cursor: not-allowed;
}

.btn-prev.enabled {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 182, 193, 0.15) 100%);
	color: white;
	border: 2px solid rgba(255, 182, 193, 0.3);
	cursor: pointer;
}

.btn-prev.enabled:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 182, 193, 0.2) 100%);
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(255, 182, 193, 0.3);
}

.btn-complete {
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
	color: rgba(255, 255, 255, 0.5);
	cursor: not-allowed;
	border: 2px solid rgba(255, 77, 141, 0.2);
}

.btn-complete.enabled {
	background: var(--gradient-romantic);
	color: white;
	cursor: pointer;
	border: 2px solid transparent;
	box-shadow: 0 8px 25px rgba(255, 77, 141, 0.3);
}

.btn-complete.enabled:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(255, 77, 141, 0.4);
}

.completion-section {
	display: none;
}

/* Стили для навигационных точек */
.nav-dot {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition-smooth);
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.1rem;
	font-weight: 600;
}

.nav-dot:hover {
	background: rgba(255, 182, 193, 0.15);
	border-color: rgba(255, 77, 141, 0.4);
	transform: scale(1.1);
	color: white;
}

.nav-dot.active {
	background: var(--gradient-romantic);
	border-color: #FF4D8D;
	color: white;
	transform: scale(1.2);
	box-shadow: 0 0 25px rgba(255, 77, 141, 0.4);
}

.nav-dot.answered {
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(102, 187, 106, 0.2) 100%);
	border-color: rgba(76, 175, 80, 0.4);
	color: #A5D6A7;
}

.nav-dot.answered.active {
	background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
	border-color: #4CAF50;
	color: white;
}

/* Стили для info-box на странице share */
.share-page .info-box {
	margin: 50px auto;
	max-width: 650px;
	padding: 40px;
	text-align: center;
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
	border: var(--border-romantic);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-romantic);
}

.share-page .info-box i {
	font-size: 4rem;
	color: var(--hot-pink);
	margin-bottom: 25px;
	display: block;
	animation: float 3s ease-in-out infinite;
}

.share-page .info-box h3 {
	font-size: 1.8rem;
	margin-bottom: 20px;
	color: white;
	background: var(--gradient-romantic);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.share-page .info-box p {
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 30px;
	line-height: 1.7;
	font-size: 1.2rem;
}

.share-page .btn-same-device {
	background: var(--gradient-romantic);
	color: white;
	text-decoration: none;
	padding: 18px 40px;
	border-radius: var(--radius-md);
	font-size: 1.2rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	transition: var(--transition-smooth);
	border: 2px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 10px 30px rgba(255, 77, 141, 0.3);
}

.share-page .btn-same-device:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 20px 45px rgba(255, 77, 141, 0.4);
	border-color: rgba(255, 255, 255, 0.25);
}

/* Анимация для плавного появления */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.test-container>* {
	animation: fadeIn 0.5s ease;
}

/* Индикатор проверки партнера */
.partner-check-container {
	text-align: center;
	margin: 40px auto;
	max-width: 600px;
	padding: 30px;
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
	border: var(--border-romantic);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(10px);
}

.partner-check-container i {
	font-size: 3.5rem;
	color: var(--hot-pink);
	margin-bottom: 20px;
	display: block;
	animation: heartbeat 1.5s infinite;
}

.partner-check-container h3 {
	font-size: 1.6rem;
	margin-bottom: 15px;
	color: white;
	background: var(--gradient-romantic);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.partner-check-container p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 20px;
	font-size: 1.1rem;
}

.check-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.check-progress .spinner {
	width: 24px;
	height: 24px;
	border: 3px solid rgba(255, 255, 255, 0.1);
	border-top: 3px solid var(--hot-pink);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* Стили для share-buttons */
.share-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 30px 0;
}

/* Стили для страницы результатов */
.results-share-section {
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
	border: var(--border-romantic);
	border-radius: var(--radius-xl);
	padding: 35px;
	margin: 40px auto;
	text-align: center;
	backdrop-filter: blur(10px);
	max-width: 800px;
}

.results-share-section h3 {
	font-size: 1.8rem;
	margin-bottom: 25px;
	color: white;
	background: var(--gradient-romantic);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.results-link-display {
	font-family: 'Courier New', monospace;
	font-size: 1.2rem;
	background: rgba(0, 0, 0, 0.25);
	padding: 20px;
	border-radius: var(--radius-md);
	margin: 25px 0;
	letter-spacing: 1px;
	color: var(--hot-pink);
	border: 2px solid rgba(255, 77, 141, 0.4);
	word-break: break-all;
	text-align: left;
	line-height: 1.6;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
	.navigation-buttons {
		flex-direction: column;
		gap: 20px;
		margin-top: 30px;
		padding: 20px 0;
	}

	.btn-prev,
	.btn-complete {
		width: 100%;
		min-width: auto;
		height: 52px;
	}

	.nav-dot {
		width: 42px;
		height: 42px;
		font-size: 1rem;
	}

	.share-page .info-box {
		margin: 40px 20px;
		padding: 30px 20px;
	}

	.share-page .btn-same-device {
		width: 100%;
		justify-content: center;
		padding: 16px 24px;
	}

	.partner-check-container {
		margin: 30px 20px;
		padding: 25px 20px;
	}

	.partner-check-container i {
		font-size: 3rem;
	}

	.share-buttons {
		flex-direction: column;
		align-items: center;
	}

	.btn-share-social {
		width: 100%;
		max-width: 300px;
	}

	.results-share-section {
		margin: 30px 20px;
		padding: 25px 20px;
	}

	.results-link-display {
		font-size: 1rem;
		padding: 15px;
	}
}

@media (max-width: 480px) {

	.btn-prev,
	.btn-complete {
		padding: 14px 20px;
		font-size: 1rem;
		height: 48px;
	}

	.nav-dot {
		width: 38px;
		height: 38px;
		font-size: 0.9rem;
	}

	.share-page .info-box {
		padding: 25px 15px;
	}

	.share-page .info-box h3 {
		font-size: 1.5rem;
	}

	.share-page .info-box p {
		font-size: 1.1rem;
	}

	.btn-share-social {
		min-width: 100%;
		margin-bottom: 10px;
	}
}

/* Стили для breadcrumb (хлебных крошек) - исправленная версия */
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 30px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	max-width: 100%;
	overflow: hidden;
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.breadcrumb a:hover {
	color: #FF4D8D;
	background: rgba(255, 77, 141, 0.1);
}

.breadcrumb span {
	color: #FF4D8D;
	font-weight: 600;
	padding: 4px 8px;
	white-space: nowrap;
}

.breadcrumb .separator {
	color: rgba(255, 255, 255, 0.4);
	margin: 0 2px;
	font-size: 12px;
}

/* Скрытый breadcrumb для микроразметки - предотвращает расползание */
.visually-hidden[itemprop="breadcrumb"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	display: block !important;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
	.breadcrumb {
		padding: 12px 15px;
		gap: 6px;
		margin: 15px 0 25px;
	}

	.breadcrumb a,
	.breadcrumb span {
		padding: 3px 6px;
		font-size: 13px;
	}

	.breadcrumb .separator {
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.breadcrumb {
		padding: 10px 12px;
		gap: 4px;
		flex-wrap: wrap;
		max-height: 60px;
		overflow-y: auto;
	}

	.breadcrumb a,
	.breadcrumb span {
		padding: 2px 4px;
		font-size: 12px;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Альтернативный компактный вариант для очень маленьких экранов */
	.breadcrumb.compact {
		flex-direction: column;
		align-items: flex-start;
		max-height: none;
	}

	.breadcrumb.compact .separator {
		display: none;
	}

	.breadcrumb.compact a,
	.breadcrumb.compact span {
		display: block;
		width: 100%;
		padding: 3px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.breadcrumb.compact a:last-child,
	.breadcrumb.compact span:last-child {
		border-bottom: none;
	}
}

/* Дополнительные стили для предотвращения расползания */
.breadcrumb-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.breadcrumb-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
	min-height: 44px;
}

/* Если хлебные крошки все равно расползаются, можно использовать этот вариант */
.breadcrumb-fixed {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min-content, max-content));
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 77, 141, 0.5) rgba(255, 255, 255, 0.1);
	padding-bottom: 5px;
}

.breadcrumb-fixed::-webkit-scrollbar {
	height: 4px;
}

.breadcrumb-fixed::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 2px;
}

.breadcrumb-fixed::-webkit-scrollbar-thumb {
	background: rgba(255, 77, 141, 0.5);
	border-radius: 2px;
}

/* Для очень длинных ссылок */
.breadcrumb .truncate {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

/* Иконки для breadcrumb */
.breadcrumb i {
	margin-right: 5px;
	font-size: 12px;
}

/* Активный пункт breadcrumb */
.breadcrumb .current {
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.15), rgba(168, 85, 247, 0.15));
	border: 1px solid rgba(255, 77, 141, 0.3);
	border-radius: 6px;
}

/* ===== СТИЛИ ДЛЯ БАННЕРОВ ===== */
/* Верхний баннер игры */
.game-banner-promo {
	max-width: 800px;
	margin: 30px auto 40px;
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
	border: var(--border-romantic);
	border-radius: var(--radius-xl);
	padding: 25px;
	position: relative;
	box-shadow: 0 0 30px rgba(255, 77, 141, 0.15);
	backdrop-filter: blur(10px);
}

.game-banner-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.8);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	z-index: 10;
}

.game-banner-close:hover {
	background: rgba(255, 77, 141, 0.2);
	color: white;
	transform: rotate(90deg);
}

/* Нижний баннер игры с кнопкой закрытия */
.game-banner-bottom {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(135deg, rgba(26, 11, 46, 0.98) 0%, rgba(15, 5, 25, 0.98) 100%);
	border-top: var(--border-passion);
	padding: 12px 0;
	z-index: 999;
	backdrop-filter: blur(10px);
	box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

.game-banner-bottom.hidden {
	transform: translateY(100%);
}

.game-banner-bottom-close {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.8);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 12px;
}

.game-banner-bottom-close:hover {
	background: rgba(255, 77, 141, 0.2);
	color: white;
	transform: translateY(-50%) rotate(90deg);
}

/* ===== СТИЛИ ДЛЯ ВОПРОСОВ НА МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
	.answer-option {
		padding: 12px 15px;
	}

	.answer-letter {
		display: none !important;
	}

	.answer-content {
		padding-left: 0;
	}

	.answer-text {
		padding-left: 10px;
	}
}

@media (max-width: 480px) {
	.answer-option {
		padding: 0;
		margin: 0;
	}

	.question-block {
		padding: 20px 15px;
	}
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ SHARE ===== */
.share-header {
	text-align: center;
	margin-bottom: 40px;
	padding-top: 20px !important;
}

.link-display {
	font-family: 'Courier New', monospace;
	font-size: 1.1rem;
	background: rgba(0, 0, 0, 0.25);
	padding: 20px;
	border-radius: var(--radius-md);
	margin: 20px 0;
	letter-spacing: 0.5px;
	color: var(--hot-pink);
	border: 2px solid rgba(255, 77, 141, 0.4);
	word-break: break-all;
	text-align: center;
	line-height: 1.6;
	max-width: 100%;
	overflow-x: auto;
}

@media (max-width: 768px) {
	.link-display {
		margin: 15px 0;
		padding: 15px;
		font-size: 0.95rem;
		margin-left: 10px;
		margin-right: 10px;
	}

	.btn-copy {
		width: calc(100% - 20px);
		margin: 0 10px;
	}

	.share-page .info-box i {
		font-size: 3rem;
		margin: 0 auto 20px;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #FFB6C1;
		filter: drop-shadow(0 0 10px rgba(255, 182, 193, 0.6));
	}

	.partner-check-container {
		margin: 30px 15px;
		padding: 20px 15px;
	}
}

@media (max-width: 480px) {
	.link-display {
		padding: 12px;
		font-size: 0.9rem;
	}
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ РЕЗУЛЬТАТОВ ===== */
/* Кнопка печати */
.print-section {
	text-align: center;
	margin: 40px 0;
}

.print-instruction {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 77, 141, 0.2);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 25px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
}

.btn-print {
	background: linear-gradient(135deg, #25aae1 0%, #4481eb 100%);
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: var(--radius-md);
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(37, 170, 225, 0.3);
}

.btn-print:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 25px rgba(37, 170, 225, 0.4);
}

/* Модальное окно для печати грамоты */
.print-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(10px);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.print-modal.active {
	display: flex;
	opacity: 1;
}

.certificate {
	width: 210mm;
	height: 297mm;
	background: white;
	border-radius: 15px;
	padding: 40mm;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
	position: relative;
	overflow: hidden;
	transform: scale(0.8);
	animation: zoomIn 0.5s ease forwards;
}

@keyframes zoomIn {
	to {
		transform: scale(1);
	}
}

.certificate::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 90%, rgba(255, 77, 141, 0.1) 90%),
		linear-gradient(-45deg, transparent 90%, rgba(168, 85, 247, 0.1) 90%);
	pointer-events: none;
}

.certificate-header {
	text-align: center;
	margin-bottom: 20mm;
	position: relative;
}

.certificate-title {
	font-size: 36px;
	color: #FF4D8D;
	margin-bottom: 10mm;
	font-weight: 700;
}

.certificate-subtitle {
	font-size: 24px;
	color: #333;
	margin-bottom: 5mm;
}

.certificate-score {
	font-size: 72px;
	font-weight: 900;
	color: #FF4D8D;
	margin: 15mm 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.certificate-compatibility {
	font-size: 24px;
	color: #666;
	margin-bottom: 10mm;
}

.certificate-categories {
	margin: 15mm 0;
}

.certificate-category {
	margin-bottom: 5mm;
	font-size: 16px;
	color: #333;
}

.certificate-category strong {
	color: #FF4D8D;
}

.certificate-advice {
	background: linear-gradient(135deg, rgba(255, 77, 141, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
	padding: 10mm;
	border-radius: 10px;
	margin-top: 15mm;
	border-left: 5px solid #FF4D8D;
}

.certificate-advice h4 {
	color: #FF4D8D;
	margin-bottom: 5mm;
	font-size: 20px;
}

.certificate-footer {
	text-align: center;
	margin-top: 20mm;
	color: #666;
	font-size: 14px;
}

.certificate-date {
	margin-top: 5mm;
	color: #999;
}

.print-actions {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 15px;
}

.btn-print-certificate,
.btn-close-certificate {
	padding: 12px 24px;
	border-radius: var(--radius-md);
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.btn-print-certificate {
	background: var(--gradient-romantic);
	color: white;
}

.btn-close-certificate {
	background: rgba(255, 255, 255, 0.1);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

@media print {
	body * {
		visibility: hidden;
	}

	.certificate,
	.certificate * {
		visibility: visible;
	}

	.certificate {
		position: absolute;
		left: 0;
		top: 0;
		width: 210mm;
		height: 297mm;
		transform: scale(1);
		box-shadow: none;
		border-radius: 0;
	}

	.print-actions {
		display: none;
	}
}

@media (max-width: 768px) {
	.certificate {
		width: 90vw;
		height: 127.3vw;
		/* Сохраняем пропорции A4 */
		padding: 30px;
		transform: scale(0.7);
	}

	.certificate-title {
		font-size: 28px;
	}

	.certificate-score {
		font-size: 56px;
	}

	.print-actions {
		flex-direction: column;
		align-items: center;
	}

	.btn-print-certificate,
	.btn-close-certificate {
		width: 200px;
	}
}





/* ===== СТИЛИ ДЛЯ РЕЗУЛЬТАТОВ ЯЗЫКОВ ЛЮБВИ ===== */

/* Карточка основного языка */
.primary-language-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.15), rgba(168, 85, 247, 0.15));
    border: var(--border-romantic);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: var(--shadow-romantic);
}

.primary-language-icon {
    font-size: 4rem;
    color: #FF4D8D;
    margin-right: 30px;
    background: rgba(255, 255, 255, 0.1);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.primary-language-content h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.primary-language-name {
    font-size: 2.5rem;
    background: var(--gradient-romantic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.primary-language-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.primary-language-recommendation {
    background: rgba(255, 77, 141, 0.1);
    border-left: 3px solid #FF4D8D;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.primary-language-recommendation strong {
    color: #FF4D8D;
}

/* Вторичные языки */
.secondary-languages {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.secondary-languages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.secondary-language-item {
    flex: 0 1 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.secondary-language-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 77, 141, 0.3);
}

.secondary-language-icon {
    font-size: 2.5rem;
    color: #A855F7;
    margin-bottom: 10px;
}

.secondary-language-name {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.secondary-language-percentage {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF4D8D;
}

/* Диаграмма */
.languages-chart-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-romantic);
    border-radius: var(--radius-xl);
}

.chart-container {
    position: relative;
    height: 400px;
    margin-top: 20px;
}

/* Подробные результаты */
.detailed-results {
    max-width: 800px;
    margin: 40px auto;
}

.detailed-categories {
    margin-top: 30px;
}

.detailed-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.detailed-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 77, 141, 0.3);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.category-icon {
    font-size: 1.5rem;
    color: #FF4D8D;
}

.category-percentage {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF4D8D;
}

.category-progress {
    margin: 15px 0;
}

.category-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Результаты партнера */
.partner-results {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.1));
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: var(--radius-xl);
}

.partner-primary-language {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.partner-language-icon {
    font-size: 3rem;
    color: #4285F4;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.partner-language-content h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 5px;
}

.partner-language-content h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #4285F4, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.partner-language-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Рекомендации */
.recommendations-section {
    max-width: 800px;
    margin: 40px auto;
}

.recommendations-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recommendation-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    transition: var(--transition-smooth);
}

.recommendation-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 77, 141, 0.3);
}

.recommendation-item i {
    font-size: 2.5rem;
    color: #FF4D8D;
    margin-bottom: 15px;
    display: block;
}

.recommendation-item h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.recommendation-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .primary-language-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        margin: 30px 20px;
    }
    
    .primary-language-icon {
        margin-right: 0;
        margin-bottom: 20px;
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .primary-language-name {
        font-size: 2rem;
    }
    
    .secondary-languages-list {
        flex-direction: column;
        align-items: center;
    }
    
    .secondary-language-item {
        width: 100%;
        max-width: 300px;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .recommendations-content {
        grid-template-columns: 1fr;
    }
    
    .partner-primary-language {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-language-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .detailed-category {
        padding: 20px 15px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .category-percentage {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .primary-language-card {
        padding: 25px 15px;
    }
    
    .primary-language-name {
        font-size: 1.8rem;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .recommendation-item {
        padding: 20px 15px;
    }
    
    .detailed-category {
        padding: 15px 12px;
    }
    
    .category-name {
        font-size: 1.1rem;
    }
    
    .category-percentage {
        font-size: 1.5rem;
    }
}

/* Иконки для языков любви */
.language-icon-words {
    color: #FF6B8B !important;
}

.language-icon-time {
    color: #4ECDC4 !important;
}

.language-icon-gifts {
    color: #45B7D1 !important;
}

.language-icon-service {
    color: #96CEB4 !important;
}

.language-icon-touch {
    color: #FFEAA7 !important;
}

/* Прогресс-бар для категорий */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF4D8D, #A855F7);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Информация о результате */
.results-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.results-info i {
    color: #FF4D8D;
}

/* Кнопки действий */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn-back-home {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.2), rgba(168, 85, 247, 0.2));
    color: white;
    border: 1px solid rgba(255, 77, 141, 0.3);
    padding: 15px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 1rem;
}

.btn-back-home:hover {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.3), rgba(168, 85, 247, 0.3));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 77, 141, 0.3);
}

/* Секция шаринга результатов */
.results-share-section {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.1), rgba(168, 85, 247, 0.1));
    border: var(--border-romantic);
    border-radius: var(--radius-xl);
    padding: 35px;
    margin: 40px auto;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 800px;
}

.results-share-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: white;
    background: var(--gradient-romantic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-link-display {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 25px 0;
    letter-spacing: 1px;
    color: var(--hot-pink);
    border: 2px solid rgba(255, 77, 141, 0.4);
    word-break: break-all;
    text-align: left;
    line-height: 1.6;
}

.share-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn-share-social {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    border: none;
    color: white;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.btn-share-social.whatsapp {
    background: #25D366;
}

.btn-share-social.telegram {
    background: #0088cc;
}

.btn-share-social.link {
    background: var(--gradient-romantic);
}

.btn-share-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .results-share-section {
        margin: 30px 20px;
        padding: 25px 20px;
    }
    
    .results-link-display {
        font-size: 1rem;
        padding: 15px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-share-social {
        width: 100%;
        max-width: 300px;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-back-home {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .results-share-section {
        padding: 20px 15px;
    }
    
    .results-link-display {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .btn-share-social {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Дополнительные стили для нового алгоритма сравнения */

/* Отображение процентов */
.percentage-display {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.importance-level {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Бар совпадения */
.match-score {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.match-percentage {
    font-weight: 600;
    color: white;
    text-align: center;
}

.match-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.match-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Уровни совпадения */
.match-level {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.match-high {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.match-medium {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.match-low {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

.match-poor {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

/* Легенда совпадений */
.match-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 10px;
}

.legend-color.excellent {
    background: rgba(76, 175, 80, 0.6);
}

.legend-color.good {
    background: rgba(255, 193, 7, 0.6);
}

.legend-color.average {
    background: rgba(255, 152, 0, 0.6);
}

.legend-color.poor {
    background: rgba(244, 67, 54, 0.6);
}

.legend-text {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.legend-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 30px;
}

/* Ключевые различия */
.key-differences {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 77, 141, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 77, 141, 0.2);
}

.key-differences h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.differences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.difference-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.difference-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.difference-language {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.difference-value {
    font-size: 0.9rem;
    color: #FF4D8D;
    font-weight: 600;
}

.difference-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.difference-bar {
    position: relative;
    height: 24px;
}

.difference-bar .bar-label {
    position: absolute;
    top: 0;
    left: 10px;
    line-height: 24px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.difference-bar .bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 1s ease;
}

.difference-bar.yours .bar-fill {
    background: linear-gradient(90deg, #FF4D8D, #A855F7);
}

.difference-bar.partner .bar-fill {
    background: linear-gradient(90deg, #4285F4, #34A853);
}

.difference-analysis {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.difference-analysis strong {
    color: #FF4D8D;
}

/* vs текст */
.vs-text {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Цвета для баров совпадения */
.match-fill.excellent { background: #4CAF50; }
.match-fill.good { background: #FFC107; }
.match-fill.average { background: #FF9800; }
.match-fill.poor { background: #f44336; }

/* Цвета строк таблицы в зависимости от совпадения */
tr.high-match .match-fill { background: #4CAF50; }
tr.medium-match .match-fill { background: #FFC107; }
tr.low-match .match-fill { background: #FF9800; }
tr.poor-match .match-fill { background: #f44336; }

/* Анимация для баров */
.bar-fill, .match-fill {
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--target-width); }
}