@import "./typography.css";
@import "./flex.css";
@import "./animation.css";

.text-1 {
	font-family: "Montserrat";
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
}

.product {
	/* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 80px; */
	padding: 40px;
}

/* Popup */
#popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.7);
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
	z-index: 100;
}

#popup.show {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: auto;
}

.popup-content {
	position: relative;
	padding: 50px 100px;
	border-radius: 120px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

	background: rgba(255, 255, 255, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.8);
	font-family: "Montserrat";

	display: flex;
	align-items: center;
	gap: 80px;
	color: #2e2946;
}

#p2.popup-content {
	width: 1080px;
}

img {
	width: 100%;
	height: auto;
}

.social-network {
	position: absolute;
	right: 96px;
	bottom: 36px;
	z-index: 10000;
}

.social-network a {
	display: inline-block;
	width: 40px;
}

.popup-content .img {
	width: 275px;
	position: relative;
	z-index: 1;
}

.popup-content .bk-1 {
	position: absolute;
	left: 32px;
	top: 120px;
	z-index: 0;
}

.popup-content .bk-2 {
	position: absolute;
	left: 80px;
	top: 36px;
	z-index: 0;
}

.popup-content p {
	margin: 0;
	margin-bottom: 24px;
	font-size: 24px;
}

.popup-content h4 {
	font-size: 24px;
	margin: 0;
}

.popup-content h3 {
	font-size: 36px;
	margin: 0;
}

.btn-buynow {
	display: flex;
	gap: 16px;
	align-items: center;
	
}

.btn-buynow img {
	width: 60px;
}

.btn-buynow a {
	text-decoration: underline;
	font-weight: 700;
	font-size: 36px;
}

.btn-buynow a,
.btn-buynow a:visited {
	color: #2e2946;
}

.border-right {
	border-right: 2px solid #2e2946;
}

.popup-content .text-2 {
	display: flex;
	gap: 24px;
}

.pr-24 {
	padding-right: 24px;
}

.text-2 h3 {
	text-align: center;
}

.text-2 p {
	margin-top: 100px;
	text-align: center;
	font-weight: 700;
	font-size: 22px;
}

.notice {
	width: 90%;
	color: #fff;
	align-items: center;
	gap: 16px;
	margin: 36px auto;
	font-family: "Montserrat";
	font-size: 10px;
}

.notice .elem-1 {
	font-size: 36px;
	border: 2px solid #fff;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	display: grid;
	justify-items: center;
	align-items: center;
	font-family: "Montserrat";
}

.notice .elem-2b {
	font-size: 10px;
}

.hide {
	display: none !important;
}

.invisible {
	opacity: 0;
	pointer-events: none;
	/* không nhận tương tác */
	visibility: hidden;
	/* tuỳ chọn — visibility cũng không loại khỏi layout, nên giữ animation */
	transition: opacity 200ms ease;
	/* nếu muốn fade */
}

.pointer {
	cursor: pointer;
}

.mobile{
	display: none;
}

@media (max-width: 900px) {
	.close{
		position: absolute;
		width: 30px;
        height: 30px;
        z-index: 1000;
        right: 8px;
        top: 4px;
        padding: 8px;
	}
	.close svg{
		width: 100%;
		height: 100%;
	}
	.mobile{
		display: block;
	}

	#popup.show {
		width: calc(100% - 60px);
		overflow: hidden;
		top: calc(50%);
	}

	.popup-content {
		flex-direction: column;
		gap: 24px;
		padding: 15px;
		border-radius: 20px;
		width: calc(100% - 34px);
	}

	#p2.popup-content {
		width: calc(100% - 34px);
	}

	.popup-content .text-2 {
		flex-direction: column;
	}

	.popup-content .text-2 .border-right {
		border-right: none;
		border-bottom: 2px solid #2e2946;
	}


	.popup-content .text-2 .pr-24 {
		padding-right: 0;
	}

	.popup-content .img {
		width: 35%;
		position: relative;
		z-index: 1;
		margin: 0 auto;
	}

	.popup-content .bk-1 {
		width: 72px;
		top: 78px;
		left: 85px;
	}

	.popup-content h4,
	.popup-content p {
		font-size: 16px;
		margin-bottom: 16px;
	}

	.btn-buynow a,
	.popup-content h3 {
		font-size: 22px;
	}

	.btn-buynow img {
		width: 36px;
	}

	.text-2 p {
		font-size: 16px;
		margin-top: 8px !important;
		margin-bottom: 16px;
	}

	.popup-content .bk-2 h4 {
		margin-bottom: 0;
	}

	.notice {
		width: 100%;
		font-size: 7px;
		margin: 20px auto 0;
		gap: 8px
	}

	.notice .elem-1 {
		font-size: 20px;
		width: 48px;
		height: 48px;
	}

	#p2 .img {
		display: none;
	}

	.popup-content .bk-2 {
		position: initial;
		margin-top: 24px;
	}


	.social-network {
		position: absolute;
		right: 5%;
		bottom: 2%;
		z-index: 100;
	}

	.social-network a {
		display: inline-block;
		width: 32px;
	}


}


/* container full màn hình */
.media-fullscreen {
	position: fixed;
	inset: 0;
	overflow: hidden;
	background: #000;
}

/* giữ tỉ lệ + cover màn hình */
.media-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

#playBtn {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	background: none;
	border: none;
	color: #fff;
	font-size: 10px;
	font-family: "Montserrat";
	cursor: pointer;
}
