Changed around line 1
+ :root {
+ --primary-color: #d32f2f;
+ --secondary-color: #ffcdd2;
+ --accent-color: #ffeb3b;
+ --text-color: #333;
+ --bg-color: #f5f5f5;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Georgia', serif;
+ background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
+ color: var(--text-color);
+ min-height: 100vh;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
+ main {
+ width: 100%;
+ max-width: 800px;
+ padding: 2rem;
+ }
+
+ .card-container {
+ perspective: 1000px;
+ }
+
+ .card {
+ position: relative;
+ width: 100%;
+ height: 500px;
+ transform-style: preserve-3d;
+ transition: transform 1s;
+ cursor: pointer;
+ }
+
+ .card.flipped {
+ transform: rotateY(180deg);
+ }
+
+ .card-front, .card-back {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ backface-visibility: hidden;
+ border-radius: 20px;
+ padding: 2rem;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
+ }
+
+ .card-front {
+ background: var(--primary-color);
+ color: white;
+ }
+
+ .card-back {
+ background: var(--secondary-color);
+ transform: rotateY(180deg);
+ }
+
+ h1, h2 {
+ margin: 1rem 0;
+ font-size: 2.5rem;
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
+ }
+
+ h2 {
+ font-size: 2rem;
+ }
+
+ .message {
+ font-size: 1.2rem;
+ line-height: 1.6;
+ margin: 1rem 0;
+ }
+
+ .flip-btn {
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.8rem 2rem;
+ border-radius: 25px;
+ font-size: 1rem;
+ cursor: pointer;
+ margin-top: 2rem;
+ transition: background 0.3s;
+ }
+
+ .flip-btn:hover {
+ background: #b71c1c;
+ }
+
+ .fireworks {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ }
+
+ .firework {
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ background: var(--accent-color);
+ border-radius: 50%;
+ animation: explode 1.5s infinite ease-out;
+ }
+
+ .firework:nth-child(1) {
+ top: 20%;
+ left: 30%;
+ animation-delay: 0s;
+ }
+
+ .firework:nth-child(2) {
+ top: 40%;
+ left: 70%;
+ animation-delay: 0.5s;
+ }
+
+ .firework:nth-child(3) {
+ top: 60%;
+ left: 50%;
+ animation-delay: 1s;
+ }
+
+ @keyframes explode {
+ 0% {
+ transform: scale(1);
+ opacity: 1;
+ }
+ 100% {
+ transform: scale(20);
+ opacity: 0;
+ }
+ }
+
+ @media (max-width: 768px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ h2 {
+ font-size: 1.5rem;
+ }
+
+ .message {
+ font-size: 1rem;
+ }
+
+ .card {
+ height: 400px;
+ }
+ }