/* HHS 60-Second Escape - Frontend Styles */

:root {
	--hhs-escape-bg: #EDE1D6;
	--hhs-escape-accent: #E6547F;
	--hhs-escape-text: #333333;
	--hhs-escape-white: #FFFFFF;
}

/* Trigger Button */
.hhs-escape-floating-wrap {
	position: fixed;
	bottom: 30px;
    right: 50%;
    z-index: 9999;
    transform: translate(50%, 0);
}
.hhs-escape-trigger-wrap {
	margin: 20px 0;
}
.hhs-escape-trigger-btn {
	background: var(--hhs-escape-white);
	color: var(--hhs-escape-accent);
	border: 2px solid var(--hhs-escape-accent);
	border-radius: 30px;
	padding: 12px 24px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(230, 84, 127, 0.15);
	font-family: inherit;
}
.hhs-escape-trigger-btn:hover,
.hhs-escape-trigger-btn:focus {
	background: var(--hhs-escape-accent);
	color: var(--hhs-escape-white);
	transform: translateY(-2px);
	outline: none;
}
.hhs-escape-btn-title {
	font-size: 16px;
	font-weight: 600;
}
.hhs-escape-btn-sub {
	font-size: 12px;
	opacity: 0.9;
	margin-top: 4px;
}
.hhs-escape-trigger-btn:hover .hhs-escape-btn-sub,
.hhs-escape-trigger-btn:focus .hhs-escape-btn-sub {
	opacity: 1;
}

/* Modal Overlay */
.hhs-escape-modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: var(--hhs-escape-bg);
	z-index: 99999;
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
	overflow-y: auto;
	align-items: center;
	justify-content: center;
}
.hhs-escape-modal-overlay.hhs-escape-active {
	display: flex;
	opacity: 1;
}

/* Modal Content */
.hhs-escape-modal-content {
	position: relative;
	width: 100%;
	max-width: 800px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	box-sizing: border-box;
	text-align: center;
	color: var(--hhs-escape-text);
}

/* Close Button */
.hhs-escape-btn-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: transparent;
	border: none;
	font-size: 36px;
	color: var(--hhs-escape-text);
	cursor: pointer;
	line-height: 1;
	opacity: 0.6;
	transition: opacity 0.3s;
}
.hhs-escape-btn-close:hover,
.hhs-escape-btn-close:focus {
	opacity: 1;
	outline: 2px solid var(--hhs-escape-accent);
}

/* General Typography */
#hhs-escape-container h2 {
	font-size: 32px;
	margin-bottom: 10px;
	color: var(--hhs-escape-text);
}
#hhs-escape-container p {
	font-size: 18px;
	margin-bottom: 30px;
	opacity: 0.8;
}

/* Vibe Options */
.hhs-escape-vibe-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}
.hhs-escape-vibe-btn {
	background: var(--hhs-escape-white);
	border: none;
	padding: 20px;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 500;
	color: var(--hhs-escape-text);
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
}
.hhs-escape-vibe-btn:hover,
.hhs-escape-vibe-btn:focus {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(230, 84, 127, 0.2);
	color: var(--hhs-escape-accent);
	outline: none;
}

/* Action Buttons */
.hhs-escape-action-btn {
	background: var(--hhs-escape-accent);
	color: var(--hhs-escape-white);
	border: none;
	padding: 12px 30px;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
	margin: 10px;
	text-decoration: none;
	display: inline-block;
}
.hhs-escape-action-btn:hover,
.hhs-escape-action-btn:focus {
	background: #c94065;
	outline: none;
}
.hhs-escape-secondary-btn {
	background: transparent;
	color: var(--hhs-escape-text);
	border: 1px solid var(--hhs-escape-text);
}
.hhs-escape-secondary-btn:hover,
.hhs-escape-secondary-btn:focus {
	background: rgba(0,0,0,0.05);
}

/* EXPERIENCE 1: Quiet */
.hhs-escape-quiet-circle {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: var(--hhs-escape-white);
	box-shadow: 0 0 30px rgba(230, 84, 127, 0.4);
	margin: 50px auto;
	animation: hhs-escape-breathe 8s infinite ease-in-out;
	cursor: pointer;
}
@keyframes hhs-escape-breathe {
	0%, 100% { transform: scale(1); opacity: 0.8; }
	50% { transform: scale(1.5); opacity: 0.4; }
}

/* EXPERIENCE 2: Curious */
.hhs-escape-cards-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	margin-top: 30px;
}
.hhs-escape-card {
	background: var(--hhs-escape-white);
	width: 120px;
	height: 160px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-weight: bold;
	color: var(--hhs-escape-accent);
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	transition: all 0.4s ease;
	border: none;
	font-size: 14px;
}
.hhs-escape-card:hover,
.hhs-escape-card:focus {
	transform: rotate(2deg) scale(1.05);
	box-shadow: 0 10px 20px rgba(230, 84, 127, 0.15);
	outline: none;
}
.hhs-escape-card-prompt {
	font-size: 24px;
	font-weight: 500;
	color: var(--hhs-escape-accent);
	margin: 40px 0;
	min-height: 100px;
	animation: hhs-fade-in 0.5s ease forwards;
}
@keyframes hhs-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* EXPERIENCE 3: Lost in Thoughts */
.hhs-escape-thoughts-area {
	position: relative;
	width: 100%;
	max-width: 600px;
	height: 400px;
	margin: 0 auto;
	overflow: hidden;
}
.hhs-escape-bubble {
	position: absolute;
	background: rgba(255, 255, 255, 0.7);
	padding: 15px 25px;
	border-radius: 30px;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	transition: opacity 0.3s, transform 0.3s;
	font-size: 16px;
	white-space: nowrap;
	user-select: none;
}
.hhs-escape-bubble:hover {
	background: var(--hhs-escape-white);
}

/* EXPERIENCE 4: Just Bored */
.hhs-escape-challenge-text {
	font-size: 28px;
	font-weight: 500;
	margin: 50px 0;
	color: var(--hhs-escape-accent);
	min-height: 80px;
}

/* ENDING */
.hhs-escape-ending-card {
	background: var(--hhs-escape-white);
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	margin-bottom: 40px;
}
.hhs-escape-ending-card h3 {
	color: var(--hhs-escape-accent);
	font-size: 24px;
	margin-bottom: 15px;
}
.hhs-escape-coffee-cta {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 600px) {
	.hhs-escape-vibe-grid {
		grid-template-columns: 1fr;
	}
	.hhs-escape-cards-wrap {
		gap: 10px;
	}
	.hhs-escape-card {
		width: 100px;
		height: 140px;
	}
	#hhs-escape-container h2 {
		font-size: 24px;
	}
}
@media (max-width: 900px) {
	.hhs-escape-floating-wrap {
		position: fixed;
		bottom: 80px;
		right: auto;
		z-index: 9999;
		transform: translate(0, 0);
		left: 20px;
	}
}

