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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	
	background: linear-gradient(135deg, #00f2fe 0%, #fdfaf0 25%, #fdfaf0 50%, #fdfaf0 75%, #946c0a3b 100%);
	background: linear-gradient(235deg, #d0ad3829 0%, #d0ad3838 25%, #eee3c100 50%, #fdfaf0 75%, #684a003d 100%);
	background-size: 400% 400%;
	<!-- animation: gradientShift 15s ease infinite; -->
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background:#fff8e2;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.rotate {
  animation: rotation 20s infinite linear;
}
.cardo-regular {
  font-family: "Cardo", serif;
  font-weight: 400;
  font-style: normal;
}
header {
	text-align: center;
	padding: 5px 0;
  /*  background: rgba(255, 255, 255, 0.1);*/
	backdrop-filter: blur(10px);
	border-bottom: 2px solid #946d0b;
}

.logo {
	font-size: 48px;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	background: url(images/lovelogo2.png) center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.logo img { 
	width: 200px;
	margin-bottom: -10px;
}
nav {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}
nav img {
	width: 30px;
}
/*nav a {
	color: #946c0a;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	padding: 10px 20px;
	border-radius: 8px;
	transition: background 0.3s;
}*/
nav a {
    color: #946c0a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
    line-height: 36px;
    border-radius: 8px;
    transition: background 0.3s;
}
nav a:hover {
	background: rgba(255, 255, 255, 0.2);
}

.separator {
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

main {
	flex: 1;
	padding: 40px 0;
}

.intro-section {
	<!-- background: rgba(255, 255, 255, 0.95); -->
	padding: 40px;
	border-radius: 12px;
	margin-bottom: 40px;
	text-align: center;
	<!-- box-shadow: 0 5px 20px rgb(40 45 2 / 50%); -->
	<!-- padding: 30px; -->
}

.intro-section h1 {
	color: #946c0a;
	margin-bottom: 20px;
	font-size: 32px;
}

.intro-section p {
	color: #333;
	line-height: 1.8;
	font-size: 16px;
}

.cards-section {
	border-radius: 12px;
	margin-top: 40px;
	position: relative;
	<!-- box-shadow: 0 5px 20px rgb(40 45 2 / 50%); -->
	
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	position: relative;
	z-index:11;
}

.card {
	background: url(images/cover.jpg) center center;
	background-size: cover;
	padding: 30px;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	
	all 0.8s cubic-bezier(0.89, 0.33, 0.15, 0.73)
	position: relative;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	box-shadow: 0 5px 10px #946d0b59;
	font-weight: 600;
	font-size: 18px;
	text-align: center;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card.expanded {
	position: fixed;
	top: 44%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 45%;
	max-height: calc(100vh);
	margin: 40px 0;
	z-index: 1000;
	background: white;
	color: #946c0a;
	padding: 50px;
	font-size: 18px;
	overflow-y: auto;
	font-family: "Cardo", serif;
	line-height: 1.6;
	font-weight: 900;
	background: url(images/frontcard.jpg) center center;
	background-size: cover;
}

.cards-grid.has-expanded .card:not(.expanded) {
	opacity: 0.3;
	pointer-events: none;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.overlay.active {
	display: block;
}

footer {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	padding: 10px 20px;
	text-align: center;
	color: #946c0a;;
	margin-top: auto;
	border-top: 2px solid #946d0b;
}
.footernav {
	border-top: 1px dotted #946d0b;
	padding-top: 10px;
}
.sparkles {
	position: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}
/*.sparkle {
	position: absolute;
	width: 10px;
	height: 10px;
	background: #ceba4c;
	border-radius: 50%;
	box-shadow: 0 0 10px #ceba4c;
	animation: sparkle 3s ease-in-out infinite;
}*/
.sparkle {
	position: absolute;
	width: 10px;
	height: 10px;
	background: #dca828a6;
	background: url(images/spark.png) center center;
	opacity: 0.6;
	border-radius: 50%;
	box-shadow: 0 0 10px #eadfa4;
	animation: sparkle 8s ease-in-out infinite;
}
.fade-in {
	opacity: 0;
	transition: opacity 1.5s ease-in;
}

.fade-in.visible {
	opacity: 1;
}

.loading {
	text-align: center;
	padding: 20px;
	color: #666;
}

.loading-state {
	pointer-events: none;
}
svg{
	    width: 36px;
    height: 36px;
	
}
/* Tablet and Large Mobile */
@media (max-width: 1024px) {
	.cards-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.card.expanded {
		width: 75%;
	}
}

/* Small Mobile */
@media (max-width: 640px) {
	.cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.card.expanded {
		width: 90%;
		padding: 30px;
		font-size: 13px;
		line-height: 18px;
	}

	.logo {
		font-size: 36px;
	}

	nav {
		gap: 20px;
	}

	nav a {
		font-size: 16px;
	}

	.intro-section h1 {
		font-size: 24px;
	}
}
@keyframes sparkle {
	0%, 100% {
		opacity: 0;
		transform: scale(0);
	}
	50% {
		opacity: 1;
		transform: scale(1);
	}
}