* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0;
    flex-direction: column;
}
body {
    background-image: url(images/bg-2.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 20px 0px 0px 0px;
    position: relative;
}

/* Decorative Background */
.container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(circle at 20% 50%, rgba(200, 180, 150, 0.1) 0%, transparent 50%),
					  radial-gradient(circle at 80% 80%, rgba(180, 200, 150, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.content {
	position: relative;
	z-index: 1;
}
.title-f {
    font-family: "Oleo Script", system-ui;
}
/* Header */
.header {
    text-align: center;
    margin-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}
.title {
    font-size: 3.5em;
    font-weight: bold;
    color: #5a7a7a;
    letter-spacing: 3px;
    margin-bottom: 5px;
    animation: fadeInDown 1s ease-out;
}
.subtitle {
    font-size: 2.2em;
    color: #8a9a8a;
    font-style: italic;
    font-weight: normal;
    letter-spacing: 2px;
    animation: fadeInDown 1.2s ease-out;
    margin: 0 20px;
}

/* Tagline */
.tagline {
    text-align: center;
    font-size: 1.1em;
    color: #6b8a8a;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    font-weight: 500;
    animation: fadeIn 1.4s ease-out;
    font-family: 'Manrope';
    font-weight: 700;
}

/* Child Name & Event */
.event-title {
    text-align: center;
    margin: 10px 0;
    animation: fadeInUp 1.3s ease-out;
}
.child-name {
    font-size: 2.5em;
    color: #679567;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.event-subtitle {
	font-size: 1.2em;
	color: #7a8a8a;
	letter-spacing: 3px;
	font-weight: 500;
}

/* Date & Time Box */
.date-box {
    background-image: url(images/wood-bg.jpg);
    padding: 25px 40px;
    margin: 30px auto;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
    position: relative;
    animation: slideInUp 1.4s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-size: 140%;
    background-position: center;
    border: 1px solid #B48D0E;
}

.date-box::before,
.date-box::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	background: #B48D0E;
	border-radius: 50%;
	top: -6px;
}
.time, .location {
    font-weight: 900;
    color: #5c4100;
}
.date-box::before {
	left: 20%;
}

.date-box::after {
	right: 20%;
}

.date {
    font-size: 3em;
    color: #817a58;
    font-weight: bold;
    margin-bottom: 0;
}
.day {
    font-size: 1em;
    color: #4c664c;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Location & Time */
.details {
	text-align: center;
	margin: 30px 0;
	animation: fadeIn 1.6s ease-out;
}

.time {
	font-size: 1.3em;
	color: #6b8a8a;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.location {
	font-size: 1.2em;
	color: #7a8a8a;
	line-height: 1.6;
	letter-spacing: 0.5px;
}

/* Animals Container */
.animals-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    margin: 20px 0 40px 0;
    min-height: 280px;
    position: relative;
    flex-wrap: nowrap;
}

/* Individual Animals with Animations */
.animal {
    position: relative;
    display: inline-block;
    width: 17%;
}
.animal img {
    width: 150%;
    margin-left: -28%;
}
.fox {
	animation: float 3s ease-in-out infinite;
	animation-delay: 0s;
}

.gift-box {
	animation: bounce 2s ease-in-out infinite;
	animation-delay: 0.2s;
}

.hedgehog {
	animation: bounce 2s ease-in-out infinite;
	animation-delay: 0.4s;
}

.bear {
	animation: sway 4s ease-in-out infinite;
	animation-delay: 0s;
	transform-origin: bottom center;
}

.deer {
	animation: float 3s ease-in-out infinite;
	animation-delay: 0.6s;
}

.raccoon {
	animation: bounce 2s ease-in-out infinite;
	animation-delay: 0.8s;
}

.balloon {
	animation: rise 4s ease-in-out infinite;
	animation-delay: 0s;
}

.party-hat {
	animation: rotate 3s linear infinite;
	animation-delay: 0.3s;
}

/* Leaf Decorations */
.leaf {
	position: absolute;
	font-size: 1.5em;
	opacity: 0.6;
	animation: sway 4s ease-in-out infinite;
}

.leaf-left {
	left: 10%;
	top: 20%;
	animation-delay: 0s;
}

.leaf-right {
	right: 10%;
	top: 20%;
	animation-delay: 1s;
}

/* Footer Message */
.message {
    text-align: center;
    line-height: 1.8;
    animation: fadeIn 1.8s ease-out;
    padding-bottom: 20px;
    background-image: url(images/foot-bg-removebg.png);
    width: 100%;
    background-position: top;
    background-size: auto;
    padding-top: 220px;
    margin-top: -273px;
}
.container-footer {
    max-width: 900px;
    margin: auto;
    background: #ffffffd4;
    border-radius: 20px;
    padding: 20px;
}
.message-title {
    font-size: 1.1em;
    color: #B48D0E;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.message-text {
    font-size: 0.95em;
    color: #566060;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-weight: 700;
}
a {
    font-family: 'Manrope';
    text-decoration: none;
    color: #B48D0E;
    font-size: 1.2em;
}
a:hover {
    color: #566060;
}
.countdown-number {
    font-size: 2.2em;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 1;
}
.countdown-item {
    padding: 10px;
    border-radius: 10px;
    background: rgb(200, 149, 107);
    margin: 2px;
    border: 2px solid #B48D0E;
}
.countdown-label {
    font-size: 0.5em;
    color: #FFFFFF;
    margin-top: 8px;
    letter-spacing: 1px;
    font-weight: normal;
}
div#countdown {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Music Control Button */
.music-control {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #c97b6b;
	color: white;
	border: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	z-index: 100;
}

.music-control:hover {
	background: #b8695a;
	transform: scale(1.1);
}

.music-control.playing {
	animation: pulse-button 1s infinite;
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-30px);
	}
}

@keyframes sway {
	0%, 100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(2deg);
	}
	75% {
		transform: rotate(-2deg);
	}
}

@keyframes rise {
	0% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-60px) scale(0.9);
	}
	100% {
		transform: translateY(0) scale(1);
	}
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.container {
		padding: 20px 25px;
	}

	.title {
		font-size: 2.5em;
	}

	.subtitle {
		font-size: 1.8em;
	}

	.child-name {
		font-size: 2em;
	}

	.animals-container {
		min-height: 200px;
	}

	.date-box {
		padding: 20px 30px;
	}

	.date {
		font-size: 1.8em;
	}

	.day {
		font-size: 1.5em;
	}
}

@media (max-width: 480px) {
	.countdown {
		gap: 10px;
	}

	.countdown-item {
		min-width: 70px;
		padding: 15px 10px;
	}

	.countdown-number {
		font-size: 1.8em;
	}

	.container {
		padding: 20px 15px;
	}

	.title {
		font-size: 2em;
	}

	.subtitle {
		font-size: 1.4em;
	}

	.child-name {
		font-size: 1.6em;
	}

	.animal {
		font-size: 3.5em;
	}

	.animals-container {
		min-height: 150px;
		gap: 5px;
	}

	.message-text {
		font-size: 0.85em;
	}
}