Spaces:
Running
Running
File size: 3,163 Bytes
7629add | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Dancing+Script:wght@700&display=swap');
:root {
--primary: #ff4d6d;
--primary-hover: #ff758f;
--secondary: #590d22;
--bg-gradient: linear-gradient(135deg, #ffafbd 0%, #ffc3a0 100%);
--glass-bg: rgba(255, 255, 255, 0.7);
--glass-border: rgba(255, 255, 255, 0.3);
--shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: var(--bg-gradient);
font-family: 'Outfit', sans-serif;
overflow: hidden;
}
/* Background Hearts */
.bg-hearts {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
.heart {
position: absolute;
font-size: 20px;
color: rgba(255, 255, 255, 0.6);
animation: floatUp 15s linear infinite;
bottom: -50px;
}
@keyframes floatUp {
0% { transform: translateY(0) rotate(0deg); opacity: 1; }
100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}
.container {
position: relative;
z-index: 1;
background: var(--glass-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 40px;
width: 90%;
max-width: 500px;
text-align: center;
box-shadow: var(--shadow);
animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
h1 {
font-family: 'Dancing Script', cursive;
font-size: 3.5rem;
color: var(--secondary);
margin-bottom: 20px;
line-height: 1.2;
}
.gif_container {
margin: 20px 0;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.gif_container img {
width: 100%;
display: block;
}
.buttons {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 30px;
flex-wrap: wrap;
}
.yes-button, .no-button {
padding: 12px 30px;
font-size: 1.2rem;
font-weight: 600;
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.yes-button {
background-color: var(--primary);
color: white;
}
.yes-button:hover {
background-color: var(--primary-hover);
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(255, 77, 109, 0.4);
}
.yes-button:active {
transform: scale(0.95);
}
.no-button {
background-color: #fff;
color: var(--secondary);
border: 1px solid rgba(0,0,0,0.05);
}
.no-button:hover {
background-color: #f8f9fa;
transform: scale(0.95);
}
@media (max-width: 480px) {
h1 { font-size: 2.5rem; }
.container { padding: 30px 20px; }
} |