@-webkit-keyframes fall {
	0% {
		opacity: 0.9;
		top: 0
	}
	100% {
		opacity: 0.2;
		top: 100%
	}
}

@keyframes fall {
	0% {
		opacity: 0.9;
		top: 0
	}
	100% {
		opacity: 0.2;
		top: 100%
	}
}

@-webkit-keyframes blow-soft-left {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: -50%
	}
}

@keyframes blow-soft-left {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: -50%
	}
}

@-webkit-keyframes blow-medium-left {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: -100%
	}
}

@keyframes blow-medium-left {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: -100%
	}
}

@-webkit-keyframes blow-soft-right {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: 50%
	}
}

@keyframes blow-soft-right {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: 50%
	}
}

@-webkit-keyframes blow-medium-right {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: 100%
	}
}

@keyframes blow-medium-right {
	0% {
		margin-left: 0
	}
	100% {
		margin-left: 100%
	}
}

@-webkit-keyframes sway-0 {
	0% {
		-webkit-transform: rotate(-5deg)
	}
	40% {
		-webkit-transform: rotate(28deg)
	}
	100% {
		-webkit-transform: rotate(3deg)
	}
}

@keyframes sway-0 {
	0% {
		-ms-transform: rotate(-5deg);
		transform: rotate(-5deg)
	}
	40% {
		-ms-transform: rotate(28deg);
		transform: rotate(28deg)
	}
	100% {
		-ms-transform: rotate(3deg);
		transform: rotate(3deg)
	}
}

@-webkit-keyframes sway-1 {
	0% {
		-webkit-transform: rotate(10deg)
	}
	40% {
		-webkit-transform: rotate(43deg)
	}
	100% {
		-webkit-transform: rotate(15deg)
	}
}

@keyframes sway-1 {
	0% {
		-ms-transform: rotate(10deg);
		transform: rotate(10deg)
	}
	40% {
		-ms-transform: rotate(43deg);
		transform: rotate(43deg)
	}
	100% {
		-ms-transform: rotate(15deg);
		transform: rotate(15deg)
	}
}

@-webkit-keyframes sway-2 {
	0% {
		-webkit-transform: rotate(15deg)
	}
	40% {
		-webkit-transform: rotate(56deg)
	}
	100% {
		-webkit-transform: rotate(22deg)
	}
}

@keyframes sway-2 {
	0% {
		-ms-transform: rotate(15deg);
		transform: rotate(15deg)
	}
	40% {
		-ms-transform: rotate(56deg);
		transform: rotate(56deg)
	}
	100% {
		-ms-transform: rotate(22deg);
		transform: rotate(22deg)
	}
}

@-webkit-keyframes sway-3 {
	0% {
		-webkit-transform: rotate(25deg)
	}
	40% {
		-webkit-transform: rotate(74deg)
	}
	100% {
		-webkit-transform: rotate(37deg)
	}
}

@keyframes sway-3 {
	0% {
		-ms-transform: rotate(25deg);
		transform: rotate(25deg)
	}
	40% {
		-ms-transform: rotate(74deg);
		transform: rotate(74deg)
	}
	100% {
		-ms-transform: rotate(37deg);
		transform: rotate(37deg)
	}
}

@-webkit-keyframes sway-4 {
	0% {
		-webkit-transform: rotate(40deg)
	}
	40% {
		-webkit-transform: rotate(68deg)
	}
	100% {
		-webkit-transform: rotate(25deg)
	}
}

@keyframes sway-4 {
	0% {
		-ms-transform: rotate(40deg);
		transform: rotate(40deg)
	}
	40% {
		-ms-transform: rotate(68deg);
		transform: rotate(68deg)
	}
	100% {
		-ms-transform: rotate(25deg);
		transform: rotate(25deg)
	}
}

@-webkit-keyframes sway-5 {
	0% {
		-webkit-transform: rotate(50deg)
	}
	40% {
		-webkit-transform: rotate(78deg)
	}
	100% {
		-webkit-transform: rotate(40deg)
	}
}

@keyframes sway-5 {
	0% {
		-ms-transform: rotate(50deg);
		transform: rotate(50deg)
	}
	40% {
		-ms-transform: rotate(78deg);
		transform: rotate(78deg)
	}
	100% {
		-ms-transform: rotate(40deg);
		transform: rotate(40deg)
	}
}

@-webkit-keyframes sway-6 {
	0% {
		-webkit-transform: rotate(65deg)
	}
	40% {
		-webkit-transform: rotate(92deg)
	}
	100% {
		-webkit-transform: rotate(58deg)
	}
}

@keyframes sway-6 {
	0% {
		-ms-transform: rotate(65deg);
		transform: rotate(65deg)
	}
	40% {
		-ms-transform: rotate(92deg);
		transform: rotate(92deg)
	}
	100% {
		-ms-transform: rotate(58deg);
		transform: rotate(58deg)
	}
}

@-webkit-keyframes sway-7 {
	0% {
		-webkit-transform: rotate(72deg)
	}
	40% {
		-webkit-transform: rotate(118deg)
	}
	100% {
		-webkit-transform: rotate(68deg)
	}
}

@keyframes sway-7 {
	0% {
		-ms-transform: rotate(72deg);
		transform: rotate(72deg)
	}
	40% {
		-ms-transform: rotate(118deg);
		transform: rotate(118deg)
	}
	100% {
		-ms-transform: rotate(68deg);
		transform: rotate(68deg)
	}
}

@-webkit-keyframes sway-8 {
	0% {
		-webkit-transform: rotate(94deg)
	}
	40% {
		-webkit-transform: rotate(136deg)
	}
	100% {
		-webkit-transform: rotate(82deg)
	}
}

@keyframes sway-8 {
	0% {
		-ms-transform: rotate(94deg);
		transform: rotate(94deg)
	}
	40% {
		-ms-transform: rotate(136deg);
		transform: rotate(136deg)
	}
	100% {
		-ms-transform: rotate(82deg);
		transform: rotate(82deg)
	}
}

.sakura {
	/* background: -webkit-linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));*/
	background: rgba(201, 112, 126, 0.42);
	pointer-events: none;
	position: absolute
}

.sakura {
	background: rgba(201, 112, 126, 0.42);
}


/*******************************/

:root {
	--bg: #fff8f3;
	--bg-soft: #f7ede5;
	--paper: #fffbf7;
	--card: rgba(255, 251, 247, 0.96);
	--text: #59453e;
	--heading: #7f213f;
	--accent: #8b2942;
	--accent-deep: #7a1f3d;
	--accent-soft: #c9707e;
	--gold: #c9a15c;
	--gold-soft: #e5c690;
	--line: rgba(122, 31, 61, 0.18);
	--shadow: 0 24px 70px rgba(110, 56, 72, 0.18);
	--shadow-soft: 0 12px 30px rgba(110, 56, 72, 0.12);
}

* {
	box-sizing: border-box;
}

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

body {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 0;
	padding: 48px 16px 42px;
	background:
		repeating-linear-gradient(90deg, rgba(122, 31, 61, 0.018) 0 1px, transparent 1px 9px),
		repeating-linear-gradient(0deg, rgba(201, 161, 92, 0.02) 0 1px, transparent 1px 7px),
		linear-gradient(180deg, #fffaf6 0%, var(--bg) 54%, #f9eee7 100%);
	color: var(--text);
	font-family: 'Cormorant Garamond', Georgia, serif;
	min-height: 100vh;
	overflow-x: hidden;
}

body.intro-active {
	overflow: hidden;
}

body.intro-active:not(.invitation-open) > :not(.intro-screen):not(script) {
	opacity: 0;
	transform: translateY(16px);
}

body > :not(.intro-screen):not(script) {
	transition: opacity 0.75s ease, transform 0.75s ease;
}

.intro-screen {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 32px 18px;
	text-align: center;
	background:
		repeating-linear-gradient(90deg, rgba(122, 31, 61, 0.018) 0 1px, transparent 1px 9px),
		repeating-linear-gradient(0deg, rgba(201, 161, 92, 0.02) 0 1px, transparent 1px 7px),
		linear-gradient(180deg, #fffaf6 0%, var(--bg) 58%, #f9eee7 100%);
	opacity: 1;
	visibility: visible;
	transition: opacity 0.65s ease, visibility 0.65s ease;
}

.intro-screen::before,
.intro-screen::after {
	content: "";
	position: absolute;
	top: -62px;
	width: min(38vw, 340px);
	aspect-ratio: 1;
	background: center / contain no-repeat;
	opacity: 0.56;
	pointer-events: none;
	filter: sepia(0.36) saturate(0.74) hue-rotate(318deg);
}

.intro-screen::before {
	left: -18px;
	background-image: url("../assets/img/left.png");
}

.intro-screen::after {
	right: -18px;
	background-image: url("../assets/img/right.png");
}

.intro-flourish {
	width: 92px;
	height: 92px;
	border: 1px solid rgba(201, 161, 92, 0.56);
	border-radius: 50%;
	position: relative;
	box-shadow: inset 0 0 0 8px rgba(255, 248, 243, 0.74), 0 12px 32px rgba(122, 31, 61, 0.1);
}

.intro-flourish::before,
.intro-flourish::after {
	content: "";
	position: absolute;
	inset: 22px;
	border: 1px solid rgba(122, 31, 61, 0.22);
	transform: rotate(45deg);
}

.intro-flourish::after {
	inset: 34px;
	background: var(--gold);
	border: 0;
	border-radius: 50%;
	transform: none;
}

.intro-label {
	margin: 4px 0 0;
	color: var(--accent);
	font-size: clamp(14px, 2vw, 20px);
	font-weight: 600;
	letter-spacing: 7px;
	text-transform: uppercase;
}

.intro-screen h1 {
	margin: 0;
	color: var(--heading);
	font-family: 'Great Vibes', 'Segoe Script', 'Lucida Handwriting', cursive;
	font-size: clamp(58px, 11vw, 112px);
	font-weight: 700;
	line-height: 1;
	text-shadow: 0 5px 18px rgba(139, 41, 66, 0.14);
}

.intro-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	margin-top: 10px;
	padding: 15px 28px;
	border: 1px solid rgba(201, 161, 92, 0.52);
	border-radius: 999px;
	background: linear-gradient(135deg, #8b2942 0%, #7a1f3d 56%, #6f1c38 100%);
	box-shadow: 0 14px 28px rgba(122, 31, 61, 0.24);
	color: #fff;
	cursor: pointer;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.intro-button i {
	color: var(--gold-soft);
	font-size: 17px;
}

.intro-button:hover,
.intro-button:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(122, 31, 61, 0.28);
	filter: saturate(1.05);
}

.intro-button:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 4px;
}

body.invitation-open .intro-screen {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

body::before,
body::after {
	display: none;
}

.petal-accents {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.petal-accents span {
	position: absolute;
	display: block;
	width: 11px;
	height: 26px;
	border-radius: 90% 10% 90% 10%;
	background: rgba(201, 112, 126, 0.16);
	transform: rotate(34deg);
}

.petal-accents span:nth-child(1) {
	left: 14%;
	top: 60%;
}

.petal-accents span:nth-child(2) {
	right: 18%;
	top: 48%;
	background: rgba(201, 161, 92, 0.16);
	transform: rotate(-28deg);
}

.petal-accents span:nth-child(3) {
	left: 23%;
	bottom: 14%;
	background: rgba(122, 31, 61, 0.1);
	transform: rotate(70deg);
}

.petal-accents span:nth-child(4) {
	right: 11%;
	bottom: 26%;
}

.petal-accents span:nth-child(5) {
	left: 50%;
	bottom: 9%;
	background: rgba(201, 161, 92, 0.14);
	transform: rotate(-52deg);
}

.top-right-decoration,
.top-left-decoration {
	position: fixed;
	top: 0;
	display: block;
	width: min(30vw, 280px);
	opacity: 0.62;
	pointer-events: none;
	z-index: 0;
	filter: sepia(0.36) saturate(0.74) hue-rotate(318deg);
}

.top-right-decoration {
	right: 0;
}

.top-left-decoration {
	left: 0;
}

.wrap,
#time,
.divider,
.dance-med,
.actions,
.footer,
.happiness {
	position: relative;
	z-index: 2;
}

.wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: min(960px, 100%);
	margin-bottom: 2px;
}

.title {
	width: min(860px, 100%);
	background:
		linear-gradient(180deg, rgba(255, 253, 250, 0.97), rgba(255, 248, 242, 0.95)),
		repeating-linear-gradient(0deg, rgba(201, 161, 92, 0.035) 0 1px, rgba(255, 255, 255, 0) 1px 7px),
		repeating-linear-gradient(90deg, rgba(122, 31, 61, 0.018) 0 1px, transparent 1px 11px);
	border: 1px solid rgba(122, 31, 61, 0.2);
	box-shadow: inset 0 0 0 1px rgba(201, 161, 92, 0.32), var(--shadow);
	border-radius: 18px;
	padding: 48px 38px 38px;
	margin-bottom: 18px;
	backdrop-filter: blur(2px);
	position: relative;
	overflow: hidden;
}

.title::before,
.title::after {
	content: "";
	position: absolute;
	width: 118px;
	height: 118px;
	opacity: 0.62;
	pointer-events: none;
}

.title::before {
	top: 16px;
	left: 16px;
	border-top: 1px solid rgba(201, 161, 92, 0.62);
	border-left: 1px solid rgba(201, 161, 92, 0.62);
}

.title::after {
	right: 16px;
	bottom: 16px;
	border-right: 1px solid rgba(201, 161, 92, 0.62);
	border-bottom: 1px solid rgba(201, 161, 92, 0.62);
}

.title h1 {
	font-family: 'Great Vibes', 'Segoe Script', 'Lucida Handwriting', cursive;
	font-weight: 700;
	font-style: normal;
	font-size: clamp(58px, 10vw, 100px);
	line-height: 0.95;
	margin: 10px 0 8px;
	color: var(--heading);
	text-shadow: 0 4px 16px rgba(139, 41, 66, 0.14);
}

.ganesha {
	font-family: 'Noto Serif Devanagari', serif;
	font-weight: 600;
	margin: 0 auto 14px;
	padding: 0;
	font-size: clamp(20px, 3.2vw, 30px);
	color: var(--gold);
	line-height: 1.2;
	letter-spacing: 0;
	max-width: 760px;
}

.ampersand {
	font-family: 'Great Vibes', 'Segoe Script', 'Lucida Handwriting', cursive;
	font-size: clamp(34px, 6vw, 54px);
	color: var(--gold);
	line-height: 1;
	margin: 0;
}

.ceremony-label {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 7px;
	font-size: clamp(14px, 2vw, 20px);
	color: var(--accent);
	margin: 0 0 16px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
}

.invite-copy {
	color: var(--text);
	margin: 22px auto 0;
	text-transform: none;
	letter-spacing: 0;
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.62;
	max-width: 740px;
	font-weight: 500;
}

.script-accent {
	display: inline-block;
	font-family: 'Great Vibes', 'Segoe Script', 'Lucida Handwriting', cursive;
	font-size: 1.24em;
	font-weight: 700;
	line-height: 1;
	padding: 0 2px;
}

.divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: min(760px, 100%);
	margin: 22px auto 16px;
}

.divider span {
	flex: 1;
	height: 1px;
	max-width: 190px;
	background: linear-gradient(90deg, rgba(201, 161, 92, 0), rgba(201, 161, 92, 0.9), rgba(201, 161, 92, 0));
}

.divider i {
	font-size: 17px;
	color: var(--gold);
	text-shadow: 0 2px 6px rgba(122, 31, 61, 0.12);
}

.divider-soft {
	margin: 20px 0 12px;
}

#time {
	width: min(800px, 100%);
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 16px;
	margin-top: 2px;
}

.container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	border-radius: 0;
	overflow: visible;
}

.block {
	min-width: 0;
	min-height: 126px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--gold-soft);
	font-weight: 700;
	line-height: 1;
	border-radius: 18px;
	border: 1px solid rgba(229, 198, 144, 0.34);
	box-shadow: 0 14px 30px rgba(122, 31, 61, 0.2);
	font-family: 'Cormorant Garamond', serif;
	background: linear-gradient(145deg, #8b2942 0%, #7a1f3d 58%, #93553e 100%);
	position: relative;
	overflow: hidden;
}

.block::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 16px;
	border: 1px solid rgba(255, 248, 242, 0.12);
	pointer-events: none;
}

.days {
	background: linear-gradient(145deg, #8b2942 0%, #7a1f3d 58%, #93553e 100%);
}

.hours {
	background: linear-gradient(145deg, #7a1f3d 0%, #8b2942 58%, #b3834e 100%);
}

.minutes {
	background: linear-gradient(145deg, #8b2942 0%, #7a1f3d 58%, #93553e 100%);
}

.seconds {
	background: linear-gradient(145deg, #7a1f3d 0%, #8b2942 58%, #b3834e 100%);
}

.time-value {
	display: block;
	color: #f4d899;
	font-size: clamp(34px, 5vw, 54px);
	font-weight: 700;
	line-height: 0.95;
	text-shadow: 0 2px 10px rgba(35, 11, 20, 0.24);
}

.time-label {
	display: block;
	margin-top: 12px;
	color: rgba(255, 248, 242, 0.9);
	font-size: clamp(12px, 1.5vw, 15px);
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 1;
	text-transform: uppercase;
}

.dance-med {
	font-family: 'Great Vibes', 'Segoe Script', 'Lucida Handwriting', cursive;
	font-weight: 700;
	font-size: clamp(34px, 4vw, 48px);
	color: var(--heading);
	margin: 8px 0 10px;
	max-width: min(1040px, calc(100% - 32px));
	text-align: center;
	line-height: 1.15;
	text-shadow: 0 3px 12px rgba(139, 41, 66, 0.1);
}

.date,
.place {
	color: var(--accent);
	font-weight: 900;
}

a {
	text-decoration: none;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	font-size: 12px;
	letter-spacing: 0;
	margin-top: 8px;
	width: min(960px, 100%);
}

.actions a {
	display: block;
}

.venue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #8b2942 0%, #7a1f3d 56%, #6f1c38 100%);
	border-radius: 999px;
	text-align: center;
	color: #fff;
	padding: 14px 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 1px solid rgba(201, 161, 92, 0.42);
	box-shadow: 0 10px 22px rgba(122, 31, 61, 0.24);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.venue i {
	color: var(--gold-soft);
	font-size: 16px;
}

.venue:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(122, 31, 61, 0.28);
	filter: saturate(1.05);
}

.footer {
	color: var(--text);
	text-align: center;
	font-size: clamp(18px, 2.3vw, 24px);
	line-height: 1.6;
	margin: 20px auto;
	max-width: 900px;
	padding: 8px 22px 18px;
}

.phone {
	color: #93445f;
}

.end-msg {
	width: auto;
	height: auto;
	padding: 12px;
	background: linear-gradient(90deg, #8b2942, #7a1f3d);
	border-radius: 20px;
	font-size: 24px;
	color: #fff;
}

.happiness {
	color: var(--heading);
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 600;
	text-align: center;
	margin: 2px 0 22px;
	font-family: 'Cormorant Garamond', serif;
	letter-spacing: 1.5px;
}

.twitter {
	color: #874562;
}

.music {
	display: none;
}

@media (max-width: 900px) {
	.top-right-decoration,
	.top-left-decoration {
		width: min(36vw, 220px);
		opacity: 0.52;
	}

	.title {
		padding: 34px 18px 26px;
		border-radius: 22px;
	}

	.invite-copy {
		line-height: 1.55;
	}

	.container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.block {
		min-height: 116px;
		font-size: 22px;
	}

	.venue {
		font-size: 12px;
		padding: 12px 16px;
		letter-spacing: 0.8px;
	}
}

@media (max-width: 640px) {
	body {
		padding: 42px 10px 24px;
	}

	.intro-screen {
		gap: 15px;
		padding: 28px 14px;
	}

	.intro-screen::before,
	.intro-screen::after {
		top: -34px;
		width: min(50vw, 210px);
	}

	.intro-label {
		letter-spacing: 4px;
	}

	.intro-button {
		width: min(100%, 340px);
		padding: 14px 18px;
		font-size: 13px;
		letter-spacing: 1px;
	}

	.top-right-decoration,
	.top-left-decoration {
		width: min(34vw, 150px);
		opacity: 0.46;
	}

	.container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.block {
		min-height: 92px;
		font-size: 19px;
	}

	.actions {
		gap: 10px;
	}

	.actions a,
	.venue {
		width: 100%;
	}

	.venue {
		justify-content: center;
	}

	.divider {
		gap: 10px;
	}

	.divider span {
		max-width: 90px;
	}

	.footer {
		padding: 12px 10px;
	}
}
