* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

.container {
	position: relative;
	width: 100%;
	min-height: 100vh;
}

/* Landing Page Styles */
.landing-page {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 20px;
	background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #1E90FF 100%);
	position: relative;
	overflow: hidden;
}

.landing-page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
	animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
	0% {
		opacity: 0.3;
	}

	100% {
		opacity: 0.8;
	}
}

.content {
	text-align: center;
	z-index: 2;
	position: relative;
}

.title {
	font-size: 2.5rem;
	font-weight: 700;
	color: white;
	margin-bottom: 2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	animation: fadeInDown 1s ease-out;
}

.image-container {
	position: relative;
	display: inline-block;
}

.gift-image {
	width: 300px;
	height: 300px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	border: 4px solid rgba(255, 255, 255, 0.3);
	animation: fadeInUp 1s ease-out 0.5s both, float 3s ease-in-out infinite;
}

.gift-image:hover {
	transform: scale(1.05);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.click-hint {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 1rem;
	opacity: 0.8;
	animation: pulse 2s infinite, fadeInUp 1s ease-out 1s both;
}

/* Message + Credits Page Styles */
.message-credits-page {
	min-height: 100vh;
	background: linear-gradient(to bottom, #000428 0%, #004e92 100%);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.page-content {
	position: relative;
	width: 100%;
	max-width: 1200px;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* Message Section */
.message-section {
	flex: 0 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 40px;
	z-index: 2;
}

.message-text {
	max-width: 800px;
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 30px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: fadeIn 1s ease-out;
	text-align: center;
}

.message-text p {
	font-size: 1.2rem;
	line-height: 1.6;
	color: white;
	font-weight: 300;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Credits Section */
.credits-section {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	max-width: 600px;
	overflow: hidden;
	padding-top: 20px;
}

.credits-container {
	width: 100%;
	height: 100px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.credits-container h2 {
	font-size: 1.5rem;
	color: #FFE81F;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	margin-bottom: 20px;
	text-align: center;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}

.credits-container h2.visible {
	opacity: 1;
}

.credits-scroll {
	position: relative;
	width: 100%;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.name {
	font-size: 1.4rem;
	font-weight: 600;
	color: #FFE81F;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	text-align: center;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.8s ease-in-out;
	white-space: nowrap;
}

.name.visible {
	opacity: 1;
}

.name.scroll-up {
	animation: scrollUp 0.8s ease-in-out forwards;
}

@keyframes scrollUp {
	0% {
		opacity: 1;
		transform: translateX(-50%) scale(1);
	}

	50% {
		transform: translateX(-50%) scale(1.1);
	}

	100% {
		opacity: 0;
		transform: translateX(-50%) scale(0.8);
	}
}

/* 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 fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes pulse {

	0%,
	100% {
		opacity: 0.8;
	}

	50% {
		opacity: 0.4;
	}
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}
}

@keyframes starWarsScroll {
	0% {
		transform: translateY(100vh) perspective(400px) rotateX(25deg);
	}

	100% {
		transform: translateY(-100vh) perspective(400px) rotateX(25deg);
	}
}

/* Utility Classes */
.hidden {
	display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.title {
		font-size: 2rem;
	}

	.gift-image {
		width: 250px;
		height: 250px;
	}

	.message-text {
		padding: 25px;
		margin-bottom: 30px;
	}

	.message-text p {
		font-size: 1rem;
		line-height: 1.5;
	}

	.credits-container {
		height: 80px;
	}

	.credits-container h2 {
		font-size: 1.3rem;
		margin-bottom: 15px;
	}

	.name {
		font-size: 1.2rem;
	}

	.page-content {
		padding: 10px;
	}
}

@media (max-width: 480px) {
	.title {
		font-size: 1.7rem;
	}

	.gift-image {
		width: 200px;
		height: 200px;
	}

	.message-text {
		padding: 20px;
		margin-bottom: 25px;
	}

	.message-text p {
		font-size: 0.9rem;
		line-height: 1.4;
	}

	.credits-container {
		height: 70px;
	}

	.credits-container h2 {
		font-size: 1.1rem;
		margin-bottom: 10px;
	}

	.name {
		font-size: 1rem;
	}

	.credits-content {
		padding: 20px;
	}
}