@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); body { font-family: 'Poppins', sans-serif; min-height: 100vh; background: linear-gradient(135deg, #fff5f5 0%, #fdf2f8 100%); color: #333; } /* Schema.org микроразметка для скрытого контента */ .schema-org { display: none; } /* Анимация для иконки подарка */ @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } } .gift-float { animation: float 3s ease-in-out infinite; } /* Оптимизированная загрузка шрифтов */ @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: local('Poppins Regular'), local('Poppins-Regular'), url('/fonts/poppins-v15-latin-regular.woff2') format('woff2'); } /* Кастомный скроллбар */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #f472b6, #ec4899); border-radius: 10px; } /* Эффекты перехода с учетом производительности */ a, button, .transition-all { transition: all 0.3s ease; } /* Анимация появления */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.6s ease-out forwards; } .delay-100 { animation-delay: 0.1s; } .delay-200 { animation-delay: 0.2s; } .delay-300 { animation-delay: 0.3s; } /* Стили для шагов создания */ .creation-step { counter-increment: step; position: relative; padding-left: 3.5rem; } .creation-step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; background-color: var(--primary-100); color: var(--primary-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; } /* Градиентный текст с fallback */ .gradient-text { background: linear-gradient(to right, #ec4899, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; } .romantic-pattern { background-image: radial-gradient(rgba(236,72,153,0.1) 2px, transparent 2px); background-size: 40px 40px; } .heart-float { animation: float 4s ease-in-out infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .pulse { animation: pulse 3s ease-in-out infinite; } /* Стили фокуса для доступности */ input:focus, textarea:focus, button:focus { outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3); }