* { box-sizing: border-box; border-color: hsl(var(--border)); } body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin: 0; background-color: #121212; color: #e0e0e0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } main { max-width: 960px; margin: 40px auto; padding: 0 20px; } h1 { text-align: center; font-weight: 700; font-size: 2.5rem; margin-bottom: 40px; color: #90caf9; } section { margin-bottom: 40px; } section h2 { font-weight: 600; font-size: 1.5rem; margin-bottom: 24px; border-left: 4px solid #64b5f6; padding-left: 12px; color: #64b5f6; } ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 16px; } li { background: #1e1e1e; border-radius: 12px; box-shadow: 0 1px 6px rgb(0 0 0 / 0.9); transition: box-shadow 0.3s ease; } li:hover { box-shadow: 0 6px 20px rgba(100, 181, 246, 0.7); } a { display: block; text-decoration: none; padding: 20px; color: #90caf9; font-weight: 600; font-size: 1.05rem; line-height: 1.3; border-radius: 12px; transition: background-color 0.2s ease, color 0.2s ease; } a:hover { background-color: #1565c0; color: #e3f2fd; } .menu-btn-left { position: fixed; top: 20px; padding: 10px 16px; background: #222; color: #fff; border: none; z-index: 1002; cursor: pointer; border-radius: 4px; font-size: 18px; opacity: 0.9; left: 20px; } .menu-btn-right{ position: fixed; bottom: 10px; right: 10px; width: 80px; padding: 5px 13px; background-color: #000; color: #fff; font-size: 12px; border-radius: 5px; font-family: sans-serif; display: flex; align-items: center; gap: 4px; justify-content: center; z-index: 1003; text-transform: none !important; font-feature-settings: normal !important; font-weight: 400 !important; } .globe { cursor: pointer; perspective: 1000px; } .spinY { animation: spinY 0.8s ease-in-out; } @keyframes spinY { from { transform: rotateY(0deg); } to { transform: rotateY(1080deg); /* Три полных оборота */ } } @media (max-width: 480px) { h1 { font-size: 2rem; margin-bottom: 32px; } section h2 { font-size: 1.25rem; margin-bottom: 16px; } } section { opacity: 0; transform: translateX(0); transition: none; } section.animate { animation-duration: 1.5s; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(0.45, 0, 0.35, 1); } section.slide-in-right.animate { animation-name: slideInRight; } section.slide-in-left.animate { animation-name: slideInLeft; } @keyframes slideInRight { 0% { opacity: 0; transform: translateX(100%); } 100% { opacity: 1; transform: translateX(0); } } @keyframes slideInLeft { 0% { opacity: 0; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(0); } }