@import '../../_variables.css'; .button { background-color: var(--color-primary); color: white; font-family: 'Inter', sans-serif; font-weight: 600; border-radius: 10px; border: none; text-align: center; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; z-index: 1; box-shadow: var(--shadow-default); transform: translateY(0); transition: background-color 0.3s var(--bezier-custom), transform 0.3s var(--bezier-custom), box-shadow 0.3s var(--bezier-custom); } .button p { color: var(--text-color-button); } .button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 30%, transparent 70%, transparent 100%); z-index: -1; transition: left 0.5s var(--bezier-custom); } .button:hover { background-color: var(--color-primary-hover); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); transform: translateY(-2px); } .button:hover::before { left: 100%; } .button:active { background-color: var(--color-primary-active); transform: translateY(0px) scale(0.98); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition-duration: 0.1s; } .button:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.4), 0 8px 20px rgba(0, 0, 0, 0.15); }