:root {
	--pink-50: #fff7fb;
	--pink-100: #ffeaf5;
	--pink-200: #ffd3e8;
	--pink-300: #ffbfdc;
	--pink-500: #f06ba8;
	--rose-700: #8f2e5b;
	--text-900: #2e1d27;
	--text-700: #5b4451;
	--white: #ffffff;
	--shadow: 0 14px 35px rgba(164, 65, 115, 0.18);
	--radius-lg: 24px;
	--radius-md: 16px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: "Poppins", "Segoe UI", sans-serif;
	color: var(--text-900);
	background:
		radial-gradient(circle at 15% 10%, #fff1f8 0%, transparent 30%),
		radial-gradient(circle at 85% 0%, #ffe3f2 0%, transparent 28%),
		linear-gradient(180deg, #fffdfd 0%, #fff2f8 60%, #fff6fb 100%);
	min-height: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

.site-header {
	position: relative;
	z-index: 1000;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.8);
	border-bottom: 1px solid rgba(240, 107, 168, 0.2);
	padding: 1rem 5vw;
}

#site-header {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 1000;
}

.brand-wrap {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.9rem;
}

.brand-wrap h1 {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: 0.04em;
}

.brand-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--pink-200), #ffdff0);
	display: grid;
	place-items: center;
	box-shadow: var(--shadow);
}

.brand-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--rose-700);
}

.main-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.main-nav a {
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	color: var(--text-700);
	font-weight: 600;
	transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
	color: var(--rose-700);
	background: var(--pink-100);
}

.container {
	width: min(1100px, 92vw);
	margin: 2rem auto 3rem;
}

.hero {
	background: linear-gradient(135deg, var(--white), #fff1f8 58%, #ffe4f1 100%);
	border-radius: var(--radius-lg);
	padding: clamp(1.2rem, 3vw, 2.5rem);
	box-shadow: var(--shadow);
	margin-bottom: 1.6rem;
	animation: rise-in 0.7s ease both;
}

.eyebrow {
	margin: 0;
	color: var(--rose-700);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.75rem;
}

.hero h2 {
	margin: 0.5rem 0;
	line-height: 1.25;
	font-size: clamp(1.4rem, 3.3vw, 2.3rem);
}

.welcome {
	margin: 0.5rem 0 1.2rem;
	line-height: 1.7;
	color: var(--text-700);
	max-width: 64ch;
}

.primary-btn {
	display: inline-block;
	background: linear-gradient(120deg, var(--pink-500), #f896c1);
	color: var(--white);
	font-weight: 700;
	border-radius: 999px;
	padding: 0.7rem 1.2rem;
	box-shadow: 0 10px 25px rgba(240, 107, 168, 0.35);
	transition: transform 0.2s ease;
}

.primary-btn:hover {
	transform: translateY(-2px);
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.workout-card {
	background: var(--white);
	border: 1px solid rgba(240, 107, 168, 0.2);
	border-radius: var(--radius-md);
	padding: 1rem;
	min-height: 190px;
	box-shadow: 0 10px 24px rgba(173, 90, 130, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	animation: rise-in 0.55s ease both;
}

.workout-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(173, 90, 130, 0.18);
}

.card-image {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
	margin-bottom: 0.75rem;
}

.card-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--rose-700);
	background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
}

.workout-card h3 {
	margin: 0.8rem 0 0.25rem;
}

.workout-card p {
	margin: 0;
	color: var(--text-700);
	line-height: 1.6;
}

.content-panel {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: clamp(1.2rem, 3vw, 2rem);
	box-shadow: var(--shadow);
}

.content-panel h2 {
	margin-top: 0;
	font-size: clamp(1.3rem, 2.8vw, 2rem);
}

.content-panel .content-image {
	width: 220px;
	height: 160px;
	object-fit: cover;
	object-position: center;
	display: inline-block;
	margin: 0.5rem 0.5rem 0 0;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(127, 53, 83, 0.12);
}

.video-frame {
	width: 100%;
	border: 0;
	border-radius: var(--radius-md);
	aspect-ratio: 16 / 9;
	margin: 0.8rem 0 1rem;
	box-shadow: 0 8px 25px rgba(127, 53, 83, 0.16);
}

.steps {
	margin: 0;
	padding-left: 1.2rem;
	line-height: 1.75;
	color: var(--text-700);
}

.steps li {
	margin-bottom: 0.3rem;
}

.food-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	place-items: center;
	padding: 1.25rem;
}

.food-modal.is-open {
	display: grid;
}

.food-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(46, 29, 39, 0.72);
	backdrop-filter: blur(4px);
}

.food-modal__content {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	background: var(--white);
	border-radius: 24px;
	padding: 1rem;
	box-shadow: 0 20px 45px rgba(46, 29, 39, 0.24);
}

.food-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	border: 0;
	background: rgba(255, 255, 255, 0.95);
	color: var(--rose-700);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.4rem;
	cursor: pointer;
}

.food-modal__image {
	width: 100%;
	max-height: 60vh;
	object-fit: contain;
	border-radius: 16px;
	display: block;
}

.food-modal__details {
	padding: 0.9rem 0.1rem 0.2rem;
}

.food-modal__details h3 {
	margin: 0 0 0.4rem;
	color: var(--rose-700);
}

.food-modal__details p {
	margin: 0;
	line-height: 1.7;
	color: var(--text-700);
}

.site-footer {
	text-align: center;
	color: var(--text-700);
	font-size: 0.94rem;
	padding: 1rem 1rem 2rem;
}

@keyframes rise-in {
	from {
		transform: translateY(12px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 700px) {
	.main-nav {
		gap: 0.45rem;
	}

	.main-nav a {
		padding: 0.5rem 0.75rem;
		font-size: 0.92rem;
	}
}

.recipe-modal-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}
