Changed around line 1
+ :root {
+ --red: #ff3838;
+ --gold: #ffd700;
+ --black: #1a1a1a;
+ --white: #ffffff;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ min-height: 100vh;
+ background: linear-gradient(135deg, #670d10, #092756);
+ font-family: "Segoe UI", system-ui, sans-serif;
+ display: flex;
+ flex-direction: column;
+ overflow-x: hidden;
+ }
+
+ .card-container {
+ flex: 1;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 2rem;
+ position: relative;
+ }
+
+ .greeting-card {
+ background: rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(10px);
+ border-radius: 20px;
+ padding: 3rem;
+ box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
+ text-align: center;
+ transform-style: preserve-3d;
+ transition: transform 0.5s ease;
+ max-width: 90vw;
+ }
+
+ .hidden {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ border: 0;
+ }
+
+ .chinese-text {
+ margin-bottom: 2rem;
+ }
+
+ .main-greeting {
+ font-size: 4rem;
+ color: var(--gold);
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
+ animation: float 3s ease-in-out infinite;
+ }
+
+ .sub-greeting {
+ font-size: 2.5rem;
+ color: var(--red);
+ margin-top: 1rem;
+ }
+
+ .english-text {
+ color: var(--white);
+ }
+
+ .main-greeting-en {
+ font-size: 2rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .sub-greeting-en {
+ font-size: 1.2rem;
+ opacity: 0.8;
+ }
+
+ .lantern {
+ position: absolute;
+ width: 60px;
+ height: 80px;
+ background: var(--red);
+ border-radius: 50% / 10%;
+ animation: sway 4s ease-in-out infinite;
+ }
+
+ .lantern::before {
+ content: "";
+ position: absolute;
+ top: -10px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 20px;
+ height: 10px;
+ background: var(--gold);
+ border-radius: 5px;
+ }
+
+ .lantern.left {
+ left: 10%;
+ animation-delay: -2s;
+ }
+
+ .lantern.right {
+ right: 10%;
+ }
+
+ .toggle-animation {
+ margin-top: 2rem;
+ padding: 0.8rem 1.5rem;
+ background: transparent;
+ border: 2px solid var(--gold);
+ color: var(--gold);
+ border-radius: 25px;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ }
+
+ .toggle-animation:hover {
+ background: var(--gold);
+ color: var(--black);
+ }
+
+ .firework {
+ position: absolute;
+ pointer-events: none;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ color: var(--white);
+ font-size: 0.9rem;
+ opacity: 0.7;
+ }
+
+ @keyframes float {
+ 0%, 100% { transform: translateY(0); }
+ 50% { transform: translateY(-10px); }
+ }
+
+ @keyframes sway {
+ 0%, 100% { transform: rotate(-5deg); }
+ 50% { transform: rotate(5deg); }
+ }
+
+ @media (max-width: 768px) {
+ .main-greeting { font-size: 3rem; }
+ .sub-greeting { font-size: 2rem; }
+ .main-greeting-en { font-size: 1.5rem; }
+ .sub-greeting-en { font-size: 1rem; }
+ .lantern { display: none; }
+ }