File size: 6,063 Bytes
4b103b3 d150164 d7f2aff 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 d7f2aff d150164 d7f2aff d150164 d7f2aff d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 d150164 4b103b3 | 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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
/* OzonAuth MiniApp - Modern Design October 2025 */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Geist', 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.dark body {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
/* Modern glass morphism effects */
.glass {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.dark .glass {
background: rgba(15, 23, 42, 0.8);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Modern input styles */
.modern-input {
background: rgba(255, 255, 255, 0.9);
border: 1.5px solid #e2e8f0;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
}
.dark .modern-input {
background: rgba(30, 41, 59, 0.9);
border: 1.5px solid #334155;
}
.modern-input:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
transform: translateY(-1px);
}
/* Modern button with gradient and glow */
.modern-btn {
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.modern-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease-in-out;
}
.modern-btn:hover::before {
left: 100%;
}
.modern-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}
/* Floating animation */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-5px);
}
}
.floating {
animation: float 3s ease-in-out infinite;
}
/* Smooth transitions for all interactive elements */
button, input, a {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, #60a5fa, #a78bfa);
}
/* Loading animation */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.loading {
animation: pulse 1.5s ease-in-out infinite;
}
/* Success and error states with modern design */
.success-border {
border-color: #10b981 !important;
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05)) !important;
}
.error-border {
border-color: #ef4444 !important;
background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05)) !important;
}
.success-bg {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05)) !important;
}
.error-bg {
background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05)) !important;
}
.dark .success-bg {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1)) !important;
}
.dark .error-bg {
background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1)) !important;
}
.success-text {
color: #059669 !important;
}
.error-text {
color: #dc2626 !important;
}
.dark .success-text {
color: #34d399 !important;
}
.dark .error-text {
color: #f87171 !important;
}
/* Modern gradient text */
.gradient-text {
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Hover glow effect */
.hover-glow:hover {
box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
/* Telegram MiniApp specific adjustments */
@media (max-width: 428px) {
.max-w-md {
max-width: 100%;
}
}
/* Modern card with subtle shadow */
.modern-card {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.dark .modern-card {
background: rgba(30, 41, 59, 0.9);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.2);
}
/* Subtle background patterns */
.bg-pattern {
background-image:
radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.15) 0px 0px 0px 1px,
linear-gradient(to right, transparent 0%, rgba(59, 130, 246, 0.02) 100%);
}
.dark .bg-pattern {
background-image:
radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.1) 0px 0px 0px 1px,
linear-gradient(to right, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
}
/* Modern focus ring */
.modern-focus:focus {
outline: none;
box-shadow:
0 0 0 2px rgba(255, 255, 255, 0.9),
0 0 0 4px rgba(59, 130, 246, 0.3);
}
/* Gradient border animation */
@keyframes border-glow {
0%, 100% {
border-color: rgba(59, 130, 246, 0.5);
}
50% {
border-color: rgba(139, 92, 246, 0.8);
}
}
.animate-border {
animation: border-glow 2s ease-in-out infinite;
}
/* Enhanced theme toggle */
.theme-toggle {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle:hover {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2);
transform: scale(1.05);
}
|