/* TocaHits Popup - estilos responsivos */

.thp-overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background: rgba(20, 8, 40, 0.85);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thp-overlay.thp-visible {
	opacity: 1;
	visibility: visible;
}

.thp-box {
	position: relative;
	width: 720px;
	max-width: 90vw;
	max-height: 90vh;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.thp-overlay.thp-visible .thp-box {
	transform: scale(1);
}

.thp-img,
.thp-link {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.thp-img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.thp-close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #7a1fa2;
	color: #fff;
	font-size: 26px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	transition: background 0.2s ease, transform 0.2s ease;
	padding: 0;
	z-index: 2;
}

.thp-close:hover {
	background: #9b30c9;
	transform: scale(1.1);
}

/* Móvil */
@media (max-width: 600px) {
	.thp-box {
		max-width: 92vw;
	}
	.thp-close {
		top: -14px;
		right: -6px;
		width: 36px;
		height: 36px;
		font-size: 22px;
		line-height: 36px;
	}
}
