/* Стили в главном меню */ body { background: #121212 radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 10px 10px; overflow: hidden; font-family: 'Inter', sans-serif; } button { outline: none; } .main { opacity: 0; animation: fadeIn 0.4s ease-out forwards; transition: transform 0.5s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .outline { margin: 1em; border: 1px solid rgba(80, 80, 80, 0.3); border-radius: 0.75em; padding: 0.5em; background: rgba(30, 30, 30, 0.5); transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); } .outline:hover { background: rgba(40, 40, 40, 0.6); } .outline::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(120deg, rgba(58, 123, 213, 0.1) 0%, rgba(58, 96, 213, 0.05) 50%, rgba(58, 123, 213, 0.1) 100%); opacity: 0; transition: opacity 0.5s ease; z-index: -1; } .outline:hover::before { opacity: 1; } .beautify { width: 100%; font-size: 1em; padding: 0.75em 0.5em; border-radius: 0.5em; background: linear-gradient(46deg, #2a5b9e, #3a7bd5); border: none; color: #fff; font-family: "Inter", sans-serif; transition: all 0.3s ease; position: relative; overflow: hidden; animation: slideIn 0.6s ease-out 0.2s forwards; transform: translateY(20px); opacity: 0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .beautify::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--x) var(--y), rgba(255, 255, 255, 0.2), transparent 100%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; } .beautify:hover::before { opacity: 1; } .beautify:hover { font-size: 1.05em; padding: 0.8em 0.55em; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); transform: translateY(-2px); } .reload { right: 1em; } .testButton { left: 1em; } .reload:hover, .testButton:hover { background: #3a3a3a; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); color: #fff; } .sec_buttons { width: 100%; display: flex; gap: 0.5em; transition: all 0.5s ease-out; margin-top: 0.3em; } .secondary_buttons { flex: 1; padding: 0.65em 0.5em; border-radius: 0.5em; background-color: rgba(26, 26, 26, 0.7); color: #d0d0d0; border: 1px solid #333; font-family: "Inter", sans-serif; text-align: center; animation: slideIn 0.6s ease-out 0.4s forwards; transform: translateY(20px); opacity: 0; transition: all 0.4s ease, border-color 0.3s ease, background-color 0.5s ease; cursor: pointer; position: relative; overflow: hidden; backdrop-filter: blur(4px); } .secondary_buttons::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--x) var(--y), rgba(88, 171, 255, 0.1), transparent 100%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; } .secondary_buttons:nth-child(2) { animation-delay: 0.5s; } .secondary_buttons:hover { background-color: rgba(34, 34, 34, 0.8); color: #fff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .secondary_buttons:hover::before { opacity: 1; } .secondary_buttons.active { border: 1px solid #3a7bd5; background-color: rgba(17, 44, 69, 0.6); color: #fff; } .secondary_buttons.active:hover { background-color: rgba(40, 80, 180, 0.5); } @keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @media (max-width: 600px) { .sec_buttons { flex-direction: column; } .secondary_buttons { min-width: 100%; margin: 2px 0; } }