Changed around line 1
+ :root {
+ --primary-red: #ff4d4d;
+ --gold: #ffd700;
+ --card-bg: #fff1f1;
+ --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ min-height: 100vh;
+ background: linear-gradient(135deg, #ff9999, #ff4d4d);
+ font-family: system-ui, -apple-system, sans-serif;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ overflow-x: hidden;
+ }
+
+ .card-container {
+ position: relative;
+ perspective: 1500px;
+ margin: 2rem;
+ }
+
+ .greeting-card {
+ width: 300px;
+ height: 400px;
+ position: relative;
+ transform-style: preserve-3d;
+ transition: transform 1s ease;
+ }
+
+ .card-front, .card-inside {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ backface-visibility: hidden;
+ border-radius: 20px;
+ padding: 2rem;
+ background: var(--card-bg);
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .card-inside {
+ transform: rotateY(180deg);
+ background: linear-gradient(45deg, #fff1f1, #ffe6e6);
+ }
+
+ .chinese, .spanish {
+ text-align: center;
+ margin: 1rem 0;
+ color: var(--primary-red);
+ text-shadow: var(--text-shadow);
+ }
+
+ .chinese {
+ font-size: 2.5rem;
+ }
+
+ .spanish {
+ font-size: 2rem;
+ }
+
+ .interactive-heart {
+ font-size: 4rem;
+ color: var(--primary-red);
+ cursor: pointer;
+ transition: transform 0.3s ease;
+ animation: pulse 1.5s infinite;
+ }
+
+ .lantern {
+ position: absolute;
+ width: 60px;
+ height: 80px;
+ background: var(--primary-red);
+ border-radius: 30px;
+ box-shadow: 0 0 20px rgba(255, 77, 77, 0.6);
+ z-index: -1;
+ }
+
+ .left {
+ left: -80px;
+ animation: float 3s ease-in-out infinite;
+ }
+
+ .right {
+ right: -80px;
+ animation: float 3s ease-in-out infinite 1.5s;
+ }
+
+ .wish-list li {
+ list-style: none;
+ margin: 1rem 0;
+ text-align: center;
+ font-size: 1.1rem;
+ opacity: 0;
+ transform: translateY(20px);
+ transition: all 0.5s ease;
+ }
+
+ footer {
+ margin-top: 2rem;
+ text-align: center;
+ color: white;
+ }
+
+ @keyframes pulse {
+ 0% { transform: scale(1); }
+ 50% { transform: scale(1.2); }
+ 100% { transform: scale(1); }
+ }
+
+ @keyframes float {
+ 0% { transform: translateY(0); }
+ 50% { transform: translateY(-20px); }
+ 100% { transform: translateY(0); }
+ }
+
+ @media (max-width: 768px) {
+ .greeting-card {
+ width: 280px;
+ height: 380px;
+ }
+
+ .lantern {
+ display: none;
+ }
+ }
+
+ .flipped {
+ transform: rotateY(180deg);
+ }
+
+ .visible {
+ opacity: 1;
+ transform: translateY(0);
+ }